gnome-doc-utils: incorrect location for gnome-doc-utils.pc


[ I'm not subscribed to gnome-doc-devel-list, so please Cc: me on
  replies, thanks ]

gnome-doc-utils 0.17.3 installs gnome-doc-utils.pc
in /usr/share/pkgconfig/, which is not the default and traditional
location for pkgconfig files, which are traditionally installed
in /usr/lib/pkgconfig.

This is due to the fact that tools/ contains:

pkgconfigdir = $(datadir)/pkgconfig

instead of

pkgconfigdir = $(libdir)/pkgconfig

Interestingly, this change has been introduced by commit
d0e0103028d9d3d32b44e7f0f2b2997da828496a, which according to its commit
message, has no relationship which the pkgconfig location change. But
it still contains this:

diff --git a/tools/ b/tools/
index 4053179..04ea4c3 100644
--- a/tools/
+++ b/tools/
@@ -10,7 +10,7 @@ bin_SCRIPTS = gnome-doc-prepare gnome-doc-tool
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(datadir)/pkgconfig
 pkgconfig_DATA = gnome-doc-utils.pc

I'm suspecting that this change was not voluntary. Therefore, the
attached patch fixes the issue.


Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.

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