[Lunar-commits] <moonbase> evolution: compile with gtk+-2 24.1

Paul Bredbury brebs at lunar-linux.org
Fri Feb 25 08:35:18 CET 2011


commit 60a48a9e394d6115bf15e0a68d7d421996830ab7
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Feb 25 14:35:18 2011 +0700

    evolution: compile with gtk+-2 24.1
---
 gnome2/desktop/evolution-data-server/BUILD |    5 +++++
 gnome2/desktop/evolution/BUILD             |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/gnome2/desktop/evolution-data-server/BUILD b/gnome2/desktop/evolution-data-server/BUILD
index e252e87..d2f4682 100644
--- a/gnome2/desktop/evolution-data-server/BUILD
+++ b/gnome2/desktop/evolution-data-server/BUILD
@@ -1,5 +1,10 @@
 (
 
+  if grep -q "This is GTK+ version 2\.24" /usr/share/doc/gtk+-2/README ; then
+    # To compile with gtk+-2 24.1
+    sedit "s:-DGTK_DISABLE_DEPRECATED::" configure
+  fi  &&
+
   OPTS+=" --without-weather --enable-largefile --enable-ipv6"  &&
 
   default_build
diff --git a/gnome2/desktop/evolution/BUILD b/gnome2/desktop/evolution/BUILD
index bb6c2ad..5f87d47 100644
--- a/gnome2/desktop/evolution/BUILD
+++ b/gnome2/desktop/evolution/BUILD
@@ -2,6 +2,11 @@
 
   patch_it $SOURCE2 1 &&
 
+  if grep -q "This is GTK+ version 2\.24" /usr/share/doc/gtk+-2/README ; then
+    # To compile with gtk+-2 24.1
+    sedit "s:-DGTK_DISABLE_DEPRECATED::" configure
+  fi &&
+
   OPTS+=" --disable-nm" &&
 
   default_build


More information about the Lunar-commits mailing list