Firefox gtk3

Browsers, email, chat, etc.
Message
Author
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Firefox gtk3

#1 Post by Geoffrey »

I updated firefox which didn't restart, got this in the terminal

Code: Select all

# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
This looks like a game changer.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#2 Post by OscarTalks »

The official builds of the standard Firefox are now compiled with gtk-3 as the default toolkit as from version 46.0

I see that there is a gtk-2 sub-directory and lib inside the package so it may be possible that there is a runtime option which you can use to force use of gtk-2 but I am not sure about that.

If you use the ESR branch the equivalent of 46.0 is 45.1.0 and these will still use gtk-2 for a while, but presumably this will also change a few months down the line.

Dpup Wheezy already has libgtk-3 plus a couple of themes so Firefox 46.0 runs OK. In Slacko 5.7 it works if I install package GTK-3 via PPM. In Tahr you install libgtk-3 but that is now being added as an update. Not sure what the options are for Wary Racy Carolina.

I find that recent official builds of Firefox are very slow and heavy. I think they include lots of unneeded optional features and "hacks" to broaden version compatibilities. On older hardware speed is poor and hard disk drives can be heard grinding and churning. For that reason I have been experimenting with compiling Firefox myself and I have had some success, but not all Firefox versions compile in all Puppies in my experiments so far.

When compiling Firefox you do have the option to select gtk-2 or gtk-3 or even qt as the default toolkit so I presume this will still be one way of avoiding the gtk-3 dependency.
Oscar in England
Image
p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#3 Post by p310don »

Apart from doing a GTK update in new puppies, going to version 45.1 ESR still works, and is long term support, so won't update / change too quickly.
Bruce_n_Duane
Posts: 71
Joined: Wed 02 Nov 2005, 01:40
Location: Washington State

Have Lucid 5.8.2

#4 Post by Bruce_n_Duane »

I updated Firefox to V46 which needs libgtk3.
Running Lucid 5.2.8-5 and now only browser is Dillo which does not support https.
Is there a way to get Lucid running Firefox v45 and working again?
Please give complete commands to fix this.
(Include what I need to delete of the existing Firefox V46)
I do not want to move to a new Puppy now.
Thanks.

Getting a new computer in Nov --- UDOO x86 = quad 64-bit now in at Kickstart.
This will hopefully run Barry's latest Quirky.

Edited: changed Lucid version to 5.2.8-5 which included Dillo (version unknown)
Last edited by Bruce_n_Duane on Thu 28 Apr 2016, 20:11, edited 1 time in total.
User avatar
irishrm
Posts: 271
Joined: Sat 14 Mar 2009, 14:09

#5 Post by irishrm »

Just installed libgtk-3 in tahr64. Firefox 46 up and running.

Thank for the work around.

Irishrm.
User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

Re: Have Lucid 5.8.2

#6 Post by OscarTalks »

Bruce_n_Duane wrote:I updated Firefox to V46 which needs libgtk3.
Is there a way to get Lucid running Firefox v45 and working again?
Use Firefox ESR 45.1.0 from here:-
http://mozilla.org/firefox/organizations
Just unpack the download, it will be just a single folder named "firefox". Delete the one you now have in /usr/lib (which is the V46) and put this one in its place.
Oscar in England
Image
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#7 Post by Geoffrey »

I replaced the Firefox ESR version in X-Slacko 6.3.0 with the latest Firefox 46, installed gtk+3.3.8.2 from the PPM, Firefox now runs.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Bruce_n_Duane
Posts: 71
Joined: Wed 02 Nov 2005, 01:40
Location: Washington State

Dillo does not support https

#8 Post by Bruce_n_Duane »

Hello Oscar,

Thanks for the reponse.
My version of Dillo in Lucid 5.2.8-5 will not access a https page.
I don't have another browser and can not seem to be able
to download anything from Puppy Program Manager now.

Can I do this from a terminal window?
If so, what should I type in the terminal?

Thanks again for your support and for Dillo!!!!!
User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

Re: Dillo does not support https

#9 Post by Moat »

Bruce_n_Duane wrote:Can I do this from a terminal window?
If so, what should I type in the terminal?
Hmm... not sure, as I'm not on Linux ATM, but maybe something like this...?

Code: Select all

wget https://download.mozilla.org/?product=firefox-45.1.0esr-SSL&os=linux&lang=en-US
???

Just a wild a$$ed guess... :shock:

Bob
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

Not on Linux ATM??? Shame on you Bob! :D:wink:
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#11 Post by Moat »

Oh dear... I knew I probably should have kept my trap shut. :oops: :lol:

I'll just crawl off to my corner now...

Semme = Linux under-cover cop = busted! :lol:

Bob
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#12 Post by rufwoof »

Geoffrey wrote:I replaced the Firefox ESR version in X-Slacko 6.3.0 with the latest Firefox 46, installed gtk+3.3.8.2 from the PPM, Firefox now runs.
Your mileage may differ to mine Geoffrey. I found FF 46.0 to grab 100% CPU and take longer to load/startup than FF 45.0. I've ditched it and gone for iceweasel (ESR version). Running DebianDog Jessie Openbox and after initially installing iceweasel after running a update (apt-get update; apt-get upgrade) it updated to a later version. Unlike FF there's no internal Help/About/Update i.e. looks like Debian sync the browser version to the stable core.

Going through that highlighted to me how FF and Debian seem to have resolved their differences and iceweasel will be rebadged as Firefox again.
User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

#13 Post by Moose On The Loose »

