File tree 6 files changed +44
-3
lines changed
6 files changed +44
-3
lines changed Original file line number Diff line number Diff line change
1
+ qgis (1.0preview5) experimental; urgency=low
2
+
3
+ * add wrapper scripts to qgis-plugin-grass that adds the grass
4
+ shared libraries to LD_LIBRARY_PATH.
5
+
6
+ -- Jürgen E. Fischer <jef@norbit.de> Fri, 29 Aug 2008 00:19:05 +0200
7
+
1
8
qgis (1.0preview4) experimental; urgency=low
2
9
3
10
* add ogr converter plugin
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ if [ " $1 " = " remove" ]; then
4
+ dpkg-divert --package qgis-plugin-grass --remove --rename --divert /usr/bin/qgis /usr/bin/qgis
5
+ fi
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ if [ " $1 " = " install" -o " $1 " = " upgrade" ]; then
4
+ dpkg-divert --package qgis-plugin-grass --add --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
5
+ fi
Original file line number Diff line number Diff line change 1
- usr/bin/*
1
+ usr/bin/qgis_help
2
2
usr/share/qgis/doc/CODING
3
3
usr/share/qgis/doc/favicon.ico
4
4
usr/share/qgis/doc/index.html
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ LD_LIBRARY_PATH=/usr/lib/grass/lib
4
+ export LD_LIBRARY_PATH
5
+
6
+ if [ " $LD_LIBRARY_PATH " = " " ]; then
7
+ LD_LIBRARY_PATH=/usr/lib/grass/lib
8
+ else
9
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/usr/lib/grass/lib
10
+ fi
11
+
12
+ exec $0 .bin " $@ "
Original file line number Diff line number Diff line change @@ -13,7 +13,12 @@ include /usr/share/dpatch/dpatch.make
13
13
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
14
14
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
15
15
16
- CMAKE_OPTS = -Wno-dev -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_SKIP_RPATH=TRUE -D BINDINGS_GLOBAL_INSTALL=TRUE -D PEDANTIC=TRUE
16
+ CMAKE_OPTS = \
17
+ -Wno-dev \
18
+ -D CMAKE_INSTALL_PREFIX=/usr \
19
+ -D CMAKE_SKIP_RPATH=TRUE \
20
+ -D BINDINGS_GLOBAL_INSTALL=TRUE \
21
+ -D PEDANTIC=TRUE \
17
22
18
23
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS ) ) )
19
24
CFLAGS += -O0
@@ -86,6 +91,13 @@ binary-arch: build install
86
91
dh_installdocs
87
92
dh_installexamples
88
93
dh_install --sourcedir=debian/tmp
94
+
95
+ install -o root -g root -m 755 -d $(CURDIR)/debian/qgis/usr/bin
96
+ install -o root -g root -m 755 $(CURDIR)/debian/tmp/usr/bin/qgis $(CURDIR)/debian/qgis/usr/bin
97
+
98
+ install -o root -g root -m 755 -d $(CURDIR)/debian/qgis-plugin-grass/usr/bin
99
+ install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis-plugin-grass/usr/bin/qgis
100
+
89
101
dh_pycentral
90
102
dh_installmenu
91
103
dh_icons
@@ -99,7 +111,7 @@ binary-arch: build install
99
111
dh_fixperms
100
112
dh_makeshlibs
101
113
dh_installdeb
102
- dh_shlibdeps
114
+ LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib/grass/lib dh_shlibdeps
103
115
dh_gencontrol
104
116
dh_md5sums
105
117
dh_builddeb
You can’t perform that action at this time.
0 commit comments