PackIt-1.22 - a flexible Archiving/Compressing GUI

Miscellaneous tools
Message
Author
User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

PackIt-1.1 - a flexible Archiving/Compressing GUI

#16 Post by Monsie »

rg66 wrote:
SFR wrote:It's not necessary to install rar - if any of supported tools isn't installed, it simply won't be displayed in the GUI.

Greetings!
I noticed that since it didn't show rar as an option until I added it. I do need it as most of my compressed files on my Win box are rared.

Again, thanks for this very handy tool.
I'm just trying to understand this situation... is there a current Puppy or derivative that does not have support for rar files?

Thanks,
Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

ac2011
Posts: 134
Joined: Wed 09 Feb 2011, 08:22

#17 Post by ac2011 »

To answer my own post, changing --title to -title in the code prevents that error, and I can now use verbose mode, but still compression fails with:

Code: Select all

tar: --: Cannot stat: No such file or directory


Or, if I try to zip:

Code: Select all

zip error: Invalid command arguments (no such option: -)
This is when just attempting to archive one single file.

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

#18 Post by SFR »

Thank you for reporting this.

Ok, I found an old Fluppy-013 ISO (You have upgraded Gtkdialog, I presume? The inbuilt versions are too old for PackIt.).
The problem was the use of -- switch with dirname and basename cmds (yeah, probably too old busybox version).
Same with zip (upgrade recommended, btw).
Well, the -- switch is a bit paranoid precaution, to cover dir/filenames that start with a dash. Rare case. Also, since right-click & drag'n'drop sends a full path(s) to an application anyway, only the use from command line could be the case.
I've withdrawn this precaution (not fully though, but other commands (except mksquashfs, btw) do work with this).

As for xterm's problem with '--title' - I found that the most compatible variant of this parameter is '-T' (works with lxterminal, xterm, (u)rxvt).
___________

Version 1.2:
- can create SFX archives (7z/rar/zip only) - choosable via combobox next to archive name
This functionality depends on the presence of the following files:
7z - 7zCon.sfx (/usr/local/lib/p7zip/)
rar - default.sfx (/usr/local/lib/)
zip - unzipsfx (by default it's in /usr/bin/, but can be wherever $PATH can reach)
- better compatibility with older busybox and "real" xterm
- added: version number in titlebar

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

#19 Post by musher0 »

Ha-ha, sfx archives! Yyyyyess! Thanks, SFR! :D
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

ac2011
Posts: 134
Joined: Wed 09 Feb 2011, 08:22

#20 Post by ac2011 »

Now that's service :D

Thanks very much. I'm mostly using Carolina but I have a few non-PAE machines that run Fluppy, though tweaked out of all recognition. It's a nice challenge to keep these machines alive.

Yes, I'm using updated gtkdialog. Haven't updated zip yet, but I will.

Thanks again.

jplt

#21 Post by jplt »

Hi,

i would be interesting to have to possiblity to make pet/sfs included in this execellent tool ?

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

#22 Post by SFR »

Hi Jplt

At the design stage I was thinking about this, but didn't implement it for a few reasons, inter alia because dir2pet has its own GUI and it would look...hmm...inconsistent.
Besides dir2pet exits always with 0, so no error handling is possible.
I'm using makepet-1.1 - rightclick utility instead.

As for SFS of course you can do it - just choose mksquashfs in Pass_1.

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]

jplt

#23 Post by jplt »

Great SFR, for sfs that's what io looking for.
Your soft must me included in all puppys.

Thanks.

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

Spanish translate

#24 Post by nilsonmorales »

mo, po and desktop file included

wget -nv --content-disposition http://ubuntuone.com/1nAj6NvQUFMH3Vy6dG6Cgc

md5sum 15869c395b262ab1587f8dc98fc006c1 packit_es.tar

Image
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

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

#25 Post by SFR »

Update, version 1.3:

