[QGIS Commit] r13958 - in trunk/qgis: debian src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jul 24 16:24:44 EDT 2010


Author: jef
Date: 2010-07-24 20:24:44 +0000 (Sat, 24 Jul 2010)
New Revision: 13958

Added:
   trunk/qgis/debian/compat.maverick
   trunk/qgis/debian/control.maverick
Modified:
   trunk/qgis/debian/changelog
   trunk/qgis/debian/control
   trunk/qgis/debian/rules
   trunk/qgis/src/app/qgisapp.cpp
   trunk/qgis/src/app/qgisapp.h
Log:
debian packaging update

Modified: trunk/qgis/debian/changelog
===================================================================
--- trunk/qgis/debian/changelog	2010-07-24 15:28:35 UTC (rev 13957)
+++ trunk/qgis/debian/changelog	2010-07-24 20:24:44 UTC (rev 13958)
@@ -1,3 +1,9 @@
+qgis (1.6.0) UNRELEASED; urgency=low
+
+  * new development version after 1.6 branch
+ 
+ -- Jürgen E. Fischer <jef at norbit.de>  Wed, 21 Jul 2010 10:12:48 +0200
+
 qgis (1.5.0) UNRELEASED; urgency=low
 
   * new development version after 1.5 branch

Added: trunk/qgis/debian/compat.maverick
===================================================================
--- trunk/qgis/debian/compat.maverick	                        (rev 0)
+++ trunk/qgis/debian/compat.maverick	2010-07-24 20:24:44 UTC (rev 13958)
@@ -0,0 +1 @@
+7

Modified: trunk/qgis/debian/control
===================================================================
--- trunk/qgis/debian/control	2010-07-24 15:28:35 UTC (rev 13957)
+++ trunk/qgis/debian/control	2010-07-24 20:24:44 UTC (rev 13958)
@@ -2,12 +2,12 @@
 Section: science
 Priority: extra
 Maintainer: Quantum GIS developers <qgis-developer at lists.osgeo.org>
