From 1f02ef3205e810dd937f316f5a7b58ecc2893d59 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Tue, 22 Nov 2011 11:06:07 -0500
Subject: [PATCH] gio: Move gmodule to Requires.private

Users of GIO are not generally expected to use gmodule API,
so don't force them all to link against it.
---
 gio-2.0.pc.in      | 5 +++--
 gio-unix-2.0.pc.in | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gio-2.0.pc.in b/gio-2.0.pc.in
index c4f32c224..b702910fa 100644
--- a/gio-2.0.pc.in
+++ b/gio-2.0.pc.in
@@ -9,7 +9,8 @@ glib_compile_schemas=@bindir@/glib-compile-schemas@EXEEXT@
 Name: GIO
 Description: glib I/O library
 Version: @VERSION@
-Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
+Requires: glib-2.0,gobject-2.0
+Requires.private: gmodule-no-export-2.0
 Libs: -L${libdir} -lgio-2.0
 Libs.private: @ZLIB_LIBS@ @NETWORK_LIBS@
-Cflags: 
+Cflags:
diff --git a/gio-unix-2.0.pc.in b/gio-unix-2.0.pc.in
index 2e81c0703..fba58e2ac 100644
--- a/gio-unix-2.0.pc.in
+++ b/gio-unix-2.0.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: GIO unix specific APIs
 Description: unix specific headers for glib I/O library
 Version: @VERSION@
-Requires: gobject-2.0,gmodule-no-export-2.0,gio-2.0
+Requires: gobject-2.0,gio-2.0
 Libs: -L${libdir} -lgio-2.0
 Cflags: -I${includedir}/gio-unix-2.0/