pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firefox and naming issues



Yes, but the point is why are both called firefox-bin ?

I want to see "firefox-bin", when I run the linux emulation,
(therefore -bin) and not, when I run the native firefox.

If I rename firefox-bin to firefox and patch the startup script
everything is fine.
Then top shows, at least "firefox" and not "firefox-bin".


Z.


2006/7/20, Greg Troxel <gdt%ir.bbn.com@localhost>:

I suspect this is because on both NetBSD and Linux, there is a script
firefox that sets environment variables and runs firefox-bin.  With
the linux binary package, this is simply run under emulation so is
structurally unchanged.  From /usr/pkg/bin/firefox (native):

 #!/bin/sh
 MOZILLA_FIVE_HOME=/usr/pkg/lib/firefox
 export MOZILLA_FIVE_HOME
 exec /usr/pkg/lib/firefox/firefox-bin "$@"

So I'd say this is a natural consequence of emulation; if we had
native acrobat and Linux then they'd show up the same.

Perhaps it would be cool if ps had a way to indicate emulation status,
but otherwise I don't see anything wrong.

--
   Greg Troxel <gdt%ir.bbn.com@localhost>






Home | Main Index | Thread Index | Old Index