Package: ygraph
Version: 0.15-2
Severity: wishlist
Tags: patch

Dear ygraph package maintainer,

The ygraph package in Ubuntu added a ygraph.desktop file so that the
users can have a desktop menu entry for ygraph.  I am now sending this
change to Debian, so that you can review it and hopefully add it to the
Debian package as well.

As this is an upstream issue, I'll appreciate if you can forward this
patch to ygraph upstream as well.

The attached patch adds a debian/ygraph.desktop file, and adds two lines
in debian/rules to install this file in /usr/share/applications/ as
well as to update the desktop file database in maintainer's scripts.  If
you don't like the way Ubuntu changes debian/rules, you can also use the
separately attached ygraph.desktop file.

Thanks in advance,
Ming
2006.11.02
diff -urN ygraph-0.15.orig/debian/rules ygraph-0.15/debian/rules
--- ygraph-0.15.orig/debian/rules       2006-11-01 18:12:36.000000000 -0600
+++ ygraph-0.15/debian/rules    2006-11-01 18:39:41.000000000 -0600
@@ -95,6 +95,8 @@
 binary-arch: build install
        dh_testdir
        dh_testroot
+       dh_install debian/ygraph.desktop usr/share/applications
+       dh_desktop
        dh_installdocs
        dh_installexamples
        dh_installmenu
diff -urN ygraph-0.15.orig/debian/ygraph.desktop 
ygraph-0.15/debian/ygraph.desktop
--- ygraph-0.15.orig/debian/ygraph.desktop      1969-12-31 18:00:00.000000000 
-0600
+++ ygraph-0.15/debian/ygraph.desktop   2006-11-01 18:19:10.000000000 -0600
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=ygraph Scientific Data Plotter
+GenericName=Scientific Data Plotter
+Comment=Produce simple xy-plots of scientific data
+Type=Application
+Exec=ygraph
+Icon=ygraph
+Categories=Education;Science;
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=ygraph Scientific Data Plotter
GenericName=Scientific Data Plotter
Comment=Produce simple xy-plots of scientific data
Type=Application
Exec=ygraph
Icon=ygraph
Categories=Education;Science;

Reply via email to