Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 04:53
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Firefox 9 -- next version, same game as FF 8
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [67 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2668
Location: USA

PostPosted: 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
Back to top
View user's profile Send private message 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: 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
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: 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
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7831
Location: qld

PostPosted: 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 Rolling Eyes
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2668
Location: USA

PostPosted: 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
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: 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) Smile
Back to top
View user's profile Send private message 
sredmon

Joined: 16 May 2011
Posts: 23

PostPosted: 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
View user's profile Send private message 
xman


Joined: 24 Sep 2009
Posts: 145

PostPosted: 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
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2668
Location: USA

PostPosted: 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
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2668
Location: USA

PostPosted: 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
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2527
Location: France

PostPosted: 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
View user's profile Send private message Visit poster's website 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: 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
View user's profile Send private message AIM Address 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2668
Location: USA

PostPosted: 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
Back to top
View user's profile Send private message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: 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
View user's profile Send private message AIM Address 
Display posts from previous:   Sort by:   
Page 1 of 5 [67 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1030s ][ Queries: 11 (0.0039s) ][ GZIP on ]