SliTaz SliTaz Forum

You are not logged in.

#1 2016-04-27 06:24:48

Zann
Member
Registered: 2015-09-15
Posts: 14

firefox-official 46.0

Good evening,

Updated firefox-official to 46.0 and could not start it using the shortcut in the menu. The properties of the shortcut pointed to /usr/bin/firefox-official, so I tried running it from the terminal, which gave:

[c]XPCOMGlueLoad error for file /opt/mozilla/firefox/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.[/c]
Doing tazpkg -sp libgtk-3.so.0 found gtk+3, installing which appears to have fixed the issue. I wonder if this means that gtk+3 should be added to the dependencies in the firefox-official receipt?

-Z.

Offline

#2 2016-04-29 07:44:17

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: firefox-official 46.0

Hi,

Slitaz 4.0 and 5.0-rc2 use GTK+2.xx, and the new version firefox-46 uses GTK+3.xx

I tried to install GTK-3 and running firefox-46 lacked these dependencies:

libatk-bridge-2.0.so.0

libatspi.so.0

libharfbuzz.so.0

libffi.so.6

libpcre.so.1

libgraphite2.so.3

I turned to the tazpkg convert and then install and did not work

My solution was to return to the version firefox-45

Offline

#3 2016-04-29 12:03:58

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: firefox-official 46.0

Hi Rene,

Slitaz 4.0 and 5.0-rc2 use GTK+2.xx, and the new version firefox-46 uses GTK+3.xx

Firefox v.46.0 required both GTK+2 and GTK+3 and fair amount of other packages:

[c]alsa-lib
at-spi2
at-spi2-atk
atk
bzlib
cairo
dbus
dbus-glib
fontconfig
freetype
gcc-lib-base
gdk-pixbuf
glib
glibc-base
gtk+
gtk+3
harfbuzz
libffi
libgio
libpng
libxcb
libxml2
pango
pcre
pixman
util-linux-uuid
xorg-libICE
xorg-libSM
xorg-libX11
xorg-libXau
xorg-libXcomposite
xorg-libXcursor
xorg-libXdamage
xorg-libXdmcp
xorg-libXext
xorg-libXfixes
xorg-libXi
xorg-libXinerama
xorg-libXrandr
xorg-libXrender
xorg-libXt
zlib[/c]
I simplify the list and got:

[c]alsa-lib cairo dbus-glib gtk+ gtk+3 xorg-libXt[/c]

I use Firefox v.46 right now on my SliTaz Rolling system, and it works quite well.

The question why it not works on your side?

Maybe you use not Rolling, and your packages are outdated.

Maybe you use not latest firefox-official from mirror.

Maybe firefox-official on mirror is old, and not updated.

Very strange that you told about libgraphite2.so.3 as dependency. I can't find it anywhere on my side.

Try the steps:

[*]Open root terminal.

[*]Update your system: [c]tazpkg recharge; tazpkg up[/c] (or just [c]tazpkg up[/c] if you use not ancient version of tazpkg).

[*]Clean the cache: [c]tazpkg -cc[/c]

[*]Upgrade your firefox-official package: [c]tazpkg -gi firefox-official --forced[/c]

[*]Run Firefox

[c][/c]

Next.

My solution was to return to the version firefox-45

The problem is I (while I maintain the package) don't want any version but the latest.

And it works well (maybe only on my system?).

And problem is Firefox has a lot of versions. Maybe one could to make another version (in addition to the current latest) — the latest one from ESR version (45.1.0esr at the moment)...

Offline

#4 2016-04-29 14:47:58

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: firefox-official 46.0

Hi Aleksej,

thanks for your extensive explanation ... I forgot to note that "no tazpkg use firefox package" -not is because- smile

I always used firefox-xx.tar.bz2 official website download, unzip and ready to use.

I never had problems from version 10 to approximately the 45 worked very well, in version 46 crash smile

It's time to pack tazpkg wink

Thank's

Offline

#5 2016-04-29 17:17:19

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: firefox-official 46.0

Firefox Release 46.0: GTK3 integration (GNU/Linux only)

Running firefox >=46.0 on Slitaz-4.0

Download these tazpkgs and install while connected to the internet in this order:

[c]tazpkg install[/c] at-spi2-2.2.2.tazpkg

[c]tazpkg install[/c] at-spi2-atk-2.2.2.tazpkg

[c]tazpkg install[/c] gtk+3-3.2.0.tazpkg

I tested this on my full install of 4.0 with many other programs installed.

AFAIK these are the only dependencies required that are not on the official 4.0 mirror.

There may be additional dependencies required for you depending on what is currently installed on your system.

Online

#6 2016-04-30 06:41:16

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: firefox-official 46.0

Very good @mojo!!!

It works well.

Thank you very much for packaged dependencies.

I still use portable firefox-46 mode

Tested in slitaz-4.0

mojo you're a genius

Happy smile

Offline

#7 2016-09-21 17:15:55

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: firefox-official 46.0

firefox-48.0.1 is the final version that runs on gtk+3-3.2.0 following my instructions above.

firefox-49.0 requires >=gtk+3-3.4.0

Building gtk+3-3.4.0 for slitaz-4.0 requires >=GLib-2.31.20 and other updated packages.

This would break too many packages in 4.0 that were built against GLib-2.30.2

Install slitaz-5 (cooking) if you want to run >=firefox-49.0

Online

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.028 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]