Woofy 0.91

Core libraries and systems
Message
Author
User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#31 Post by Iguleder »

The pets are integrated into the main SFS, you can't list them in any way. They don't have their uninstall information available as PETs you install manually.

Taking a pet, extracting it and removing its files from the SFS is the only way to go in this case.

Your only choice is Woof, just go the other way around, build a puplet from scratch and put only what you want :)
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#32 Post by sc0ttman »

Iguleder wrote:Taking a pet, extracting it and removing its files from the SFS is the only way to go in this case.
Of course, this would only remove the dependencies if they were present in the package..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#33 Post by smokey01 »

sc0ttman wrote:
smokey01 wrote:That's great but what about all the associated files and dependencies. Are they left behind or do they get deleted too.
Example: If you search for 'abiword', everything with 'abiword' in the name gets removed - including any files (of any name) that are inside any folders that match 'abiword'.
Smokey01 wrote:This didn't work for me. I tried to remove abiword but it was still there on the remaster
This removes most stuff, but I was gonna do the same as Moo - add pets to a directory and they get removed..
But this requires users to have the pet files of the stuff they want deleted, and it's a fair bit slower..
smokey01 wrote:Yes and means you need a lot of additional pets that you really are not going to use except as a reference to delete original.
Finding these pets, and gettting the correct versions may be a problem..
And it still doesnt solve the dependencies 'issue'..
smokey01 wrote:True
About this issue - there is no way a user can safely remove the dependencies of any app, without knowing the name of those libs and which other apps share them..

There is no way to automatically and safely remove all libs, if the user doesn't know what can be removed safely..
smokey01 wrote:Agree
So, there is no real value in having or building a list of dependencies for apps, because users will still need to know which are safe to remove.

Users cannot escape the need for this knowledge - so putting the libs you want removed in the list is as easy as it can get..
There is a solution. puppy needs a database of installed software that can be safety removed. The database needs to include all files and dependencies. It also needs to be able to identify shared files and dependencies. This should be part of the basic puppy structure. By having something like this it would be very simple to add and remove applications safely. It could be achieved with something as simple as a gui with check boxes. Untick the check box and the package is deleted. Check it and the package is downloaded and installed. Ok, nothing is ever that simple but by having a database or reference file for all removable applications would be very useful.

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#34 Post by Iguleder »

Go ahead and code such a thing ... I know it's impossible to get this perfect.

You can't make lists of all files and what packages they belong to. There are things you still won't be able to remove, like stuff installed with post-installation scripts.

And, you can't make this thing automatic, unless you use a different package/repo format. Go ahead, make your own PPM. :lol:
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#35 Post by smokey01 »

Iguleder unfortunately my skills are not that advanced. If they were I would do it and believe me I have tried. Time is my biggest killer. Although I'm getting on a little I still work 10 hour days.

I think the easiest way might be to build a very bare bones pup with woof then add only the packages you want. The problem with this is all the installed packages end up in the save file and not the main sfs file. I guess it would be possible to create a special sfs file which could be loaded with boot manager. Once all the bugs were sorted then use either moo or woofy to consolidate all the files into the one sfs. Would this work?

There are so many different puppy distos and many of them are great. I continually hear people say, If I could just get rid of these few applications that I never use and add these it would be perfect. The adding part is easy and the removing of added applications is also quite easy with PPM. It's getting rid of the original files that is the issue for most people. Woof is great and very useful but beyond the grasp of many.

Keeping the mind active and having these conversations certainly prevents the brain from turning to mush.

Please don't think because I make suggestions I am being critical because that's certainly not my intent. I have worked with many in the forums to solved a great number of problems. Helping people is what I enjoy.

Regards

Smokey

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#36 Post by Iguleder »

It's alright, I understand you and totally agree with you.

