UExtract-4.2

Miscellaneous tools
Post Reply
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#81 Post by SFR »

Ugh, I found serious bug, so couldn't leave it like this.

Version 2.3:
- bugfix: .hidden files won't get listed/extracted from .iso, .?fs, etc. images.
- 1 new extension: .egg - Python Project Package [zip]
- 1 new format: http://portablelinuxapps.org/. Deep inside they're just an iso and can be mounted.

BTW, I had attempted to gettext it, but discouragement hit me instantly. :roll: I'm not ready yet. :wink:

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

UExtract-2.3

#82 Post by L18L »

Bert wrote:
SFR wrote:When/if I'll feel the power again, I'll try to gettext also 'uextract' script itself
I already did. Unfortunately encountering syntax errors. I have some more learning to do :)
Troubles were caused by ' I think.
Ex: isn't doesn't '7z' ....
I had been changing them to
Ex: is not does not 7z ....

That is not the solution of course.

This morning I was reintroducing '7z'
Compare the code inside uextract
ex:

Code: Select all

precheck () {
  local RET=0
  for i in "$@"; do
    #[ `which $i 2>/dev/null` ] || { echo -e "${YELLOWCOL}$(eval_gettext 'WARNING: ${BLUECOL}$i${OFFCOL} is not installed or not executable!')"; RET=1; } #working, but with "is not" insted of "isn't
    [ `which $i 2>/dev/null` ] || { echo -e "${YELLOWCOL}`eval_gettext "WARNING: \\\${BLUECOL}'\\\$i'\\\${OFFCOL} isn't installed or not executable!"`"; RET=1; } #this ' is needed just for syntax highlight in geany
  done
  return $RET
}
I did not all of them change back!
Maybe SFR will find his own way of coding gettext now 8)

I do not know if or how momanager will also use pinstall.sh (I have done it without momanager for now)

Anyhow I attach UExtract-2.3-i(nternationalized)
edit
... has been downloaded 3 times
....and been deleted UExtract-2.3-i(nternationalized) now
because cannot be translated with ForkedFastMoManager
some internals have to be changed
-- AppRun as link to bin/uextract_gui
-- dialogs of pinstall.sh have to be moved to "Preferences"
Wait a while, processing... :lol:

edit
uploaded bugfix version UExtract-2.3-in
- should work with momanager now because AppRun is link
- po and pot removed
- dialog about shortcut moved to uextract_gui to make gettext possible

edit again
version 2-3-int
#131010 bugfixes, config file repeat/stop asking for shortcut
Attachments
UExtract-2.3-int.pet
(33.95 KiB) Downloaded 640 times
uextract-2.3-i.png
(13.02 KiB) Downloaded 1237 times
Last edited by L18L on Thu 10 Oct 2013, 12:50, edited 6 times in total.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#83 Post by SFR »

Thanks L18L!

Ahh, if I only gettexted it at the very beginning, it'd be much easier to maintain it now, but I (wrongly) assumed that command-line tools used by UExtract aren't internationalized (I check 'xz' for example, and it is!), so it'd be pointless...

I put a link to your internationalized version in the first post and one day, when I get myself together at last, I'll make a diff and try to make v2.4 gettexted as well (again, don't wait for me :wink: ).

Meanwhile, a small update (EN only yet):

New extensions:
.love - LÖVE Game File [zip]
.tar.zip & .cpio.zip

- 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 (i.e. all games from their site)

First post updated!
___________
musher0 wrote:How about "packing"?
@Musher0: Check it out - PackIt-0.9 :wink:
@Bert & @L18L: PackIt is already gettext'ed. :cool:

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

UExtract-2.3

#84 Post by L18L »

bugfix version uploaded, see 2 post above please.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#85 Post by Bert »

Thank you L18L!

Two problems:

1. Each time Uextract is started up, it now proposes to create a short-cut on the desktop.

2. When right-clicking an archive (pet, tar.gz, doesn't matter what sort of archive) to 'uextract' it, I'm now seeing this window:

Code: Select all

/tmp/uextract_exec: line 3: /usr/local/apps/UExtract/bin/bin/uextract: No such file or directory
The problem is clearly the /bin/bin. One/bin is enough. But what has line 3
to do with it? It's part of the script's header...

(All this before firing up MoManager. Just trying out in English...)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

UExtract-2.3-in

#86 Post by L18L »

Bert wrote:1. Each time Uextract is started up, it now proposes to create a short-cut on the desktop.
Say Yes and should never again be asked. (..or we do need a config file)
Bert wrote:2. ... One/bin is enough. But what has line 3
to do with it? It's part of the script's header...
See /usr/local/apps/UExtract/bin/uextract_gui which is in another directoy now.
Fix it by copying

Code: Select all

sed -i 's#bin/uextract#uextract#' /usr/local/apps/UExtract/bin/uextract_gui
to a console and press ENTER key.

Thanks for reporting :)
Waiting for other issues now...

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#87 Post by Bert »

Good morning L18L,

Saying Yes is a good thing in life in general, but here it keeps asking if I want a desktop shortcut, disregarding the fact that I have quite a collection already :lol: :

