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 Mon 20 Oct 2014, 04:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
UExtract-3.5 for (mainly, but not only) Slacko
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 8 [109 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Tue 06 Aug 2013, 06:02    Post subject:  UExtract-3.5 for (mainly, but not only) Slacko
Subject description: A Universal/Utter/Ultimate/Uhatever Extractor
 

NOTE: This app has been written on Slacko-5.6/5.7 and works best in this pup, but should work well also in other (rather newer) Puppies.
___________

In order to ease unpacking of various archive formats, I forged One Script to Rule Them All (well, at least most of them Wink ).

It's packaged as a ROX right-click app, but the script itself (/usr/local/apps/UExtract/bin/uextract) can be used from command line.
For example - to extract 'archive.tar.gz', 'arch2.7z' and 'somepkg.rpm' from current dir to /root/somedir:
Code:
uextract -o /root/somedir archive.tar.gz arch2.7z somepkg.rpm

Same thing can be done via 'right-click -> Open With -> UExtract'.
BTW, each archive will be always extracted to a separate subdirectory!

Note to FatDog users:
In order to get right-click menu entries properly installed, it's necessary to create one link before installing UExtract:
Code:
ln -s /etc/xdg/rox.sourceforge.net/SendTo /root/.config/rox.sourceforge.net/OpenWith

___________

UExtract can make use of the following tools:
  • 7z
  • ar
  • arj
  • avconv/ffmpeg
  • balz
  • base64
  • bcrypt
  • bunzip2
  • cpio
  • dpkg-deb
  • exploderpm
  • extract_chmLib
  • gifsicle
  • gunzip
  • lha
  • lrunzip
  • lz4
  • lzip
  • nomarch
  • pdfdetach
  • pdfimages
  • pdftotext
  • qemu-nbd
  • quad
  • rpm2cpio
  • swfextract
  • tar
  • truecrypt
  • unace
  • (un)arc
  • uncompress
  • undms
  • unegg
  • unfreeze
  • unlzma
  • unlzop
  • unlzx
  • unpack200
  • (un)rar
  • unsquashfs
  • unxz
  • unzip
  • upx
  • uudecode
  • xar
  • xcur2png
  • zoo
  • zpaq
  • zzip

Supported, though not extensively tested, formats/extensions are:

.??_ .2fs .3fs .3gp .4fs .7z .7z.001 .a .a[0-9][0-9] .a2theme .ace .acp .adz .ani .apk .ar .arc .arj .ark .avastsounds .avi .azw2 .b64 .balz .bau .bfe .bgz .bmz .bz .bz2 .cab .capx .cb7 .cbr .cbt .cbz .cdmtz .cdmz .cfs .cgz .chm .cpgz .cpio .cpio.7z .cpio.bz .cpio.bz2 .cpio.f .cpio.gz .cpio.lz .cpio.lzma .cpio.lzo .cpio.xz .cpio.z .cpio.zip .cpl .cramfs .crx .cvd .dazip .dbk .deb .dia .disk .divx .dll .dmg .dms .docx .dotx .dsk .ear .eaz .ecs .eftx .egg .emerald .emz .epub .esriaddin .exe .ext2 .ext3 .ext4 .f .fat .flac .flf .flp .flv .fwp .g3x .gadget .gem .gg .gif .gifar .gnumeric .gnutar .goomod .gps .graphmlz .gszip .gtar .gtp .gz .gz2 .gzi .gzip .hfs .hfv .hid .hme .hmxz .htmlz .i5z .iar .icl .ima .img .imz .ip .ipa .ipcc .ipg .ipk .ipsw .iso .ita .itz .iwd .ja .jar .jgz .jic .ksf .lemon .lha .little .love .lpk .lrz .lxf .lz .lz4 .lza .lzh .lzma .lzo .lzx .maff .mar .mcgame .mct .mcworld .mdz .mdzip .mga .mkv .mmip .mov .mp3 .mp4 .mpeg .mpg .mpk .mpz .mpzip .mscz .msi .msp .msu .mxl .mzp .mzz .nbm .ndr .nex .nfl .ngr .nlr .nsis .ntfs .oar .obt .odb .odc .odf .odg .odm .odp .ods .odt .oex .ogg .ogv .ogz .onepkg .otg .oth .otp .ots .ott .ova .ovp .oxt .p2s .pack .package .pak .pat .pbp .pcv .pdf .pet .pfs .pigm .pigs .piz .pk3 .pk4 .pkg .pmlz .potx .pptx .psz .pup .qcow .qcow2 .quad .quiz .r[0-9] .r[0-9][0-9] .rar .rar5 .rmskin .rpm .run .s3z .safariextz .sam .sb .scm .scr .sdz .sfs .sfx .shar .shr .sle .slp .smzip .sob .sox .spk .sqfs .squashfs .srm .stc .std .sti .studyarch .stw .sue .svgz .swf .swm .sxc .sxd .sxg .sxi .sxm .sxw .sys .tar .tar.7z .tar.bz .tar.bz2 .tardist .tar.f .tar.gz .tar.gz2 .tar.lz .tar.lzma .tar.lzo .tar.md5 .tar.xz .tarz .tar.z .tar.zip .taz .tazpkg .tb2 .tbz .tbz2 .tc .tcz .tg .tgz .themepack .thm .thmx .tlz .tlzma .tpkg .tsk .twz .twzip .txz .tz .tzo .u3p .udeb .udf .unitypackage .usfs .ustar .utz .uu .uue .vbox-extpack .vdi .vfd .vgz .vhd .vmdk .vob .wal .war .wba .wbm .webm .webz .wgt .wgz .whl .widget .wim .wlz .wma .wmd .wmga .wmv .wmz .wot .wrz .wsp .wsz .xap .xar .xlam .xlsx .xltx .xmz .xpi .xrns .xsn .xz .xzm .z .z[0-9][0-9] .zab .zad .zfsendtotarget .zi .zip .zipx .zl .zm9 .zoo .zpaq .zpi .ztd .zxp .zz
_______________

UExtract-3.5 contains the following translations:
- Polish (me)
- Russian (Sender & Pro)
_______________

You may also want to try PackIt.
_______________

Changelog:

Version 0.91:
- 'urxvt' replaced with 'xterm' in AppRun (thanks to Sc0ttman)
- better differentiation between xz and gz compressed .pets (for Akita)

Version 0.92:
- more formats
- support for .7z multi-part archives (archive.7z.001 ...)
- if given extension is not supported, don't exit, but instead try to use 7z on it.
- added '-l' parameter that lists all supported extensions

Version 1.0:
- added: '-d' option - dependency check
- changed: output directory will be named 'fullarchname_extracted', e.g.: 'archive.tar.gz' will become 'archive.tar.gz_extracted'

Version 1.1:
- more formats
- .sfs (as well as .xzm and .sb) images are now being extracted directly, using unsquashfs4
- minor internal improvements

Version 1.2:
- more formats
- added exploderpm & rpm2cpio as possible tools for extracting .rpm
- added warning message and prompt if '.run' or '.shar' archive is about to be launched

Version 1.3:
- exploderpm is now default tool for extracting .deb (dpkg-deb as a fallback)
- now can extract multiple audio/video streams from video files
- command line option '-l|--list' has been changed to '-f|--formats'
- added '-l|--list' option that lists contents of an archive, instead of extracting

Version 1.4:
- added: 'rpm2cpio $ARCHPATH | unxz | cpio -idmv' for compatibility with full/older rpm2cpio (thanks to Amigo)
- added: extracting subtitles (if any)
- bugfix: extracting with avconv was broken in Precise

Version 1.5:
- fixed: problems with some .deb pkgs (thanks to Pemasu)
- added: warning message if given extraction tool isn't installed
- some minor corrections

Version 1.6:
- a couple of new formats
- bugfix: if an archive contains one or more empty directories, they won't get unpacked
- added: warning at install time about missing dependencies (if any)
- removed .mht
- minor internal improvements

Version 1.7:
- fixed typo (was 'unzx' instead of 'unxz')
- all 'xz -d' occurencies replaced with 'unxz'
- animated GIFs extraction (using gifsicle)
- can extract "naked" initrd
- more 'fool-proof' mechanisms
- got rid of awk dependency
- some internal rearrangements

Version 1.8:
- more extensions
- 2 new formats (El Torito boot floppy & Mozilla's .mar)
- some internal rearrangements

Version 1.9:
- more formats/extensions
- 'tar j/z/J' changed to 'bunzip2/gunzip/unxz | tar'
- 7z as a fallback if unzip fails
- fixed output of 'uextract -d | more'
- some fixes & cleanings

Version 1.10:
- removed .run

Version 1.11:
- more formats/extensions
- got rid of pet2tgz dependency
- minor fixes

Version 2.0:
- new extensions
- removed .j
- restored .run
- menu entry (Utility)
- custom icon
- 'Filetypes info' help page
- major rearrangements in package structure

Version 2.1:
- new formats/extensions
- ability to create a shortcut on the pinboard during install time
- various fixes and improvements

Version 2.2:
- new formats/extensions
- removed .mobi
- got rid of 'dd' dependency
- calculation of available space before extraction
- PATH & LD_LIBRARY_PATH extended to include directory where 'uextract' currently is
- if ar/arj/lha/xar is installed, it will be used in the first place (before the default 7z)
- some other fixes, improvements & general polishing

Version 2.3:
- bugfix: .hidden files won't get listed/extracted from .iso, .?fs, etc. images.
- 1 new extension (.egg)
- 1 new format (portablelinuxapps)

Version 2.4:
- a couple of new extensions
- fix: added '--no-absolute-filenames' to cpio extraction options (only if full version detected; 'busybox cpio' doesn't support this)
- fix: ability to unpack 'portablelinuxapps' also with .run suffix

Version 2.5:
- hidden formats have been revealed
- new extensions: .ext2/3/4 and .sfx
- can create a shortcut in $HOME/Desktop
- ffmpeg/avconv - extracted items now inherit the source names
- removed buttons from Gtkdialog's VTE Terminal
- xterm changed to $TERM
- lots of minor fixes/corrections

Version 2.6:
- pinstall.sh is now Woof-friendly (thanks to Pemasu)
- few new formats/extensions

Version 2.7:
- fix in AppRun: improper handling of dir/filenames with "
- one new extension

Version 2.8:
- AppRun: fixed improper handling of dir/filenames with ` (backtick)
- AppRun: added checkbox (checked by default) "Autoclose output window if no errors."
- partially gettext'ed (only AppRun & .createshortcut)
- 3 new extensions

Version 3.0:
- fully gettext'ed
- p(un)install.sh: can create right-click entries for Thunar
- some internal rearrangements
- 3 new extensions

Version 3.1:
- small bugfix in AppRun
- corrected gettext

Version 3.2:
- improved detection of possible extractions errors (set -o pipefail)
- fixed regression in extracting floppy images from ISO
- new formats/extensions

Version 3.3:
- improved GIF extraction (added -U/--unoptimize and --no-background options to gifsicle)
- can extract contents of individual paritions from multipartitioned *.img disk images
- new formats/extensions

Version 3.4:
- added Russian translation
- fixed extracting from .tar.lz/.tlz archives, which turned out to be compressed by lzip, not lzma
- a couple of new formats

Version 3.5:
- fix for extracting custom-named encrypted savefiles
- fix for extracting multipartitioned .img images that have extended partition
- better prevention of "false" extraction errors due to use of 'set -o pipefail'
- support for password protected PDF files
- can detect and extract "extensionless" .run installers/portable[apps|games] of both types (shell/ELF)
- can detect and extract TrueCrypt volumes
- can extract .vdi|.vmdk|.qcow|.qcow2 VM images
- other new extensions/formats: .gnumeric, .dms, .lzx

Happy extracting &
Greetings!
UExtract-3.5.pet
Description 
pet

 Download 
Filename  UExtract-3.5.pet 
Filesize  43.87 KB 
Downloaded  727 Time(s) 
UExtract-2.8.pet
Description 
pet

 Download 
Filename  UExtract-2.8.pet 
Filesize  34.53 KB 
Downloaded  562 Time(s) 
UExtract-2.4.pet
Description 
pet

 Download 
Filename  UExtract-2.4.pet 
Filesize  32.83 KB 
Downloaded  788 Time(s) 

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Thu 31 Jul 2014, 11:37; edited 50 times in total
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1144
Location: England

PostPosted: Tue 06 Aug 2013, 07:40    Post subject:  

Hi SFR,

I'm running Precise 5.6 and having installed 7z (full) then using right-click on a few different file types - all went well until I right-clicked on the Windows/Wine .exe file below.

I'm not sure if -after deleting the final three (.gz) characters- it is possible to unpack it (especially if it is effectively already a single file as opposed to a directory of files).

My regards and thanks
Bcalc.exe.gz
Description 
gz

 Download 
Filename  Bcalc.exe.gz 
Filesize  144.81 KB 
Downloaded  436 Time(s) 
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Tue 06 Aug 2013, 08:14    Post subject:  

Hey Jasper, thank you for the report.

No, this one seems not to be a self-extracting archive, so UExtract/7z won't handle it.
Strangely, even ResourceHacker (under Wine) can't open this file, maybe it's too old:
Code:
# file Bcalc.exe
Bcalc.exe: MS-DOS executable, NE for MS Windows 3.x
#

Greetings!
Screenshot1.jpg
 Description   
 Filesize   61.36 KB
 Viewed   3769 Time(s)

Screenshot1.jpg

Screenshot2.jpg
 Description   
 Filesize   22.79 KB
 Viewed   3814 Time(s)

Screenshot2.jpg


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Tue 06 Aug 2013, 09:52    Post subject:  

in akita, 7z is a symlink to 7zr, which is a static bin around 200kb - can't remember where i got it though... not sure if it meets the requirements..

EDIT: terminal says 7-Zip (A) 4.58 beta

anyway, the command line works fine, with -o . file1 file2 file3

i tested gzipped pets, .tar.xz, sfs3 (gzipped), and tar.bz2 .. all worked Smile

but before anything would work through ROX, the AppRun needed to be changed to rxvt from urxvt ... maybe a check in AppRun to see which terminal to use?

I tested with mrxvt, rxvt, .. worked fine.. termit didn't ..
termit just shows the uextract error you get when it receives no options..

I love this, BTW.. so many formats supported..

EDIT2: Where does the support for xz compressed pets and sfs files reside? Within your script or within the pet2tgz/dir2sfs script in various puppies themselves? I don't have any to test in akita, but presume they would not be supported, as I didn't 'backport' those updates from woof, IIRC..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 06 Aug 2013, 11:31    Post subject:  

Have posted already in abushcrafter's Improving The Wrappers From Xarchive http://www.murga-linux.com/puppy/viewtopic.php?t=56651 so I know what's that all about .

SFR :
The code looks really fine !

Have not tested it, but (probably)will if xarchive or pupzip fails .

( Had no clue to get 7z to compile that time, but will look into my archives - still running Puppy-4.3)

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Tue 06 Aug 2013, 11:49    Post subject:  

Hey Sc0ttman

Quote:
but before anything would work through ROX, the AppRun needed to be changed to rxvt from urxvt ... maybe a check in AppRun to see which terminal to use?

D'oh! It was supposed to be 'xterm', not 'urxvt' there. Rolling Eyes
Thanks for pointing this out.
'xterm' script in Akita is hardcoded to use 'rxvt', so should be ok now.

Quote:
EDIT2: Where does the support for xz compressed pets and sfs files reside? Within your script or within the pet2tgz/dir2sfs script in various puppies themselves? I don't have any to test in akita, but presume they would not be supported, as I didn't 'backport' those updates from woof, IIRC..

I don't think it's in Woof - the only Puppy I know that supports xz compressed .pets is FatDog (but I might be wrong).
I tested Uextract with this .pet:
http://www.murga-linux.com/puppy/viewtopic.php?t=82734
BTW UExtract-0.9 won't extract xz compressed pets in Akita anyway, but I fixed this in v0.91.

Quote:
in akita, 7z is a symlink to 7zr, which is a static bin around 200kb - can't remember where i got it though... not sure if it meets the requirements..

I just checked and this 7zr is also some cutted down version.
It didn't work for me with: .rpm, .xrns, .a, .arj, .lha, .cab (and probably some others, which I don't have at hand to test).
As for .rpm it _could_ be replaced with rpm2cpio, but the busybox version doesn't support LZMA compression, that's why I've chosen 7z.

Karl Godt wrote:
Have posted already in abushcrafter's Improving The Wrappers From Xarchive http://www.murga-linux.com/puppy/viewtopic.php?t=56651 so I know what's that all about .

SFR :
The code looks really fine !

Have not tested it, but (probably)will if xarchive or pupzip fails .

( Had no clue to get 7z to compile that time, but will look into my archives - still running Puppy-4.3)


Thank you Karl!
As for that thread - I vaguely recall I've seen it before, but I never explored it - I have to see if there are some things that could be incorporated into UExtract.

Version 0.91 uploaded, see the first post.

Thanks for testing &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Wed 07 Aug 2013, 06:17    Post subject:  

Update: version 0.92

Reading through the thread that Karl posted link to, I noticed a script posted by Amigo, so I added some formats from there to UExtract:
.cbt
.cpio.lzma
.cpio.7z
.cpio.z
.cpio.gz
.cpio.bz
.cpio.bz2
.tar.z

Other new formats (all handled by 7z):
.chm
.cramfs
.dmg
.fat (not tested, could not find/create one)
.msi
.vhd
.wim

And:
.pup (just the 1st stage, i.e. unzipping to these 3 'dotpup.tar.gz' 'dotpup.sh' and 'md5sum.txt' files)

Note: some of these (and previous) formats are not directly accessible through the main level of right-click menu.
In such cases, use "Open With/Send To" submenu.

What else:
- support for .7z multi-part archives (archive.7z.001 ...)
- if given extension is not supported, don't exit, but instead try to use 7z on it.
- in a bit hacky way, but I also added '-l' parameter that lists all supported extensions

Version 0.92 uploaded, see the first post!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Thu 08 Aug 2013, 13:20    Post subject:  

Ok, no further problems reported, so let's make it 1.0:
- added: '-d' option - dependency check
- changed: output directory will be named 'fullarchname_extracted', e.g.: 'archive.tar.gz' will become 'archive.tar.gz_extracted'

First post updated!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1144
Location: England

PostPosted: Thu 08 Aug 2013, 14:29    Post subject:  

Hi again SFR,

Your v 1.0 seems to be working well with Precise 5.6, but as I didn't see the new -d option and as I don't really understand its use (my deficiency) would you kindly explain it in a bit more detail?

My regards and thanks

Addendum:

Thank you for your explanation below. Now I understand how to use it - your -d option is a final touch which is both useful and welcome; especially for non-slacko users.

Last edited by Jasper on Thu 08 Aug 2013, 18:00; edited 1 time in total
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Thu 08 Aug 2013, 14:53    Post subject:  

Hi Jasper

This option is available only through command line, see screenshot.
BTW, just type uextract to display short help msg. Wink

Greetings!
scrsht.png
 Description   
 Filesize   22.09 KB
 Viewed   3537 Time(s)

scrsht.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Mon 12 Aug 2013, 08:52    Post subject:  

Update, version 1.1

- New formats/extensions:
  • .b64
  • .bfe (not an archive - it's encrypted file created with bcrypt)
  • .cb7
  • .cpio.lzo
  • .cpio.xz
  • .j
  • .ja
  • .little (??? - found in .mozilla dir, but it's .zip really)
  • .lzh
  • .maff
  • .mht (handled by my own, crude routine - extracts only base64 encoded stuff from .mht web archives)
  • .sb (Slax module)
  • .xpi
  • .xzm (Porteus module)
  • .zi (renamed .zip)
  • .zpi (renamed .zip)

- .sfs (as well as .xzm and .sb) images are now being extracted directly, using unsquashfs4, which is lot faster than mounting'n'copying
- Minor internal improvements

First post updated!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Tue 20 Aug 2013, 16:13    Post subject:  

Update, version 1.2

New formats/extensions:
.apk
.bau
.cpl
.crx
.dll
.ear
.nsis
.otp
.otg
.ots
.ott
.pdf (uses 'pdftotext' and 'pdfimages' to extract text & pictures; rather experimental)
.pk3
.pk4
.slp
.sob
.swm
.stw
.tar.lz
.tlz
.war
.zipx

Also, ffmpeg/avconv dependent formats:
.3gp
.avi
.flv
.mkv
.mov
.mp4
.mpeg
.mpg
.ogg
.ogv
.vob
.wmv
Tries to extract audio & video streams.
Video stream ends up inside the same type of container as the source, audio stream is being extracted in a bit more intelligent way.
Although tested and seems to work quite nice in latest Slacko & Precise (with most of videos I tried), the above is highly experimental.

- added exploderpm & rpm2cpio as possible tools for extracting .rpm (in case if 7z is not present)
I completely forgot about 'exploderpm' tool - it's OOTB in Slacko (and probably others).
@Sc0ttman: so, extracting .rpm will work now in Akita!

- added warning message and prompt if '.run' or '.shar' archive is about to be launched (timeout=10sec & defaults to "no").

PS. Don570 gave me an interesting idea to selectively add entries to right-click menu, depending on which of needed tools are installed in target Puppy.
However, I'll leave it for now, since there's too many exceptions and some of formats/extensions can be handled by more than one tool (like .rpm above), so I have no clear vision how to nicely implement this.
But the idea itself is neat...maybe later/elsewhere.

First post updated!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1077

PostPosted: Wed 21 Aug 2013, 08:50    Post subject: FatDog/Lighthouse UExtract Instructions  

Note for FatDog users:

UExtract seems to work pretty well on this Pup, just before installing, make sure to create one symlink:
Code:
ln -s /etc/xdg/rox.sourceforge.net/SendTo /root/.config/rox.sourceforge.net/OpenWith

and then install UExtract.
Right-click entries will appear, next to the existing ones.

BTW, there are only 2 unsatisfied dependencies: 7z and exploderpm.
It's enough to install just the first one (it's p7zip in "Contributed packages" repo).
Also, install full version of cpio from "Extra packages" repo.

Tested with Fatdog64-621.iso running in live mode.
____________

Note for LightHouse users:

On this Puppy in turn, almost everything works OOTB, just like in Slacko.
It has a bit older, but full 7z.
The only "missing" dependency is unlzop, but it's easy to fix:
Code:
ln -s /bin/busybox /usr/bin/unlzop

and we have it!

Tested with LightHouse64-6.01-B.iso running in live mode.

--------------------------
EDIT: New dependency, introduced in v1.7, is missing in both FatDog & LightHouse: gifsicle.
Couldn't find it in the repo, but here's the source: http://www.lcdf.org/gifsicle/

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Fri 30 Aug 2013, 13:57; edited 3 times in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8342

PostPosted: Wed 21 Aug 2013, 10:59    Post subject:  

good work.

couple of notes...
I find with 7z sfs 3 and 4 are handled but symlinks do not extract correctly..you get a text file containing the path...not sure if that still applies but it is very handy to grab a file even on windows. I considered a workaround but as you mention unsquahfs is probably a better solution.

I built a custom 7za as a static as I found 7z could not find its own shared library under xarchive.... wondered if you had any problems. The sources are quite modular/customizable so in my case I only included formats not covered by standard linux utilities. I also included rar into the static.

One bonus bunny was having a standard format for use in xarchive so one wrapper could handle many formats. we all love 7zip Smile

thats it
have fun

Mike
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Wed 21 Aug 2013, 11:04    Post subject:  

UExtract is fantastic...

Just a quick question, if I keep the static 7z bin i got in akita, will uextract still use exploderpm/rpm2cpio or would i need to remove 7z for that to workl??

Also, techno made a start at at GUI for tar or something... How is uextract at listing archive contents before unpacking/mounting them?? .. If it can list contents of most filetypes too, then it might be a good project for a gtkdialog frontend..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 8 [109 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.1393s ][ Queries: 12 (0.0053s) ][ GZIP on ]