rpms/icu/devel icu.icu5431.malayam.patch, 1.3, 1.4 icu.spec, 1.60, 1.61

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Thu Dec 13 14:24:17 UTC 2007


Author: caolanm

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

Modified Files:
	icu.icu5431.malayam.patch icu.spec 
Log Message:
Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30

icu.icu5431.malayam.patch:

Index: icu.icu5431.malayam.patch
===================================================================
RCS file: /cvs/pkgs/rpms/icu/devel/icu.icu5431.malayam.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- icu.icu5431.malayam.patch	30 Apr 2007 09:37:13 -0000	1.3
+++ icu.icu5431.malayam.patch	13 Dec 2007 14:24:07 -0000	1.4
@@ -57,7 +57,25 @@
  static const FeatureMap featureMap[] =
  {
      {loclFeatureTag, loclFeatureMask},
-@@ -629,6 +651,21 @@
+@@ -559,6 +623,17 @@
+                 hasBelowBaseForm = IndicClassTable::hasBelowBaseForm(charClass) && !hasNukta;
+                 hasPostBaseForm  = IndicClassTable::hasPostBaseForm(charClass)  && !hasNukta;
+ 
++                /* for the special conjuction of Cons+0x0d4d+0x0d30 of Malayalam */
++                if ((baseConsonant - 2 >= 0) && hasPostBaseForm && 
++                    (chars[baseConsonant - 1] == 0x0d4d) &&
++                    (chars[baseConsonant] == 0x0d30) &&
++                    ((chars[baseConsonant - 2] >= 0x0d15) &&
++                     (chars[baseConsonant - 2] <= 0x0d39)))  {
++                   if (baseConsonant < 3 || chars[baseConsonant - 3] != 0x0d4d) {
++                       hasPostBaseForm  = false;
++                   }
++                }
++
+                 if (IndicClassTable::isConsonant(charClass)) {
+                     if (postBaseLimit == 0 || seenVattu ||
+                         (baseConsonant > baseLimit && !classTable->isVirama(chars[baseConsonant - 1])) ||
+@@ -645,6 +720,21 @@
                  output.writeChar(chars[i], i, tagArray4);
              }
  


Index: icu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/icu/devel/icu.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- icu.spec	12 Dec 2007 09:25:09 -0000	1.60
+++ icu.spec	13 Dec 2007 14:24:07 -0000	1.61
@@ -1,6 +1,6 @@
 Name:      icu
 Version:   3.8
-Release:   5%{?dist}
+Release:   6%{?dist}
 Summary:   International Components for Unicode
 Group:     Development/Tools
 License:   MIT
@@ -146,6 +146,9 @@
 %doc source/__docs/%{name}/html/*
 
 %changelog
+* Thu Dec 13 2007 Caolan McNamara <caolanm at redhat.com> - 3.8-6
+- Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30
+
 * Tue Dec 11 2007 Caolan McNamara <caolanm at redhat.com> - 3.8-5
 - Resolves: rhbz#415541 icu.icu6084.zwnj.notdef.patch
 




More information about the scm-commits mailing list