Re: ROX and jars and zips

Stephen Watson <[email protected]>
Newsgroups gmane.comp.desktop.rox.user
Message-ID <[email protected]>
Mithat Konar <[email protected]> wrote:

> Thanks. Can a fix (theoretically) be hacked in ROX or does the fix need to
come from the XDG MIME gods?

We already slightly modify the XDG code, so we could add our own fix. 
However I want to check the upstream implementation first to see if they've
already fixed it.  Hopefully I can look at it next week.

> 
> ----- Original Message ----
> > From: Stephen Watson <[email protected]>
> > To: [email protected]
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/rox-users
> 
> 
> 
>       
> 
>
------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rox-users
> 

-- 
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.
Do you mind not farting while I'm saving the world?

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.