Thanks for the bug report. I just want to know which window manager you are using. I did not found any policy statement about default icon locations. The documentation of menu states:
... please put all icon files in the directory `/usr/X11R6/include/X11/{bitmaps,pixmaps}' and I had not to specify the complete path for all window managers I ever used it worked. While I had no real problem to apply your patch I wonder if it is a real good idea. Many packages use these defeult dicectory ~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep -v /usr/X11R6/include/X11 | wc -l 47 ~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep /usr/X11R6/include/X11 | wc -l 19 Same try on another machine: ~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep -v /usr/X11R6/include/X11 | wc -l 58 ~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep /usr/X11R6/include/X11 | wc -l 8 Would you really like to say me that you want to browse /usr/lib/menu for icons with no full path specification and file bug reports? In my opinion the right way to go would to write a policy first. There could be posibilities: 1. (Complienace with /usr/share/doc/menu/menu.txt.gz = see above) Define a fixed path to icons and every window manager (menu using application has to look there in case it does not find the specified icon. or 2. All applications have to specify the complete path name to their icons. I would prefer the first. Any comments? Kind regards Andreas. PS: For those on Debian-Devel who do not like browsing BTS: On Sun, 14 Apr 2002, Mark Purcell wrote: > Package: xteddy > Version: 2.0.1-6 > Severity: normal > Tags: patch > > Andreas, > > It appears that you need to specify the full icon path for menu to > function correctly. > > Mark > > > --- /usr/lib/menu/xteddy Thu Jan 17 01:11:09 2002 > +++ /etc/menu/xteddy Sun Apr 14 19:56:13 2002 > @@ -1,24 +1,24 @@ > ?package(xteddy):needs=X11 section=Games/Toys/Teddies\ > - title="Teddy" icon="teddy.xpm" command="/usr/bin/X11/teddy" > + title="Teddy" icon="/usr/X11R6/include/X11/pixmaps/teddy.xpm" > command="/usr/bin/X11/teddy" > ?package(xteddy):needs=X11 section=Games/Toys/Teddies\ > - title="XAlex" icon="xalex.xpm" command="/usr/bin/X11/xalex" > + title="XAlex" icon="/usr/X11R6/include/X11/pixmaps/xalex.xpm" > command="/usr/bin/X11/xalex" > ?package(xteddy):needs=X11 section=Games/Toys/Teddies\:.,$d > ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]