[cronometer] 01/01: Added a desktop entry
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Mar 4 22:00:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository cronometer.
commit d53828ec5dcfadead70a2d5ca237ead23332d96e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Mar 4 23:00:28 2014 +0100
Added a desktop entry
---
debian/changelog | 1 +
debian/cronometer.desktop | 8 ++++++++
debian/install | 1 +
debian/rules | 2 ++
4 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index be8921f..e9cd425 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
cronometer (0.9.9-3) UNRELEASED; urgency=medium
* Team upload.
+ * Added a desktop entry
* Exclude the non-free SourceForge donation logo from the upstream tarball
(Closes: #735498)
* Use XZ compression for the upstream tarball
diff --git a/debian/cronometer.desktop b/debian/cronometer.desktop
new file mode 100644
index 0000000..e3643a7
--- /dev/null
+++ b/debian/cronometer.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Cronometer
+Comment=Exercise and nutrient intake tracker
+Exec=cronometer
+Icon=/usr/share/pixmaps/cronometer.png
+Terminal=false
+Type=Application
+Categories=Utility;
diff --git a/debian/install b/debian/install
index 567092d..d254267 100644
--- a/debian/install
+++ b/debian/install
@@ -2,3 +2,4 @@ lib/cronometer.jar usr/share/java/
lib/usda_sr24.jar usr/share/cronometer/
lib/crdb_005.jar usr/share/cronometer/
lib/docs.jar usr/share/cronometer/
+debian/cronometer.desktop usr/share/applications/
diff --git a/debian/rules b/debian/rules
index 50ed639..c29f36b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,8 @@ override_dh_auto_build:
override_dh_auto_install:
dh_link usr/share/java/cronometer.jar usr/bin/cronometer
+ mkdir -p debian/cronometer/usr/share/pixmaps
+ cp src/img/apple-200x200.png debian/cronometer/usr/share/pixmaps/cronometer.png
dh_auto_install
override_dh_auto_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cronometer.git
More information about the pkg-java-commits
mailing list