Skip to content

Commit e9cc190

Browse files
author
jef
committed
update debian packaging
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10502 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 667fd5e commit e9cc190

File tree

9 files changed

+18
-11
lines changed

9 files changed

+18
-11
lines changed

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
qgis (1.0.2-1) experimental; urgency=low
2+
3+
* change package names to reflect ABI (changes SONAME)
4+
5+
-- Jürgen E. Fischer <jef@norbit.de> Tue, 07 Apr 2009 21:28:19 +0200
6+
17
qgis (1.0.1-3) experimental; urgency=low
28

39
* add missing dependency for python-qgis to python-qgis-common

debian/control

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 5.0.51~), libgdal1-dev, libpq-dev,
99
libqt4-qt3support (>=4.2.0), libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
1010
python-sip4-dev (>= 4.5.0), libfontconfig1-dev, libxi-dev, libxrandr-dev, libxrender-dev, libice-dev,
1111
libsm-dev
12-
Build-Conflicts: libqgis1-dev
12+
Build-Conflicts: libqgis1.0.2-dev
1313
Standards-Version: 3.8.0
1414
XS-Python-Version: current
1515
Homepage: http://qgis.org/
@@ -39,28 +39,28 @@ Description: Quantum GIS - architecture-independent data
3939
This package contains architecture-independent supporting data files for use
4040
with Quantum GIS.
4141

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

53-
Package: libqgis1-dev
53+
Package: libqgis1.0.2-dev
5454
Architecture: any
5555
Section: libdevel
56-
Depends: libqgis1 (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev,
56+
Depends: libqgis1.0.2 (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev,
5757
libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1), grass-dev,
5858
libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev, libqt4-core (>=4.2.0),
5959
libqt4-dev (>=4.2.0), libqt4-gui (>=4.2.0), libqt4-qt3support (>=4.2.0),
6060
libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
6161
qt4-designer (>=4.2.0)
6262
Provides: libqgis-dev, qgis-dev
63-
Replaces: libqgis-dev, qgis-dev
63+
Replaces: libqgis-dev, qgis-dev, libqgis1-dev
6464
Description: Quantum GIS - development files
6565
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
6666
and display databases of geographic information.
File renamed without changes.
File renamed without changes.

debian/rules

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ CMAKE_OPTS = \
1616
-D CMAKE_INSTALL_PREFIX=/usr \
1717
-D CMAKE_SKIP_RPATH=TRUE \
1818
-D BINDINGS_GLOBAL_INSTALL=TRUE \
19+
-D GRASS_PREFIX=/usr/lib/grass64 \
1920
-D PEDANTIC=TRUE
2021

2122
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -110,7 +111,7 @@ binary-arch: build install
110111
dh_fixperms
111112
dh_makeshlibs
112113
dh_installdeb
113-
LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib/grass/lib dh_shlibdeps
114+
LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib/grass64/lib dh_shlibdeps
114115
dh_gencontrol
115116
dh_md5sums
116117
dh_builddeb

src/core/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ ADD_LIBRARY(qgis_core SHARED ${QGIS_CORE_SRCS} ${QGIS_CORE_MOC_SRCS} ${INDEX_SRC
191191

192192
SET_TARGET_PROPERTIES(qgis_core PROPERTIES
193193
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
194-
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
194+
SOVERSION ${COMPLETE_VERSION})
195195

196196
# make sure to create qgssvnversion.h before compiling
197197
ADD_DEPENDENCIES(qgis_core svnversion)

src/gui/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ADD_LIBRARY(qgis_gui SHARED ${QGIS_GUI_SRCS} ${QGIS_GUI_MOC_SRCS})
7474

7575
SET_TARGET_PROPERTIES(qgis_gui PROPERTIES
7676
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
77-
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
77+
SOVERSION ${COMPLETE_VERSION})
7878

7979
# make sure that UI files will be processed first
8080
ADD_DEPENDENCIES(qgis_gui ui)

src/providers/grass/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ADD_LIBRARY (qgisgrass SHARED ${GRASS_LIB_SRCS})
3434

3535
SET_TARGET_PROPERTIES(qgisgrass PROPERTIES
3636
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
37-
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
37+
SOVERSION ${COMPLETE_VERSION})
3838

3939
IF (WIN32)
4040
SET_TARGET_PROPERTIES(qgisgrass PROPERTIES COMPILE_FLAGS "\"-DGRASS_EXPORT=__declspec(dllexport)\"" )

src/python/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ADD_LIBRARY (qgispython SHARED ${QGISPYTHON_SRCS})
2323

2424
SET_TARGET_PROPERTIES(qgispython PROPERTIES
2525
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}
26-
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
26+
SOVERSION ${COMPLETE_VERSION})
2727

2828

2929
TARGET_LINK_LIBRARIES(qgispython

0 commit comments

Comments
 (0)