Bug#917549: Development file udev.pc is in main udev package
Pali Rohár
pali.rohar at gmail.com
Fri Dec 28 14:49:17 GMT 2018
On Friday 28 December 2018 15:32:45 Michael Biebl wrote:
> Control: severity -1 wishlist
>
> Am 28.12.18 um 15:11 schrieb Pali Rohár:
> > Package: udev
> > Version: 240-2
> >
> > Currently pkg-config's udev.pc file is in main udev package. Therefore
> > other packages which needs udev.pc for compilation need to install whole
> > udev. So they need to declare Build-Depends: udev.
>
> What exactly is the problem with build-depending on udev? On most
> systems it will be installed anyway and the footprint of udev and its
> dependencies is not that much.
E.g. it installs udev into system.
Also building can be done in chroot or in minimal installation where
udev package is not available. And installing and running whole udev
daemon is not necessary for compilation.
> > File udev.pc is for development and compilation of other packages,
> > therefore it should be in separate some -dev package.
>
> What exactly do you need from udev.pc?
udevdir
More exactly, get location where udev rules files should be installed.
> If you link against libudev, you want libudev.pc which is shipped in
> libudev-dev.
I'm not linking with libudev. I'm not using any udev library.
> Splitting out only udev.pc into a new binary package udev-dev seems a
> bit like overkill.
I think that installing and running udev daemon just for compilation is
more overkill.
--
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20181228/3aa4823d/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list