Skip to content

Commit 2e6bf62

Browse files
committedMar 6, 2012
debian packaging update: add wheezy and use internal spatialite where libspatialite3 not available
1 parent 6bf7a65 commit 2e6bf62

File tree

3 files changed

+224
-7
lines changed

3 files changed

+224
-7
lines changed
 

‎debian/changelog

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ qgis (1.9.90) UNRELEASED; urgency=low
66
* drop extra include path for QtWebkit on oneiric and natty
77
* add translations for desktop link
88
* add browser desktop entry
9-
* add support for Ubuntu precise
10-
* build package with libspatialite where available
9+
* add support for Debian wheezy and Ubuntu precise
10+
* build package with internal libspatialite where libspatialite not available
1111

12-
-- Jürgen E. Fischer <jef@norbit.de> Mon, 05 Mar 2012 20:21:48 +0100
12+
-- Jürgen E. Fischer <jef@norbit.de> Tue, 06 Mar 2012 20:33:08 +0100
1313

1414
qgis (1.8.0) UNRELEASED; urgency=low
1515

‎debian/control.wheezy

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
Source: qgis
2+
Section: science
3+
Priority: extra
4+
Maintainer: Quantum GIS developers <qgis-developer@lists.osgeo.org>
5+
Build-Depends:
6+
bison,
7+
cmake (>= 2.6),
8+
debhelper (>= 7),
9+
flex,
10+
grass-dev,
11+
libexpat1-dev,
12+
libfcgi-dev,
13+
libgdal1-dev,
14+
libgeos-dev (>= 3.0.0),
15+
libgsl0-dev,
16+
libpq-dev,
17+
libproj-dev,
18+
libqt4-dev (>=4.4.0),
19+
libqt4-opengl-dev,
20+
libqtwebkit-dev,
21+
libqwt-dev,
22+
libspatialite-dev,
23+
libsqlite3-dev,
24+
libspatialindex-dev,
25+
pkg-config,
26+
pyqt4-dev-tools,
27+
python,
28+
python-dev (>= 2.6.6-3~),
29+
python-qt4 (>=4.1.0),
30+
python-qt4-dev (>=4.1.0),
31+
python-sip (>= 4.5.0),
32+
python-sip-dev (>= 4.5.0),
33+
libosgearth-dev,
34+
libopenscenegraph-dev,
35+
git,
36+
doxygen,
37+
graphviz,
38+
txt2tags
39+
Build-Conflicts: libqgis-dev, qgis-dev
40+
Standards-Version: 3.8.4
41+
XS-Python-Version: current
42+
Homepage: http://qgis.org/
43+
44+
Package: qgis
45+
Architecture: any
46+
Depends: ${shlibs:Depends}, ${misc:Depends}, qgis-providers (= ${binary:Version}), qgis-common (= ${source:Version})
47+
Recommends: qgis-plugin-globe, qgis-plugin-grass, python-qgis
48+
Suggests: gpsbabel
49+
Conflicts: uim-qt3
50+
Description: Geographic Information System (GIS)
51+
A Geographic Information System (GIS) manages, analyzes, and displays
52+
databases of geographic information. Quantum GIS (QGIS) supports shape file
53+
viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
54+
on-the-fly, map composition, and a number of other features via a plugin
55+
interface. QGIS also supports display of various georeferenced raster and
56+
Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid,
57+
and USGS ASCII DEM.
58+
59+
Package: qgis-common
60+
Architecture: all
61+
Description: Quantum GIS - architecture-independent data
62+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
63+
and display databases of geographic information.
64+
.
65+
This package contains architecture-independent supporting data files for use
66+
with Quantum GIS.
67+
68+
Package: libqgis{QGIS_ABI}
69+
Architecture: any
70+
Depends: ${shlibs:Depends}, ${misc:Depends}
71+
Replaces: qgis (<=0.9.2rc1), libqgis-core1, libqgis-gui1, libqgis0, libqgis1
72+
Description: Quantum GIS - shared libraries
73+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
74+
and display databases of geographic information.
75+
.
76+
This package contains the shared core and gui library that provide an
77+
interface for plugins and stand-alone applications.
78+
79+
Package: libqgis-dev
80+
Architecture: any
81+
Section: libdevel
82+
Depends:
83+
grass-dev,
84+
libexpat1-dev,
85+
libgdal1-dev,
86+
libgeos-dev (>= 3.0.0),
87+
libgsl0-dev,
88+
libpq-dev,
89+
libproj-dev,
90+
libqgis{QGIS_ABI} (= ${binary:Version}),
91+
libqt4-dev (>=4.4.0),
92+
libsqlite3-dev,
93+
python-qt4 (>=4.1.0),
94+
python-qt4-dev (>=4.1.0),
95+
qt4-designer (>=4.4.0)
96+
Provides: qgis-dev
97+
Replaces: qgis-dev, libqgis1-dev, libqgis1.4.0-dev
98+
Description: Quantum GIS - development files
99+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
100+
and display databases of geographic information.
101+
.
102+
This package contains the headers and libraries needed to develop plugins for
103+
Quantum GIS.
104+
105+
Package: qgis-plugin-grass
106+
Architecture: any
107+
Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, grass{GRASS_ABI}
108+
Description: GRASS plugin for Quantum GIS
109+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
110+
and display databases of geographic information.
111+
.
112+
This plugin enables GRASS data access in the Quantum GIS geographic data
113+
viewer.
114+
115+
Package: qgis-plugin-grass-common
116+
Architecture: all
117+
Replaces: qgis-common (<< 1.5)
118+
Depends: python
119+
Breaks: qgis-common (<< 1.5)
120+
Description: GRASS plugin for Quantum GIS - architecture-independent data
121+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
122+
and display databases of geographic information.
123+
.
124+
This package contains architecture-independent supporting data files for use
125+
with the Quantum GIS GRASS plugin.
126+
127+
Package: python-qgis
128+
Section: python
129+
Architecture: any
130+
Depends: python-qt4 (>=4.1.0), python-sip (>= 4.5.0), python-qgis-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
131+
Provides: ${python:Provides}
132+
Description: Python bindings to Quantum GIS
133+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
134+
and display databases of geographic information.
135+
.
136+
This package contains the files for the Python support.
137+
138+
Package: python-qgis-common
139+
Section: python
140+
Architecture: all
141+
Provides: ${python:Provides}
142+
Depends: gdal-bin, python-gdal
143+
Description: Python bindings to Quantum GIS - architecture-independent files
144+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
145+
and display databases of geographic information.
146+
.
147+
This package contains architecture-independent files for the Quantum GIS
148+
Python bindings.
149+
150+
Package: qgis-providers
151+
Architecture: any
152+
Depends: qgis-providers-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
153+
Replaces: qgis (<= 1.6)
154+
Breaks: qgis (<= 1.6)
155+
Description: collection of data providers to Quantum GIS
156+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
157+
and display databases of geographic information.
158+
.
159+
This package contains the provider plugins for Quantum GIS.
160+
161+
Package: qgis-providers-common
162+
Architecture: all
163+
Replaces: qgis-common (<= 1.6)
164+
Breaks: qgis-common (<= 1.6)
165+
Description: collection of data providers to Quantum GIS - architecture-independent files
166+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
167+
and display databases of geographic information.
168+
.
169+
This package contains architecture-independent files for the Quantum GIS
170+
providers.
171+
172+
Package: qgis-mapserver
173+
Architecture: any
174+
Depends: qgis-providers (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
175+
Description: Quantum GIS mapserver
176+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
177+
and display databases of geographic information.
178+
.
179+
This package contains the Quantum GIS mapserver.
180+
181+
Package: qgis-sqlanywhere
182+
Architecture: any
183+
Depends: ${shlibs:Depends}, ${misc:Depends}
184+
Conflicts: qgis-sqlanywhere1.7.0, qgis-sqlanywhere1.7.1, qgis-sqlanywhere1.8.0
185+
Description: Quantum GIS sql anywhere plugin and provider
186+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
187+
and display databases of geographic information.
188+
.
189+
This package contains the Quantum GIS sqlanywhere plugin and provider.
190+
191+
Package: qgis-api-doc
192+
Architecture: all
193+
Section: doc
194+
Description: Quantum GIS API documentation
195+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
196+
and display databases of geographic information.
197+
.
198+
This package contains the Quantum GIS API documentation.
199+
200+
Package: qgis-plugin-globe
201+
Architecture: any
202+
Depends: qgis (= ${binary:Version}), qgis-plugin-globe-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
203+
Description: OSG globe plugin for Quantum GIS
204+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
205+
and display databases of geographic information.
206+
.
207+
This plugin enables 3D viewing using OSG globe in the Quantum GIS.
208+
209+
Package: qgis-plugin-globe-common
210+
Architecture: all
211+
Description: OSG GLOBE plugin for Quantum GIS - architecture-independent data
212+
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
213+
and display databases of geographic information.
214+
.
215+
This package contains architecture-independent supporting data files for use
216+
with the Quantum GIS GLOBE plugin.
217+

‎debian/rules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
1010
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
1111

1212
DISTRIBUTION := $(shell dpkg-parsechangelog --format rfc822 | sed -ne "s/^Distribution: //p")
13-
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"squeeze hardy intrepid jaunty karmic lucid maverick natty oneiric precise"))
13+
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"squeeze wheezy hardy intrepid jaunty karmic lucid maverick natty oneiric precise"))
1414
DISTRIBUTION := sid
1515
endif
1616

@@ -32,10 +32,10 @@ CMAKE_OPTS := \
3232
-D QGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin \
3333
-D WITH_APIDOC=TRUE
3434

35-
ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid maverick natty oneiric precise sid"))
36-
CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE
37-
else
35+
ifeq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"hardy intrepid jaunty karmic lucid maverick natty oneiric lenny squeeze"))
3836
CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE
37+
else
38+
CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE
3939
endif
4040

4141
ifneq (,$(findstring $(DISTRIBUTION),"sid"))

0 commit comments

Comments
 (0)
Please sign in to comment.