Michał Górny schrieb:
> On Tue, 10 Jul 2012 21:23:39 +0200
> Thomas Sachau <to...@gentoo.org> wrote:
> 
>> Michał Górny schrieb:
>>> Hello, all.
>>>
>>> Since nowadays udev is bundled within systemd, we start having two
>>> libudev providers: >=sys-apps/systemd-185 and sys-fs/udev. Making
>>> the long story short, I would like to introduce a virtual for
>>> libudev which would pull in either of those two.
>>>
>>> There are three USE flags used in conditionals when depending on
>>> udev:
>>> - gudev - for glib wrapper on udev,
>>> - hwdb - to pull in hwids,
>>> - static-libs.
>>>
>>> The former two were previously provided by 'extras' USE flag,
>>> and the third was unconditional.
>>>
>>> I'm attaching an example virtual/libudev which does the job. Sadly,
>>> because of the 'extras' compatibility it's a big ugly conditional.
>>>
>>> An alternative would be to provide separate virtual/libudev
>>> and virtual/libgudev; and maybe changing ebuilds not to depend on
>>> [hwids] but rather pull in sys-apps/hwids directly (since that's
>>> what the flag does).
>>>
>>> What are you thoughts?
>>
>> As discussed on IRC, there is still no consensus for installing the
>> udev files with systemd, which is the beginning for the block and the
>> virtual. So we should first sort that point out, before we even start
>> to think about an ebuild for an udev virtual.
> 
> Do you have a technical or policy reason prohibiting me from maintaining
> a systemd ebuild following the upstream policies?

How about this simple one: The udev ebuild does already install udev, so
why should we have another package also installing the same thing,
resulting in a blocker, the need to switch from one package to another
and the need for package maintainers to switch their dependencies?

Since William already said, that he will move the udev installation to
/usr/lib, i dont see any technical reason left to not simply depend on
the udev ebuild.
And if you fear issues about not knowing which parts to install, then
just check the files installed by the udev ebuild, remove them from your
systemd ebuild and you are done.
> 
>> So for now: A clear no, i am against adding a virtual/libudev ebuild.
> 
> Please give the rationale.

I did above. So if you still want to install udev yourself, please give
the rationale for doing so. And neither upstream naming nor a big
upstream tarball nor the Makefile do force this, so please exclude those
points.


-- 

Thomas Sachau
Gentoo Linux Developer



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to