[Xfce4-commits] [xfce/xfce4-settings] 01/57: Preparations for colord

noreply at xfce.org noreply at xfce.org
Thu Mar 21 22:13:49 CET 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       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 xfce/xfce4-settings.

commit 9b57ee668e7d95cda78383585e5d653e6cb9b8b4
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Tue Mar 12 00:31:33 2019 +0100

    Preparations for colord
---
 configure.ac.in                      | 12 ++++++++++++
 dialogs/display-settings/Makefile.am |  9 +++++++++
 2 files changed, 21 insertions(+)

diff --git a/configure.ac.in b/configure.ac.in
index c81667c..185cecc 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -158,6 +158,13 @@ dnl **************************************
 XDT_CHECK_OPTIONAL_PACKAGE([LIBNOTIFY], [libnotify], [0.1.3],
                            [libnotify], [Notification support])
 
+dnl **************************************
+dnl *** Optional support for colord ***
+dnl **************************************
+XDT_CHECK_OPTIONAL_PACKAGE([COLORD], [colord], [1.0.2],
+                          [colord], [colord support])
+
+
 dnl *********************
 dnl *** Mime settings ***
 dnl *********************
@@ -285,6 +292,11 @@ echo "* Libnotify support:         yes"
 else
 echo "* Libnotify support:         no"
 fi
+if test x"$COLORD_FOUND" = x"yes"; then
+echo "* colord support:            yes"
+else
+echo "* colord support:            no"
+fi
 if test x"$XCURSOR_FOUND" = x"yes"; then
 echo "* Xcursor support:           yes"
 else
diff --git a/dialogs/display-settings/Makefile.am b/dialogs/display-settings/Makefile.am
index 42351de..bd588a2 100644
--- a/dialogs/display-settings/Makefile.am
+++ b/dialogs/display-settings/Makefile.am
@@ -48,6 +48,15 @@ xfce4_display_settings_LDADD = \
 	$(XRANDR_LIBS) \
 	$(GLIB_LIBS)
 
+# Optional support for colord
+if HAVE_COLORD
+xfce4_display_settings_CFLAGS += \
+	$(COLORD_CFLAGS)
+
+xfce4_display_settings_LDADD += \
+	$(COLORD_LIBS)
+endif
+
 if MAINTAINER_MODE
 
 BUILT_SOURCES = \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list