[f-spot] Always require GConf, until we use Banshee.Configuration.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Always require GConf, until we use Banshee.Configuration.
- Date: Sun, 8 Aug 2010 13:37:36 +0000 (UTC)
commit bec7279d5921a31941b3460154585a08a40c0a69
Author: Ruben Vermeersch <ruben savanne be>
Date: Sun Aug 8 15:37:16 2010 +0200
Always require GConf, until we use Banshee.Configuration.
configure.ac | 32 +++++--------------
.../FSpot.Platform/PreferenceBackend.cs | 2 -
2 files changed, 9 insertions(+), 25 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a5fd9a8..041add7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -158,23 +158,15 @@ if pkg-config --atleast-version=2.13.0 gtk-sharp-2.0 && pkg-config --max-version
AC_MSG_ERROR([There's a svn version of gtk-sharp 2.13.x installed. Uninstall it.])
fi
-dnl - Choose PreferenceBackend (default to gconf)
-AC_ARG_ENABLE([gconf],[AC_HELP_STRING([--disable-gconf], [build without gconf preference backend])],,)
-
-AM_CONDITIONAL(NOGCONF, test "x$enable_gconf" = "xno")
-
-if test "x$enable_gconf" = "xno"; then
- CSC_DEFINES="$CSC_DEFINES -d:NOGCONF"
-else
- AC_PATH_PROG(GCONFTOOL, gconftool-2)
- AM_GCONF_SOURCE_2
- PKG_CHECK_MODULES(GCONF_SHARP, gconf-sharp-2.0 >= $GTKSHARP_REQUIRED)
- if pkg-config --atleast-version=2.18 gconf-sharp-2.0; then
- CSC_DEFINES="$CSC_DEFINES -d:GCONF_SHARP_2_18"
- fi
- if pkg-config --atleast-version=2.20.2 gconf-sharp-2.0; then
- CSC_DEFINES="$CSC_DEFINES -d:GCONF_SHARP_2_20_2"
- fi
+dnl --- GConf
+AC_PATH_PROG(GCONFTOOL, gconftool-2)
+AM_GCONF_SOURCE_2
+PKG_CHECK_MODULES(GCONF_SHARP, gconf-sharp-2.0 >= $GTKSHARP_REQUIRED)
+if pkg-config --atleast-version=2.18 gconf-sharp-2.0; then
+ CSC_DEFINES="$CSC_DEFINES -d:GCONF_SHARP_2_18"
+fi
+if pkg-config --atleast-version=2.20.2 gconf-sharp-2.0; then
+ CSC_DEFINES="$CSC_DEFINES -d:GCONF_SHARP_2_20_2"
fi
if pkg-config --atleast-version=2.16 gtk+-2.0; then
@@ -190,12 +182,6 @@ dnl -- dbus-sharp
PKG_CHECK_MODULES(NDESK_DBUS, ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED)
AC_SUBST(NDESK_DBUS_LIBS)
-dnl --- GConf
-
-AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
-AM_GCONF_SOURCE_2
-
-
dnl --- libjpeg
AC_CHECK_LIB(jpeg, jpeg_start_decompress, [],
diff --git a/src/Core/FSpot.Platform/FSpot.Platform/PreferenceBackend.cs b/src/Core/FSpot.Platform/FSpot.Platform/PreferenceBackend.cs
index 1140877..6953509 100644
--- a/src/Core/FSpot.Platform/FSpot.Platform/PreferenceBackend.cs
+++ b/src/Core/FSpot.Platform/FSpot.Platform/PreferenceBackend.cs
@@ -6,7 +6,6 @@
*
* This is free software. See COPYING for details.
*/
-#if !NOGCONF
using System;
using System.Runtime.Serialization;
@@ -108,4 +107,3 @@ namespace FSpot.Platform
}
}
}
-#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]