XZ-compressed pet extraction & installation for older pups

Core libraries and systems
Post Reply
Message
Author
User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

XZ-compressed pet extraction & installation for older pups

#1 Post by rerwin »

The migration to more compact pet packages made possible by "xz" compression is hindered by the need to retain compatibility with recent older puppies. I investigated the problem of adding support for expansion and installation of "xz" pets in recent puppies that are beyond their development lives but are still used my many. I found it to be practical for lucid, wary and precise pups, as well as for at least some of the "dogs", which convert pets to deb packages.

The attached 'xzpet_installpkg' packages add the ability to install xz pets. The "extract-pet" packages update the "lucid" and "tahr/xenial" versions of the right-click "Expand here" function. For puppies that do not already provide the expand-here option, the "1.8-lucid" package adds that support. Puppies that have extract-pet built in (or previously installed) can update their script with the other "extract-pet" package.

Although the "dogs" (e.g., debian, xenial) do not appear to have the actual extract-pet function, they convert pets into deb packages. The "dogs" 'xzpet_convert' package updates the pet2deb[dir] and pet2sfs[dir] scripts, to support xz pets.

I have tested the appropriate packages in lucid-5.2.8.7, wary-5.5, precise-5.6.1 & 5.71, debiandog and xenialdog. The non-lucid extract-pet is the version already posted at:
http://murga-linux.com/puppy/viewtopic. ... 579#921579 but with a minor cleanup update.

If anyone needs this feature for another puppy that has a version of the 'tar' utility that supports xz compression, please contact me so I might suggest the appropriate package to use, or create a similar package for you.
Richard
Attachments
xzpet_convert-20160910-dogs.pet
Pet conversion to deb files for *dog installations
(2.27 KiB) Downloaded 237 times
xzpet_installpkg-20160911-lucid5287.pet
Pet install for lucid 5.2.8.7 pups
(10.53 KiB) Downloaded 227 times
xzpet_installpkg-20160911-precise.pet
Pet install for precise pups
(10.44 KiB) Downloaded 332 times
xzpet_installpkg-20160911-wary.pet
Pet install for wary pups
(10.19 KiB) Downloaded 226 times
Extract-pet-1.8-lucid.pet
Right-click "Extract here" for lucid, wary and precise pups
(3.1 KiB) Downloaded 228 times
Extract-pet-20160911.pet
For any pup with extract-pet (extract here) built in or already installed
(1.4 KiB) Downloaded 263 times
Last edited by rerwin on Mon 12 Sep 2016, 19:19, edited 1 time in total.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#2 Post by ttuuxxx »

Nice Job should come in very handy for people :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply