[josm] 23/28: Install logo per Icon Theme Specification.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Oct 9 22:27:06 UTC 2015


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

sebastic pushed a commit to branch master
in repository josm.

commit aaafba1db76e9313720646eda886e76449f88350
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Oct 9 22:44:08 2015 +0200

    Install logo per Icon Theme Specification.
---
 debian/changelog | 1 +
 debian/rules     | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a09dd73..b6563db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ josm (0.0.svn8800+dfsg2-1) UNRELEASED; urgency=medium
   * Use embedded metadata-extractor for getFirstDirectoryOfType symbol.
   * Add missing-sources for overpass-turbo-ffs.js & opening_hours.js.
   * Use desktop file in favor of menu file per CTTE #741573.
+  * Install logo per Icon Theme Specification.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 09 Oct 2015 15:24:23 +0200
 
diff --git a/debian/rules b/debian/rules
index fd39b60..41ac5ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,14 @@ override_dh_auto_install:
 	install -m 644 $(CURDIR)/dist/josm-custom.jar $(CURDIR)/debian/josm/usr/share/josm/josm-${DEB_UPSTREAM_VERSION}.jar
 	dh_link usr/share/josm/josm-${DEB_UPSTREAM_VERSION}.jar usr/share/josm/josm.jar
 	install -m 755 $(CURDIR)/debian/josm.sh $(CURDIR)/debian/josm/usr/bin/josm
+
+	for size in 48x48 32x32 16x16; do \
+		install -o root -g root -d $(CURDIR)/debian/josm/usr/share/icons/hicolor/$${size}/apps ; \
+		install -o root -g root -m 644 $(CURDIR)/images/logo_$${size}x32.png $(CURDIR)/debian/josm/usr/share/icons/hicolor/$${size}/apps/josm.png ; \
+	done
+	install -o root -g root -d $(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps
+	install -o root -g root -m 644 $(CURDIR)/images/logo.svg $(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps/josm.svg
+
 	install -m 644 $(CURDIR)/linux/tested/usr/share/pixmaps/josm.png $(CURDIR)/debian/josm/usr/share/pixmaps/josm.png
 	install -m 644 $(CURDIR)/linux/tested/usr/share/applications/josm.desktop $(CURDIR)/debian/josm/usr/share/applications/josm.desktop
 	install -m 644 $(CURDIR)/linux/tested/usr/share/appdata/josm.appdata.xml $(CURDIR)/debian/josm/usr/share/appdata/josm.appdata.xml

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



More information about the Pkg-grass-devel mailing list