LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2017, 03:53 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Advice on browser for LFS: can't face Firefox any more!


I have used Firefox on all my LFS builds from the year dot. I also use it in Crux and Debian. But I just can't face building all those dependencies any more. Now it needs gtk3 and gtk2, as well as rust.

I love graphical Links, but it doesn't do javascript and a lot of sites now depend on that. Chromium seems to pull in most of gnome.

Can someone suggest something that is small, fast, not too many dependencies and compatible with modern sites. Ideally one that stores passwords too. I'm leaning towards Midori at the moment.
 
Old 09-15-2017, 05:17 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Pale Moon?
 
1 members found this post helpful.
Old 09-15-2017, 05:27 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,041

Rep: Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219
Quote:
Originally Posted by Habitual View Post
Pale Moon?
Plus one.

https://www.palemoon.org/
 
Old 09-15-2017, 11:49 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499

Original Poster
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Yes, Palemoon looks interesting, Firefox without the flab. But installing it as a binary seems contrary to the spirit of LFS. I could just as well install Firefox as a binary and save myself the build.

I wonder if I could build it locally from source. This is discouraged by the Palemoon devs, and the only instructions they are prepared to give are for Windows, but I could try doing it with the LFS version of the mozconfig file and then disable anything that causes trouble.
 
Old 09-15-2017, 11:55 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I had no trouble building Pale Moon from source, I was even using newer compiler than suggested.
 
Old 09-15-2017, 12:14 PM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499

Original Poster
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Quote:
Originally Posted by Emerson View Post
I had no trouble building Pale Moon from source, I was even using newer compiler than suggested.
I'd be interested to see your mozconfig file. This page shows the one that BLFS uses for Firefox.
 
Old 09-15-2017, 12:40 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I remember now, it was a few moths ago, yes I did something to mozconfig ... it is all gone by now.
 
Old 09-15-2017, 01:10 PM   #8
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Quote:
Originally Posted by hazel View Post
Yes, Palemoon looks interesting
I agree. I'm going to give it a whirl.

Just blundering around I found the following pages:
https://developer.palemoon.org/Devel...ozconfig_Files
https://github.com/MoonchildProductions/Pale-Moon

Last edited by norobro; 09-16-2017 at 11:38 AM.
 
Old 09-15-2017, 01:36 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you can find good advice on how to build it in the PKGBUILDs:
https://aur.archlinux.org/packages/palemoon/
https://aur.archlinux.org/packages/palemoon-26/

i might also recommend https://surf.suckless.org/ or qupzilla or dwb (though i'm never quite sure whether dwb is dead or still maintained).
 
Old 09-17-2017, 06:03 AM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499

Original Poster
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
No luck so far with Pale Moon. I downloaded the latest version and tried to build it by hand using a mozconfig provided by LFS. To my surprise, it broke during the build with what looked to me like an error in the actual code. I'm attaching the relevant bit of the build output for anyone who is interested. So I tried an automated build package with scripts that I found somewhere and tried to use it with older versions, thinking that they were likely to be more stable. Version 27.0 failed to configure correctly (for some reason it failed to recognise my lcms2) but 27.1 went like the clappers until it broke at precisely the same point as before.

The annoying thing is that the bad code seems to be for a battery manager and why the hell would a browser need one of those? I always thought battery management was the job of the OS. And anyway, my computer runs off the mains. I went carefully through the ./configure --help output to see if I could disable the battery manager but I couldn't find an option for doing that.

So I think I'll build webkit instead. That will give me a choice of several browsers including the suckless one which I would certainly like to try.

PS: I found this article by the mozilla team on the battery manager. They don't seem to have a very high opinion of it either.
Attached Files
File Type: txt palemoon_errors.txt (2.8 KB, 9 views)

Last edited by hazel; 09-17-2017 at 07:22 AM. Reason: PS added
 
Old 09-17-2017, 11:09 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499

Original Poster
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Oh no! I looked at webkitgtk and it's a monstrosity, much bigger than xulrunner. Like Firefox, it need both varieties of gtk (and ruby too I think) and it takes about 12 hours to build. So midori is out and probably surf too.

I took a look at dillo, which I remember as being quite small. It's based on fltk, which is much smaller than gtk. It does javascript but isn't very strong on https: certificates are not authenticated, just checked to ensure they haven't changed. That certainly wouldn't work on google, which changes its certificates all the time. Maybe that's why AntiX uses it as a help reader but not as a browser.

However browsing around I found something called fifth, which is said to be fast and small. It uses the fltk version of webkit; if I can find that, I'll take a look at it. Otherwise I seem to be stuck with either a monstrous amount of building (Firefox, webkitgtk), a binary import (which in LFS seems like cheating), or a browser that doesn't do all I want.

For some years now LFS has been my primary distro. But if I can't get a fully-functional browser set up in it without having to build and install all kinds of cruft, I might as well go back to using Crux or Debian most of the time.
 
Old 09-17-2017, 12:21 PM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I just cloned Pale Moon sources (git) and built successfully. First it failed with gcc-7.2 and gold linker. Had no problem with gcc-5.4 and BFD linker. I did not use .mozconfig this time and the only configure option was --disable-pulseaudio.

Running it gives Version: 27.6.0a1 (64-bit) (2017-09-17)
 
Old 09-17-2017, 12:52 PM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499

Original Poster
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
How on earth do you build a mozilla program without a mozconfig file? I've never done it that way.

I don't use gold (why use a new linker when I've never had any problems with the old one), but the native gcc on this version of LFS is 7.2. I suppose I could build an earlier version, but it seems too much like hard work.

Right now I'm exploring webkit-fltk. My first build failed because of a dependency on xslt; no configure script on this project so you have to find out about missing dependencies the hard way! I'll install it and try again.
 
Old 09-17-2017, 12:59 PM   #14
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I happened to read build instructions, somewhere there they said "if you use .mozconfig". This made me think it is not mandatory. Anyhow, looking inside of .mozconig there are just configuration options. I figure I need it only when I want to set something different than defaults.

In any case, my Pale Moon works.

Edit: I like it! I even didn't install it, I run it as ~/work/Pale-Moon/build/dist/bin/palemoon-bin. It plays sound in HTML-5 using plain ALSA. It is snappy.

Last edited by Emerson; 09-17-2017 at 01:16 PM.
 
Old 09-17-2017, 02:49 PM   #15
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
How on earth do you build a mozilla program without a mozconfig file?
OK, I'm a good boy now, can I have a pat on the back, please?
Code:
~/work/pmbuild $ cat ../Pale-Moon/.mozconfig 
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1
 
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
 
mk_add_options MOZ_OBJDIR=/home/$USER/work/pmbuild/
 
ac_add_options --enable-optimize="-O2 -march=native -mfpmath=sse"
ac_add_options --with-pthreads
 
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-pulseaudio
 
ac_add_options --enable-release
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
 
ac_add_options --enable-strip
 
ac_add_options --x-libraries=/usr/lib
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [LFS 7.5]face eth0 doesn't exist on boot kamils096 Linux From Scratch 2 06-01-2014 08:46 AM
OpenSUSE-Georgia (USA) face to face meeting details XenaneX SUSE / openSUSE 0 12-03-2009 07:09 AM
How to enable Gnome logon facebook browser and face images? bezdomny Debian 4 02-14-2009 01:03 AM
Possible to display face browser for root GDM? lindylex Linux - Desktop 8 10-06-2008 09:35 PM
Picture for root in GDM face browser? Herra Pilvinen Linux - Software 0 02-22-2004 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration