From: Mithat K. <mit...@ya...> - 2009-12-22 22:03:52
|
Thanks. Can a fix (theoretically) be hacked in ROX or does the fix need to come from the XDG MIME gods? -M ----- Original Message ---- > From: Stephen Watson <st...@ke...> > To: rox...@li... > Sent: Tue, December 22, 2009 8:26:06 PM > Subject: Re: [rox-users] ROX and jars and zips > > Mithat Konar wrote: > > > I've got two different versions of ROX-Filer on my Ubuntu Jaunty setup. > One is the version packaged by Ubuntu (2.5) and the other the latest bin > from http://sourceforge.net/projects/rox/files/rox/ (2.10). > > > > The Ubuntu package version seems to differentiate between *.zip and *.jar > files just fine. However, when I use the 2.10 download, it seems to insist > that jars are zips. I installed the 2.10 download in ~/.local/lib, have a > link to it in ~/.local/bin, and have ~/.local/bin in the PATH. > > > > I can't figure out where each are getting their MIME info or otherwise > figure out what's going on. Help? > > 2.5 used a 2005 implementation of the XDG MIME database, 2.10 uses a 2007 > implementation. There appears to be a bug in the new code: > > * application/x-java-archive has an alias application/x-jar > * the glob matching returns *both* type names > * the magic matching fails to match the application/x-java-archive because > the 0xCAFE match might not be in the correct place > * the magic matches a Zip file, because it is. > > It looks like the XDG code needs either an update or a bug fix. > > -- > Stephen Watson http://www.kerofin.demon.co.uk/ > If you read this on a mailing list, send any reply back to the list and not > to me. Not even CC. > Lots of planets have a north > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > rox-users mailing list > rox...@li... > https://lists.sourceforge.net/lists/listinfo/rox-users |