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 |