corepup

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#821 Post by fredx181 »

Hi wanderer,

I had a go at running latest Firefox (with working sound) on Corepup and made .tcz modules for libatomic1 and apulse (from .pet by OscarTalks) (see attached, remove fake .tar extension):

- Add the libatomic1 and apulse modules in the directory where the other modules are located, I boot frugally with grub4dos, so for me it's in in cde/optional (and I added the names to cde/onboot.lst)
- Install firefox_getLatest.tcz from Apps, then run from terminal:

Code: Select all

firefox_getLatest.sh
This will install latest Firefox including dependencies, e.g. gtk3 (will take much space)
- Make sure the libatomic1 and apulse modules are loaded (might be needed to load them manually from Apps) check for apulse:

Code: Select all

which apulse
And libatomic1 should be in /usr/lib
- Alsa needs to be installed (I think also alsa-config)

Then run Firefox with apulse, from terminal:

Code: Select all

apulse firefox
And sound should work from e.g. Youtube

P.S. also got Firefox-ESR installed on Dcore, that was just a matter of installing with sce-import, sound works, no need for pulseaudio or apulse

Fred
Attachments
libatomic1.tcz.tar
Libatomic1 module for Tinycore (remove fake .tar extension)
(12 KiB) Downloaded 143 times
apulse-0.1.12-i686-wz.tcz.tar
Apulse module for Tinycore (remove fake .tar extension)
(44 KiB) Downloaded 141 times

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#822 Post by wanderer »

wow fredx

this is awesome

thanks


wanderer

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#823 Post by wanderer »

holy soundcard fredx

i did what you said
and sound works
on the newest firefox

words cannot express my gratitude


thanks

wanderer

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

using latest firefox straight from Mozilla

#824 Post by wiak »

fredx181 wrote:- Install firefox_getLatest.tcz from Apps, then run from terminal:

Code: Select all

firefox_getLatest.sh
This will install latest Firefox including dependencies, e.g. gtk3 (will take much space)
Hi Fred and wanderer and anyone else,

Yes, above is what I have also been using for some time - to add latest firefox/gtk3 to my own tinycore, though I'm using extracted TinyCorePure64-current.iso in frugal installation I described in OtherDistros:

http://www.murga-linux.com/puppy/viewto ... 130#990130

However just something small to add:

Normally I share the same firefox amongst all my installed distros. I simply obtain that as a tar.bz2 from Mozilla and uncompress it into its own folder, make sure I have gtk3 on my systems, and simply make a symbolic link to the resultant firefox binary (inside the firefox folder that comes out of the tar.bz2 file when uncompressed). You can either get that firefox 64bit download, per usual from browser download button, or better using wget with:

Code: Select all

wget -O firefox64latest.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
For 32bits firefox change above line (linux64 to simply linux) as follows:

Code: Select all

wget -O firefox64latest.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux&lang=en-US"
For other languages etc see:

https://ftp.mozilla.org/pub/firefox/rel ... README.txt

So I prefer to use that shared firefox rather than the one that gets built as a tcz by the firefox-getLatest.sh script.

However, with tinycore 64bit version their is a problem...


running the binary directly with ./firefox (or via a symlink) results in the mysterious error that firefox cannot be found. Turns out that the system simply can't find /lib64, so the error is misleading. Solution is to simply create following symlink in tc64:

Code: Select all

ln -s /lib /lib64
Note that you don't get that problem with firefox.tcz version because it contains that command in its post-install script (/usr/local/tce.installed/firefox).

I should also mention that firefox dependencies requires that tinycore 64bit version loads not only gtk3.tcz but also dbus-glib.tcz

Again the getLatest firefox.tcz downloads and installs both of these dependencies automatically, but if using instead (as I do) the shared-between-distros uncompressed firefox...tar.bz2 straight from Mozilla, you have to make make sure to have gtk3.tcz and dbus-glib.tcz both downloaded and loaded prior to trying to run Mozilla firefox. For this purpose, I simply use tc's Apps browser program to fetch and install gtk3.tcz and dbus-glib.tcz first (there are many dependencies also required by gtk3.tcz but Apps browser will automatically download and install these too...).

Summary: you can use uncompressed firefox latest straight from Mozilla, which has advantage you can use same firefox shared between any other linux distro you might run on same machine (and thus save space since the large latest firefox.tcz not then also required). But in tc64 need to make sure you have gtk3.tcz and dbus-glib.tcz installed and loaded first. And for tc64 case make sure you have symlinked /lib64 to /lib

You'll still need the extra's Fred suggests to get sound working too.

Hope some or all of that info proves useful too.

wiak

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#825 Post by wanderer »

hi wiak

