[gazebo] 02/08: Added menu, desktop and icon
Jose Luis Rivero
jrivero-guest at moszumanska.debian.org
Tue Jun 24 02:01:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
jrivero-guest pushed a commit to branch master
in repository gazebo.
commit 98dd33207364498f46f7c6ef8d4b80d2d155846c
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Mon Jun 23 23:53:47 2014 +0000
Added menu, desktop and icon
---
debian/gazebo.desktop | 10 ++++++++++
debian/rules | 13 ++++++++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/debian/gazebo.desktop b/debian/gazebo.desktop
new file mode 100644
index 0000000..7beeaeb
--- /dev/null
+++ b/debian/gazebo.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Gazebo
+Comment=3-D Robot simulator
+Exec=/usr/bin/gazebo
+Icon=gazebo
+Type=Application
+Categories=Development;Education;Science;
+StartupNotify=true
+OnlyShowIn=GNOME;Unity;
+Keywords=Run;
diff --git a/debian/rules b/debian/rules
index 929a89e..1e6a275 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ override_dh_auto_configure:
# dh_auto_build -- doc # Generate Doxygen HTML documentation.
override_dh_install:
- dh_install -- # Install.
+ dh_install -- # Install
# Get rid of fonts already packaged elsewhere.
tmp=`ls debian/gazebo3-common/usr/share/gazebo-*/media/gui/fonts/DejaVuSans.ttf` \
@@ -37,6 +37,17 @@ override_dh_install:
&& rm $$tmp \
&& ln -s /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf $$tmp
+ # Install icon
+ mkdir -p debian/gazebo3/usr/share/icons/hicolor/scalable/apps/
+ install -m 644 gazebo/gui/images/gazebo.svg \
+ debian/gazebo3/usr/share/icons/hicolor/scalable/apps/gazebo.svg
+
+ # Install desktop file
+ mkdir -p debian/gazebo3/usr/share/applications/
+ install -m 644 ./debian/gazebo.desktop \
+ debian/gazebo3/usr/share/applications/
+
+
override_dh_strip:
dh_strip -a --dbg-package=libgazebo3-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gazebo.git
More information about the debian-science-commits
mailing list