Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Gentoo Developer Mailing List <gentoo-dev@l.g.o>
Subject: [gentoo-dev] RFC: virtual/libudev
Date: Tue, 10 Jul 2012 15:18:58
Message-Id: 20120710171800.493a7c4c@pomiocik.lan
1 Hello, all.
2
3 Since nowadays udev is bundled within systemd, we start having two
4 libudev providers: >=sys-apps/systemd-185 and sys-fs/udev. Making
5 the long story short, I would like to introduce a virtual for libudev
6 which would pull in either of those two.
7
8 There are three USE flags used in conditionals when depending on udev:
9 - gudev - for glib wrapper on udev,
10 - hwdb - to pull in hwids,
11 - static-libs.
12
13 The former two were previously provided by 'extras' USE flag,
14 and the third was unconditional.
15
16 I'm attaching an example virtual/libudev which does the job. Sadly,
17 because of the 'extras' compatibility it's a big ugly conditional.
18
19 An alternative would be to provide separate virtual/libudev
20 and virtual/libgudev; and maybe changing ebuilds not to depend on
21 [hwids] but rather pull in sys-apps/hwids directly (since that's what
22 the flag does).
23
24 What are you thoughts?
25
26 --
27 Best regards,
28 Michał Górny

Attachments

File name MIME type
libudev-0.ebuild text/plain
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: virtual/libudev Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] RFC: virtual/libudev William Hubbs <williamh@g.o>
Re: [gentoo-dev] RFC: virtual/libudev Thomas Sachau <tommy@g.o>
Re: [gentoo-dev] RFC: virtual/libudev Samuli Suominen <ssuominen@g.o>
Re: [gentoo-dev] RFC: virtual/libudev Samuli Suominen <ssuominen@g.o>