On Tue, Nov 27, 2012 at 08:40:26PM +0100, Julien Cristau wrote: > On Sun, Nov 25, 2012 at 19:38:15 -0500, Thomas Dickey wrote: > > > On Sun, Nov 25, 2012 at 09:04:07PM +0000, Paul Evans wrote: > > > Package: xterm > > > Version: 278-2 > > > Severity: normal > > > > > > (re-submission in case the previous did not make it) > > > > > > Current version in debian is still 278; this is rather old by now. There > > > are several updates in later versions that I would like to make use of. > > > Ideally at least version 282 would be lovely. > > > > There are several features and fixes. I released #279 a few weeks before > > the current freeze began; however it was fairly large, and according to > > the package maintainer beyond his ability to inspect it. Direct access > > to my source archives would not change that assessment, however I've long > > been cooperative about digesting changes to assist packagers in applying > > specific changes. > > > I'm looking at 287, and have a problem with the desktop file: > > ACTUAL_XTERM=`echo xterm| sed 's,x,x,'` \ > /bin/sh -c 'for n in ../xterm.desktop ../uxterm.desktop; \ > do /bin/sh df-install $ACTUAL_XTERM --vendor debian --dir=/XXX/pkg-xorg/app/xterm/debian/tmp/usr/share/applications $n; \ > done' > --- ../xterm.desktop 2012-11-27 19:21:40.000000000 +0000 > +++ tempdir29859/xterm.desktop 2012-11-27 19:27:14.000000000 +0000 > @@ -37,6 +37,6 @@ > Exec=xterm > Terminal=false > Type=Application > -Encoding=UTF-8 > -Icon=xterm-color_48x48 > -Categories=System;TerminalEmulator; > +#Encoding=UTF-8 > +Icon=xterm-color > +Categories=auto > xterm.desktop: warning: key "Categories" is a list and does not have a semicolon as trailing character, fixing > /home/julien/src/debian.org/git/pkg-xorg/app/xterm/debian/tmp/usr/share/applications/debian-xterm.desktop: error: value "auto;" for key "Categories" in group "Desktop Entry" contains an unregistered value "auto"; values extending the format should start with "X-" > /home/julien/src/debian.org/git/pkg-xorg/app/xterm/debian/tmp/usr/share/applications/debian-xterm.desktop: error: (will be fatal in the future): value "auto;" for key "Categories" in group "Desktop Entry" does not contain a registered main category > Error on file "xterm.desktop": Failed to validate the created desktop file hmm - I assume I overlooked this due to the way I build my test package - on a machine which has one or more desktop environments installed. Mine has this (xterm-dev.desktop of course): [Desktop Entry] Name=XTermDev #GenericName=Terminal Comment=standard terminal emulator for the X window system Exec=xterm-dev Terminal=false Type=Application #Encoding=UTF-8 Icon=xterm-dev-color Categories=Application;System;TerminalEmulator;Utility; X-Desktop-File-Install-Version=0.15 > I can probably work around this by setting the category explicitly, but > as far as I can tell, CF_WITH_DESKTOP_CATEGORY doesn't actually use $3 > as a default value? doesn't seem that way - a quick check of the history doesn't show a change in usage for the parameter (though I may have had a different intent when starting to code this). It's only used in a case statement for "other" desktops that I hadn't seen and collected there, and doesn't directly affect the category. The macro's not that recent - is this a new bug, or just noticed one that existed last year? -- Thomas E. Dickey <dickey@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
Attachment:
signature.asc
Description: Digital signature