Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wacky Dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Xptos
n00b
n00b


Joined: 29 May 2002
Posts: 53
Location: Japan

PostPosted: Mon Jun 03, 2002 4:56 am    Post subject: Wacky Dependencies Reply with quote

My system came up with no probs. I decided to 'emerge xmms mozilla kdebase kdeadmin'. One of the deps for kdeadmin is RPM. Now, to me, it seems silly to have rpm/apt/whatever installed on a system that already has a package manager.

1) Will installing rpm do anything bad?
2) Can I do unmerge rpm after the install or will it complain that it is needed?
3) What other wacky deps are lurking around?
4) Is anyone working to whittle down the deps on major packages to stuff you really need?

Normally I wouldn't complain, but having RPM listed as a dep in Gentoo is a glaring oversight. It needs to be expunged.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Mon Jun 03, 2002 7:41 am    Post subject: Reply with quote

rpm is a dependency for kpackage (kde's package manager - can be used with rpm and deb) in kdeadmin.

I can't seem to find a USE flag for rpm.

You can modify kdeadmin's ebuild and remove the rpm dependencies (it is in /usr/portage/kde-base/kdeadmin/kdeadmin-3.0.1.ebuild ).

This is the originial ebuild:
Code:
inherit kde-dist

DESCRIPTION="${DESCRIPTION}Administration"

newdepend ">=app-arch/rpm-4.0.4-r1
        dev-libs/popt
        pam? ( >=sys-libs/pam-0.72 )"

use pam         && myconf="$myconf --with-pam"  || myconf="$myconf --without-pam
 --with-shadow"
myconf="$myconf --with-rpm"


You can modify it to something like:

Code:
inherit kde-dist

DESCRIPTION="${DESCRIPTION}Administration"

newdepend "dev-libs/popt
        pam? ( >=sys-libs/pam-0.72 )"

use pam         && myconf="$myconf --with-pam"  || myconf="$myconf --without-pam
 --with-shadow"

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Xptos
n00b
n00b


Joined: 29 May 2002
Posts: 53
Location: Japan

PostPosted: Mon Jun 03, 2002 10:51 pm    Post subject: One for the Dev Team Reply with quote

Seems like we should send this up to the dev team.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum