Page 1 of 1

XZ-compressed pet extraction & installation for older pups

Posted: Mon 12 Sep 2016, 02:50
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

Posted: Mon 12 Sep 2016, 05:55
by ttuuxxx
Nice Job should come in very handy for people :)
ttuuxxx