-Build-Depends: debhelper (>= 7), libgdal1-dev, libpq-dev, 
- libgeos-dev (>= 3.0.0), grass-dev, libsqlite3-dev, libgsl0-dev, libproj-dev, libexpat1-dev, 
- flex, bison, python-dev, cmake (>= 2.6), python-sip (>= 4.5.0), python-central (>=0.5), python,
- libqt4-core (>=4.4.0), libqt4-dev (>=4.4.0), libqt4-gui (>=4.4.0),
+Build-Depends: debhelper (>= 5.0.51~), libgdal1-dev, libpq-dev, 
+ libgeos-dev (>= 3.0.0), grass-dev, libsqlite3-dev, libgsl0-dev, proj (<< 4.7.0) | libproj-dev (>= 4.7.0), libexpat1-dev, 
+ flex, bison, python-dev, cmake (>= 2.6), python-sip4 (>= 4.5.0), python-central (>=0.5), python,
+ sip4 (>= 4.5), libqt4-core (>=4.4.0), libqt4-dev (>=4.4.0), libqt4-gui (>=4.4.0),
  libqt4-sql (>=4.4.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
- python-sip-dev (>= 4.5.0), pyqt4-dev-tools, libqwt5-qt4-dev, libspatialite-dev
+ python-sip4-dev (>= 4.5.0), pyqt4-dev-tools, libqwt5-qt4-dev
 Build-Conflicts: libqgis-dev, qgis-dev
 Standards-Version: 3.8.4
 XS-Python-Version: current
@@ -68,7 +68,7 @@
 
 Package: qgis-plugin-grass
 Architecture: any
-Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, grass640+42329
+Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, grass640-5+41380
 Description: GRASS plugin for Quantum GIS
  Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
  and display databases of geographic information.
@@ -89,7 +89,7 @@
 Package: python-qgis
 Section: python
 Architecture: any
-Depends: python-qt4 (>=4.1.0), python-sip (>= 4.5.0), python-qgis-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: python-qt4 (>=4.1.0), python-qgis-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
 Description: Python bindings to Quantum GIS
@@ -102,7 +102,6 @@
 Section: python
 Architecture: all
 Provides: ${python:Provides}
-Depends: gdal-bin, python-gdal
 XB-Python-Version: ${python:Versions}
 Description: Python bindings to Quantum GIS - architecture-independent files
  Quantum GIS is a Geographic Information System (GIS) which manages, analyzes

Added: trunk/qgis/debian/control.maverick
===================================================================
--- trunk/qgis/debian/control.maverick	                        (rev 0)
+++ trunk/qgis/debian/control.maverick	2010-07-24 20:24:44 UTC (rev 13958)
@@ -0,0 +1,114 @@
+Source: qgis
+Section: science
+Priority: extra
+Maintainer: Quantum GIS developers <qgis-developer at lists.osgeo.org>
+Build-Depends: debhelper (>= 7), libgdal1-dev, libpq-dev, 
+ libgeos-dev (>= 3.0.0), grass-dev, libsqlite3-dev, libgsl0-dev, libproj-dev, libexpat1-dev, 
+ flex, bison, python-dev, cmake (>= 2.6), python-sip (>= 4.5.0), python-central (>=0.5), python,
+ libqt4-core (>=4.4.0), libqt4-dev (>=4.4.0), libqt4-gui (>=4.4.0),
+ libqt4-sql (>=4.4.0), libqt4-webkit-dev (>= 4.4.0),
+ python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0), python-sip-dev (>= 4.5.0), pyqt4-dev-tools,
+ libqwt5-qt4-dev, libspatialite-dev
+Build-Conflicts: libqgis-dev, qgis-dev
+Standards-Version: 3.8.4
+XS-Python-Version: current
+Homepage: http://qgis.org/
+
+Package: qgis
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, qgis-common (= ${source:Version})
+Recommends: qgis-plugin-grass, python-qgis
+Suggests: gpsbabel
+Conflicts: uim-qt3
+Description: Geographic Information System (GIS)
+ A Geographic Information System (GIS) manages, analyzes, and displays
+ databases of geographic information. Quantum GIS (QGIS) supports shape file
+ viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
+ on-the-fly, map composition, and a number of other features via a plugin
+ interface. QGIS also supports display of various georeferenced raster and
+ Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid,
+ and USGS ASCII DEM.
+
+Package: qgis-common
+Architecture: all
+Depends: qgis (>= ${binary:Version})
+Description: Quantum GIS - architecture-independent data
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains architecture-independent supporting data files for use 
+ with Quantum GIS.
+
+Package: libqgis{QGIS_ABI}
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: qgis (<=0.9.2rc1), libqgis-core1, libqgis-gui1, libqgis0, libqgis1
+Description: Quantum GIS - shared libraries
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains the shared core and gui library that provide an
+ interface for plugins and stand-alone applications.
+
+Package: libqgis-dev
+Architecture: any
+Section: libdevel
+Depends: libqgis{QGIS_ABI} (= ${binary:Version}), libgdal1-dev,
+ libpq-dev, libgeos-dev (>= 3.0.0), grass-dev,
+ libsqlite3-dev, libgsl0-dev, libproj-dev, libexpat1-dev, libqt4-core (>=4.4.0),
+ libqt4-dev (>=4.4.0), libqt4-gui (>=4.4.0), libqt4-sql (>=4.4.0),
+ python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0), qt4-designer (>=4.4.0)
+Provides: qgis-dev
+Replaces: qgis-dev, libqgis1-dev, libqgis1.4.0-dev
+Description: Quantum GIS - development files
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains the headers and libraries needed to develop plugins for
+ Quantum GIS.
+
+Package: qgis-plugin-grass
+Architecture: any
+Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, grass{GRASS_ABI}
+Description: GRASS plugin for Quantum GIS
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This plugin enables GRASS data access in the Quantum GIS geographic data
+ viewer.
+
+Package: qgis-plugin-grass-common
+Architecture: all
+Depends: python
+Description: GRASS plugin for Quantum GIS - architecture-independent data
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains architecture-independent supporting data files for use
+ with the Quantum GIS GRASS plugin.
+
+Package: python-qgis
+Section: python
+Architecture: any
+Depends: python-qt4 (>=4.1.0), python-sip (>= 4.5.0), python-qgis-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to Quantum GIS
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains the files for the Python support.
+
+Package: python-qgis-common
+Section: python
+Architecture: all
+Provides: ${python:Provides}
+Depends: gdal-bin, python-gdal
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to Quantum GIS - architecture-independent files
+ Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
+ and display databases of geographic information.
+ .
+ This package contains architecture-independent files for the Quantum GIS
+ Python bindings.
+

