[Glade-devel] Spurious Requires in gladeui-1.0.pc?

Glade needs libxml to link and run
so that needs to stay

The pkgconfig file is not checked when Glade is run. As glade and
libgladeui links to libxml2.so.2, the glade3 and glade3-libgladeui
packages would have a runtime dependency on libxml2.

Now the *.pc files are a part of the -devel or -dev subpackages. If
libxml2 is mentioned in gladeui-1.0.pc, then glade3-libgladeui-devel
gets a runtime dependency on libxml2-devel, which does not seem

Since the *.pc files are only consulted at build time, usually by the
configure script, it can not do much to enforce any runtime
requirements. It can only enforce compile time requirements. For
example, after successfully building and installing glade someone can
try to delete libxml2.so.2 and the only barrier would be a
distribution's package management system and not the gladeui-1.0.pc.

One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]