rufwoof wrote: Your mileage may differ
I am using chrome to post this.

There were things I preferred about how firefox does the menus and the like but the struggle with it updating to a new version that doesn't work has soured me on it. I replaced it with an older version but I couldn't find a way to kill the automatic updates.
Bruce_n_Duane
Posts: 71
Joined: Wed 02 Nov 2005, 01:40
Location: Washington State

Firefox on Lucid 5.2.8-5

#14 Post by Bruce_n_Duane »

SOLVED

Hello Oscar and all lucid puppy users

I now have Firefox v45.1.0 running in my Lucid 5.2.8-5 puppy

The wget command did not work, but set me on the path for the fix.

I installed an old firefox v7.0 using Quickpets
Let it update to version 12.0
Then went to Firefox website and downloaded Firefox v45.1.0.
I am using it now.

Process:
At Background Screen, bring up menu with right-click
Setup->Setup Puppy->Quickpet Install Popular Programs
tab->Internet Pets
button->Firefox
scroll down list and select "Firefox-7.0-lucid525.pet
select install with petget
confirm->Install

{Now to get the Firefox v45.1.0 }
Start Firefox v12.0
https://support.mozilla.org/en-US/kb/in ... of-firefox
click on the "website" link

Select the version, language, os (linux-i686 in my case)

https://ftp.mozilla.org/pub/firefox/rel ... 686/en-US/
download the File firefox-45.1.0esr.tar.bz2 49M 26-Apr-2016 13:08

Lucid Puppy will download and install this version of Firefox

Exit Firefox v12.0
Start Firefox and that Firefox will be v45.1.0
Go immediately to set preferences
Edit->Preferences->Advanced->Update
Make sure it is set to "Never"


thanks for the help!!
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#15 Post by watchdog »

Moose On The Loose wrote: I replaced it with an older version but I couldn't find a way to kill the automatic updates.
Is still working the following workaround?

http://murga-linux.com/puppy/viewtopic. ... f46937dcc1
User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#16 Post by OscarTalks »

There are 3 current versions of Firefox. ESR 45.1.0 and also ESR 38.8.0 were both released around the same time as Standard Firefox 46.0 and both have the same security updates as the Standard FF. Some non-essential features such as the UI may be different and we know that the official builds of 46.0 are now compiled to use gtk-3 which is not really fully supported in Puppy whereas the two ESR version official builds are still compiled to use good old gtk-2

One alternative to using the official builds is to compile from source. This allows us to build a browser which is lighter and which is compiled with our own options. These options can include no auto-updater and gtk-2 rather than gtk-3

I have been able to compile ESR 38.8.0 in Slacko 5.7 and Wheezy. There is a small "console.error" bug which is mentioned in bugzilla and which also appears in the Debian builds, but otherwise it seems fine. I will probably upload test builds here:-
https://yadi.sk/d/S7ktsYZPqg2Lc

If I try to compile ESR 45.1.0 (or the slightly earlier ESR 45.* versions) in Slacko 5.7 I get an error which I don't understand and in Wheezy it completes the build without errors but the resulting browser has broken right-click behaviour. The menu list is very long and contains all possible options rather than just having the appropriate section appear. Even if I find the correct option in the long menu list it doesn't work. I note that Debian are not offering builds of 45.* for Wheezy either.

So I decided to try compiling Firefox 46.0 using gtk-2 and because I thought the right-click issue might be Wheezy being too old I compiled in TahrPup 6.0.5

The build completed and of course the browser was using gtk-2 but the right-click issue was still there making the browser unusable. Now I am still only a relative novice with compiling but if anyone out here knows how to fix the right-click menu problem then it seems to me that we would have the option to avoid the gtk-3 dependency by compiling from source in future.
Oscar in England
Image
Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#17 Post by Sailor Enceladus »

OscarTalks wrote:I have been able to compile ESR 38.8.0 in Slacko 5.7 and Wheezy. There is a small "console.error" bug which is mentioned in bugzilla and which also appears in the Debian builds, but otherwise it seems fine. I will probably upload test builds here:-
https://yadi.sk/d/S7ktsYZPqg2Lc
The official firefox gave me an error "g_slice_set_config: assertion `sys_page_size == 0` failed" in all versions up to around 42 I think, the mozilla team kept the bug around that entire time in Linux, I've seen people mentioning it on Ubuntu and Debian and Gentoo forums too. I might try to compile an older one just to kill that annoying message. Any pointers or tips to watch out for?
Keisha
Posts: 469
Joined: Tue 18 Nov 2014, 05:43

Firefox 46 in Fedora

#18 Post by Keisha »

Well...I just spent the whole day trying different builds.

At the end of the day, I can do only slightly better than the official Fedora build.

Instead of prescribing here...if I get time this coming week I will attempt to build firefox 46 for TahrPup64-605CE and see if I can make an acceptable package, knowing what I've learned.

Now to take a break from it...
Last edited by Keisha on Mon 02 May 2016, 04:33, edited 8 times in total.
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.â€￾ --Bruce Lee
Keisha
Posts: 469
Joined: Tue 18 Nov 2014, 05:43

#19 Post by Keisha »

ignore this
Last edited by Keisha on Mon 02 May 2016, 02:41, edited 7 times in total.
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.â€￾ --Bruce Lee
Keisha
Posts: 469
Joined: Tue 18 Nov 2014, 05:43

#20 Post by Keisha »

ignore this
Last edited by Keisha on Mon 02 May 2016, 02:41, edited 2 times in total.
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.â€￾ --Bruce Lee
Post Reply