On Do, 2005-12-01 at 20:14 +0100, Gürkan Sengün wrote:
> On 2005-11-30 15:48:00 +0100 Reinhard Tartler <[EMAIL PROTECTED]> wrote:
> 
> hi reinhard
> 
> i'm not sure, but your diffs are for 0.1.2? and debian sid has 0.1.3
> which does install the desktop file , doesn't it? since i don't have gnome/kde
> i can't test this, can you?

Sorry for the delay in my answer. I tested the desktopfile from your
package. It works in Gnome, but the iconfile it references does not
exist. Attached is the patch we use in ubuntu (uploaded 1h ago). With
this patch, a symlink in /usr/share/pixmap is created and the .desktop
file references that xpm instead of a supertux.png I did not find.



-- 
Reinhard Tartler <[EMAIL PROTECTED]>
--- supertux-0.1.3/debian/rules
+++ supertux-0.1.3/debian/rules
@@ -65,6 +65,8 @@
 	cp -vR data/{CREDITS,*.txt,supertux.strf} $(CURDIR)/debian/supertux-data/usr/share/games/supertux
 	chmod -x $(CURDIR)/debian/supertux-data/usr/share/games/supertux/sounds/warp.wav
 	cp supertux.desktop $(CURDIR)/debian/supertux/usr/share/applications
+	# make icon for .desktopfile available at the right place
+	dh_link -psupertux-data usr/share/games/supertux/images/icon.xpm usr/share/pixmaps/supertux.xpm
 
 
 binary-indep: build install
--- supertux-0.1.3.orig/supertux.desktop
+++ supertux-0.1.3/supertux.desktop
@@ -14,7 +14,7 @@
 Comment[en]=A Super Mario inspired penguin platform game
 Comment[de]=Ein von Super Mario inspiriertes Pinguin Jump&Run Spiel
 Comment[cs]=Plošinovka inspirovaná SuperMariem s tučňákem Tuxem v hlavní roli
-Icon=supertux.png
+Icon=supertux.xpm
 Exec=supertux
 Terminal=false
 StartupNotify=false

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to