[Xfce4-commits] [apps/mousepad] 01/01: Fix building with `--enable-dbus --disable-gtk3`
noreply at xfce.org
noreply at xfce.org
Sat Oct 5 19:21:14 CEST 2019
This is an automated email from the git hooks/post-receive script.
m b r u s h p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/mousepad.
commit b4c98fd279981cc93fa0ffde593d5c3adec0869a
Author: Matthew Brush <matt at xfce.org>
Date: Sat Oct 5 10:18:04 2019 -0700
Fix building with `--enable-dbus --disable-gtk3`
---
configure.ac.in | 1 +
mousepad/Makefile.am | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index bf8172b..f497cb6 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -139,6 +139,7 @@ AM_CONDITIONAL([HAVE_DBUS], [test "x$enable_dbus" = "xyes"])
AS_IF([test "x$enable_dbus" = "xyes"],
[
+ XDT_CHECK_PACKAGE([GIO_UNIX], [gio-unix-2.0], [2.42.0])
AC_PATH_PROG([GDBUS_CODEGEN], [gdbus-codegen])
AC_DEFINE([HAVE_DBUS], [1], [Define if DBUS support is enabled])
])
diff --git a/mousepad/Makefile.am b/mousepad/Makefile.am
index 7bd0f8c..0265fc0 100644
--- a/mousepad/Makefile.am
+++ b/mousepad/Makefile.am
@@ -97,10 +97,12 @@ mousepad_dbus_sources = \
mousepad_CFLAGS += \
-DDBUS_API_SUBJECT_TO_CHANGE \
- $(DBUS_CFLAGS)
+ $(DBUS_CFLAGS) \
+ $(GIO_UNIX_CFLAGS)
mousepad_LDADD += \
- $(DBUS_LIBS)
+ $(DBUS_LIBS) \
+ $(GIO_UNIX_LIBS)
endif
if WITH_KEYFILE_SETTINGS
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list