[PATCH] libnm: drop libdbus-glib from pkg-config file



libnm uses GIO DBus library instead.

https://mail.gnome.org/archives/networkmanager-list/2015-January/msg00065.html
---
 libnm/libnm.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

On Thu, 2015-01-22 at 03:40 +0100, Michael Biebl wrote:
Hi,

the libnm.pc file for the new libnm library has

Requires: gio-2.0 dbus-glib-1

This looks incorrect, especially the dependency on dbus-glib-1.
Is this a C&P error? Especially since the Description is the same as for
libnm-util.pc.

Yes, that looks like a mistake. Unless anyone objects I'll remove it.

Thank you
Lubo

diff --git a/libnm/libnm.pc.in b/libnm/libnm.pc.in
index 6392799..5fe26b6 100644
--- a/libnm/libnm.pc.in
+++ b/libnm/libnm.pc.in
@@ -6,7 +6,7 @@ includedir= includedir@
 Name: libnm
 Description: Convenience library for clients of NetworkManager
 Version: @VERSION@
-Requires: gio-2.0 dbus-glib-1
+Requires: gio-2.0
 Cflags: -I${includedir}/libnm
 Libs: -L${libdir} -lnm
 
-- 
2.1.0



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