@@ -54,7 +54,13 @@ CMAKE_OPTS := \
54
54
-DMAPSERVER_SKIP_ECW=TRUE \
55
55
-DQGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin \
56
56
-DWITH_APIDOC=TRUE \
57
- -DWITH_GLOBE=TRUE
57
+ -DWITH_GLOBE=TRUE \
58
+ -DWITH_INTERNAL_HTTPLIB2=FALSE \
59
+ -DWITH_INTERNAL_JINJA2=FALSE \
60
+ -DWITH_INTERNAL_MARKUPSAFE=FALSE \
61
+ -DWITH_INTERNAL_PYGMENTS=FALSE \
62
+ -DWITH_INTERNAL_DATEUTIL=FALSE \
63
+ -DWITH_INTERNAL_PYTZ=FALSE
58
64
59
65
ifneq (,$(filter parallel=% ,$(DEB_BUILD_OPTIONS ) ) )
60
66
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
87
93
CMAKE_OPTS += -DENABLE_TESTS=TRUE
88
94
endif
89
95
90
- ifneq (,$(findstring $(DISTRIBUTION ) ,"wheezy jessie saucy trusty sid") )
96
+ ifneq (,$(findstring $(DISTRIBUTION ) ,"wheezy jessie saucy trusty sid sid-oracle ") )
91
97
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
92
98
CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS )
93
99
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS )
@@ -116,7 +122,7 @@ define gentemplate
116
122
$(2 ) : $(1 )
117
123
sed -r \
118
124
-e 's/^# (.* |)$(DISTRIBUTION)( .*|)#//' \
119
- -e '/^#/d' \
125
+ -e '/^#($|[^!]) /d' \
120
126
-e "s/\{DEB_BUILD_GNU_TYPE\}/$(DEB_BUILD_GNU_TYPE)/g" \
121
127
-e "s#\{QT_PLUGIN_DIR\}#$(QT_PLUGIN_DIR)#g" \
122
128
-e "s/\{QGIS_ABI\}/$(QGIS_ABI)/g" \
@@ -165,21 +171,6 @@ endif
165
171
override_dh_auto_install-arch :
166
172
dh_auto_install --arch
167
173
168
- # remove unwanted files
169
- $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/api/installdox
170
- $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/api/jquery.js
171
- $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/LICENCE
172
-
173
- # Don't include a copy of the world.tif also included in osgearth-data
174
- $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/globe/world.tif
175
-
176
- # remove extra license files
177
- -find $(CURDIR)/debian/tmp/usr/share/qgis/resources/cpt-city-qgis-min/ -name COPYING.xml -delete
178
-
179
- # Man pages are installed by dh_installman
180
- $(RM) $(CURDIR)/debian/tmp/usr/man/man1/qgis.1
181
- $(RM) $(CURDIR)/debian/tmp/usr/man/man1/qbrowser.1
182
-
183
174
# Install menu pixmap
184
175
install -o root -g root -d $(CURDIR)/debian/tmp/usr/share/pixmaps
185
176
install -o root -g root -m 644 $(CURDIR)/images/icons/qgis_icon.svg $(CURDIR)/debian/tmp/usr/share/pixmaps/qgis.svg
@@ -227,6 +218,21 @@ override_dh_install:
227
218
228
219
perl -i -pe 's=# !/usr/bin/env python=#!/usr/bin/python2.7=;' $$(find debian/tmp -name "*.py")
229
220
221
+ # remove unwanted files
222
+ $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/api/installdox
223
+ $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/api/jquery.js
224
+ $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/doc/LICENCE
225
+
226
+ # Don't include a copy of the world.tif also included in osgearth-data
227
+ $(RM) $(CURDIR)/debian/tmp/usr/share/qgis/globe/world.tif
228
+
229
+ # remove extra license files
230
+ -find $(CURDIR)/debian/tmp/usr/share/qgis/resources/cpt-city-qgis-min/ -name COPYING.xml -delete
231
+
232
+ # Man pages are installed by dh_installman
233
+ $(RM) $(CURDIR)/debian/tmp/usr/man/man1/qgis.1
234
+ $(RM) $(CURDIR)/debian/tmp/usr/man/man1/qbrowser.1
235
+
230
236
dh_install --autodest --list-missing
231
237
232
238
override_dh_installchangelogs :
0 commit comments