On Debian, the menu package will generate .desktop files for you if (and only if) you have software that uses .desktop files installed, so including them in each package would be pointless, counterproductive and wasteful.
Including a .desktop file makes sense for some packages--mainly, those which are tightly integrated with one of the desktop environments that uses .desktop files. Xarclock is not such a package (to put it mildly). In general, though, including .desktop files with random Debian packages is, in my opinion, an extremely bad idea. I may be prejudiced since on my system they serve no purpose except to waste inodes, but I see no reason why Debian should do stupid things simply because Ubuntu foolishly refuses to incorporate menu in their core. On Wed, Oct 29, 2008 at 11:55:56PM +0100, Martin Pitt wrote: > Package: xarclock > Version: 1.0-12 > Severity: wishlist > Tags: patch > User: [EMAIL PROTECTED] > Usertags: ubuntu-patch origin-ubuntu > > Hello, > > a while ago, Vassilis Pandis contributed a .desktop file in > https://launchpad.net/bugs/45399. It does not include i18n > infrastructure, but it's better than not having one at all. > > Thanks, > > Martin > > -- > Martin Pitt | http://www.piware.de > Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) > diff -pruN 1.0-11.1/debian/rules 1.0-11.1ubuntu2/debian/rules > --- 1.0-11.1/debian/rules 2007-09-18 22:02:33.000000000 +0100 > +++ 1.0-11.1ubuntu2/debian/rules 2007-09-18 20:14:50.000000000 +0100 > @@ -33,6 +33,9 @@ install-stamp: build-stamp > `pwd`/debian/xarclock/usr/bin/xarclock > touch install-stamp > > + install -d `pwd`/debian/xarclock/usr/share/applications > + install -m644 debian/xarclock.desktop > `pwd`/debian/xarclock/usr/share/applications > + > # Build architecture-independent files here. > binary-indep: build install > # We have nothing to do by default. > diff -pruN 1.0-11.1/debian/xarclock.desktop > 1.0-11.1ubuntu2/debian/xarclock.desktop > --- 1.0-11.1/debian/xarclock.desktop 1970-01-01 01:00:00.000000000 +0100 > +++ 1.0-11.1ubuntu2/debian/xarclock.desktop 2007-09-18 20:14:50.000000000 > +0100 > @@ -0,0 +1,9 @@ > +[Desktop Entry] > +Version=1.0 > +Type=Application > +Name=Counter-clockwise clock > +GenericName=Counter-clockwise clock > +Comment=If clocks had been invented in the southern hemisphere, they would > run counter-clockwise. > +Icon=xarclock > +Exec=xarclock > +Categories=Clock;Amusement;Utility; -- Chris Waters | Pneumonoultra- osis is too long [EMAIL PROTECTED] | microscopicsilico- to fit into a single or [EMAIL PROTECTED] | volcaniconi- standalone haiku -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

