UNRAR ebuild should check to see if rar from rarsoft is installed, in case it's not, it should creat a symbolic link: ln -s /usr/bin/unrar /usr/bin/rar Why? Because some programs (file roller) rely on /usr/bin/rar to decompress files. I have entered a bug report in gnome bugzilla asking file roller to use /usr/bin/unrar in case it doesn't find /usr/bin/rar This should be a temporary fix.
do you think unrar should just call rar as a dependency?
I don't think so. If you want to compress/decompress packages you install rar. If you just wan to extract from rar packages, you install unrar. I know RAR is onky 600KB, but if dont need it, i don't see a reason to install it.
if unrar is called with argv[0] set to 'rar', does the program act differently ? in other words, does unrar then act properly as 'rar' ? if not then i will not do this ... i really shouldnt have to explain *why* in that case ... and programs that utilize /usr/bin/rar should have rar in their RDEPEND ...
what i mean is that if unrar is called as rar but does not provide the functionality of rar, then its pretty obvious why this symlink should *not* be created its just a hack to make some programs happy when in reality others will break ... this is probably something that should be dealt with upstream ... unless of course unrar will act like a rar prog ;)
Yes, the symbolic link it's just an ugly hack. I don't know how many programs use /usr/bin/rar, but anyway unrar just decompress files, so unrar can't act as rar.
if you find any other packages that break because they call rar to uncompress rar, feel free to grab our attention thanks for filing a report upstream ;)