Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12157 - UNRAR should create a symbolic link to /usr/bin/rar
Summary: UNRAR should create a symbolic link to /usr/bin/rar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: Low enhancement
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-14 14:25 UTC by Tirant
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tirant 2002-12-14 14:25:19 UTC
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.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-14 18:42:07 UTC
do you think unrar should just call rar as a dependency?
Comment 2 Tirant 2002-12-15 07:36:52 UTC
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.
Comment 3 SpanKY gentoo-dev 2002-12-16 12:57:52 UTC
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 ...
Comment 4 SpanKY gentoo-dev 2002-12-16 12:59:41 UTC
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 ;)
Comment 5 Tirant 2002-12-16 13:26:03 UTC
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.
Comment 6 SpanKY gentoo-dev 2002-12-16 18:32:01 UTC
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 ;)