rpms/sylpheed/devel sylpheed-2.5.0rc-utf8.patch, NONE, 1.1 sylpheed.spec, 1.75, 1.76

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Jun 5 08:17:32 UTC 2008


Author: mschwendt

Update of /cvs/pkgs/rpms/sylpheed/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23714

Modified Files:
	sylpheed.spec 
Added Files:
	sylpheed-2.5.0rc-utf8.patch 
Log Message:
* Thu Jun  5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5.0-0.5.rc
- Fix codeconv.c to support "utf8" locales and not just "UTF-8"
  (fixes #450063).


sylpheed-2.5.0rc-utf8.patch:

--- NEW FILE sylpheed-2.5.0rc-utf8.patch ---
diff -Nur sylpheed-2.5.0rc-orig/libsylph/codeconv.c sylpheed-2.5.0rc/libsylph/codeconv.c
--- sylpheed-2.5.0rc-orig/libsylph/codeconv.c	2007-12-07 09:33:36.000000000 +0100
+++ sylpheed-2.5.0rc/libsylph/codeconv.c	2008-06-05 09:51:18.000000000 +0200
@@ -1898,7 +1898,7 @@
 		return cur_charset;
 	}
 
-	if (strcasestr(cur_locale, "UTF-8")) {
+	if (strcasestr(cur_locale, "UTF-8") || strcasestr(cur_locale, "utf8")) {
 		cur_charset = C_UTF_8;
 		return cur_charset;
 	}


Index: sylpheed.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sylpheed/devel/sylpheed.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- sylpheed.spec	22 May 2008 09:10:21 -0000	1.75
+++ sylpheed.spec	5 Jun 2008 08:16:45 -0000	1.76
@@ -5,7 +5,7 @@
 Summary: GTK+ based, lightweight, and fast email client
 Name: sylpheed
 Version: 2.5.0
-Release: 0.4.rc
+Release: 0.5.rc%{?dist}
 License: GPLv2+
 URL: http://sylpheed.sraoss.jp/
 Group: Applications/Internet
@@ -27,6 +27,7 @@
 Patch4: sylpheed-2.2.5-prefs_common.patch
 Patch5: sylpheed-2.4.8-enchant.patch
 Patch6: sylpheed-2.5.0rc-summaryview.patch
+Patch7: sylpheed-2.5.0rc-utf8.patch
 
 # For xdg-open in patch1.
 Requires: xdg-utils
@@ -54,6 +55,7 @@
 %patch4 -p1 -b .prefs_common
 %patch5 -p1 -b .enchant
 %patch6 -p1 -b .summaryview
+%patch7 -p1 -b .utf8
 
 %build
 %configure --enable-ssl %{!?_without_gpgme:--enable-gpgme} \
@@ -94,6 +96,10 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jun  5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5.0-0.5.rc
+- Fix codeconv.c to support "utf8" locales and not just "UTF-8"
+  (fixes #450063).
+
 * Thu May 22 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5.0-0.4.rc
 - Fix glibc double-free/invalidptr in src/summaryview.c
   (assumably also fixes #447815).




More information about the fedora-extras-commits mailing list