LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [Suggestion] Mozilla Firefox ESR for Slackware 14.1 (https://www.linuxquestions.org/questions/slackware-14/%5Bsuggestion%5D-mozilla-firefox-esr-for-slackware-14-1-a-4175477484/)

TobiSGD 09-18-2013 05:52 PM

Quote:

Originally Posted by kikinovak (Post 5030220)
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.

ruario 09-19-2013 01:11 AM

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.

TobiSGD 09-19-2013 08:44 AM

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.

ponce 09-19-2013 08:49 AM

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.

ruario 09-19-2013 09:12 AM

Quote:

Originally Posted by TobiSGD (Post 5030703)
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.

the Mozilla binaries use PGO.

ruario 09-19-2013 09:52 AM

actually it is the Slackware binaries that are not compiled with PGO. from http://ftp.uninett.no/pub/linux/slac...fox.SlackBuild

Code:

# PGO is disabled by default:
PGO=${PGO:-no}


burdi01 09-19-2013 10:10 AM

1 Attachment(s)
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.
:D

ruario 09-19-2013 10:45 AM

Quote:

Originally Posted by burdi01 (Post 5030759)
To use the non-ESR version of firefox ...

here, I'll make even easier. run this:
www.panix.com/~ruari/latest-firefox

TobiSGD 09-19-2013 02:04 PM

Quote:

Originally Posted by ruario (Post 5030725)
the Mozilla binaries use PGO.

Quote:

actually it is the Slackware binaries that are not compiled with PGO. from http://ftp.uninett.no/pub/linux/slac...fox.SlackBuild
Ok, I stand corrected on that, I remembered it the other way around.

Quote:

here, I'll make even easier. run this:
www.panix.com/~ruari/latest-firefox
Thanks for that.

burdi01 09-19-2013 04:00 PM

Quote:

here, I'll make even easier. run this:
www.panix.com/~ruari/latest-firefox
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.
:D

gegechris99 09-19-2013 04:30 PM

Quote:

Originally Posted by burdi01 (Post 5030970)
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.
:D

/etc/slackpkg/blacklist is your friend :)

ruario 09-19-2013 04:49 PM

Quote:

Originally Posted by gegechris99 (Post 5030977)
/etc/slackpkg/blacklist is your friend :)

Exactly! ;)

burdi01 09-20-2013 03:35 AM

Quote:

/etc/slackpkg/blacklist is your friend :)
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?
:D

ruario 09-20-2013 04:01 AM

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. ;)

burdi01 09-20-2013 06:54 AM

OK, let us agree to disagree then.
Kind regards, Dick :D


All times are GMT -5. The time now is 01:24 AM.