Gentoo Archives: gentoo-dev

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] unconditionally depending on sys-apps/hotplug
Date: Thu, 14 Dec 2006 13:10:14
Message-Id: 200612141405.47847.zzam@gentoo.org
Hi fellow devs!

One thing that annoys me since some time are packages pulling in 
sys-apps/hotplug unconditionally.

How should the dependencies on hotplug/hotplug-base and udev be managed:

Some problems with current tree:

The problem with hotplug is, that it breaks in combination with udev-103 in 
several ways.
One known to me is firmware-loading.
Bug https://bugs.gentoo.org/show_bug.cgi?id=147006



Some ebuilds depending on hotplug (incomplete list):

DEPEND="sys-apps/hotplug"
net-wireless/ipw2200-firmware
net-wireless/acx-firmware
net-wireless/atmel-firmware
media-libs/libgphoto2
sys-apps/hal

DEPEND="|| ( sys-fs/udev sys-apps/hotplug )"
./app-emulation/xen-tools

DEPEND="|| ( >=sys-fs/udev-103 sys-apps/hotplug )"
./media-tv/wis-go7007

DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )"
net-wireless/zd1211-firmware

DEPEND="udev? ( >=sys-fs/udev-068 ) !udev? ( >=sys-apps/hotplug-20040920 )"
sys-apps/pcmciautils




Some more problems (minor ones, but even more confusing to users):
It installs files not used but confusing users like /etc/hotplug/blacklist.
Bug: http://bugs.gentoo.org/show_bug.cgi?id=130766

It creates empty /usr/lib/hotplug/firmware that is no longer used 
(now: /lib/firmware)
Bug: http://bugs.gentoo.org/show_bug.cgi?id=124427

Matthias

-- 
Matthias Schwarzott
Gentoo Developer
http://www.gentoo.org
-- 
gentoo-dev@g.o mailing list