Modified: trunk/qgis/debian/rules
===================================================================
--- trunk/qgis/debian/rules	2010-07-24 15:28:35 UTC (rev 13957)
+++ trunk/qgis/debian/rules	2010-07-24 20:24:44 UTC (rev 13958)
@@ -10,7 +10,7 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 DISTRIBUTION := $(shell dpkg-parsechangelog --format rfc822 | sed -ne "s/^Distribution: //p")
-ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"lenny squeeze hardy intrepid jaunty karmic lucid"))
+ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"lenny squeeze hardy intrepid jaunty karmic lucid maverick"))
 DISTRIBUTION := sid
 endif
 
@@ -30,7 +30,7 @@
 	-D PEDANTIC=TRUE \
 	-D WITH_SPATIALITE=TRUE
 
-ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid sid"))
+ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid maverick sid"))
 	CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE
 else
 	CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-07-24 15:28:35 UTC (rev 13957)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-07-24 20:24:44 UTC (rev 13958)
@@ -611,7 +611,7 @@
       else
       {
         QgsDebugMsg( "Adding " + fileName + " to the map canvas" );
-        openLayer( fileName , true);
+        openLayer( fileName, true );
       }
     }
   }
@@ -3408,23 +3408,23 @@
   QFileInfo fileInfo( fileName );
 
   // try to load it as raster
-  bool ok(false);
+  bool ok( false );
   CPLPushErrorHandler( CPLQuietErrorHandler );
   if ( QgsRasterLayer::isValidRasterFileName( fileName ) )
+  {
+    ok  = addRasterLayer( fileName, fileInfo.completeBaseName() );
+  }
+  else // nope - try to load it as a shape/ogr
+  {
+    if ( allowInteractive )
     {
-      ok  = (addRasterLayer( fileName, fileInfo.completeBaseName() ) != NULL);
+      ok = addVectorLayers( QStringList( fileName ), "System", "file" );
     }
-  else // nope - try to load it as a shape/ogr
+    else
     {
-      if (allowInteractive)
-	{
-	  ok = addVectorLayers(QStringList(fileName), "System", "file");
-	}
-      else
-	{
-	  ok = (addVectorLayer( fileName, fileInfo.completeBaseName(), "ogr" ) != NULL);
-	}
+      ok = addVectorLayer( fileName, fileInfo.completeBaseName(), "ogr" );
     }
+  }
 
   CPLPopErrorHandler();
 

Modified: trunk/qgis/src/app/qgisapp.h
===================================================================
--- trunk/qgis/src/app/qgisapp.h	2010-07-24 15:28:35 UTC (rev 13957)
+++ trunk/qgis/src/app/qgisapp.h	2010-07-24 20:24:44 UTC (rev 13958)
@@ -144,7 +144,7 @@
       */
     bool openLayer( const QString & fileName, bool allowInteractive = false );
     /** Open the specified file (project, vector, or raster); prompt to save
-      previous project if necessary. 
+      previous project if necessary.
       Used to process a commandline argument, OpenDocument AppleEvent, or a
       file drag/drop event. Set interactive to true if it is ok to ask the
       user for information (mostly for when a vector layer has sublayers and



More information about the QGIS-commit mailing list