[qmapshack] 01/01: First step to regenerate png's files.

Jaromír Mikeš mira-guest at moszumanska.debian.org
Mon Aug 18 20:33:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

mira-guest pushed a commit to branch master
in repository qmapshack.

commit 735d776791ee67809ab6c474e38a32166e182be0
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Aug 18 22:32:57 2014 +0200

    First step to regenerate png's files.
---
 debian/clean   | 6 ++++++
 debian/control | 1 +
 debian/rules   | 9 +++++++++
 3 files changed, 16 insertions(+)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..8423d48
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+src/icons/16x16/*
+src/icons/32x32/*
+src/icons/48x48/*
+src/icons/cache/32x32/*
+src/icons/waypoints/32x32/*
+src/pics/compass.png
diff --git a/debian/control b/debian/control
index eb75237..97cc53d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Jaromír Mikeš <mira.mikes at seznam.cz>
 Build-Depends: cmake,
                debhelper (>= 9.20120417~),
+               inkscape,
                libgdal-dev (>= 1.10.1-0~),
                libproj-dev,
                libqt5opengl5-dev,
diff --git a/debian/rules b/debian/rules
index b34c1fd..f512382 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,15 @@ pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
 override_dh_installchangelogs:
 	dh_installchangelogs changelog.txt
 
+override_dh_auto_build:
+	cd $(CURDIR)/src/icons/
+	bash makeicons
+	cd $(CURDIR)/src/icons/cache/
+	bash makeicons
+	cd $(CURDIR)/src/icons/waypoints/
+	bash makeicons
+	inkscape -D -w 180 -h 180 $(CURDIR)/src/pics/compass.svg --export-png=$(CURDIR)/src/pics/compass.png
+
 override_dh_auto_install:
 	dh_auto_install
 	install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/qmapshack/usr/share/pixmaps/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qmapshack.git



More information about the Pkg-grass-devel mailing list