1 |
tetromino 12/09/28 04:27:43 |
2 |
|
3 |
Modified: tracker-0.14.2-icu-no-LC_ALL.patch |
4 |
Log: |
5 |
Evolution plugin fundamentally incompatible with evolution-3.6, see bug #436460. Update license. Unify tracker-0.14.2-r1 and -9999 ebuilds as much as possible for ease of maintenance. Update icu patch to upstreamed version. Vala is not needed for 0.14.2 tarball release. Drop old versions. |
6 |
|
7 |
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-misc/tracker/files/tracker-0.14.2-icu-no-LC_ALL.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/files/tracker-0.14.2-icu-no-LC_ALL.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/files/tracker-0.14.2-icu-no-LC_ALL.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/files/tracker-0.14.2-icu-no-LC_ALL.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: tracker-0.14.2-icu-no-LC_ALL.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/tracker/files/tracker-0.14.2-icu-no-LC_ALL.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- tracker-0.14.2-icu-no-LC_ALL.patch 20 Jul 2012 15:47:54 -0000 1.1 |
23 |
+++ tracker-0.14.2-icu-no-LC_ALL.patch 28 Sep 2012 04:27:43 -0000 1.2 |
24 |
@@ -1,23 +1,20 @@ |
25 |
-From c0f298d3db5202d1e6de7e093923f396116eefc6 Mon Sep 17 00:00:00 2001 |
26 |
+From 48713ba26af38a15a97fc7ebb0828cd287ef2447 Mon Sep 17 00:00:00 2001 |
27 |
From: Alexandre Rostovtsev <tetromino@g.o> |
28 |
Date: Fri, 20 Jul 2012 10:46:33 -0400 |
29 |
-Subject: [PATCH] FTS parser: ICU cannot handle locale descriptions of > 157 |
30 |
- characters |
31 |
+Subject: [PATCH] libtracker-fts: ICU cannot handle complex locale |
32 |
+ descriptions |
33 |
|
34 |
-ICU's unicode/uloc.h #defines ULOC_FULLNAME_CAPACITY as 157. If a locale |
35 |
-description cannot fit in a buffer of size ULOC_FULLNAME_CAPACITY, |
36 |
-ubrk_open(UBRK_WORD, locale, ...) will fail when attempring to |
37 |
-canonicalize the locale string. |
38 |
+ubrk_open expects the name of just a single locale (e.g. "en_US.UTF-8"), |
39 |
+not the full definition of your various locale variables and their |
40 |
+values as returned by glibc's setlocale(LC_ALL, NULL). |
41 |
|
42 |
-To avoid this, we must not pass setlocale(LC_ALL, NULL) to ICU since that |
43 |
-can easily be >200 chars for common locales. Instead, limit ourselves to |
44 |
-LC_CTYPE, since after all, that's all we need to determine word |
45 |
-boundaries. |
46 |
+Instead, limit ourselves to LC_CTYPE, since after all, that's all we |
47 |
+need to determine word boundaries. |
48 |
|
49 |
-https://bugzilla.gnome.org/show_bug.cgi?id=675660 |
50 |
+Fixes GB#675660. |
51 |
--- |
52 |
- src/libtracker-fts/tracker-parser-libicu.c | 2 +- |
53 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
54 |
+ src/libtracker-fts/tracker-parser-libicu.c | 2 +- |
55 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
56 |
|
57 |
diff --git a/src/libtracker-fts/tracker-parser-libicu.c b/src/libtracker-fts/tracker-parser-libicu.c |
58 |
index 7388f69..69f75ed 100644 |
59 |
@@ -33,5 +30,5 @@ |
60 |
parser->utxt_size, |
61 |
&error); |
62 |
-- |
63 |
-1.7.8.6 |
64 |
+1.7.12 |