Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: mail-client/evolution/, mail-client/evolution/files/
Date: Thu, 01 Sep 2011 23:16:44
Message-Id: 5944071002deb8cce3f9551c531a725ab5e29708.tetromino@gentoo
1 commit: 5944071002deb8cce3f9551c531a725ab5e29708
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 1 23:05:02 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Thu Sep 1 23:05:02 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=59440710
7
8 mail-client/evolution: add upstream patches to fix build
9
10 No version bump since people who already installed evolution should not
11 need to recompile. Fixes linking with new versions of gtk+ and adapts to
12 API changes in glib-2.29.19.
13
14 ---
15 mail-client/evolution/evolution-3.1.90.ebuild | 4 +++
16 .../files/evolution-3.1.90-g_unix_signal.patch | 28 ++++++++++++++++++++
17 .../evolution/files/evolution-3.1.90-libm.patch | 25 +++++++++++++++++
18 3 files changed, 57 insertions(+), 0 deletions(-)
19
20 diff --git a/mail-client/evolution/evolution-3.1.90.ebuild b/mail-client/evolution/evolution-3.1.90.ebuild
21 index 49c720f..3a88b51 100644
22 --- a/mail-client/evolution/evolution-3.1.90.ebuild
23 +++ b/mail-client/evolution/evolution-3.1.90.ebuild
24 @@ -157,6 +157,10 @@ pkg_setup() {
25 }
26
27 src_prepare() {
28 + # Important build fixes from upstream, will be in next release
29 + epatch "${FILESDIR}/${P}-libm.patch"
30 + epatch "${FILESDIR}/${P}-g_unix_signal.patch"
31 +
32 # Use NSS/NSPR only if 'ssl' is enabled.
33 if use ssl ; then
34 sed -e 's|mozilla-nss|nss|' \
35
36 diff --git a/mail-client/evolution/files/evolution-3.1.90-g_unix_signal.patch b/mail-client/evolution/files/evolution-3.1.90-g_unix_signal.patch
37 new file mode 100644
38 index 0000000..eb69f5a
39 --- /dev/null
40 +++ b/mail-client/evolution/files/evolution-3.1.90-g_unix_signal.patch
41 @@ -0,0 +1,28 @@
42 +From 3e3860e0ecc9f330c7c0df143641a01073ad976c Mon Sep 17 00:00:00 2001
43 +From: Matthew Barnes <mbarnes@××××××.com>
44 +Date: Wed, 31 Aug 2011 16:30:56 +0000
45 +Subject: Bug 657836 - Work around g_unix_signal API changes.
46 +
47 +Work around GLib API churn with regard to registering UNIX signal
48 +callbacks on the main loop. GLib >= 2.29.5 calls the function one
49 +thing, GLib >= 2.29.19 calls it another.
50 +---
51 +diff --git a/shell/main.c b/shell/main.c
52 +index 95dc1b9..8e1d533 100644
53 +--- a/shell/main.c
54 ++++ b/shell/main.c
55 +@@ -613,7 +613,11 @@ main (gint argc, gchar **argv)
56 + }
57 +
58 + #ifdef G_OS_UNIX
59 +-#if GLIB_CHECK_VERSION(2,29,5)
60 ++#if GLIB_CHECK_VERSION(2,29,19)
61 ++ g_unix_signal_add_full (
62 ++ G_PRIORITY_DEFAULT, SIGTERM,
63 ++ handle_term_signal, NULL, NULL);
64 ++#elif GLIB_CHECK_VERSION(2,29,5)
65 + g_unix_signal_add_watch_full (
66 + SIGTERM, G_PRIORITY_DEFAULT,
67 + handle_term_signal, NULL, NULL);
68 +--
69 +cgit v0.9.0.2
70
71 diff --git a/mail-client/evolution/files/evolution-3.1.90-libm.patch b/mail-client/evolution/files/evolution-3.1.90-libm.patch
72 new file mode 100644
73 index 0000000..97b78c0
74 --- /dev/null
75 +++ b/mail-client/evolution/files/evolution-3.1.90-libm.patch
76 @@ -0,0 +1,25 @@
77 +From bd719c5fd879e96450d81339ff85f525a1ad8a13 Mon Sep 17 00:00:00 2001
78 +From: Frederic Peters <fpeters@××.be>
79 +Date: Wed, 31 Aug 2011 01:24:21 +0000
80 +Subject: Bug 657765 - Explicitly link libgnomecanvas against libm
81 +
82 +We used to implicitly link to libm through gtk+, but that got dropped.
83 +
84 +http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
85 +---
86 +diff --git a/libgnomecanvas/Makefile.am b/libgnomecanvas/Makefile.am
87 +index 4032c85..bb6366b 100644
88 +--- a/libgnomecanvas/Makefile.am
89 ++++ b/libgnomecanvas/Makefile.am
90 +@@ -59,7 +59,8 @@ MARSHAL_GENERATED = \
91 + gnome-canvas-marshal.h
92 +
93 + libgnomecanvas_la_LIBADD = \
94 +- $(GNOME_PLATFORM_LIBS)
95 ++ $(GNOME_PLATFORM_LIBS) \
96 ++ $(MATH_LIB)
97 +
98 + libgnomecanvas_la_LDFLAGS = $(NO_UNDEFINED)
99 +
100 +--
101 +cgit v0.9.0.2