rpms/gtk2/F-8 builder-turkish.patch,NONE,1.1 gtk2.spec,1.264,1.265
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Thu Oct 25 13:06:35 UTC 2007
- Previous message (by thread): rpms/kdetoys/F-7 .cvsignore, 1.9, 1.10 kdetoys.spec, 1.9, 1.10 sources, 1.7, 1.8
- Next message (by thread): rpms/system-config-vsftpd/devel system-config-vsftpd-0.4.5-fix_log.patch, NONE, 1.1 system-config-vsftpd.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/extras/rpms/gtk2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16774
Modified Files:
gtk2.spec
Added Files:
builder-turkish.patch
Log Message:
Fix a problem preventing totem to work in the Turkish locale
builder-turkish.patch:
--- NEW FILE builder-turkish.patch ---
--- trunk/gtk/gtkbuilder.c 2007/09/14 00:56:57 18820
+++ trunk/gtk/gtkbuilder.c 2007/10/22 09:15:50 18939
@@ -21,7 +21,6 @@
*/
#include <config.h>
-#include <ctype.h> /* tolower, toupper */
#include <errno.h> /* errno */
#include <stdlib.h> /* strtol, strtoul */
#include <string.h> /* strlen */
@@ -210,13 +209,13 @@
{
c = name[i];
/* skip if uppercase, first or previous is uppercase */
- if ((c == toupper (c) &&
- i > 0 && name[i-1] != toupper (name[i-1])) ||
- (i > 2 && name[i] == toupper (name[i]) &&
- name[i-1] == toupper (name[i-1]) &&
- name[i-2] == toupper (name[i-2])))
+ if ((c == g_ascii_toupper (c) &&
+ i > 0 && name[i-1] != g_ascii_toupper (name[i-1])) ||
+ (i > 2 && name[i] == g_ascii_toupper (name[i]) &&
+ name[i-1] == g_ascii_toupper (name[i-1]) &&
+ name[i-2] == g_ascii_toupper (name[i-2])))
g_string_append_c (symbol_name, '_');
- g_string_append_c (symbol_name, tolower (c));
+ g_string_append_c (symbol_name, g_ascii_tolower (c));
}
g_string_append (symbol_name, "_get_type");
Index: gtk2.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2/F-8/gtk2.spec,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -r1.264 -r1.265
--- gtk2.spec 22 Oct 2007 13:39:38 -0000 1.264
+++ gtk2.spec 25 Oct 2007 13:04:49 -0000 1.265
@@ -16,7 +16,7 @@
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
Name: gtk2
Version: %{base_version}
-Release: 3%{?dist}
+Release: 5%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: http://download.gnome.org/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
@@ -37,6 +37,9 @@
# http://bugzilla.gnome.org/show_bug.cgi?id=488119
Patch4: system-log-crash.patch
+# fixed in upstream svn
+Patch5: builder-turkish.patch
+
BuildRequires: atk-devel >= %{atk_version}
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: glib2-devel >= %{glib2_version}
@@ -115,6 +118,7 @@
%patch2 -p1 -b .workaround
%patch3 -p1 -b .firefox-print-preview
%patch4 -p1 -b .system-log-crash
+%patch5 -p1 -b .builder-turkish
for i in config.guess config.sub ; do
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -297,6 +301,10 @@
%{_datadir}/gtk-2.0
%changelog
+* Thu Oct 25 2007 Matthias Clasen <mclasen at redhat.com> - 2.12.1-5
+- Fix a bug that prevents GtkBuilder-using apps (like totem)
+ to run in some locales (like Turkish) (#348631)
+
* Mon Oct 22 2007 Matthias Clasen <mclasen at redhat.com> - 2.12.1-4
- Fix a crash in gnome-system-log (#321701)
- Previous message (by thread): rpms/kdetoys/F-7 .cvsignore, 1.9, 1.10 kdetoys.spec, 1.9, 1.10 sources, 1.7, 1.8
- Next message (by thread): rpms/system-config-vsftpd/devel system-config-vsftpd-0.4.5-fix_log.patch, NONE, 1.1 system-config-vsftpd.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list