site  contact  subhomenews

Woof: support .rar archives

May 12, 2012 — BarryK
We do encounter these .rar files every now and again. I had to expand one a few days ago, which reminded me that we don't support them in most flavours of Puppy. Wary and Racy don't.

It is not just a matter of installing the 'unrar' PET, of which there are a few lurking around.

Some people have done that, and then set the run action in ROX-Filer to exec xarchive "$@", or to run xarchiver if that is installed.

Woof-built puppies already have correct run action for mime type application/x-rar, which is exec pupzip "$@".

/usr/local/bin/pupzip is a wrapper around whatever archiver utility is installed, be it xarchive, xarchiver, or various others.
pupzip had to be fixed to recognise .rar files, which I have done.

I have also added the unrar package into the package-lists of most of the flavours in Woof, that is, Wary, Racy, Slacko, Upup, Dpup, etc.

Here is the Woof commit:

I have uploaded an unrar PET to the 'common' repo (88KB):

I have just now (re)discovered some very interesting work done by abushcrafter:

...I have posted this link here for future reference.


Username: broomdodger
Hello Barry Since some of the people I work with, their company policy, can not receive .zip files, and because of the greater compression, I have compiled 7za, the stand-alone version. It seems able to handle any format I have tried. I also have it on WinXP and MacOSX. For download: p7zip_9.20.1_x86_linux_bin.tar.bz2 For more info: [code]7-Zip is open source software. Most of the source code is under the GNU LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR restrictions. Check license information here: 7-Zip license. You can use 7-Zip on any computer, including a computer in a commercial organization. You don't need to register or pay for 7-Zip. The main features of 7-Zip High compression ratio in 7z format with LZMA and LZMA2 compression Supported formats: Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM Unpacking only: ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR and Z. For ZIP and GZIP formats, 7-Zip provides a compression ratio that is 2-10 % better than the ratio provided by PKZip and WinZip Strong AES-256 encryption in 7z and ZIP formats Self-extracting capability for 7z format Integration with Windows Shell Powerful File Manager Powerful command line version Plugin for FAR Manager Localizations for 79 languages[/code] Bill

Saluki uses xarchiver v. 5.2
Username: K Godt
"Saluki has implemented xarchive version 0.5.2 i think . The main difference seems to be optical and that there is a single directory displayed first with a file-manager tree out-put . I don't know if i like it or not, the traditional xarchive displays all in one screen . Though this old seems limited to extract everything or just one file due to gtk tree widget limitations . * For peazip : it is actually needed to compile lzma binary to compile actual mksquashfs . Couldn't figure out to compile the gui . (excuse any typos)

Xarchive not internationalised
Username: BarryK
"As L18L has pointed out, Xarchiver source code is internationalised, Xarchive isn't. This is a problem for us, if we want to keep using Xarchive. It is effectively a dead project, so any improvement of the C source code would probably be up to us. Anyone interested? -- it would need to have gettext calls for the strings, so that we can have a .po translation file for it.

i18n xarchive
Username: rodin.s
"I have added gettext to xarchive. Here is modified source code: [url=][/url] I don't have much experience with C and gettext. Before that I did it in tray apps (network_tray etc.). I have also made Russian po and mo files. Info about C and gettext: Modified files are: src/common.h src/main.c src/myfc_gtk.c src/widgets_gtk.c

XArchive and Xarchiver
Username: L18L
"Stumbled upon this text while translating xarchive #: msgid "" "There is support for drag-and-drop of archive files to the desktop icon,\n" "however not for files and directories -- for that you need to have \n" "XArchive[b]r[/b] installed, the [b]preferred[/b] archiver program for Puppy."

The extra r
Username: BarryK
"L18L, OK, I have removed that "r". Hmmm, really all the messages in pupzip need to be revised, to remove the assumption that the archive program will be XArchive. pupzip is a wrapper for XArchiver, XArchive, guitar, tkzip archiver apps. ...I'll do that sometime.

Tags: woof