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 Fri 28 Feb 2020, 00:04
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
UExtract-4.0
Post new topic   Reply to topic View previous topic :: View next topic
Page 19 of 20 [287 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20 Next
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1770

PostPosted: Sat 04 Jan 2020, 06:26    Post subject:  

jplt3 wrote:
Hi all,

is it possible with UExtract to select multiple files and extract them in their folders ?

Thanks @SFR for your excellent tool.

Sure, just select them -> right-click -> Open With/Send To -> UExtract
In Fatdog (and other distros that use jun7's ROX fork) UExtract is already in top-level right-click menu, even for multiple selections.
Or from CLI:
Code:
uextract foo.tgz bar.7z baz.xz ...

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 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Thu 16 Jan 2020, 18:34    Post subject:  

There should be no pot files in pet package. Momanager works without them.
http://www.murga-linux.com/puppy/viewtopic.php?p=1047969#1047969
___________________________________
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1770

PostPosted: Thu 16 Jan 2020, 19:39    Post subject:  

don570 wrote:
There should be no pot files in pet package. Momanager works without them.

Why not? They're provided as a convenience for translators.
MoManager has no monopoly on that, last time I checked. 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 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Thu 16 Jan 2020, 20:27    Post subject:  

momanager does search for pot files
(but I doubt it searches in uextract folder)
and it screws up the process of making a small change
of a translation so I was told by momanager developper to stop putting it in my packages.
I thought I was helping translators , but I wasn't.

All momanager needs is the po file and the script. The pot file is a middle step of a process.
__________________________________________________
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1244

PostPosted: Fri 17 Jan 2020, 03:05    Post subject:  

Momanager is a layer above GNU gettext. It is an optional tool, which most puppy translators use, but it isn't required to get translations done. All one needs to produce translatable sources (this is the job of the application author), and translations (the translator's job) is the GNU gettext package. Of course, for many translators Momanager is more convenient because it hides away the use of the gettext conversion tools.
My understanding of the minimal workflow (this is documented in detail in the GNU gettext project documentation page) is:

author: program source --> gettext --> pot file
translator: pot file --> po file (then the first translation can be started)
translator: updated pot file --> updated po file (on each program update)
author: po files from translators --> mo files -- program release

If an author is entirely managing translations as part of the release process then there is no need to add pot or po files to the package. Only the mo files are required.

Conversely, if an author wants for the occasional untranslated language to give people "out there" the opportunity to create a translation, then the pot file is needed. Po files can be added if an author wants for people "out there" to be able to modify translations in a specific language.

I think (not sure because I don't use momanager) that internally momanager generates a pot file to enable further processing steps. But the generated pot file derives from momanager's generation criteria, which may not be sufficient to capture all translatable strings in the source code.

_________________
Fatdog64-810|+Packages|Kodi|gtkmenuplus
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 684
Location: Rakaia

PostPosted: Fri 17 Jan 2020, 04:26    Post subject:  

I have tested this on the only Pup I run when not running Stretch-Dog Tiny Puduan by S243a and it works fine with a stretch .deb.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Wed 22 Jan 2020, 21:21    Post subject:  

Reading here I discovered another method of encryption
https://www.putorius.net/how-to-create-enrcypted-password.html
Code:
tar czvpf - file1.txt file2.pdf file3.jpg | gpg --symmetric --cipher-algo aes256 -o myarchive.tar.gz.gpg


_________________________________________

Using uextract I found that I couldn't extract the following...

tar a folder and 7za compression with a password - .tar.7z extension
I made it with Packit using fatdog64.

It didn't crash. It just stalled and did nothing.

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


Joined: 26 Oct 2011
Posts: 1770

PostPosted: Thu 23 Jan 2020, 07:25    Post subject:  

don570 wrote:
Code:
tar czvpf - file1.txt file2.pdf file3.jpg | gpg --symmetric --cipher-algo aes256 -o myarchive.tar.gz.gpg

Just FYI: when you right-click a .gpg file, UExtract doesn't show up (ROX recognizes it as generic application/octet-stream), but it's possible to decrypt it from CLI (uextract file.gpg).
Not every file with .gpg extension is encrypted, though, for example GnuPG's keyrings (pubring, secring) also use that extension.

don570 wrote:
Using uextract I found that I couldn't extract the following...

tar a folder and 7za compression with a password - .tar.7z extension
I made it with Packit using fatdog64.

It didn't crash. It just stalled and did nothing.

Hmm, I guess I've never tried that combination with encryption before.
It doesn't really stall, it just waits for a password, but there's no prompt.
I'll fix it in next release.

Thanks &
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 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Thu 23 Jan 2020, 21:02    Post subject:  

Thanks for info.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1770

PostPosted: Sat 08 Feb 2020, 12:09    Post subject:  

Version 3.42:

- added '-d,--dependencies' option that shows the availability of common dependencies
- show password prompt for encrypted .tar.7z & .cpio.7z archives (thanks to don570)
- better handling of zstd compressed RPMs
- PDF: removed extracting text to HTML and images to PNG
- various fixes and 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 
phat7

Joined: 05 Jun 2015
Posts: 173

PostPosted: Sun 09 Feb 2020, 04:57    Post subject:  

Thank you for this excellent tool.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Sat 15 Feb 2020, 12:42    Post subject:  

There's a faster way of compressing a file apparently. I'll have to investigate. ---> pigz
http://murga-linux.com/puppy/viewtopic.php?t=118083
-------------------------------------------------
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5492
Location: Ontario

PostPosted: Sat 15 Feb 2020, 12:49    Post subject:  

There's an odd thing I discovered when extracting a rar archive. -->

If there is a link inside the rar archive --> uextract doesn't extract it. rar documentation says that it
is unsafe??

...but I was able to extract correctly a link using unrar command (see terminal output for example)

binney55.mp4 is actually a link to file outside of folder that was compressed. -ola is option that does the trick.
unrar even changed the path of the link so that it will correctly match up
to the original file.

Code:
# unrar e -ola New_Dir.rar

UNRAR 5.50 freeware      Copyright (c) 1993-2017 Alexander Roshal


Extracting from New_Dir.rar


Would you like to replace the existing file Script
    51 bytes, modified on 2020-01-21 03:25
with a new one
    51 bytes, modified on 2020-01-21 03:25

[Y]es, [N]o, [A]ll, n[E]ver, [R]ename, [Q]uit a

Extracting  Script                                                    OK
Extracting  zzzzzz                                                    OK
Extracting  DIRNAME_CORRECTED.tar.gz.gpg                              OK
Extracting  DIRNAME_CORRECTED.tar.xz.gpg                              OK
Extracting  binney55.mp4                                              OK
Extracting  NewDir.tar.gz                                             OK
All OK
#
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1770

PostPosted: Sat 15 Feb 2020, 13:55    Post subject:  

@Phat7: you're welcome!

@Don: Ok, I can reproduce it. It concerns only absolute symlinks, relative links are being extracted properly.
Will fix it, thanks!

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

PostPosted: Sat 22 Feb 2020, 09:54    Post subject:  

Version 4.0:

- AppRun: add GtkDialog GUI (Xdialog as a fallback)
- added '-s, --skip-symlinks' CLI option (do not follow symlinks)
- extract in the symlink's dir, not the target's
- can extract most of compressed initrd* files in one go
- use also 7z to extract DEB
- extract attachments from video files
- better compatibility with older/BusyBox versions of 'fdisk'
- fix extracting absolute symlinks from RAR archives (thanks to don570)
- refactoring, fixes, 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 
Display posts from previous:   Sort by:   
Page 19 of 20 [287 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20 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.1499s ][ Queries: 12 (0.0695s) ][ GZIP on ]