Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Nov 2019, 23:50
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
corepup
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 55 of 57 [853 Posts]   Goto page: Previous 1, 2, 3, ..., 53, 54, 55, 56, 57 Next
Author Message
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Fri 29 Mar 2019, 17:36    Post subject:  

wow redquine

i will try to follow your work


thanks

wanderer
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1830
Location: not Bulgaria

PostPosted: Fri 29 Mar 2019, 18:30    Post subject:  

RedQuine wrote:
Not sure if this is the sort of thing you're looking for, but here's what I did for iron.tcz


Yes, what you write is all that is needed for that kind of thing RedQuine. TinyCore package manager itself has good dependency resolution (so correctly later loads also the dependencies of whatever dependencies you state for iron browser). i.e. the dependencies of the dependencies! Wink

It certainly is a simple system to upgrade and work with once you understand the basics of how it works (the loop mounting to one place and auto-symlinking into the usual fs hierarchy - so many symlinks, but it just works, most of the time). And unlike many other distro's, building tcz packages, like you describe is equally simple really - just need that extra deps file, when deps are involved.

Using UExtract rather than having to manually bother with 'ar' and then tar <options> (or dpkg-deb command) is a good tip for extracting deb packages in the first place.

https://www.cyberciti.biz/faq/how-to-extract-a-deb-file-without-opening-it-on-debian-or-ubuntu-linux/

wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1830
Location: not Bulgaria

PostPosted: Fri 29 Mar 2019, 18:58    Post subject:  

In another thread, I suggested this:

i.e. Puppy as: core + package-manager

where package-manager could be PetGet, sc0ttman's pkg, dpkg/apt, void xbps and so on.

http://www.murga-linux.com/puppy/viewtopic.php?p=1023638#1023638

I wasn't actually talking about tiny core linux (rather, it was the 'core' Puppy boot scripts etc). However, it almost evidences the 'idea' that it would probably be easily possible to use a minimum tiny core and add petget or sc0ttman's pkg manager to it. In that case you would probably want to aim to only use the Puppy's petget or pkg since, owing to the way they work, package managers do not work well together (they can't track each other). I'm not suggesting to do this, however - tazpkg manager is just too great and much of tinycorelinux excellence comes from that (and see below issue regarding aufs versus loopback/symlinking mechanisms).

Of course tazpkg might also be adopted as package manager for a system based on a Puppy core (though not so likely since Puppy using aufs or experimentally overlayfs for its merging in mechanisms whereas tinycore uses loop mounts followed by symlinks - however that tinycore mechanism could be tried in a new Puppy build).

wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2161

PostPosted: Fri 29 Mar 2019, 19:53    Post subject:  

It's not hard to sync petget with tazpkg, granted each package manager will likely work from differn't repos.
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Fri 29 Mar 2019, 21:09    Post subject:  

hi all

corepup/tinycore core is 9-13 mgs

and is already being maintained by the tinycore community

it is fully functional and can get on wired internet and download packages

the puppy community and the tinycore community

could maintain it easily and indefinitely

and it could form the base of a minimal modular puppy/tinycore system

the complexity of the puppy boot process
and the layered file system

are irrelevant to what makes a puppy a puppy

small size flexibility and functionality

thats what makes a puppy a puppy and a tinycore a tinycore


a process (recipe or script)

that allows corepup to use puppy stuff

would combine the virtues of both

in addition dcore gives access to the debian respositories
and makes application packages
and that could be the only main distro that is used
making the maintenance of things easier still



in my humble opinion

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Fri 29 Mar 2019, 22:03    Post subject:  

hi all

i now know how to open

an sfs file

and a deb file

how do i open a pet file


thanks

wanderer
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2161

PostPosted: Fri 29 Mar 2019, 22:33    Post subject:  

wanderer wrote:
hi all

i now know how to open

an sfs file

and a deb file

how do i open a pet file


thanks

wanderer


Typically a pet file is either a tar.gz archive it an xz archive. For an SFS either mount it or unsquash it.
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Fri 29 Mar 2019, 22:55    Post subject:  

thanks s243a

wanderer
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14484
Location: Gatineau (Qc), Canada

PostPosted: Fri 29 Mar 2019, 22:59    Post subject:  

wanderer wrote:
hi all

i now know how to open

an sfs file

and a deb file

how do i open a pet file


thanks

wanderer

Hi wanderer.

Fellow forum member SFR has produced a magnificent tool that opens
almost all known archives, including pet files.

It's called UExtract. SFR has just updated it. You can get it from here.

It's a real time saver. I hope you like it.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Fri 29 Mar 2019, 23:08    Post subject:  

thanks musher0

wanderer
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Sat 30 Mar 2019, 08:31    Post subject:  

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:
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:
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:
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
libatomic1.tcz.tar
Description  Libatomic1 module for Tinycore (remove fake .tar extension)
tar

 Download 
Filename  libatomic1.tcz.tar 
Filesize  12 KB 
Downloaded  101 Time(s) 
apulse-0.1.12-i686-wz.tcz.tar
Description  Apulse module for Tinycore (remove fake .tar extension)
tar

 Download 
Filename  apulse-0.1.12-i686-wz.tcz.tar 
Filesize  44 KB 
Downloaded  95 Time(s) 

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sat 30 Mar 2019, 11:15    Post subject:  

wow fredx

this is awesome

thanks


wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sat 30 Mar 2019, 13:36    Post subject:  

holy soundcard fredx

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

words cannot express my gratitude


thanks

wanderer
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1830
Location: not Bulgaria

PostPosted: Sun 31 Mar 2019, 06:23    Post subject: using latest firefox straight from Mozilla  

fredx181 wrote:
- Install firefox_getLatest.tcz from Apps, then run from terminal:
Code:
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/viewtopic.php?p=990130#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:
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:
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/releases/latest/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:
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

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sun 31 Mar 2019, 14:02    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 55 of 57 [853 Posts]   Goto page: Previous 1, 2, 3, ..., 53, 54, 55, 56, 57 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1293s ][ Queries: 12 (0.0403s) ][ GZIP on ]