Author |
Message |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2912 Location: USA
|
Posted: Mon 26 Dec 2011, 13:44 Post subject:
Firefox 9 -- next version, same game as FF 8 |
|
I haven't seen this reported here, but Firefox 9 upgrade from FF8 does a similar thing that FF 8 did, upon upgrade from FF 7...
Readers will recall that the FF 7 to Ff 8 was repaired thus:
http://www.murga-linux.com/puppy/viewtopic.php?p=581370#581370
FF 9 broke another library, and the fix seems to be this:
http://www.murga-linux.com/puppy/viewtopic.php?p=591810#591810
Update: it does appear that my ability to play Youtube videos has been lost...will need to do some more digging...
_________________ Add swapfile
WellMinded Search
|
Back to top
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 68
|
Posted: Mon 26 Dec 2011, 16:10 Post subject:
|
|
I have proposed a possible solution for fx 8 in the thread you mentioned. It works also this time.
The idea was to start firefox with a simple script (it can replace the /usr/bin/firefox symlink):
http://www.murga-linux.com/puppy/viewtopic.php?p=581994#581994
And see a similar proposition here:
http://murga-linux.com/puppy/viewtopic.php?p=587107#587107
|
Back to top
|
|
 |
duke93535

Joined: 05 May 2005 Posts: 194 Location: California , High Desert
|
Posted: Mon 26 Dec 2011, 17:26 Post subject:
|
|
The one thing I noticed is by symlinking all the libraries in the Firefox dependentlibs.list to /usr/lib, is that it doesn’t seem to cause any problems with Seamonkey. Future upgrades may be covered this way also. I am using Firefox 9.0.1 with no additional symlinks required. As an end user, I find it pretty easy.
I believe Tman’s Firefox fix even does more symlinks then I do. He is really trying to cover all the bases for the future Firefoxes. Firefox 10 is not far off and we will see.
Tman’s Firefox-8.0.1.pet fix:
http://www.smokey01.com/Tman/apps/firefox/
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Mon 26 Dec 2011, 18:26 Post subject:
|
|
Firefox 7, Firefox 8, Firefox 9 and Firefox 10 is not far off?
And all in 2011?
Is this the race of the upgrade version numbers?
Is this race ending at last in all known problems, posted here?
When will there be "human brain v2.0" ???
Sorry to say this but it has to be said:
Stuff like that SUCKS!
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8683 Location: qld
|
Posted: Mon 26 Dec 2011, 18:48 Post subject:
|
|
The whole point here is that the Firefox bug which recently surfaced has been a "bug" in Puppy for ages.
It stems from the fact that environmental variables are set at boot with the script /etc/profile. There has never (AFAIK) been an entry to set up firefox. As someone previously pointed out, depending on how firefox was packaged, this wasn't a problem because calling the script in /usr/lib/firefox set up the library path for firefox. This is what has changed. That can still be done but the script is now "run-mozilla.sh" and it has to be executed in the working directory. Code: | cd /usr/lib/firefox
run-mozilla.sh firefox |
Really, /etc/profile needs a modification, after the LD_LIBRARY_PATH has been set.Something like this: Code: | [ -d /usr/lib/firefox ] && LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH |
Symlinking firefox libs into the LD_LIBRARY_PATH (/usr/lib for example) is not a good idea. While it may work for now, you will get problems later as Firefox updates itself. Quote: | Stuff like that SUCKS! | Yes! Apparently it's a race to keep up with IE and chrome
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2912 Location: USA
|
Posted: Mon 26 Dec 2011, 23:17 Post subject:
|
|
01micko wrote: | The whole point here is that the Firefox bug which recently surfaced has been a "bug" in Puppy for ages.
It stems from the fact that environmental variables are set at boot with the script /etc/profile. There has never (AFAIK) been an entry to set up firefox. As someone previously pointed out, depending on how firefox was packaged, this wasn't a problem because calling the script in /usr/lib/firefox set up the library path for firefox. This is what has changed. That can still be done but the script is now "run-mozilla.sh" and it has to be executed in the working directory. Code: | cd /usr/lib/firefox
run-mozilla.sh firefox |
|
It appears that should be:
Code: | ./run-mozilla.sh firefox |
(for whatever reason, the default shell in Lupu5.28 doesn't run programs unless prefixed thus...)
I edited the browser launch icon and added Micko's command...
Quote: | Really, /etc/profile needs a modification, after the LD_LIBRARY_PATH has been set.Something like this: Code: | [ -d /usr/lib/firefox ] && LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH |
|
That combination (and a reboot just to make sure it all loaded) seems to have repaired it (Youtube now plays again...).
Thanks Micko!
_________________ Add swapfile
WellMinded Search
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 919
|
Posted: Tue 27 Dec 2011, 12:32 Post subject:
|
|
I found that because firefox eliminated the firefox bash script, a binary file named firefox replaces it and will break the installation every update.
Also, the puppy libary path "/usr/lib/seamonkey" is causing problems by diverting firefox lib calls to the wrong library.
So, I'm using a slightly different solution which works, plays flash 10, and doesn't break when updated.
Make a new script called "firefox-starter" as follows:
Code: | #!/bin/sh
#add to firefox directory
#remove /usr/lib/seamonkey path
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R7/lib
exec /path/to/firefox/firefox-bin |
Then change permissions to make it execute.
This will setup a temporary environment taking the seamonkey libs out of play.
Now, just use "/path/to/firefox-start" to execute firefox and change the "/usr/share/applications/firefox.desktop" file to "Exec=/path/to/firefox/firefox-start"
You can install firefox anywhere and it works even with automatic updates.
Cheers,
s
(Of course, at the update speed firefox is travelling, this fix might be broken as you read this)
|
Back to top
|
|
 |
sredmon
Joined: 16 May 2011 Posts: 23
|
Posted: Tue 27 Dec 2011, 13:57 Post subject:
|
|
Quote: | Code:
cd /usr/lib/firefox
run-mozilla.sh firefox
It appears that should be:
Code:
./run-mozilla.sh firefox
Quote:
Really, /etc/profile needs a modification, after the LD_LIBRARY_PATH has been set.Something like this:
Code:
[ -d /usr/lib/firefox ] && LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH |
How do you make these changes? Where are the files that need to be changed?
|
Back to top
|
|
 |
xman

Joined: 24 Sep 2009 Posts: 144
|
Posted: Tue 27 Dec 2011, 14:19 Post subject:
howto |
|
My way to upgrade or downgrade firefox is very simple. It can't be nothing else. I download desired linux-i686 firefox package and unpack it. Then I delete 'firefox' folder from /usr/lib (it's name is exactly firefox, originating from Wolf's old 3.6.pet) and then I move new unpacked firefox folder to /usr/lib.
I have done mentioned upgrades and downgrades succesfully about hundred times in Quirky or Wary running in my old laptop. After upgrade to firefox 8.01 I haven't had any need to downgrade to 3.6.x, and now I have firefox 9.01 running in Quirky. 360p full screen videos are watchable on this system.
I tried my simple method in latest usb-Racy loaded to alien power machine. No startup for Wolf's 3.6 - it crashed instantly after clicking browse icon, but after my upgrade everything was OK, first 8.01, then 9.0 and now 9.01. No problems with nice huge full screen 1080p youtube HD video tested - http://www.youtube.com/watch?v=xnn2qmLA7yM.
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2912 Location: USA
|
Posted: Tue 27 Dec 2011, 17:58 Post subject:
|
|
RetroTechGuy wrote: | That combination (and a reboot just to make sure it all loaded) seems to have repaired it (Youtube now plays again...).
Thanks Micko! |
One more patch ( (the trailing "$@" will get it to open email links, when you click on them)
Code: | #!/bin/sh
cd /usr/lib/firefox
./run-mozilla.sh firefox "$@" |
_________________ Add swapfile
WellMinded Search
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2912 Location: USA
|
Posted: Tue 27 Dec 2011, 18:06 Post subject:
|
|
sredmon wrote: | Quote: | Code:
cd /usr/lib/firefox
run-mozilla.sh firefox
It appears that should be:
Code:
./run-mozilla.sh firefox
Quote:
Really, /etc/profile needs a modification, after the LD_LIBRARY_PATH has been set.Something like this:
Code:
[ -d /usr/lib/firefox ] && LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH |
How do you make these changes? Where are the files that need to be changed? |
The first one, right mouse click on "browser", and "open with AbiWord".
I would open the text editor and copy/paste/save the original text to a blank file, in case you need to revert it back for some reason.
Highlight the new text and paste it in place of the original (see my new patch, just above).
Then navigate to /etc/
That is: open the "house" in the upper left corner of the screen, select the "green arrow" up (this takes to to "/"), then select "etc"
I would then copy "profile" to "profile.old", before editing it.
Open profile, scroll down 1 line past the "LD_LIBRARY_PATH" line, open a line, and paste the additional text. Save the file
I suspect that it may require a reboot so the system reads this new setting.
_________________ Add swapfile
WellMinded Search
|
Back to top
|
|
 |
ASRI éducation

Joined: 09 May 2009 Posts: 3203 Location: France
|
Posted: Wed 28 Dec 2011, 11:15 Post subject:
|
|
Hello,
I installed firefox-9.0.1fr
To take advantage of the flash, I just replaced the link /usr/bin/firefox from a script.
Code: | #!/bin/sh
cd /usr/lib/firefox/
/usr/lib/firefox/run-mozilla.sh /usr/lib/firefox/firefox |
Good or bad idea? I do not know.
(solution tested with Puppy Lucid528 and Toutou Linux 431)
|
Back to top
|
|
 |
frefel
Joined: 26 Feb 2009 Posts: 178 Location: Eugene, Ore., US
|
Posted: Wed 28 Dec 2011, 16:15 Post subject:
|
|
Why the interest in upgrading FF before a pet comes out?
While I was trying to sort out the FF upgrade to 8.0 I reverted back to the "most current" pet in Package Manager (4.0) and was using that version without noticing any deficiencies.
PL 5.2; frugal
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2912 Location: USA
|
Posted: Wed 28 Dec 2011, 17:16 Post subject:
|
|
frefel wrote: | Why the interest in upgrading FF before a pet comes out?
While I was trying to sort out the FF upgrade to 8.0 I reverted back to the "most current" pet in Package Manager (4.0) and was using that version without noticing any deficiencies.
PL 5.2; frugal |
Firefox updated itself, "for the user's convenience"...
The FF8 .pet works well. I'm debating rolling back from FF9 (but it requires I uninstall the current, back up passwords, bookmarks, etc)...
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-lucid/
Of course, I may also roll back from 5.28 to 5.25 (which looks pretty solid on my old laptop -- I had been running 5.20 until very recently)... I'm still not sure if 5.28 is completely stable...
http://www.hark.com/clips/smdzwjmydj-sir-its-quite-possible-this-asteroid-is-not-entirely-stable
_________________ Add swapfile
WellMinded Search
|
Back to top
|
|
 |
frefel
Joined: 26 Feb 2009 Posts: 178 Location: Eugene, Ore., US
|
Posted: Thu 29 Dec 2011, 14:28 Post subject:
|
|
RetroTechGuy;
Quote: | Firefox updated itself, "for the user's convenience". |
You probably already know this but if not:
FF > Edit > Adv> Update > check automatic > uncheck FF
|
Back to top
|
|
 |
|