Tags: Patch

  Please find attached a patch that includes the .desktop file and
icon from the aforementioned Ubuntu bug.

--
Emmet HIKORY
diff -pruN 1.8.6-2/debian/dirs 1.8.6-2ubuntu1/debian/dirs
--- 1.8.6-2/debian/dirs	2006-07-25 13:46:37.000000000 +0100
+++ 1.8.6-2ubuntu1/debian/dirs	2006-07-25 13:34:55.000000000 +0100
@@ -2,3 +2,5 @@ usr/bin
 usr/lib/tkgate
 usr/share/man/man1
 usr/share/tkgate
+usr/share/applications
+usr/share/pixmaps
diff -pruN 1.8.6-2/debian/rules 1.8.6-2ubuntu1/debian/rules
--- 1.8.6-2/debian/rules	2006-07-25 13:46:37.000000000 +0100
+++ 1.8.6-2ubuntu1/debian/rules	2006-07-25 13:34:55.000000000 +0100
@@ -33,6 +33,8 @@ install: build
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+	dh_install debian/tkgate.desktop usr/share/applications
+	dh_install debian/tkgate.xpm usr/share/pixmaps
 
 	# Add here commands to install the package into debian/tkgate.
 	$(MAKE) install DESTDIR=`pwd`/debian/tkgate
diff -pruN 1.8.6-2/debian/tkgate.desktop 1.8.6-2ubuntu1/debian/tkgate.desktop
--- 1.8.6-2/debian/tkgate.desktop	1970-01-01 01:00:00.000000000 +0100
+++ 1.8.6-2ubuntu1/debian/tkgate.desktop	2006-07-25 13:34:55.000000000 +0100
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=tkgate Circuit Simulator
+GenericName=Circuit Simulator
+Comment=Event driven digital circuit simulator with Tcl/Tk
+Exec=tkgate
+Icon=tkgate
+Type=Application
+Categories=Education;Electronics;Engineering;
diff -pruN 1.8.6-2/debian/tkgate.xpm 1.8.6-2ubuntu1/debian/tkgate.xpm
--- 1.8.6-2/debian/tkgate.xpm	1970-01-01 01:00:00.000000000 +0100
+++ 1.8.6-2ubuntu1/debian/tkgate.xpm	2006-07-25 13:34:55.000000000 +0100
@@ -0,0 +1,33 @@
+/* XPM */
+static char *tkgate[] = {
+/* columns rows colors chars-per-pixel */
+"31 25 2 1",
+"  c gray100",
+". c black",
+/* pixels */
+" ...         .   .         ... ",
+".   .       ... ...       .   .",
+".   .     .  .   .  .     .   .",
+".   .    ... .   . ...    .   .",
+" ...   .  .  .   .  .  .   ... ",
+"..... ... .  .   .  . ... .....",
+".   .  .  .  .   .  .  .  .   .",
+". . .  .  .  .   .  .  .  . . .",
+". . ........... ........... . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+". . ........... ........... . .",
+". . .  .  .  .   .  .  .  . . .",
+". . .  .  .  .   .  .  .  . . .",
+".   .  .  .  .   .  .  .  .   .",
+".....                     ....."
+};

Reply via email to