Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: gnome-extra/evolution-data-server/files/, gnome-extra/evolution-data-server/
Date: Tue, 27 Sep 2011 05:58:21
Message-Id: 18d225b083743ee819ea70b6b43c36a645a81385.tetromino@gentoo
1 commit: 18d225b083743ee819ea70b6b43c36a645a81385
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 27 05:27:09 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Tue Sep 27 05:27:09 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=18d225b0
7
8 gnome-extra/evolution-data-server: 3.1.90-r1 → 3.2.0
9
10 Version bump. Patches were applied upstream.
11
12 ---
13 ...1.ebuild => evolution-data-server-3.2.0.ebuild} | 6 --
14 ...volution-data-server-3.1.90-g_unix_signal.patch | 45 ---------------
15 ....1.90-introspection-e_source_set_property.patch | 21 -------
16 ...ion-data-server-3.1.90-introspection-ecal.patch | 22 -------
17 ...ution-data-server-3.1.90-password-in-logs.patch | 60 --------------------
18 5 files changed, 0 insertions(+), 154 deletions(-)
19
20 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.1.90-r1.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.2.0.ebuild
21 similarity index 94%
22 rename from gnome-extra/evolution-data-server/evolution-data-server-3.1.90-r1.ebuild
23 rename to gnome-extra/evolution-data-server/evolution-data-server-3.2.0.ebuild
24 index a835b18..96f7bc4 100644
25 --- a/gnome-extra/evolution-data-server/evolution-data-server-3.1.90-r1.ebuild
26 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.2.0.ebuild
27 @@ -94,12 +94,6 @@ pkg_setup() {
28 src_prepare() {
29 gnome2_src_prepare
30
31 - # Important upstream patches, will be in next release
32 - epatch "${FILESDIR}/${P}-password-in-logs.patch"
33 - epatch "${FILESDIR}/${P}-introspection-ecal.patch"
34 - epatch "${FILESDIR}/${P}-introspection-e_source_set_property.patch"
35 - epatch "${FILESDIR}/${P}-g_unix_signal.patch"
36 -
37 # GNOME bug 611353 (skips failing test atm)
38 # XXX: uncomment when there's a proper fix
39 #epatch "${FILESDIR}/e-d-s-camel-skip-failing-test.patch"
40
41 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-g_unix_signal.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-g_unix_signal.patch
42 deleted file mode 100644
43 index 6ddd54e..0000000
44 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-g_unix_signal.patch
45 +++ /dev/null
46 @@ -1,45 +0,0 @@
47 -From e318b8164aa52b804057c35ccfea49bfb06ed77c Mon Sep 17 00:00:00 2001
48 -From: Denis Washington <denisw@××××××.de>
49 -Date: Wed, 31 Aug 2011 16:27:08 +0000
50 -Subject: Bug 657836 - Work around g_unix_signal API changes.
51 -
52 -Work around GLib API churn with regard to registering UNIX signal
53 -callbacks on the main loop. GLib >= 2.29.5 calls the function one
54 -thing, GLib >= 2.29.19 calls it another.
55 ----
56 -diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
57 -index d0a4546..f53ddf8 100644
58 ---- a/addressbook/libedata-book/e-data-book-factory.c
59 -+++ b/addressbook/libedata-book/e-data-book-factory.c
60 -@@ -844,7 +844,11 @@ main (gint argc, gchar **argv)
61 - e_data_book_migrate_basedir ();
62 -
63 - #ifdef G_OS_UNIX
64 --#if GLIB_CHECK_VERSION(2,29,5)
65 -+#if GLIB_CHECK_VERSION(2,29,19)
66 -+ g_unix_signal_add_full (
67 -+ G_PRIORITY_DEFAULT, SIGTERM,
68 -+ handle_term_signal, NULL, NULL);
69 -+#elif GLIB_CHECK_VERSION(2,29,5)
70 - g_unix_signal_add_watch_full (
71 - SIGTERM, G_PRIORITY_DEFAULT,
72 - handle_term_signal, NULL, NULL);
73 -diff --git a/calendar/libedata-cal/e-data-cal-factory.c b/calendar/libedata-cal/e-data-cal-factory.c
74 -index 32771e1..d1f63b4 100644
75 ---- a/calendar/libedata-cal/e-data-cal-factory.c
76 -+++ b/calendar/libedata-cal/e-data-cal-factory.c
77 -@@ -1070,7 +1070,11 @@ main (gint argc, gchar **argv)
78 - e_data_cal_migrate_basedir ();
79 -
80 - #ifdef G_OS_UNIX
81 --#if GLIB_CHECK_VERSION(2,29,5)
82 -+#if GLIB_CHECK_VERSION(2,29,19)
83 -+ g_unix_signal_add_full (
84 -+ G_PRIORITY_DEFAULT, SIGTERM,
85 -+ handle_term_signal, NULL, NULL);
86 -+#elif GLIB_CHECK_VERSION(2,29,5)
87 - g_unix_signal_add_watch_full (
88 - SIGTERM, G_PRIORITY_DEFAULT,
89 - handle_term_signal, NULL, NULL);
90 ---
91 -cgit v0.9.0.2
92
93 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-e_source_set_property.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-e_source_set_property.patch
94 deleted file mode 100644
95 index d5f130b..0000000
96 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-e_source_set_property.patch
97 +++ /dev/null
98 @@ -1,21 +0,0 @@
99 -From 1f27a7fb4ccc8b119e60c8281a71f1e3309fd959 Mon Sep 17 00:00:00 2001
100 -From: Raul Gutierrez Segales <rgs@××××××××××××.uk>
101 -Date: Thu, 01 Sep 2011 16:19:58 +0000
102 -Subject: Introspection: e_source_set_proproperty's property_value param can be null
103 -
104 ----
105 -diff --git a/libedataserver/e-source.c b/libedataserver/e-source.c
106 -index bbcaad4..971ec5a 100644
107 ---- a/libedataserver/e-source.c
108 -+++ b/libedataserver/e-source.c
109 -@@ -1135,7 +1135,7 @@ e_source_get_duped_property (ESource *source,
110 - * e_source_set_property:
111 - * @source: an #ESource
112 - * @property_name: a custom property name
113 -- * @property_value: a new value for the property, or %NULL
114 -+ * @property_value: (allow-none): a new value for the property, or %NULL
115 - *
116 - * Create a new custom #ESource property or replaces an existing one. If
117 - * @property_value is %NULL, the property is removed from @source. This
118 ---
119 -cgit v0.9.0.2
120
121 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-ecal.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-ecal.patch
122 deleted file mode 100644
123 index ad58f02..0000000
124 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-introspection-ecal.patch
125 +++ /dev/null
126 @@ -1,22 +0,0 @@
127 -From a3ba2ff92fd84d89d0fd97dce77cfad71bef1aa8 Mon Sep 17 00:00:00 2001
128 -From: Raul Gutierrez Segales <rgs@××××××××××××.uk>
129 -Date: Wed, 31 Aug 2011 09:49:44 +0000
130 -Subject: Introspection: add the correct header to libecal's GIR file
131 -
132 ----
133 -diff --git a/calendar/libecal/Makefile.am b/calendar/libecal/Makefile.am
134 -index 1ae10ad..de74a1e 100644
135 ---- a/calendar/libecal/Makefile.am
136 -+++ b/calendar/libecal/Makefile.am
137 -@@ -72,7 +72,8 @@ DISTCLEANFILES = $(pkgconfig_DATA)
138 -
139 - -include $(INTROSPECTION_MAKEFILE)
140 - INTROSPECTION_GIRS =
141 --INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/libedataserver --identifier-prefix E --pkg-export libecal-1.2
142 -+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/libedataserver --identifier-prefix E --pkg-export libecal-1.2 \
143 -+ --c-include="libecal/e-cal.h"
144 - INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libedataserver
145 -
146 - if HAVE_INTROSPECTION
147 ---
148 -cgit v0.9.0.2
149
150 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-password-in-logs.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-password-in-logs.patch
151 deleted file mode 100644
152 index 455e512..0000000
153 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-3.1.90-password-in-logs.patch
154 +++ /dev/null
155 @@ -1,60 +0,0 @@
156 -From bbe1f6ced61be92019d6d7f85ee765ca3166517d Mon Sep 17 00:00:00 2001
157 -From: Milan Crha <mcrha@××××××.com>
158 -Date: Tue, 30 Aug 2011 14:46:56 +0000
159 -Subject: Do not expose password in imapx log
160 -
161 ----
162 -diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
163 -index 4a859d8..15ca8ef 100644
164 ---- a/camel/providers/imapx/camel-imapx-server.c
165 -+++ b/camel/providers/imapx/camel-imapx-server.c
166 -@@ -629,7 +629,7 @@ imapx_command_addv (CamelIMAPXCommand *ic, const gchar *fmt, va_list ap)
167 - break;
168 - case 's': /* simple string */
169 - s = va_arg (ap, gchar *);
170 -- c(ic->is->tagprefix, "got string '%s'\n", s);
171 -+ c(ic->is->tagprefix, "got string '%s'\n", g_str_has_prefix (fmt, "LOGIN") ? "***" : s);
172 - output_string:
173 - if (*s) {
174 - guchar mask = imapx_is_mask (s);
175 -@@ -832,7 +832,11 @@ camel_imapx_command_close (CamelIMAPXCommand *ic)
176 -
177 - byte_array = camel_stream_mem_get_byte_array (ic->mem);
178 -
179 -- c(ic->is->tagprefix, "completing command buffer is [%d] '%.*s'\n", byte_array->len, (gint)byte_array->len, byte_array->data);
180 -+ if (g_str_has_prefix ((const gchar *) byte_array->data, "LOGIN")) {
181 -+ c(ic->is->tagprefix, "completing command buffer is [%d] 'LOGIN...'\n", byte_array->len);
182 -+ } else {
183 -+ c(ic->is->tagprefix, "completing command buffer is [%d] '%.*s'\n", byte_array->len, (gint)byte_array->len, byte_array->data);
184 -+ }
185 - if (byte_array->len > 0)
186 - imapx_command_add_part (ic, CAMEL_IMAPX_COMMAND_SIMPLE, NULL);
187 -
188 -@@ -863,7 +867,7 @@ imapx_command_start (CamelIMAPXServer *imap, CamelIMAPXCommand *ic)
189 -
190 - g_static_rec_mutex_lock (&imap->ostream_lock);
191 -
192 -- c(imap->tagprefix, "Starting command (active=%d,%s) %c%05u %s\r\n", camel_dlist_length(&imap->active), imap->literal?" literal":"", imap->tagprefix, ic->tag, cp->data);
193 -+ c(imap->tagprefix, "Starting command (active=%d,%s) %c%05u %s\r\n", camel_dlist_length(&imap->active), imap->literal?" literal":"", imap->tagprefix, ic->tag, cp->data && g_str_has_prefix (cp->data, "LOGIN") ? "LOGIN..." : cp->data);
194 - if (imap->stream != NULL) {
195 - gchar *string;
196 -
197 -diff --git a/camel/providers/imapx/camel-imapx-stream.c b/camel/providers/imapx/camel-imapx-stream.c
198 -index 72b0888..d3b74e6 100644
199 ---- a/camel/providers/imapx/camel-imapx-stream.c
200 -+++ b/camel/providers/imapx/camel-imapx-stream.c
201 -@@ -149,7 +149,11 @@ imapx_stream_write (CamelStream *stream,
202 - {
203 - CamelIMAPXStream *is = (CamelIMAPXStream *) stream;
204 -
205 -- io(is->tagprefix, "camel_imapx_write: '%.*s'\n", (gint)n, buffer);
206 -+ if (g_strstr_len (buffer, n, "LOGIN")) {
207 -+ io(is->tagprefix, "camel_imapx_write: 'LOGIN...'\n");
208 -+ } else {
209 -+ io(is->tagprefix, "camel_imapx_write: '%.*s'\n", (gint)n, buffer);
210 -+ }
211 -
212 - return camel_stream_write (is->source, buffer, n, cancellable, error);
213 - }
214 ---
215 -cgit v0.9.0.2