[Pkg-ROX-devel] /etc/menu-methods/rox-filer

Francesco Paolo Lovergine frankie@debian.org
Sat, 16 Apr 2005 12:38:29 +0200


On Sat, Apr 16, 2005 at 11:22:49AM +0200, Dennis Tomas wrote:
> 
> >The right thing to do is patching to use a rox specific system directory
> >for a common Apps dir (such as /usr/share/rox/Apps) and working there only.
> >Any other path (and the horrible manipulation of /etc subdirs like that
> >in postrun) is a violation of Debian policy...
> > 
> >
> Thanks for your advice! Ok then, here's another version of 
> /etc/menu-methods/rox-filer. Now all application directories are created 
> in /usr/share/rox/Apps. And I've removed this horrible /etc/roxmenu - 
> thing. Instead, roxmenu is generated under a new subdirectory 
> /usr/share/rox/menu (is this ok?). In this subdirectory I also created a 
> script called create-app-dir.sh which is used by 
> /etc/menu-methods/rox-filer to create an app dir, because the rox-filer 
> menu-method-script became nearly unreadable. It now also supports 
> terminal-based applications.
> Execution still takes very long the first time, mostly due to searching 
> for icons of applications. But the next times it goes faster, because it 
> only looks for icons of applications that have a different version than 
> during last execution.
> I also added tags for package-name, version-number, author, maintainer 
> and homepage to AppInfo.xml.
> 
> dennis tomas

Very nice contribution, I'll see to add the patch to the official package ASAP.

-- 
Francesco P. Lovergine