LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Does Firfox not support gtk-2 anymore? (https://www.linuxquestions.org/questions/linux-from-scratch-13/does-firfox-not-support-gtk-2-anymore-4175604320/)

Lennie 04-21-2017 08:53 AM

Does Firfox not support gtk-2 anymore?
 
Im trying to compile Firefox 53.0, and I got this error:
Code:

mozbuild.configure.options.InvalidOptionError: 'cairo-gtk2' is not one of 'cairo-windows', 'cairo-gtk3', 'cairo-cocoa', 'cairo-uikit', 'cairo-android', 'cairo-gonk'
I have the line
Code:

ac_add_options --enable-default-toolkit=cairo-gtk2
as it says as an option in the book. This is the only place in my mozconfig where it says cairo-gtk2.

frankbell 04-21-2017 08:07 PM

According to this link, which is specific to Firefox v. 53, that version needs "GTK+ 3.4 or higher." The page notes that

Quote:

Please note that GNU/Linux distributors may provide packages for your distribution which have different requirements.
You might also want to take a look at Mozila's Firefox compatibility chart, but it looks to me that it needs updating.
https://developer.mozilla.org/en-US/...ibility_matrix

Lennie 04-22-2017 06:40 AM

Those links were about precompiled packages. I'm compiling it from source, as I wrote in my first post...

Case_Of 04-22-2017 07:47 AM

@Lennie:

Mozilla has effectively dropped gtk2 support from version 53. You can still build Firefox with gtk2 support by getting the 52 ESR version.

Lennie 04-22-2017 08:09 AM

Thanks. Then I'll do that.

plasmonics 04-22-2017 09:33 AM

The bigger problem is that firefox v53 requires rust and its underlying infrastructure, cargo and llvm 3.x. If you are a llvm 4.x user, you still have to compile llvm 3.x. This is a lot of disk space just to be able to compile firefox.

Since I don't use llvm/rust, I compiled firefox v53 using --disable-rust. So far, it seems to be working.

The mozilla website states that, starting with firefox 55, rust will be mandatory.

There is also the debate going on between Stallman and the llvm people concerning GPL (Gnu C/C++) vs non-GPL (llvm/clang). Stallman does not like llvm because it is non-GPL and is being backed by Apple.

Maybe time to switch to chromium.

Keith Hedger 04-22-2017 09:45 AM

Switched to chromium permanantly couple of years ago, very stable much better than firefox, bit of a pain to compile though, but then so is ff

Luridis 04-26-2017 03:38 PM

A complete and utter disregard for backwards compatibility is one of the core issues with Linux on the desktop. Strangely, I never see it mentioned in presentations and whitepapers purporting to explain why Linux never claimed significant desktop share. Personally, I think it is a top 5 reason business software developers look at the Linux desktop and think, "nope." There's few things more annoying than having the rug pulled out of from under you without a good reason, or even a reason given at all. It's hard enough dealing with developers in your own company making changes that f' things up without relying on an external ecosystem where design decisions are made based on the moods of cliques and popularity. There's just too much chaos in The Bazaar and I'll wager 3/4 of it is prompted for reasons other than those that are logical or engineering in nature. That said, freedom will have a price, regardless of what you do.


All times are GMT -5. The time now is 03:21 AM.