Skip to content

Commit

Permalink
update debian packaging
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10502 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 7, 2009
1 parent 667fd5e commit e9cc190
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 11 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
qgis (1.0.2-1) experimental; urgency=low

* change package names to reflect ABI (changes SONAME)

-- Jürgen E. Fischer <jef@norbit.de> Tue, 07 Apr 2009 21:28:19 +0200

qgis (1.0.1-3) experimental; urgency=low qgis (1.0.1-3) experimental; urgency=low


* add missing dependency for python-qgis to python-qgis-common * add missing dependency for python-qgis to python-qgis-common
Expand Down
12 changes: 6 additions & 6 deletions debian/control
Expand Up @@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 5.0.51~), libgdal1-dev, libpq-dev,
libqt4-qt3support (>=4.2.0), libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0), libqt4-qt3support (>=4.2.0), libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
python-sip4-dev (>= 4.5.0), libfontconfig1-dev, libxi-dev, libxrandr-dev, libxrender-dev, libice-dev, python-sip4-dev (>= 4.5.0), libfontconfig1-dev, libxi-dev, libxrandr-dev, libxrender-dev, libice-dev,
libsm-dev libsm-dev
Build-Conflicts: libqgis1-dev Build-Conflicts: libqgis1.0.2-dev
Standards-Version: 3.8.0 Standards-Version: 3.8.0
XS-Python-Version: current XS-Python-Version: current
Homepage: http://qgis.org/ Homepage: http://qgis.org/
Expand Down Expand Up @@ -39,28 +39,28 @@ Description: Quantum GIS - architecture-independent data
This package contains architecture-independent supporting data files for use This package contains architecture-independent supporting data files for use
with Quantum GIS. with Quantum GIS.


Package: libqgis1 Package: libqgis1.0.2
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: qgis (<=0.9.2rc1), libqgis-core1, libqgis-gui1, libqgis0 Replaces: qgis (<=0.9.2rc1), libqgis-core1, libqgis-gui1, libqgis0, libqgis1
Description: Quantum GIS - shared libraries Description: Quantum GIS - shared libraries
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information. and display databases of geographic information.
. .
This package contains the shared core and gui library that provide an This package contains the shared core and gui library that provide an
interface for plugins and stand-alone applications. interface for plugins and stand-alone applications.


Package: libqgis1-dev Package: libqgis1.0.2-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: libqgis1 (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev, Depends: libqgis1.0.2 (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev,
libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1), grass-dev, libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1), grass-dev,
libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev, libqt4-core (>=4.2.0), libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev, libqt4-core (>=4.2.0),
libqt4-dev (>=4.2.0), libqt4-gui (>=4.2.0), libqt4-qt3support (>=4.2.0), libqt4-dev (>=4.2.0), libqt4-gui (>=4.2.0), libqt4-qt3support (>=4.2.0),
libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0), libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
qt4-designer (>=4.2.0) qt4-designer (>=4.2.0)
Provides: libqgis-dev, qgis-dev Provides: libqgis-dev, qgis-dev
Replaces: libqgis-dev, qgis-dev Replaces: libqgis-dev, qgis-dev, libqgis1-dev
Description: Quantum GIS - development files Description: Quantum GIS - development files
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information. and display databases of geographic information.
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion debian/rules
Expand Up @@ -16,6 +16,7 @@ CMAKE_OPTS = \
-D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_SKIP_RPATH=TRUE \ -D CMAKE_SKIP_RPATH=TRUE \
-D BINDINGS_GLOBAL_INSTALL=TRUE \ -D BINDINGS_GLOBAL_INSTALL=TRUE \
-D GRASS_PREFIX=/usr/lib/grass64 \
-D PEDANTIC=TRUE -D PEDANTIC=TRUE


ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
Expand Down Expand Up @@ -110,7 +111,7 @@ binary-arch: build install
dh_fixperms dh_fixperms
dh_makeshlibs dh_makeshlibs
dh_installdeb dh_installdeb
LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib/grass/lib dh_shlibdeps LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib/grass64/lib dh_shlibdeps
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb
Expand Down
2 changes: 1 addition & 1 deletion src/core/CMakeLists.txt
Expand Up @@ -191,7 +191,7 @@ ADD_LIBRARY(qgis_core SHARED ${QGIS_CORE_SRCS} ${QGIS_CORE_MOC_SRCS} ${INDEX_SRC


SET_TARGET_PROPERTIES(qgis_core PROPERTIES SET_TARGET_PROPERTIES(qgis_core PROPERTIES
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR} VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}) SOVERSION ${COMPLETE_VERSION})


# make sure to create qgssvnversion.h before compiling # make sure to create qgssvnversion.h before compiling
ADD_DEPENDENCIES(qgis_core svnversion) ADD_DEPENDENCIES(qgis_core svnversion)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/CMakeLists.txt
Expand Up @@ -74,7 +74,7 @@ ADD_LIBRARY(qgis_gui SHARED ${QGIS_GUI_SRCS} ${QGIS_GUI_MOC_SRCS})


SET_TARGET_PROPERTIES(qgis_gui PROPERTIES SET_TARGET_PROPERTIES(qgis_gui PROPERTIES
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR} VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}) SOVERSION ${COMPLETE_VERSION})


# make sure that UI files will be processed first # make sure that UI files will be processed first
ADD_DEPENDENCIES(qgis_gui ui) ADD_DEPENDENCIES(qgis_gui ui)
Expand Down
2 changes: 1 addition & 1 deletion src/providers/grass/CMakeLists.txt
Expand Up @@ -34,7 +34,7 @@ ADD_LIBRARY (qgisgrass SHARED ${GRASS_LIB_SRCS})


SET_TARGET_PROPERTIES(qgisgrass PROPERTIES SET_TARGET_PROPERTIES(qgisgrass PROPERTIES
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR} VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}) SOVERSION ${COMPLETE_VERSION})


IF (WIN32) IF (WIN32)
SET_TARGET_PROPERTIES(qgisgrass PROPERTIES COMPILE_FLAGS "\"-DGRASS_EXPORT=__declspec(dllexport)\"" ) SET_TARGET_PROPERTIES(qgisgrass PROPERTIES COMPILE_FLAGS "\"-DGRASS_EXPORT=__declspec(dllexport)\"" )
Expand Down
2 changes: 1 addition & 1 deletion src/python/CMakeLists.txt
Expand Up @@ -23,7 +23,7 @@ ADD_LIBRARY (qgispython SHARED ${QGISPYTHON_SRCS})


SET_TARGET_PROPERTIES(qgispython PROPERTIES SET_TARGET_PROPERTIES(qgispython PROPERTIES
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR} VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}) SOVERSION ${COMPLETE_VERSION})




TARGET_LINK_LIBRARIES(qgispython TARGET_LINK_LIBRARIES(qgispython
Expand Down

0 comments on commit e9cc190

Please sign in to comment.