I wrote a tool that downloads all PETs used to build a certain Puppy ... it also has Slackware support for spup (let me tell you a secret: I'm trying to build my own Woof-like thing :wink:). I'm currently trying to make a local copy of all 4.3.1 PETs ... I want to try to strip it down with Moo to produce a true barebones 4.3.1.

Regarding the barebones Puppy many people want, it's quite hard to achieve that, dependencies are quite complicated and most of the space in the main SFS is taken by massive amounts libraries and important things like kernel modules.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#37 Post by sc0ttman »

As I mentioned earlier, I would like to make Woofy automatically add bugfixes to remastered ISOs.

These bugfixes would be added silently, without the user needing to do anything.

So.. I'd like suggestions for which bugfixes and updates should be included in the remastered ISOs..
These bugfixes must work in all official puppy versions, not only Woof built puppies..

Here is my list of possible Woofy auto-bugfixes:
1. Patriots cleaner unmount save file thing
2. shinobars rc.sysinit improved
3. update all puppy wizards (without downloading the whole woof package)
4. make fixmenus run in /etc/rc/rc.update (already done)
5. updated rox/jwm/gtk??
6. rebuild to use distrospecs??
7. updated petget (so it looks for and installs dependencies)??? (is it possible?)
8. updated init script in initrd.gz ????
...

Any feedback on my list, or more suggestions? Please help! Thanks..
Last edited by sc0ttman on Sat 10 Jul 2010, 11:08, edited 5 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

tubby
Posts: 317
Joined: Sat 24 Jan 2009, 15:49

#38 Post by tubby »

Talking about installed files, have you looked in Barry's latest spup. In the root/.packages there is a folder with all the installed packages and where the dependencies are.
I think this is what you may be looking for.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#39 Post by sc0ttman »

tubby wrote:Talking about installed files, have you looked in Barry's latest spup. In the root/.packages there is a folder with all the installed packages and where the dependencies are.
I think this is what you may be looking for.
Tried looking around, couldn't find spup :oops:
Where can I get it? I wanna have a look at it..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

ftp://distro.ibiblio.org:21/pub/linux/distributions/quirky/test/

#40 Post by upnorth »

ftp://distro.ibiblio.org:21/pub/linux/d ... irky/test/

spup-0.4.iso is still uploading, should be done very soon, within an hour perhaps

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: ftp://distro.ibiblio.org:21/pub/linux/distributions/quirky/test/

#41 Post by sc0ttman »

upnorth wrote:ftp://distro.ibiblio.org:21/pub/linux/d ... irky/test/

spup-0.4.iso is still uploading, should be done very soon, within an hour perhaps
Thanks for that...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Snail
Posts: 331
Joined: Sun 18 Oct 2009, 07:32

No ISO

#42 Post by Snail »

Some of us don't keep the ISOs, or as in Puppeee 4.3x, never had one.

As far as I can see, you are mainly operating on the main sfs file. Is there any way to use Woofy to operate only at the sfs level?

Dragynn
Posts: 60
Joined: Fri 03 Sep 2010, 00:38

#43 Post by Dragynn »

Doesn't seem to want to re-master an ISO of 5.1.1, just keeps spitting out copies of it.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#44 Post by sc0ttman »

Dragynn wrote:Doesn't seem to want to re-master an ISO of 5.1.1, just keeps spitting out copies of it.
Are you trying to edit a 5.1.1 ISO in an earlier version?
If so, it's possible you're trying to edit an incompatible sfs...

And snail, there is a great tool called Edit-SFS which can do just that..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Dragynn
Posts: 60
Joined: Fri 03 Sep 2010, 00:38

#45 Post by Dragynn »

sc0ttman wrote:
Dragynn wrote:Doesn't seem to want to re-master an ISO of 5.1.1, just keeps spitting out copies of it.
Are you trying to edit a 5.1.1 ISO in an earlier version?
If so, it's possible you're trying to edit an incompatible sfs...

And snail, there is a great tool called Edit-SFS which can do just that..
Nope, got a fresh copy (actually 5 fresh copies now, lol) of 5.1.1 that i'm using. Also have a fresh iso that's never been burned that i'm using to try and edit.

So, trying to remaster 5.1.1 in 5.1.1.

Thanks for keeping an eye on this thread and replying.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#46 Post by sc0ttman »

Dragynn wrote:So, trying to remaster 5.1.1 in 5.1.1.

Thanks for keeping an eye on this thread and replying.
My pleasure.. As i dont use puppy 5, I cant really help you there... But have you tried Moo (by Iguleder)?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

not found

#47 Post by stifiling »

is there a specific way i'm suppose to 'path' to the files i want deleted? am i suppose to mount the iso and sfs and list the entries in the 'delete.txt' file to that path?

i'm trying to delete opera from nop431. i have a delete.txt file with the entries:

/root/.local/share/applications/opera.desktop
/root/.opera
/root/.opera/operaprefs.ini
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Famazon%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fask%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fdownloadcom%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Febay%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fgoogle%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fkayak%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fmyopera%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fopera%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fshopping%2Ffavicon.ico
/root/.opera/icons/http%3A%2F%2Fredir.opera.com%2Ffavicons%2Fwikipedia%2Ffavicon.ico

all i'm getting in the terminal when i hit go on woofy is 'not found' next to the paths, and my files aren't being deleted from the pup_431.sfs, and my new iso file is the exact same size as the old one...

what am i doing wrong???

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: not found

#48 Post by sc0ttman »

stifiling wrote:is there a specific way i'm suppose to 'path' to the files i want deleted? am i suppose to mount the iso and sfs and list the entries in the 'delete.txt' file to that path?.... what am i doing wrong???
You should make a list of full paths to the files you want to delete..

Possibly your list is throwing Woofy because you have lots of special characters..

Try this list:

Code: Select all

/root/.local/share/applications/opera.desktop
/root/.opera
/root/.opera/operaprefs.ini
/root/.opera/icons
Or check that the sfs is mounted ok, before the files are deleted (you should see it in the terminal)..

You could tick the 'Edit Filesystem' bit and (semi) manually delete the files that you want removed..

You could simply create a script in the root of the mounted sfs, and put something like this in it:

Code: Select all

#!/bin/bash

$prefix=.
while read line
do
	[ -e $prefix$line ] && rm -v $prefix$line
done < /path/to/files-to-delete.txt
This should delete all the files in the mounted sfs.
..not on Puppy at the moment though, so can't test it..

Sorry about the late response.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
mauri
Posts: 9
Joined: Sat 15 Jan 2011, 18:10

#49 Post by mauri »

thanks a lot,

for the nice woofy remaster tool.

regards
mauri

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#50 Post by sc0ttman »

Updated to version 0.6. (a big improvement!)

See main post for changelog.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply