Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143351 - Add app-arch/rar and app-arch/zip etc. to RDEPEND of kde-base/ark
Summary: Add app-arch/rar and app-arch/zip etc. to RDEPEND of kde-base/ark
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 169084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-09 07:33 UTC by Rickard Närström
Modified: 2007-03-03 10:27 UTC (History)
2 users (show)

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


Attachments
patch to add app-arch/rar and app-arch/zip to RDEPEND (ark-3.5.4.ebuild.patch,355 bytes, patch)
2006-08-09 07:34 UTC, Rickard Närström
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rickard Närström 2006-08-09 07:33:24 UTC
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 Rickard Närström 2006-08-09 07:34:47 UTC
Created attachment 93847 [details, diff]
patch to add app-arch/rar and app-arch/zip to RDEPEND
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-08-09 07:44:18 UTC
What if I don't want rar and zip support?
Comment 3 Rickard Närström 2006-08-09 08:12:00 UTC
you add USE-flags:

IUSE="zip rar"

RDEPEND="${RDEPEND}
zip? ( app-arch/zip )
rar? ( app-arch/rar )"
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2006-08-09 09:00:27 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 09:16:52 UTC
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 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-15 14:29:49 UTC
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 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-23 12:46:45 UTC
added elog line to kde-3.5.4
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-03 10:27:12 UTC
*** Bug 169084 has been marked as a duplicate of this bug. ***