Murga needs a Firefox Quantam and above .sfs or .pet

Browsers, email, chat, etc.
Post Reply
Message
Author
belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

Murga needs a Firefox Quantam and above .sfs or .pet

#1 Post by belham2 »

I posted the following in Phil's thread:

http://murga-linux.com/puppy/viewtopic. ... 978#975978


Is there any body with more expertise than me that is able to put something together, in one simple .sfs and/or .pet, where people can easily load and try the latest Firefox Quantum & above, and have sound working across every website? Right now it is a pain, with the current fixes existing.

In essence, the current situation of fixes and hacks (by Oscar, Watchdog, Rsrcn51, etc, etc) is simply not sustainable. Other people I have running pups (and ddogs) want to try the new Firefox, but getting to them and going thru the hoops to just get the dam# sound working is unreal.

Is there not a complete .sfs and/or .pet solution for Firefox (with everything needed, pulseaudio/apulse included) available?? One 32bit and one 64bit for the Ubuntu/Xenails/Artful/etc pups, and one 32bit and 64bit for the Slacko & slacko-based derivatives??


Thanks.

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#2 Post by Sailor Enceladus »

I can try to compile FF57 in Slacko 6.9.9.9 with --enable-alsa and --enable-default-toolkit=cairo-gtk2, that is how the Slackware team worked around needing pulse and gtk3 in FF52esr: http://murga-linux.com/puppy/viewtopic. ... 520#949520

It will take about 5 hours to compile on my laptop though and will probably become obsolete soon when newer FF versions come out. Might be interesting to see if those two parameters still work for 57 (and if it even compiles without any tricks). :)

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#3 Post by belham2 »

Sailor Enceladus wrote:I can try to compile FF57 in Slacko 6.9.9.9 with --enable-alsa and --enable-default-toolkit=cairo-gtk2, that is how the Slackware team worked around needing pulse and gtk3 in FF52esr: http://murga-linux.com/puppy/viewtopic. ... 520#949520

It will take about 5 hours to compile on my laptop though and will probably become obsolete soon when newer FF versions come out. Might be interesting to see if those two parameters still work for 57 (and if it even compiles without any tricks). :)
Hi Sailor,

I'll be your first tester. And I think, on Murga here, there will probably be more :wink:

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#4 Post by Sailor Enceladus »

Thanks belham2. It looks like the gtk2 option is now deprecated in FF57. Also it apparently needs Rust Compiler now and LLVM needs the full version with clang (unless I missed how to make it use gcc) which needs to be updated to 3.9+ for stylo... hmm
Attachments
Screenshot.png
R.I.P. gtk2 option
(47.46 KiB) Downloaded 623 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post by musher0 »

Hello all.

Nobody needs an sfs or a pet for firefox. Creating either is a waste of time, IMO.

You just need enough room in /mnt/home, enough room in /root for the personal
.mozilla directory (in other words, your pupsave or pupfolder), and this set of
one-liners.

This is for the new Firefox 57, 32-bits.

Open a console and type the following one line at a time:

Code: Select all

cd /mnt/home

wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/57.0.1/linux-i686/en-US/firefox-57.0.1.tar.bz2

# when the download above is finished, type:
bunzip2 -dvk firefox-57.0.1.tar.bz2 

# when the bz2 archive is unpacked, type:
tar -xf firefox-57.0.1.tar

cd firefox # Here you enter the newly created /mnt/home/firefox dir.

ln -s -r firefox /usr/bin # this line creates a symlink for firefox in /usr/bin.

firefox # this runs the beast.
If you want a menu entry, type, again in console:

Code: Select all

echo -e "[Desktop Entry]\nType=Application\nName=Firefox 57\nIcon=/initrd/mnt/dev_save/firefox/browser/icons/mozicon128.png\nExec=firefox\nTerminal=false\nCategories=X-Internet-browser" > /usr/share/applications/firefox.desktop
and recycle your WM.

Best regards.
Attachments
firefox-menu-entry-in-icewm.jpg
(65.6 KiB) Downloaded 578 times
FF-57-32bits.jpg
This is the result of the above commands.
(214.53 KiB) Downloaded 153 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

As to the no-sound problem, you can try the various solutions that were suggested.
E.g.
http://murga-linux.com/puppy/viewtopic. ... ost#969259
or
http://www.murga-linux.com/puppy/viewto ... ost#965839,
etc.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#7 Post by Mike Walsh »

Hi musher0/belham2.

@musher0:-

You know, and I know, that your instructions don't take much 'carrying-out'.....but don't forget, for many of our members, who are Windows 'refugees', even that's a wee bit too much for them to follow. They'd prefer an all-in-one 'package', requiring merely a single click to install.

@belham2:-

It's a nice idea.....but I rather suspect that including both Oscar's and Bill's packages would introduce conflicts of one sort or another. I've found, from my own experience over the last couple of weeks, that Bill's workaround works better for 'buntu-based Puppies, whereas Oscar's definitely works better in Slackware-based Pups.

I can't quite see how it would be possible to choose between the two options, depending on the Pup involved, unless two distinct packages are produced.

Just my tupp'ence-worth.


Mike. :wink:

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#8 Post by battleshooter »

