aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-03 22:26:31 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-03 22:26:31 +0800
commit9ede7a7fb4df9623b5dacc7962645550e1866129 (patch)
treec6bb329097e6b3c94f08a84011f14006c95f6160
parent6db981fa566574d16f4664687d26147acde7ad80 (diff)
downloadgsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar.gz
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar.bz2
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar.lz
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar.xz
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.tar.zst
gsoc2013-evolution-9ede7a7fb4df9623b5dacc7962645550e1866129.zip
Enforce unique-1.0 >= 1.1.2 build requirement.
Also, add unique-1.0 to GNOME_PLATFORM so it's included in CFLAGS and LIBADD variables everywhere.
-rw-r--r--configure.ac18
-rw-r--r--shell/Makefile.am1
-rw-r--r--shell/test/Makefile.am4
3 files changed, 8 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index 643d691a11..2b188abfd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -222,7 +222,8 @@ PKG_CHECK_MODULES([GNOME_PLATFORM],
libgnomecanvas-2.0 >= libgnomecanvas_minimum_version
libxml-2.0 >= libxml_minimum_version
shared-mime-info >= shared_mime_info_minimum_version
- gnome-desktop-2.0 >= gnome_desktop_minimum_version])
+ gnome-desktop-2.0 >= gnome_desktop_minimum_version
+ unique-1.0 >= unique_minimum_version])
AC_SUBST(GNOME_PLATFORM_CFLAGS)
AC_SUBST(GNOME_PLATFORM_LIBS)
@@ -1220,14 +1221,14 @@ AC_SUBST(LIBFILTER_LIBS)
dnl ***********
dnl Shell Flags
dnl ***********
-EVO_SET_COMPILE_FLAGS(SHELL, libgtkhtml-3.14 unique-1.0 libedataserverui-1.2)
+EVO_SET_COMPILE_FLAGS(SHELL, libgtkhtml-3.14 libedataserverui-1.2)
AC_SUBST(SHELL_CFLAGS)
AC_SUBST(SHELL_LIBS)
dnl *****************
dnl Addressbook Flags
dnl *****************
-EVOLUTION_ADDRESSBOOK_DEPS="libgtkhtml-3.14 libebook-1.2 libedataserverui-1.2 camel-1.2 gtkhtml-editor unique-1.0"
+EVOLUTION_ADDRESSBOOK_DEPS="libgtkhtml-3.14 libebook-1.2 libedataserverui-1.2 camel-1.2 gtkhtml-editor"
EVO_SET_COMPILE_FLAGS(EVOLUTION_ADDRESSBOOK, $EVOLUTION_ADDRESSBOOK_DEPS)
AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS)
AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS)
@@ -1260,7 +1261,7 @@ EVO_SET_COMPILE_FLAGS(LIBSOUP, libsoup-2.4 >= libsoup_minimum_version)
AC_SUBST(LIBSOUP_CFLAGS)
AC_SUBST(LIBSOUP_LIBS)
-EVO_SET_COMPILE_FLAGS(EVOLUTION_CALENDAR, libgtkhtml-3.14 libebook-1.2 libecal-1.2 libedataserverui-1.2 libebackend-1.2 $libnotify gtkhtml-editor libgdata-1.2 libgdata-google-1.2 unique-1.0)
+EVO_SET_COMPILE_FLAGS(EVOLUTION_CALENDAR, libgtkhtml-3.14 libebook-1.2 libecal-1.2 libedataserverui-1.2 libebackend-1.2 $libnotify gtkhtml-editor libgdata-1.2 libgdata-google-1.2)
AC_SUBST(EVOLUTION_CALENDAR_CFLAGS)
AC_SUBST(EVOLUTION_CALENDAR_LIBS)
@@ -1273,7 +1274,7 @@ fi
dnl **********
dnl Mail Flags
dnl **********
-EVO_SET_COMPILE_FLAGS(EVOLUTION_MAIL, camel-provider-1.2 libgtkhtml-3.14 gtkhtml-editor $mozilla_nss libebook-1.2 libedataserverui-1.2 unique-1.0)
+EVO_SET_COMPILE_FLAGS(EVOLUTION_MAIL, camel-provider-1.2 libgtkhtml-3.14 gtkhtml-editor $mozilla_nss libebook-1.2 libedataserverui-1.2)
AC_SUBST(EVOLUTION_MAIL_CFLAGS)
AC_SUBST(EVOLUTION_MAIL_LIBS)
@@ -1283,13 +1284,6 @@ dnl ***************************
DATASERVER_EXEC_VERSION=`${PKG_CONFIG} --variable=execversion evolution-data-server-1.2`
AC_SUBST(DATASERVER_EXEC_VERSION)
-dnl **********
-dnl Test Flags
-dnl **********
-EVO_SET_COMPILE_FLAGS(EVOLUTION_TEST, unique-1.0)
-AC_SUBST(EVOLUTION_TEST_CFLAGS)
-AC_SUBST(EVOLUTION_TEST_LIBS)
-
dnl *****************
dnl EggSMClient Flags
dnl *****************
diff --git a/shell/Makefile.am b/shell/Makefile.am
index b941ee2753..cdf1efc32d 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -123,6 +123,7 @@ evolution_CPPFLAGS = \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(datadir)"\" \
+ $(GNOME_PLATFORM_CFLAGS) \
$(TZDIALOG_CFLAGS) \
$(SHELL_CFLAGS)
diff --git a/shell/test/Makefile.am b/shell/test/Makefile.am
index 7ba2eaf55b..5efa3785d6 100644
--- a/shell/test/Makefile.am
+++ b/shell/test/Makefile.am
@@ -9,8 +9,7 @@ libevolution_module_test_la_CPPFLAGS = \
-I$(top_srcdir)/widgets/misc \
-I$(top_builddir)/shell \
-DG_LOG_DOMAIN=\"evolution-test\" \
- $(GNOME_PLATFORM_CFLAGS) \
- $(EVOLUTION_TEST_CFLAGS)
+ $(GNOME_PLATFORM_CFLAGS)
libevolution_module_test_la_SOURCES = \
evolution-module-test.c \
@@ -21,7 +20,6 @@ libevolution_module_test_la_SOURCES = \
libevolution_module_test_la_LIBADD = \
$(top_builddir)/shell/libeshell.la \
- $(EVOLUTION_TEST_LIBS) \
$(GNOME_PLATFORM_LIBS)
libevolution_module_test_la_LDFLAGS = \