[pulseaudio-discuss] [paprefs][PATCH 7/9] fix GSettings pkg-config dependency
Tanu Kaskinen
tanuk at iki.fi
Tue Apr 17 06:25:46 UTC 2018
We're using the C++ interface of GSettings, so we should depend on
giomm instead of gio.
Since the compile and link flags are different between gio and giomm, it
may seem strange that building paprefs worked at all, but since gtkmm
depends on giomm, the correct flags got added via gtkmm.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index bb78a70..accefe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ fi
AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes])
#### GSettings support ####
-PKG_CHECK_MODULES(GSETTINGS, [ gio-2.0 >= 2.26.0 ])
+PKG_CHECK_MODULES(GSETTINGS, [ giomm-2.4 >= 2.26 ])
GLIB_GSETTINGS
AM_GNU_GETTEXT([external])
--
2.16.3
More information about the pulseaudio-discuss
mailing list