Firefox 9 -- next version, same game as FF 8

Booting, installing, newbie
Message
Author
User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Firefox 9 -- next version, same game as FF 8

#1 Post by RetroTechGuy »

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/viewto ... 370#581370

FF 9 broke another library, and the fix seems to be this:

http://www.murga-linux.com/puppy/viewto ... 810#591810

Update: it does appear that my ability to play Youtube videos has been lost...will need to do some more digging...
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

Burunduk
Posts: 80
Joined: Sun 21 Aug 2011, 21:44

#2 Post by Burunduk »

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

User avatar
duke93535
Posts: 194
Joined: Thu 05 May 2005, 16:45
Location: California , High Desert

#3 Post by duke93535 »

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/

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#4 Post by RSH »

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!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#5 Post by 01micko »

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: Select all

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: Select all

[ -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.
Stuff like that SUCKS!
Yes! Apparently it's a race to keep up with IE and chrome :roll:
Puppy Linux Blog - contact me for access

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#6 Post by RetroTechGuy »

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: Select all

cd /usr/lib/firefox
run-mozilla.sh firefox
It appears that should be:

Code: Select all

./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...
Really, /etc/profile needs a modification, after the LD_LIBRARY_PATH has been set.Something like this:

Code: Select all

[ -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!
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#7 Post by seaside »

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: Select all

#!/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) :)

sredmon
Posts: 23
Joined: Mon 16 May 2011, 18:27

#8 Post by sredmon »

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?

User avatar
xman
Posts: 144
Joined: Thu 24 Sep 2009, 06:31

howto

#9 Post by xman »

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.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#10 Post by RetroTechGuy »

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: Select all

#!/bin/sh
cd /usr/lib/firefox 
./run-mozilla.sh firefox "$@"
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#11 Post by RetroTechGuy »

sredmon wrote:
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.
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#12 Post by ASRI éducation »

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: Select all

#!/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)

frefel
Posts: 178
Joined: Thu 26 Feb 2009, 22:32
Location: Eugene, Ore., US

#13 Post by frefel »

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

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#14 Post by RetroTechGuy »

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/dis ... ges-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-si ... ely-stable
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

frefel
Posts: 178
Joined: Thu 26 Feb 2009, 22:32
Location: Eugene, Ore., US

#15 Post by frefel »

RetroTechGuy;
Firefox updated itself, "for the user's convenience".
You probably already know this but if not:
FF > Edit > Adv> Update > check automatic > uncheck FF

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

Firefox 9.0.1 Pet for Lucid

#16 Post by playdayz »

Firefox 9.0.1 Pet for Lucid

Still working on this. Or, rather, working on it again. Thanks.
Last edited by playdayz on Thu 05 Jan 2012, 23:54, edited 1 time in total.

Brown Mouse
Posts: 564
Joined: Tue 09 Jun 2009, 21:06

Re: Firefox 9.0.1 Pet for Lucid

#17 Post by Brown Mouse »

playdayz wrote:Firefox 9.0.1 Pet for Lucid

I checked and Firefox 9.0.1 played a youtbube video with the latest flashplayer. Please let me know if there are other problems with flashplayer

I have implemented a variation of 01micko's suggestion--which makes perfect sense, since I could not understand why Firefox would not use its own libraries by preference.

Fast -> http://diddywahdiddy.net/Puppy500/Firef ... -Lucid.pet

Unbelievably slow -> ftp://distro.ibiblio.org/puppylinux/pet ... -Lucid.pet

This pet does not symlink any of the Firefox libraries. Rather it uses the following command in /usr/bin/firefox. (This is what should have been done anyway.)

Code: Select all

/usr/lib/firefox/firefox
I think this should allow FF to update itself normally.
Hi playdayz

Still no go here after installing Firefox9.0.1 Lucid .pet
As soon as its fired up it completely freezes on me and I have to kill it.
Rolled back to FF8 again for now.

willem1940NLD
Posts: 205
Joined: Wed 07 Jul 2010, 01:07
Location: Sittard, Limburg, The Netherlands

#18 Post by willem1940NLD »

Cannot use lupu 528 as it breaks my alsa sound, so keep to 525 lupu.

Both firefox 8 and firefox 9 destroy my flashplayer; 9 moreover slackens down my internet, opening any site costs more than a minute.

Stepping back to firefox 4 is of no use, damage done, flashplayer hurt beyond repair and "install flashplayer" as dead as a doornail.

It looks as though I must make a new, clean install lupu 525 and keep old firefox 4 in place, without upgrading.

User avatar
Zhao
Posts: 2
Joined: Thu 05 Jan 2012, 20:04
Location: Azores

#19 Post by Zhao »

I start firefox with this this line "su -c firefox YourNickHere" (root complex I guess xD), and that caused problems in lupu 528 so I've also stuck with lupu 525. Firefox 8 was the first to cause flash problems, but the libnss3.so replacement trick worked fine. However I can't make Firefox 9 work with flash. It's no problem, I'll just keep using Firefox 8, while an easy solution to this problem shows up :P, because it works just fine.

PS: I've found many solutions to some problems I encountered while using Lucid Puppy in this forum, so thanks for all your work here.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#20 Post by playdayz »

Yes. Yes. The Firefox 9.0.1 pet still locks up. Sorry. I thought it was working for a while. Back to the drawing board.

Post Reply