Bug 143351 - Add app-arch/rar and app-arch/zip etc. to RDEPEND of kde-base/ark
Bug#: 143351 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: WORKSFORME Assigned To: kde@gentoo.org Reported By: rickard.narstrom@gmail.com
Component: KDE
URL: 
Summary: Add app-arch/rar and app-arch/zip etc. to RDEPEND of kde-base/ark
Keywords:  
Status Whiteboard: 
Opened: 2006-08-09 07:33 0000
Description:   Opened: 2006-08-09 07:33 0000
ark need the rar commandline tool to support rar files and the zip commandline
tool to support zip.

Those tools shuld be in RDEPEND for ark

maybe it also is a good idea to add the following packages to RDEPEND as well:
app-arch/tar
app-arch/gzip
app-arch/bzip2

I'm sure I have missed some.

Atached patch vill add app-arch/rar and app-arch/zip to RDEPEND (if rar or zip
is in USE).

------- Comment #1 From Rickard Närström 2006-08-09 07:34:47 0000 -------
Created an attachment (id=93847) [details]
patch to add app-arch/rar and app-arch/zip to RDEPEND

------- Comment #2 From Caleb Tennis 2006-08-09 07:44:18 0000 -------
What if I don't want rar and zip support?

------- Comment #3 From Rickard Närström 2006-08-09 08:12:00 0000 -------
you add USE-flags:

IUSE="zip rar"

RDEPEND="${RDEPEND}
zip? ( app-arch/zip )
rar? ( app-arch/rar )"

------- Comment #4 From Caleb Tennis 2006-08-09 09:00:27 0000 -------
Yeah.  However, my point is that it seems complex to add a bunch of use flags
for RDEPENDs that are easily satisfied by just emerging the actual application.
 Now, if they were compile time DEPENDs I would understand, but it's a quick
and easy fix to add {zip,rar,gzip,bzip2} support.  I'm not sure that the
addition of use flags and RDEPENDs gains us much.

------- Comment #5 From Jakub Moc (RETIRED) 2006-08-09 09:16:52 0000 -------
Gah... Just stick some elog info in postinst and be done with it. Adding deps
that don't affect the result in any way is not what use flags are for.

------- Comment #6 From Carsten Lohrke 2006-08-15 14:29:49 0000 -------
I concur that adding these optional runtime dependencies plus defining extra
local use flags, is a bit too much. While I don't mind adding einfo, I'd even
say it's too unimportant for elog, isn't it?!

------- Comment #7 From Carsten Lohrke 2006-08-23 12:46:45 0000 -------
added elog line to kde-3.5.4

------- Comment #8 From Jakub Moc (RETIRED) 2007-03-03 10:27:12 0000 -------
*** Bug 169084 has been marked as a duplicate of this bug. ***