[gnome-color-manager] Add a libtiff build require for future functionality



commit 05c565c6306fe168e3e2541b5546c79d3522a8d9
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 12 11:31:12 2010 +0000

    Add a libtiff build require for future functionality

 configure.ac                        |    4 ++++
 contrib/gnome-color-manager.spec.in |    1 +
 src/Makefile.am                     |    2 ++
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d4f422b..9531025 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,6 +155,10 @@ PKG_CHECK_MODULES(X11, x11)
 AC_SUBST(X11_CFLAGS)
 AC_SUBST(X11_LIBS)
 
+AC_CHECK_LIB(tiff, TIFFReadRGBAImageOriented)
+AC_SUBST(TIFF_CFLAGS)
+AC_SUBST(TIFF_LIBS)
+
 dnl **** Check for cups ****
 AC_SUBST(CUPS_CFLAGS,"")
 AC_SUBST(CUPS_LIBS,"")
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index 1806662..d52f167 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -51,6 +51,7 @@ BuildRequires: libXrandr-devel
 BuildRequires: gnome-desktop-devel
 BuildRequires: lcms-devel
 BuildRequires: cups-devel
+BuildRequires: libtiff-devel
 
 %description
 gnome-color-manager is a session framework that makes it easy to manage, install
diff --git a/src/Makefile.am b/src/Makefile.am
index 97a6462..4032027 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES =						\
 	$(LCMS_CFLAGS)					\
 	$(XORG_CFLAGS)					\
 	$(CUPS_CFLAGS)					\
+	$(TIFF_CFLAGS)					\
 	$(DBUS_GLIB_CFLAGS)				\
 	-DG_UDEV_API_IS_SUBJECT_TO_CHANGE		\
 	-DGNOME_DESKTOP_USE_UNSTABLE_API		\
@@ -234,6 +235,7 @@ gcm_prefs_LDADD =					\
 	$(XORG_LIBS)					\
 	$(GTK_LIBS)					\
 	$(CUPS_LIBS)					\
+	$(TIFF_LIBS)					\
 	-lm
 
 gcm_prefs_CFLAGS =					\



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