[gnome-color-manager] Add LCMS as a hard build and runtime dep
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Add LCMS as a hard build and runtime dep
- Date: Thu, 10 Dec 2009 17:42:34 +0000 (UTC)
commit f7692e4190ed1e35630153585d0d466ec0ca331f
Author: Richard Hughes <richard hughsie com>
Date: Thu Dec 10 16:43:24 2009 +0000
Add LCMS as a hard build and runtime dep
configure.ac | 4 ++++
contrib/gnome-color-manager.spec.in | 2 ++
src/Makefile.am | 9 +++++++++
3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8ce99b8..d14a6e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,10 @@ PKG_CHECK_MODULES(GUDEV, gudev-1.0)
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
+PKG_CHECK_MODULES(LCMS, lcms)
+AC_SUBST(LCMS_CFLAGS)
+AC_SUBST(LCMS_LIBS)
+
PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= $DBUS_GLIB_REQUIRED)
AC_SUBST(DBUS_GLIB_CFLAGS)
AC_SUBST(DBUS_GLIB_LIBS)
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index b5ef593..153188a 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -22,6 +22,7 @@ Requires: shared-mime-info
Requires: dbus-glib >= %{dbus_glib_version}
Requires: dbus-x11
Requires: vte
+Requires: lcms
Requires: argyllcms
Requires: shared-color-profiles
Requires(post): scrollkeeper
@@ -45,6 +46,7 @@ BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
BuildRequires: libXxf86vm-devel
BuildRequires: libXrandr-devel
BuildRequires: gnome-desktop-devel
+BuildRequires: lcms-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 c53e4c5..2884d05 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,7 @@ INCLUDES = \
$(UNIQUE_CFLAGS) \
$(GCONF_CFLAGS) \
$(VTE_CFLAGS) \
+ $(LCMS_CFLAGS) \
$(XORG_CFLAGS) \
$(DBUS_GLIB_CFLAGS) \
-DG_UDEV_API_IS_SUBJECT_TO_CHANGE \
@@ -66,6 +67,7 @@ gcm_dump_edid_LDADD = \
$(GNOMEDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(XORG_LIBS) \
$(DBUS_GLIB_LIBS) \
$(GTK_LIBS)
@@ -82,6 +84,7 @@ gcm_dump_profile_LDADD = \
$(GNOMEDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(XORG_LIBS) \
$(DBUS_GLIB_LIBS) \
$(GTK_LIBS)
@@ -98,6 +101,7 @@ gcm_inspect_LDADD = \
$(GNOMEDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(XORG_LIBS) \
$(DBUS_GLIB_LIBS) \
$(GTK_LIBS)
@@ -114,6 +118,7 @@ gcm_apply_LDADD = \
$(GNOMEDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(XORG_LIBS) \
$(GTK_LIBS)
@@ -129,6 +134,7 @@ gcm_import_LDADD = \
$(GNOMEDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(XORG_LIBS) \
$(GTK_LIBS)
@@ -150,6 +156,7 @@ gcm_prefs_LDADD = \
$(GCONF_LIBS) \
$(VTE_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(DBUS_GLIB_LIBS) \
$(XORG_LIBS) \
$(GTK_LIBS)
@@ -169,6 +176,7 @@ gcm_session_LDADD = \
$(UNIQUE_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(DBUS_GLIB_LIBS) \
$(XORG_LIBS) \
$(GTK_LIBS)
@@ -205,6 +213,7 @@ gcm_self_test_LDADD = \
$(UNIQUE_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS) \
+ $(LCMS_LIBS) \
$(DBUS_GLIB_LIBS) \
$(XORG_LIBS) \
$(GTK_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]