[cylc] 22/23: Add icon, desktop file for cylc-gui

Alastair McKinstry mckinstry at moszumanska.debian.org
Sun Mar 26 12:04:07 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository cylc.

commit 9240eb57f3dfe5b7689aa50eda12c3e189ab7b9d
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Dec 23 11:01:48 2016 +0000

    Add icon, desktop file for cylc-gui
---
 debian/changelog    |  6 ++++++
 debian/cylc.desktop | 14 ++++++++++++++
 debian/cylc.dirs    |  2 ++
 debian/cylc.install |  1 +
 debian/rules        |  3 ++-
 5 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1a95d72..221a0b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cylc (6.11.2-4) UNRELEASED; urgency=medium
+
+  * Add icon, desktop file for cylc-gui
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 23 Dec 2016 11:01:24 +0000
+
 cylc (6.11.2-3) unstable; urgency=medium
 
   * Binary rebuild for armhf build failure
diff --git a/debian/cylc.desktop b/debian/cylc.desktop
new file mode 100644
index 0000000..81d541e
--- /dev/null
+++ b/debian/cylc.desktop
@@ -0,0 +1,14 @@
+[Desktop Entry]
+X-SuSE-translate=true
+Name=Cylc
+GenericName=Cylc Workflow Scheduler
+X-GNOME-FullName=Cylc Workflow Scheduler
+Comment=Schedule and monitor weather and geoscience workflows
+Type=Application
+Categories=Science;Geoscience;Qt
+#MimeType=image/svg+xml;image/svg+xml-compressed;
+Exec=/usr/share/cylc/bin/cylc-gui
+TryExec=/usr/share/cylc/bin/cylc-gui
+Terminal=false
+StartupNotify=true
+Icon=cylc
diff --git a/debian/cylc.dirs b/debian/cylc.dirs
index f19819e..752d69c 100644
--- a/debian/cylc.dirs
+++ b/debian/cylc.dirs
@@ -1,2 +1,4 @@
 /usr/share/cylc/bin
 /etc/cylc/conf/gcylcrc
+etc/cylc/gcylcrc
+/usr/share/pixmaps
diff --git a/debian/cylc.install b/debian/cylc.install
index 2ce1d17..1e9f198 100644
--- a/debian/cylc.install
+++ b/debian/cylc.install
@@ -5,3 +5,4 @@ conf/cylc.lang /usr/share/gtksourceview-3.0/language-specs
 conf/cylc.xml /usr/share/kde4/apps/katepart/syntax
 debian/bash_completion.d/* /usr/share/bash-completion/completions
 conf/job-init-env-default.sh /etc/cylc
+debian/cylc.desktop /usr/share/applications
diff --git a/debian/rules b/debian/rules
index 6615dad..0ff377d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,9 @@ override_dh_auto_install:
 	# Don't support gpanel. Requires gnome2's gnomeapplet.
 	rm -rf  bin/cylc-gpanel conf/gpanel
 	mkdir -p debian/tmp/usr/bin
+	mkdir -p debian/tmp/etc/cylc/gcylcrc
 	sed -e 's%/home/admin/cylc%/usr/share%' <  \
 	 	admin/cylc-wrapper	> debian/tmp/usr/bin/cylc
-	mkdir -p debian/tmp/etc/cylc/gcylcrc
 	cp conf/gcylcrc/gcylc.rc.eg debian/tmp/etc/cylc/gcylcrc/gcylc.rc
 	cp conf/gcylcrc/themes.rc debian/tmp/etc/cylc/gcylcrc
 	find . -name '*.t' -exec chmod +x {} \;
@@ -24,6 +24,7 @@ override_dh_auto_install:
                            $(CURDIR)/debian/cylc-el/usr/share/emacs/site-lisp/cylc/cylc-mode.el
 	install  -m 0755 debian/cylc.py  \
 			$(CURDIR)/debian/cylc/usr/share/cylc/bin/cylc
+	install -m 0644 images/icon.png $(CURDIR)/debian/cylc/usr/share/pixmaps/cylc.png
 
 override_dh_fixperms:
 	# Delete after install. Use Pyro package instead.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cylc.git



More information about the debian-science-commits mailing list