yes this info is very useful

since the browser
which at this time really has to be firefox
is the most important application
everything relevant to setting it up is important

you have done a ton of work with tinycore and dcore
so reading all that stuff is also very illuminating

since fredx has graciously provided apulse for the newest firefox
the most important piece of corepup is complete

i do need to figure out how to set up some of the codex in the new firefox
but everything is running great

thanks again fredx

i now will try to use the extract utility in puppy
to open up sfs pets and debs
and see if i can set up some more puppy stuff in tinycore

thanks for all the help guys
wiak fredx redquine musher0
no way i could have done these things on my own

wanderer

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#826 Post by darry19662018 »

Hello Wanderer,

Here is what I have been working on - a reverse of what you have been doing.

To keep things up to date in Puppy I thought about stripping down a Puppy - even cups and ffmpeg. I started with Peebee's Debian Stretch and then added Tiny core packages by converting them from tcz to sfs's by renaming them. They install to /usr/local/bin with libs installing to /usr/local/lib meaning they don't interfere with Puppys libs. and you use the boot manager or sfs on the fly to load and unload them which places the sfs in /mnt/home/

Tiny core has apps that are smaller and very handy like flaxpdf.

To strip the pup down I use the buildins utility.

I do all the deletions any that don't appear in that I use pfind to find all entries and go from there.

I produced one iso of a stripped down Stretch with some tiny core sfs.

https://archive.org/details/stretch7.5onebonek4.1.48
The third iso contains some tinycore apps and libs.

I moved from Puduan 7 the forgotten pup and stripped it down and did the same thing.
https://archive.org/details/Puduan7.0.0 ... 2corrected


This means you have a pup which can be kept up to date as well as using other portable apps and static apps.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#827 Post by darry19662018 »

To strip down a pup do your deletions with buildins and manual deletion and then reboot having made a savefile.

then use the remaster program in your puppy. You must reboot after making the deletions.

Then you can get your tiny core programs here.
https://distro.ibiblio.org/tinycorelinux/10.x/x86/tcz/

Download chosen app rename from tcz to sfs then use them like sfs's.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#828 Post by darry19662018 »

By the way tiny core have up to date GTK1 apps in their repo. I use a gtk1 mtpaint.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#829 Post by wanderer »

hi darry

very cool

a stripped down puppy system has been needed for a long time
thanks for doing this

it also is very helpful to the corepup system
since the idea and some of the components
will be interchangeable

i am reading your posts to figure out what exactly the specifics are

wanderer

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#830 Post by darry19662018 »

I'll soon post a stripped down Pudaun 7.00b iso for use.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#831 Post by wanderer »

cool

wanderer

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

#832 Post by musher0 »

darry19662018 said:
(...) Puduan-7, the forgotten pup (...)
Nicely said.

BTW, I'm still working on it, but in the shadows.

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

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#833 Post by darry19662018 »

Hey Musher,

I'd rather see a Pup done properly like what you are doing than the current approach of release and move on before anything gets properly tested.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#834 Post by wanderer »

hi all

just a post to remind everyone of this system
and to encourage them to consider looking into it
if you are interested in a minimal modular base

wanderer

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#835 Post by wanderer »

on a further note

if fredx reads this

can your portable firefox
be made to work in corepup

i put it in upup(bb)
and it worked fine
even updating to the latest version

but it wont run in corepup
and i cannot figure out what dependencies are needed

wanderer

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#836 Post by fredx181 »

Hi wanderer,

Maybe gtk3 is not installed? What is the message if you run the ff script from terminal ?

Fred

AndresC2
Posts: 76
Joined: Sun 09 Jul 2017, 02:12

#837 Post by AndresC2 »

Hi wanderer,

"firefox_getLatest.tcz" in appbrowser

install gtk3 plus all dependencies.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#838 Post by wanderer »

yes thanks andresC2

fredx has very kindly made an apulse for the firefox tcz
and has told me how to load everything
so we can always have the latest forefox that way

i was just wondering if i can make a completely portable firefox in a folder
like the one that works in upupbb

as a start
i am going to take fredx firefox
and run it to see what it asks for

wanderer

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#839 Post by fredx181 »

wanderer wrote:as a start
i am going to take fredx firefox
and run it to see what it asks for
Any progress on that ?

Fred

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#840 Post by wanderer »

hi fredx

wow

my latest test was a complete success

this is what i did

i started a new tinycore 9

new home and tce

downloaded and loaded get-latest-firefox

then put your firefox in the home directory

and started it

it ran and updated to the latest firefox

i am posting from it now


thank you thank you thank you


you have created the first and most important module for corepup


as well as the indispensable aplus for firefox


wanderer

Post Reply