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.
Comments:Posted on 12 May 2012, 11:36 by broomdodger
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 more info:
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
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
Posted on 14 May 2012, 4:13 by K Godt
Saluki uses xarchiver v. 5.2
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)
Posted on 15 May 2012, 3:14 by abushcrafter
Nice to see my work is getting attention. I might have a newer version on my HD to post. Must check.
Posted on 15 May 2012, 7:28 by BarryK
Xarchive not internationalised
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.
Posted on 16 May 2012, 4:49 by rodin.s
I have added gettext to xarchive. Here is modified source code: http://ompldr.org/vZHJmNA
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: http://oriya.sarovar.org/docs/gettext_single.html
Modified files are:
Posted on 17 May 2012, 4:08 by L18L
XArchive and Xarchiver
Stumbled upon this text while translating xarchive
"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"
"XArchiver installed, the preferred archiver program for Puppy."
Posted on 17 May 2012, 5:07 by BarryK
The extra r
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.