[med-svn] [artemis] 05/13: Add .desktop files to make menu entries

Afif Elghraoui afif-guest at moszumanska.debian.org
Fri Oct 23 06:10:51 UTC 2015


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

afif-guest pushed a commit to branch master
in repository artemis.

commit c3577ebc0388ff0d281118a3844fff83093ab8bd
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Thu Oct 22 21:33:05 2015 -0700

    Add .desktop files to make menu entries
---
 debian/control                    |  2 ++
 debian/desktop/act.desktop        | 13 +++++++++++++
 debian/desktop/artemis.desktop    | 13 +++++++++++++
 debian/desktop/dnaplotter.desktop | 13 +++++++++++++
 debian/rules                      |  2 ++
 5 files changed, 43 insertions(+)

diff --git a/debian/control b/debian/control
index accdd72..a840f60 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,8 @@ Build-Depends:
 	ant-optional,
 	junit4,
 	libhamcrest-java,
+# To convert gifs to png because gif is not a supported icon format
+	imagemagick
 Standards-Version: 3.9.6
 Homepage: https://www.sanger.ac.uk/resources/software/artemis/
 Vcs-Git: git://anonscm.debian.org/debian-med/artemis.git
diff --git a/debian/desktop/act.desktop b/debian/desktop/act.desktop
new file mode 100644
index 0000000..c6bb79c
--- /dev/null
+++ b/debian/desktop/act.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Comment=Pairwise comparison of DNA sequences
+Exec=act
+GenericName[en_US]=Artemis Comparison Tool
+GenericName=Artemis Comparison Tool
+Icon=helix
+Name[en_US]=Artemis Comparison Tool
+Name=Artemis Comparison Tool
+Categories=Science;
+AdditionalCategories=Biology;DataVisualization;
+StartupNotify=false
+Terminal=false
+Type=Application
diff --git a/debian/desktop/artemis.desktop b/debian/desktop/artemis.desktop
new file mode 100644
index 0000000..62ff931
--- /dev/null
+++ b/debian/desktop/artemis.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Comment=Genome Browser and Annotation Tool
+Exec=art
+GenericName[en_US]=Artemis
+GenericName=Artemis
+Icon=helix
+Name[en_US]=Artemis
+Name=Artemis
+Categories=Science;
+AdditionalCategories=Biology;DataVisualization;
+StartupNotify=false
+Terminal=false
+Type=Application
diff --git a/debian/desktop/dnaplotter.desktop b/debian/desktop/dnaplotter.desktop
new file mode 100644
index 0000000..8da51c1
--- /dev/null
+++ b/debian/desktop/dnaplotter.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Comment=Make circular plots of DNA sequences
+Exec=dnaplotter
+GenericName[en_US]=DNAPlotter
+GenericName=DNAPlotter
+Icon=helix
+Name[en_US]=DNAPlotter
+Name=DNAPlotter
+Categories=Science;
+AdditionalCategories=Biology;DataVisualization;
+StartupNotify=false
+Terminal=false
+Type=Application
diff --git a/debian/rules b/debian/rules
index 12cc794..4c6140d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@ override_dh_auto_build:
 	$(MAKE) jar
 	sed 's|@CLASSPATH@|$(subst :,$(space),$(subst $(CURDIR),/usr/share/java/artemis.jar,$(CLASSPATH)))|g' debian/artemis.manifest.in > \
 		debian/artemis.manifest
+	convert images/helix.gif images/helix.png
 
 override_dh_auto_test:
 	cd test && ant -f build-test.xml test-headless -DEMBOSS_ROOT=/usr
@@ -46,3 +47,4 @@ override_dh_auto_test:
 override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) debian/artemis.manifest
+	$(RM) images/helix.png

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/artemis.git



More information about the debian-med-commit mailing list