- added Spanish translation (thanks to Nilsonmorales)

- mksquashfs' compression method is now choosable.
Supported methods are: gzip, lzma, lzo and xz, although in Puppy world I've seen only gzip and (in newer Puppies) xz.
If no method is found (which means the default gzip), comboboxtext won't be displayed at all.

- can create also *.exe (Win/GUI) self-extracting archives (only 7z/rar), but this requires the presence of:
> 7z.sfx file in /usr/local/lib/p7zip/
> Default.SFX file in /usr/local/etc/
Both files can be found in 7zip/WinRAR packages for Win (just extract the exe installers).

- .sfx/.exe extensions are shown only if appropriate modules are available.

- I discovered that unzipsfx does not support encrypted, self-extracting archives, so this combination (ZIP + .sfx + encryption) is no longer allowed.

- bugfix: wrong compression level calculation for rar

- xterm changed to $TERM (which calls xterm :wink: )

- some other minor fixes.

First post updated!

Greetings!
Attachments
Screenshot.png
(40.39 KiB) Downloaded 789 times
[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
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#26 Post by vicmz »

Small revision of the Spanish locale
Attachments
packit.mo.gz
remove false .gz extension
(2.65 KiB) Downloaded 813 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

#27 Post by SFR »

Version 1.4:
- pinstall.sh is now Woof-friendly (big thanks to Pemasu)
- updated ES translation (Vicmz)
- it's possible to create .tar.zip, .cpio.zip and .iso.zip archives preserving "normal" name inside, instead of '-' (thanks to using named pipes).
Therefore also .tar.sfx, .cpio.sfx and .iso.sfx extensions have been unblocked.
It seems to work perfectly fine, however (emphasized by me):
zip -h2 wrote: Zip now can read Unix FIFO (named pipes). Off by default to prevent zip
from stopping unexpectedly on unfed pipe
, use -FI to enable:
zip -FI archive fifo
so caution is recommended,
- small bugfix in routine that tests sfx/exe abilities

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

#28 Post by musher0 »

Again, thanks! Useful as ever!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#29 Post by SFR »

You're welcome, Musher0, thanks. :)

Bugfix release.
- fixed: improper handling of dir/filenames & passwords with some special chars like ' " * < >
- fixed: if Pass_1 fails, in some cases Pass_2 may continue without errors
- some other minor fixes

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

#30 Post by musher0 »

I won't say thank you out loud, this time, I'll only think it ! :wink:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#31 Post by SFR »

Version 1.6:
- bugfix: improper handling of filename(s) and passwords that contain ` (backtick)
- bugfix: not detecting 7za/7zr if 7z not available

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
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#32 Post by SFR »

Version 1.7:

- p(un)install.sh: can create right-click entries for Thunar
- added 'mke2fs' to "Pass_1" tools
- all 'xmessage' stuff replaced with pure Gtkdialog (for consistency and better look)

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
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#33 Post by SFR »

Version 1.8:

- archiving can be aborted also in non-verbose mode
- visual improvements (non-verbose mode)
- some internal improvements/fixes

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
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

french translation

#34 Post by charlie6 »

Hallo SFR !
here a french translation of version 1.7 just while you were at updating to 1.8;
hope 1.7 will do ...
tons of thanks for this handy owesome tool !
MfG aus Belgiën !
Charlie
ps: .mo file to be copied in
/usr/local/apps/PackIt/locale/fr/LC_MESSAGES/packit.mo
Attachments
capture32093.png
(49.42 KiB) Downloaded 718 times
MoManager-fr_BE-PackIt-1.7.tar.gz
(1.79 KiB) Downloaded 674 times

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

#35 Post by SFR »

Thank you Charlie!

Ok, included and re-uploaded.
However there were some changes in messages in v1.8, so if you could please check if the messages, while packing in non-verbose mode, are still correct?
Same goes to Spanish translation (Nilson? Vic?).

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]

Post Reply