[gnome-color-manager] trivial: add a hard libnotify dep so we can notify the user in the future
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: add a hard libnotify dep so we can notify the user in the future
- Date: Thu, 25 Mar 2010 20:55:21 +0000 (UTC)
commit 3f9bc51aef3baf81cd2e2aa891e3c56024038c85
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 25 20:05:09 2010 +0000
trivial: add a hard libnotify dep so we can notify the user in the future
configure.ac | 1 +
contrib/gnome-color-manager.spec.in | 1 +
src/Makefile.am | 1 +
src/gcm-utils.h | 3 +++
4 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5d1f240..8640ce3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,6 +122,7 @@ PKG_CHECK_MODULES(GUDEV, gudev-1.0)
PKG_CHECK_MODULES(LCMS, lcms)
PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= $DBUS_GLIB_REQUIRED)
PKG_CHECK_MODULES(X11, x11)
+PKG_CHECK_MODULES(NOTIFY, libnotify)
PKG_CHECK_MODULES(SANE, sane-backends, has_sane=yes, has_sane=no)
if test $has_sane = "no"; then
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index f22416b..8780369 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -27,6 +27,7 @@ Requires: lcms
Requires: cups
Requires: sane-backends-libs
Requires: polkit
+Requires: libnotify
Requires: PackageKit
Requires: shared-color-profiles
Requires: libcanberra >= %{libcanberra_version}
diff --git a/src/Makefile.am b/src/Makefile.am
index 72c5f56..3cff542 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,7 @@ INCLUDES = \
$(CUPS_CFLAGS) \
$(SANE_CFLAGS) \
$(TIFF_CFLAGS) \
+ $(NOTIFY_CFLAGS) \
$(CANBERRA_CFLAGS) \
$(DBUS_GLIB_CFLAGS) \
-DG_UDEV_API_IS_SUBJECT_TO_CHANGE \
diff --git a/src/gcm-utils.h b/src/gcm-utils.h
index 549c3de..6b05090 100644
--- a/src/gcm-utils.h
+++ b/src/gcm-utils.h
@@ -44,6 +44,9 @@
#define GCM_SETTINGS_CALIBRATION_LENGTH "/apps/gnome-color-manager/calibration_length"
#define GCM_SETTINGS_SHOW_FINE_TUNING "/apps/gnome-color-manager/show_fine_tuning"
+#define GCM_SETTINGS_RECALIBRATE_PRINTER_THRESHOLD "/apps/gnome-color-manager/recalibrate_printer_threshold"
+#define GCM_SETTINGS_RECALIBRATE_DISPLAY_THRESHOLD "/apps/gnome-color-manager/recalibrate_display_threshold"
+
/* DISTROS: you will have to patch if you have changed the name of these packages */
#define GCM_PREFS_PACKAGE_NAME_SHARED_COLOR_TARGETS "shared-color-targets"
#define GCM_PREFS_PACKAGE_NAME_ARGYLLCMS "argyllcms"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]