[gupnp] Make Requires private in pkg-config files



commit a5c429cb8000e4542617c55c1ca957f9b2bfd521
Author: Andreas Henriksson <andreas fatal se>
Date:   Fri Sep 21 14:22:14 2012 +0200

    Make Requires private in pkg-config files
    
    Putting stuff in Requires means applications using
    this library will link against that when it might
    not be needed at all because they use none of that
    libraries symbols directly.
    
    If only the cflags is needed (because public headers
    includes headers from that package) they
    can be private to avoid uselessly linking.
    
    See #2 in http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685477

 gupnp-1.0-uninstalled.pc.in |    2 +-
 gupnp-1.0.pc.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gupnp-1.0-uninstalled.pc.in b/gupnp-1.0-uninstalled.pc.in
index 3d24582..40e75ca 100644
--- a/gupnp-1.0-uninstalled.pc.in
+++ b/gupnp-1.0-uninstalled.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based UPnP library
 Version: @VERSION@
 Libs: ${libdir}/libgupnp-1.0.la
 Cflags: -I${includedir}
-Requires: gssdp-1.0 libxml-2.0 libsoup-2.4
+Requires.private: gssdp-1.0 libxml-2.0 libsoup-2.4
diff --git a/gupnp-1.0.pc.in b/gupnp-1.0.pc.in
index 09434f2..d2612b4 100644
--- a/gupnp-1.0.pc.in
+++ b/gupnp-1.0.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based UPnP library
 Version: @VERSION@
 Libs: -L${libdir} -lgupnp-1.0
 Cflags: -I${includedir}/gupnp-1.0
-Requires: gssdp-1.0 libxml-2.0 libsoup-2.4
+Requires.private: gssdp-1.0 libxml-2.0 libsoup-2.4



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