colord/colord-build-no-gtk.patch

36 lines
977 B
Diff

From 67f6b43497d55b99b30c412fa8d0e8f3782f1969 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti <yaneti@declera.com>
Date: Thu, 10 May 2012 10:23:27 +0300
Subject: [PATCH] Isolate gtk dependency to cd-convert
Signed-off-by: Richard Hughes <richard@hughsie.com>
---
client/Makefile.am | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/client/Makefile.am b/client/Makefile.am
index 9458026..2e972d5 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -13,7 +13,9 @@ INCLUDES = \
-DLOCALEDIR=\""$(localedir)"\"
COLORD_LIBS = \
- $(top_builddir)/libcolord/libcolord.la \
+ $(top_builddir)/libcolord/libcolord.la
+
+COLORD_GTK_LIBS = \
$(top_builddir)/libcolord-gtk/libcolord-gtk.la
noinst_LIBRARIES = libclientprivate.a
@@ -74,6 +76,7 @@ colord_convert_SOURCES = \
colord_convert_LDADD = \
$(LCMS_LIBS) \
$(COLORD_LIBS) \
+ $(COLORD_GTK_LIBS) \
$(GTK_LIBS) \
$(GLIB_LIBS) \
-lm
--
1.7.6