[gupnp-av] Make Requires private in pkg-config files



commit 929c3205438e11b17f3a35543e84d4a42381cabe
Author: Andreas Henriksson <andreas fatal se>
Date:   Fri Sep 21 14:25:46 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-av-1.0-uninstalled.pc.in |    2 +-
 gupnp-av-1.0.pc.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gupnp-av-1.0-uninstalled.pc.in b/gupnp-av-1.0-uninstalled.pc.in
index 55d57e8..2be93ac 100644
--- a/gupnp-av-1.0-uninstalled.pc.in
+++ b/gupnp-av-1.0-uninstalled.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based AV specific UPnP library
 Version: @VERSION@
 Libs: ${libdir}/libgupnp-av-1.0.la
 Cflags: -I${includedir}
-Requires: gupnp-1.0
+Requires.private: gupnp-1.0
diff --git a/gupnp-av-1.0.pc.in b/gupnp-av-1.0.pc.in
index 7075ea9..3712259 100644
--- a/gupnp-av-1.0.pc.in
+++ b/gupnp-av-1.0.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based AV specific UPnP library
 Version: @VERSION@
 Libs: -L${libdir} -lgupnp-av-1.0
 Cflags: -I${includedir}/gupnp-av-1.0
-Requires: gupnp-1.0
+Requires.private: gupnp-1.0



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