Am Samstag, den 10.03.2007, 14:15 +0100 schrieb Luca Falavigna:
> Please find attached a debdiff implementing this.
> Thank you.
> einfaches Textdokument-Anlage (xawtv_3.95.dfsg.1-3.debdiff)
> diff -Nru xawtv-3.95.dfsg.1/debian/changelog 
> xawtv-3.95.dfsg.1/debian/changelog
> --- xawtv-3.95.dfsg.1/debian/changelog        2007-03-10 14:13:19.000000000 
> +0100
> +++ xawtv-3.95.dfsg.1/debian/changelog        2007-03-10 14:13:20.000000000 
> +0100
> @@ -1,3 +1,9 @@
> +xawtv (3.95.dfsg.1-3) unstable; urgency=low
> +
> +  * Added .desktop file
> +
> + -- Luca Falavigna <[EMAIL PROTECTED]>  Sat, 10 Mar 2007 14:11:02 +0100
> +
>  xawtv (3.95.dfsg.1-2) unstable; urgency=low
>  
>    * QA upload.
> diff -Nru xawtv-3.95.dfsg.1/debian/rules xawtv-3.95.dfsg.1/debian/rules
> --- xawtv-3.95.dfsg.1/debian/rules    2007-03-10 14:13:19.000000000 +0100
> +++ xawtv-3.95.dfsg.1/debian/rules    2007-03-10 14:13:20.000000000 +0100
> @@ -50,6 +50,10 @@
>       echo "v4l-conf: setuid-binary" \
>               > debian/v4l-conf/usr/share/lintian/overrides/v4l-conf
>  
> +     # install desktop file
> +     install -d $(CURDIR)/debian/xawtv/usr/share/applications
> +     install -m 644 debian/xawtv.desktop 
> $(CURDIR)/debian/xawtv/usr/share/applications
> +
>  binary-indep: build install
>  
>  binary-arch: build install
> diff -Nru xawtv-3.95.dfsg.1/debian/xawtv.desktop 
> xawtv-3.95.dfsg.1/debian/xawtv.desktop
> --- xawtv-3.95.dfsg.1/debian/xawtv.desktop    1970-01-01 01:00:00.000000000 
> +0100
> +++ xawtv-3.95.dfsg.1/debian/xawtv.desktop    2007-03-10 14:13:20.000000000 
> +0100
> @@ -0,0 +1,18 @@
> +[Desktop Entry]
> +Comment=TV viewer for X11
> +NoDisplay=false
> +Name=XawTV
> +Encoding=UTF-8
> +Exec=xawtv
> +Terminal=false
> +GenericName=XawTV
> +Comment[en_GB]=TV extensions for X11
> +Comment[en_US]=TV extensions for X11
> +Icon[en_GB]=/usr/share/pixmaps/gnome-term-linux2.png
> +Icon[en_US]=/usr/share/pixmaps/gnome-term-linux2.png
> +Hidden=false
> +Name[en_GB]=XawTV
> +Name[en_US]=XawTV
> +Type=Application
> +Categories=Applications;AudioVideo
> +Icon=/usr/share/pixmaps/gnome-term-linux2.png

Please note, that "Applications" is not a valid category (obsolete
category of GNOME, not valid in the freedesktop.org standard) and every
category must be followed by a semicolon. You can easily check with the
desktop-file-validate tool for such issues.

JFTR: I would also remove the Hidden and NoDisplay fields and the
localized (en_*) Comment, Icon and Name fields. They seem a bit useless
here.

Regards, Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to