Skip to content

Commit f06e72e

Browse files
committedFeb 7, 2014
debian packaging fix
1 parent af65a0a commit f06e72e

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed
 

‎debian/changelog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ qgis (2.1.0) UNRELEASED; urgency=low
55
* Update Qt dependency to 4.7
66
* drop support for Debian squeeze and Ubuntu lucid, maverick, natty and oneiric
77
* add support for Ubuntu trusty
8+
* run crssync on copy of srs.db (Closes #738117)
89

9-
-- Jürgen E. Fischer <jef@norbit.de> Wed, 05 Feb 2014 22:02:24 +0100
10+
-- Jürgen E. Fischer <jef@norbit.de> Sat, 08 Feb 2014 00:36:40 +0100
1011

1112
qgis (1.9.0) UNRELEASED; urgency=low
1213

‎debian/qgis-providers-common.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
usr/share/qgis/svg/*
22
usr/share/qgis/resources/qgis.db
3-
usr/share/qgis/resources/srs.db
3+
usr/share/qgis/resources/srs-template.db
44
usr/share/qgis/resources/customization.xml
55
usr/share/qgis/resources/symbology-ng-style.db
66
usr/share/qgis/resources/cpt-city-qgis-min/*

‎debian/qgis-providers-common.postinst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33

44
if [ "$1" = "configure" ] && [ -x /usr/lib/qgis/crssync ]; then
5+
cp /usr/share/qgis/resources/srs-template.db /usr/share/qgis/resources/srs.db
56
/usr/lib/qgis/crssync
67
fi
78

‎debian/qgis-providers-common.prerm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
set -e
3+
4+
if [ "$1" = "remove" ] ; then
5+
rm /usr/share/qgis/resources/srs.db
6+
fi
7+
8+
#DEBHELPER#

‎debian/rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ install: build
190190
install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps
191191
install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-mime-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps
192192

193+
mv $(CURDIR)/debian/tmp/usr/share/qgis/resources/srs.db $(CURDIR)/debian/tmp/usr/share/qgis/resources/srs-template.db
194+
193195
# Build architecture-independent files here.
194196
binary-indep: build install
195197
# We have nothing to do by default.

0 commit comments

Comments
 (0)
Please sign in to comment.