[SOLVED] [Suggestion] Mozilla Firefox ESR for Slackware 14.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not never. They'd just have to wait for the next ESR release.
OK, I shouldn't have said never, in the worst case they would have to wait about a year (ESRs are released annually). In the case of better hardware video decoding support, which was added with Firefox 24, this would mean that users with older hardware would have to wait that long for getting better performance. The best option of course would be to have both versions available, one in the normal tree, one in /extra.
It is not especially hard to repack the binary builds that Mozilla produces (I do it), so if you don't want ESR you don't have to use it. If you do repack rather than recompile the KDE/FF bug does not appear.
As far as I know the KDE/FF bug only appeared in 14.0, but not in -current, so this shouldn't be a problem anyway. The problem with repacking the binaries is that they are, AFAIK, not compiled with PGO, which means they come with sub-standard performance.
two small clarifications:
- the bug actually is between oxygen-gtk2 (the default gtk theme under kde) and firefox >= 22.0 on slackware64-14.0 (14.0 32bit and current/14.1 are not affected): it manifests also under xfce if you use the oxygen-gtk2 theme with it (firefox segfaults);
- the binaries from mozilla are, AFAIK, built with PGO.
As far as I know the KDE/FF bug only appeared in 14.0, but not in -current, so this shouldn't be a problem anyway. The problem with repacking the binaries is that they are, AFAIK, not compiled with PGO, which means they come with sub-standard performance.
To use the non-ESR version of firefox I distilled the infrastructure from the xap/mozilla-firefox-24.0esr-x86_64-1.txz package into the attached package (rename .txt to .txz), the slack-desc of which reads:
Code:
mozilla-firefox-infra: mozilla-firefox (Mozilla Firefox Web browser) infrastructure
mozilla-firefox-infra:
mozilla-firefox-infra: Just untar the .tar.bz2 as retrieved from e.g.
mozilla-firefox-infra: http://mozilla.mirrors.tds.net/pub/mozilla.org/firefox
mozilla-firefox-infra: /releases/latest/linux-x86_64/
mozilla-firefox-infra: into /usr/lib64
mozilla-firefox-infra:
mozilla-firefox-infra: Visit the Mozilla Firefox project online:
mozilla-firefox-infra: http://www.mozilla.org/projects/firefox/
mozilla-firefox-infra:
Download the firefox-24.0.tar.bz2 file, removepkg mozilla-firefox (your settings and addons are preserved), installpkg mozilla-firefox-infra and untar the tar.bz2 file. You should now be able to start firefox as usual.
Note that to install a new firefox version you just have to replace the /usr/lib64/firefox directory.
Note too that the .tar.bz2 can also be a localized one.
Just a nitpick: Slackpkg and friends will want to replace that latest firefox with the package in the repository. You should name your package mozilla-firefox-latest or something like that.
Just a nitpick: Slackpkg and friends will want to replace that latest firefox with the package in the repository. You should name your package mozilla-firefox-latest or something like that.
Of course blacklisting the package will stop it from being overwritten by the repo version. But why requiring an additional action (the blacklisting) instead of a simple change (change the package name) to the script?
Because that is the entire point of blacklisting, to allow you to prevent slackpkg from manipulating packages you don't want it to touch. Blacklisting is already in wide use in the Slackware community. Why make a new system based on obscure naming, which seems flawed. Off the top of my head:
How do I easily get my system back to having only original versions of standard packages (with blacklisting I can just wipe blacklist and upgrade-all)?
How am I supposed to remember the various obscure names if I start doing this a lot (in the case of blacklisting I need only look in/edit one file should I need to change anything)?
If Slackware proper ever uses my package name convention my custom package would get wiped anyway.
I'm not planning on changing my script in this regard but if you would like to use it and decide you would prefer go down the nonstandard name route by all means edit it locally.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.