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 Wed 30 Jul 2014, 11:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
UExtract-3.4 for (mainly, but not only) Slacko
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 8 [108 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
Keef


Joined: 20 Dec 2007
Posts: 619
Location: Staffordshire

PostPosted: Sun 29 Sep 2013, 13:01    Post subject:  

Just to say I've been playing with 214R again (my first long term Puppy), and UExtract works fine - well once I added a few missing bits. Not all are useful to me, so went for 7z, xz, and Base64 (actually I don't know what that one is for, but it's tiny).
Installed Right-click-6.7.5-pet, and that works with it too.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8034

PostPosted: Sun 29 Sep 2013, 13:55    Post subject:  

base64 ... tis for converting such as binary data into a format thats web and database friendly by using a set of 64 ascii characters..... iirc 4 characters would represent 3 bytes on the 6bit to 8 bit basis.

Only reason i heard of it was it was needed for an Xchat plugin i wanted and i had to furkle some code to make it happy on mingw building.

See this forum is full of useless information Very Happy

mike
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 29 Sep 2013, 15:51    Post subject: UExtract gettexted  

Hi SFR,

I'm teaching myself how to gettext Smile
Attached is the gettexted version of AppRun.

Here it is in Dutch:


With the gettexted version Momanager will be able to see UExtract and translations can be made.

Thanks for UExtraxt!
Let its journey around the world begin Laughing
AppRun.gz
Description  Fake .gz
/usr/local/apps/UExtract/
gz

 Download 
Filename  AppRun.gz 
Filesize  3.89 KB 
Downloaded  183 Time(s) 

_________________


Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1044

PostPosted: Mon 30 Sep 2013, 09:39    Post subject:  

@Keef & @Mikeb: Yeah, 'base64' is only needed (here) for base64 encoded files with .b64 suffix.
Nothing really relevant for overall UExtract's functionality.
In earlier versions it was also used to extract base64 encoded stuff from within .mht files, but it's been withdrawn a few versions ago.
____________________

@Bert: Thanks for gettext'ing. Indeed would be nice to "enable" this app for non-English users, what would significantly help in World Domination. Twisted Evil
When/if I'll feel the power again, I'll try to gettext also 'uextract' script itself (but don't wait for me, if you'd like to play with it by yourself).
____________________

A general note:

I just discovered that UExtract may spit some error/misleading messages while extracting file(s) from a location that contains spaces in its path.
The actual culprit is /bin/df script, which (at least in Slacko & Precise) is a wrapper for df-FULL.
Long story short, this line (no. 8 ):
Code:
RETSTUFF="`$DF $@`"

should look like this (additional double quotes):
Code:
RETSTUFF="`$DF "$@"`"


Similarily, UExtract may refuse to extract .iso, .?fs, etc. with spaces in its name/path.
Same story, but with /bin/mount script.
Slacko-5.6 has this fix already included, but in case of other Puppies it's trivial to correct it manually, see here:
http://www.murga-linux.com/puppy/viewtopic.php?p=716315#716315

The above info is only for those who don't afraid to tinker with system internals. If you do - just remove spaces before extraction. Wink

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 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Mon 30 Sep 2013, 10:18    Post subject:  

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 Smile

_________________


Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1044

PostPosted: Tue 01 Oct 2013, 13:59    Post subject:  

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. Rolling Eyes I'm not ready yet. Wink

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 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 09 Oct 2013, 05:32    Post subject: UExtract-2.3
Subject description: gettext'ed
 

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 Smile


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:
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 Cool

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... Laughing

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
UExtract-2.3-int.pet
Description 
pet

 Download 
Filename  UExtract-2.3-int.pet 
Filesize  33.95 KB 
Downloaded  215 Time(s) 
uextract-2.3-i.png
 Description   
 Filesize   13.02 KB
 Viewed   446 Time(s)

uextract-2.3-i.png


Last edited by L18L on Thu 10 Oct 2013, 08:50; edited 6 times in total
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1044

PostPosted: Wed 09 Oct 2013, 09:18    Post subject:  

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!

_________________
[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 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 09 Oct 2013, 13:59    Post subject: UExtract-2.3
Subject description: internationalized
 

bugfix version uploaded, see 2 post above please.
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Wed 09 Oct 2013, 14:24    Post subject:  

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:
/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...)

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 10 Oct 2013, 03:51    Post subject: UExtract-2.3-in
Subject description: bugfix
 

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:
sed -i 's#bin/uextract#uextract#' /usr/local/apps/UExtract/bin/uextract_gui
to a console and press ENTER key.

Thanks for reporting Smile
Waiting for other issues now...
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Thu 10 Oct 2013, 05:28    Post subject:  

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 Laughing :



Your sed-code solved the second problem.

Thanks!

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 10 Oct 2013, 06:02    Post subject: UExtract-2.3-in
Subject description: solution for 1st problem
 

Choisces are not choices Embarassed
Code:
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, 09:01; edited 2 times in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 10 Oct 2013, 08:52    Post subject: UExtract-2.3-int  

version 2.3-int see some posts above please
Code:
#131010 bugfixes, config file repeat/stop asking for shortcut
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 18 Oct 2013, 14:40    Post subject:  

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 Evil Laughing

_________________


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 8 [108 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 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.1123s ][ Queries: 12 (0.0057s) ][ GZIP on ]