You are not logged in.

#1 2010-01-21 22:26:05

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Strange / unneeded dependecies

Sorry this is a bit of rant. But I feel it has to be brought up (if it hasn't been already, I did a quick search nothing came up similar to this).
So I was "cleaning" my Arch and I saw that there are a lot of things that I really don't need, but are still installed...
Like lirc-utils and cups (and many other to..).
So anyway the problem is that lirc-utils (Infra red remote control) is a dependency of vlc. Why? I don't have a infra red remote control. And even if vlc has support for it, I don't need it.
I know I can do pacman -Rd and it's gone. But still why is it dependency in the first place anyway?

And cups, I don't have a printer so why do I need cups and libcups? Why is libcups needed by gtk2 and why is gtk2 needed by so many other packages, I'm using KDE I shouldn't even have gtk2 installed.

So anyway are all dependacies really needed or not? Can some be made in optional?
I know I could use abs and edit PKGBUILD and remove dependancies, but I use testing so some packages like vlc can't be build with abs...

(Mods if you think this can't get anywhere you can move it to TGN; I won't mind.)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#2 2010-01-21 22:33:23

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Strange / unneeded dependecies

If you want so much control on dependencies, you should consider moving to Gentoo ...

The Arch devs and TUs should have a reason for adding these deps, in 99% of the cases, they are surely needed.

Last edited by flamelab (2010-01-21 22:33:56)

Offline

#3 2010-01-21 22:59:16

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Strange / unneeded dependecies

You could try asking on Arch mailing lists. The two examples you gave seem strange to me too.

Last edited by anonymous_user (2010-01-21 22:59:39)

Offline

#4 2010-01-21 23:02:21

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: Strange / unneeded dependecies

Or you could try blackpac. Maybe you and the author could work on getting a list of things like this, if you want to improve it or make it easier to remove them.

Offline

#5 2010-01-21 23:18:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Strange / unneeded dependecies

If you can really remove these packages without linking issues, send a bug report asking for it to be made an optdepends.

Offline

#6 2010-01-22 00:05:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Strange / unneeded dependecies

In a binary distro, decisions regarding dependencies have to be made at build time.

Primoz wrote:

lirc-utils (Infra red remote control) is a dependency of vlc. Why? I don't have a infra red remote control.

Others do, so the dev included support.

Primoz wrote:

Why is libcups needed by gtk2

So that gtk2 applications can print.

Primoz wrote:

why is gtk2 needed by so many other packages

Because they are gtk2 applications

Primoz wrote:

I'm using KDE I shouldn't even have gtk2 installed.

Remove the gtk2 applications installed on your system.

Primoz wrote:

I use testing so some packages like vlc can't be build with abs...

Incorrect. Just make sure you build against the testing version of any required dependencies.

Offline

#7 2010-01-22 09:25:14

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: Strange / unneeded dependecies

jac wrote:

Or you could try blackpac. Maybe you and the author could work on getting a list of things like this, if you want to improve it or make it easier to remove them.

This what I need. I've seen it before but I misinterpreted what it does.
Well I was able to remove both lirc and cups with no apparent problems (for now). So it's not that bad...


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

Board footer

Powered by FluxBB