Image

Your sed-code solved the second problem.

Thanks!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

UExtract-2.3-in

#88 Post by L18L »

Choisces are not choices :oops:

Code: Select all

sed -i 's#Choisces/ROX-Filer/PuppyPin#Choices/ROX-Filer/PuppyPin#' /usr/local/apps/UExtract/bin/uextract_gui
Anyhow fixed version has to be "coming soon"
Last edited by L18L on Thu 10 Oct 2013, 13:01, edited 2 times in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

UExtract-2.3-int

#89 Post by L18L »

version 2.3-int see some posts above please

Code: Select all

#131010 bugfixes, config file repeat/stop asking for shortcut

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#90 Post by Bert »

Success!

Dutch translation of Uextract succeeded thanks to L18L's hard work.
Thank you L18L!

My effort at gettexting Uextract was close to correct, but I would never have found the offending details that prevented the script from running.

Uextract is a great utility, now ready for world domination :twisted: :lol:
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#91 Post by SFR »

Hey Bert

If you'd like, just post your translation, so I'll make a link to it in the first post.
I feel terribly bad about it, but still don't have the power to merge L18L's gettexted lines into UExtract >= 2.4. :oops:
___________

Version 2.5

New extensions:
- .ext2/3/4
- .sfx (handled by 7z)
- can create a shortcut in $HOME/Desktop
- ffmpeg/avconv - extracted items now inherit the source names (instead of AudioStream, VideoStream, etc.)
- removed buttons from Gtkdialog's VTE Terminal
- xterm changed to $TERM
- lots of minor fixes/corrections

A couple of versions ago I "secretly" implemented support for the following formats:
.ace [unace]
.arc/.ark/.sue [(un)arc|nomarch]
.balz [balz]
.F [unfreeze]
.lrz [lrunzip]
.pack [unpack200] (was before, just reminding)
.quad [quad]
.swf [swfextract]
.zoo [zoo]
.zpaq [zpaq]
.zz [zzip]
(plus, added in the last minute, .lz4)

I decided to unhide them all at last. :)
The only real difference is that now 'uextract -d' will show some more missing deps (unless appropriate tools are present).
I also removed the warning about missing deps from pinstall.sh.

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#92 Post by Bert »

Hi SFR,

Thanks for the update.

I think there's no need to post my translation of UExtract, as it is already available in the Dutch language pack.
If you really want it, just let me know and I'll post it or pm it to you.

A pity you couldn't integrate L18L's version into the new UExtract. I imagine 2.5 is 2.3 with some new code added. If you had based the new version on L18L's i18n-version, I could probably have done the little bit of new gettexting for you...

Oh well, keep on rocking in the free world, as Neil Young would say 8)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#93 Post by SFR »

Just a maintenance update: the only reason for this is the new pinstall.sh, which is now Woof-friendly (big thanks to Pemasu), however there are also few new formats/extensions:
.egg - ALZip Archive (req. unegg)
.pfs - Package SFS (PuppyRus)
.scm - TinyCore Extension
.mdz - zipped .mod
.xmz - zipped .xm
and can unpack upx'ed binaries (req. upx)

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#94 Post by musher0 »

Thanks, SFR.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#95 Post by SFR »

Small bugfix release.
- fix in AppRun: improper handling of dir/filenames with "
- new extension: .nbm (NetBeans module)

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Pelo

Uextract extracts tar.bz2 on Precise

#96 Post by Pelo »

Uextract extracts tar.bz2 on Precise. Thank you beaucoup.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#97 Post by don570 »

I made some changes to Compression 1.8
so it will run on Carolina Precise and many other Puppies
(Thunar and Rox filer).
It has 7z library inside as well as SFR's UExtract 2.7.

It's a complete package to compress and decompress.

http://murga-linux.com/puppy/viewtopic.php?t=78902

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#98 Post by don570 »

It would be easy to change UExtract so that it ran on XFCE Puppies that
had Thunar installed like Carolina.

All that is needed is an appropriate pinstall.sh file. If you're interested
you should look at how I put together the Compression 1.8 package

I've attached the pinstall.sh file so you can look at it.
The key file is ~/.config/Thunar/uca.xml.
Just add the correct tags and restart X.

It's easy to check first and avoid adding the tags more than once.

___________________________________________
Attachments
pinstall.sh.gz
remove fake gz extension
(2.53 KiB) Downloaded 485 times

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#99 Post by SFR »

Hey Don
I've attached the pinstall.sh file so you can look at it.
I noticed your post just now - I'll take a look into it and most likely include it into next version.
Thanks.
___________

Version 2.8:
- Apprun: improper handling of dir/filenames with ` (backtick)
- AppRun: added checkbox (checked by default) "Autoclose output window if no errors.", i.e. in case if extraction was successful, terminal window will be automatically closed. Makes life a bit easier. ;)
- partially gettext'ed - only AppRun & .createshortcut.
- new extensions:
.wal/.wsz (Winamp skin)
.usfs (Barry's UncompressedSFS from Quirky)

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#100 Post by don570 »

If you need help converting to Carolina you can ask me. :lol:
__________________________________

Post Reply