That's not difficult Belham, I can put together the Firefox I have in Xenialpup64 and upload it if needed. All that's needed to run in XenialPup is just oscar's apulse and the custom user.js file. I'll post a link to the sfs once it's uploaded.

firefox-58.0b8.pet 64mb
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

@Mike_Walsh

Well, if you really think that we old-timers should encourage laziness in WhineDose
refugees, I won't quarrel with you!!! ;) Here is something that partially does that. :twisted:

Code: Select all

#!/bin/sh
# /opt/local/bin/FF-57Q-install-and-1st-launch.sh
# or
# /root/my-applications/bin/FF-57Q-install-and-1st-launch.sh
#
# Firefox-57 (aka "Quantum") installer and first launch for recent PuppyLinuxes.
#
# by musher0, Dec. 3 2017
####
cd /mnt/home
# Two checks for enough room.
[ "`df /mnt/home | awk '$1 ~ /dev/ && $4 < 160000 '`" ] && echo -e "\nYou do not have enough room on /mnt/home to install FF-57." && exit

[ "`df /root | awk '$1 ~ /union/ && $4 < 32000 '`" ] && echo -e "\nYou do not have enough room in the /root folder to install FF-57.\nPlease enlarge your pupsave file by at least 32 mg's." && exit

if [ ! -f /mnt/home/firefox-57.0.1.tar.bz2 ];then
# if you already have it, this is skipped.
	wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/57.0.1/linux-i686/en-US/firefox-57.0.1.tar.bz2

# when the download above is finished:
	bunzip2 -dvk firefox-57.0.1.tar.bz2

# when the bz2 archive is unpacked:
	tar -xf firefox-57.0.1.tar
fi

[ -d /mnt/home/firefox ] && cd firefox || exit # Another check.
# Here you enter the (newly) created /mnt/home/firefox dir.

[ ! -f /usr/bin/firefox ] && ln -s -r firefox /usr/bin
# this line creates a symlink for firefox in /usr/bin, if not already created.

# Menu entry created if not there:
[ ! -f /usr/share/applications/firefox.desktop ] && echo -e "[Desktop Entry]\nType=Application\nName=Firefox 57\nIcon=/initrd/mnt/dev_save/firefox/browser/icons/mozicon128.png\nExec=firefox\nTerminal=false\nCategories=X-Internet-browser" > /usr/share/applications/firefox.desktop

firefox # This runs the animal.
As it turns out, if all the conditions in the script are satisfied, the above becomes
only a FF launcher.

Do not enjoy, do not pass GO, do not collect $200. ;)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#10 Post by redandwhitestripes »

I tried all the workarounds in my Tahr64 and Tahr 32 , they simply didn't work for me :-(

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#11 Post by belham2 »

battleshooter wrote:That's not difficult Belham, I can put together the Firefox I have in Xenialpup64 and upload it if needed. All that's needed to run in XenialPup is just oscar's apulse and the custom user.js file. I'll post a link to the sfs once it's uploaded.

firefox-58.0b8.pet 64mb

Hi Battleshooter,

Does this .pet (listed above) have oscar's apulse and the custom user.js file? I just downloaded it, mounted it to look inside, but am not sure. In the .pet, are the 3 libs---libpulsecommon-5.0.so, libpulse-simple.so.0 and libpulse.so.0-----in /usr/lib64. These are for the apulse fix, or rather what comprises Oscar's apulse fix? Yes?

And below is the user.js fix (that's in /usr/root/.mozilla/firefox/######.default/user.js):

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "16");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
Just trying to be certain.

I've got some friends who are Window refugees and who are not so close to that I can just pop over to their homes & fix everything up for them. They went and tried the FF57, lost sound, and have been hitting me up for a fix these past 48 hrs.

One of them is on Slacko64-6.9.9.9, but two of them are on Ubuntu-based recent pups (one Peebee's Artful, 32bit, he's out of luck) and the other Phil's previous Xenial64-bit. So I am going to tell the Xenial64 user to either download your .pet above, install it (of course after completely removing the exsiting FF57 they installed), or, instead, tell him to do the modifications above, assuming I understand them correctly, by downloading your .pet and pulling out & installing the mods I highlight. Just want to make super sure I am understanding/identifying things correctly.

Thanks again.

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#12 Post by 8Geee »

Quantum (FF57+) also is displaying an aggressive behavior to make g00gle the default search-engine. I was warned today when using my default search-engine ixquick.com (AKA startpage). There is the warning and a fixit link. I don't know how long it will last.

Regards
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#13 Post by battleshooter »

These are for the apulse fix, or rather what comprises Oscar's apulse fix?

And below is the user.js fix (that's in /usr/root/.mozilla/firefox/######.default/user.js)
Yes and yes, Firefox will work with sound out of the box with this pet in regular Xenialpup.

It probably won't work on Slacko though due to the different file structure
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#14 Post by slavvo67 »

Battleshooter:

Thanks for this. Confirmed it runs "with sound" on RU Xerus, so should work on Quirky Xerus (64bit) as well.

I gave up on FFOX until this one. THANKS!

Slavvo67

PS - One note; it did force itself as my default browser, which was Seamonkey. Not world ending but just a note.

Post Reply