rpms/scim/FC-4 gtkimm-clear-preedit-on-reset-174143.patch, NONE, 1.1 rawcode-unicode-maxlength.patch, NONE, 1.1 scim-panjabi-punjabi.patch, NONE, 1.1 scim.pc-versioned-moduledir-179706.patch, NONE, 1.1

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Fri Feb 24 02:34:27 UTC 2006


Author: petersen

Update of /cvs/extras/rpms/scim/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18342

Added Files:
	gtkimm-clear-preedit-on-reset-174143.patch 
	rawcode-unicode-maxlength.patch scim-panjabi-punjabi.patch 
	scim.pc-versioned-moduledir-179706.patch 
Log Message:
remember to add new patches


gtkimm-clear-preedit-on-reset-174143.patch:

--- NEW FILE gtkimm-clear-preedit-on-reset-174143.patch ---
--- scim-1.4.4/extras/gtk2_immodule/gtkimcontextscim.cpp.orig   2005-12-06 10:11:27.732624776 +0800
+++ scim-1.4.4/extras/gtk2_immodule/gtkimcontextscim.cpp        2005-12-02 15:36:36.000000000 +0800
@@ -1256,8 +1256,10 @@
     if (hotkey_action == SCIM_FRONTEND_HOTKEY_TRIGGER) {
         if (!ic->impl->is_on)
             turn_on_ic (ic);
-        else
+        else {
+            ic->impl->si->reset();
             turn_off_ic (ic);
+        }
         ret = true;
     } else if (hotkey_action == SCIM_FRONTEND_HOTKEY_ON) {
         if (!ic->impl->is_on)

rawcode-unicode-maxlength.patch:

--- NEW FILE rawcode-unicode-maxlength.patch ---
Index: modules/IMEngine/scim_rawcode_imengine.cpp
===================================================================
RCS file: /cvsroot/scim/scim/modules/IMEngine/scim_rawcode_imengine.cpp,v
retrieving revision 1.7.2.5
retrieving revision 1.7.2.6
diff -u -r1.7.2.5 -r1.7.2.6
--- modules/IMEngine/scim_rawcode_imengine.cpp	12 Jan 2006 07:00:36 -0000	1.7.2.5
+++ modules/IMEngine/scim_rawcode_imengine.cpp	18 Jan 2006 05:44:52 -0000	1.7.2.6
@@ -23,7 +23,7 @@
  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  * Boston, MA  02111-1307  USA
  *
- * $Id: scim_rawcode_imengine.cpp,v 1.7.2.5 2006/01/12 07:00:36 suzhe Exp $
+ * $Id: scim_rawcode_imengine.cpp,v 1.7.2.6 2006/01/18 05:44:52 suzhe Exp $
  *
  */
 
@@ -430,9 +430,20 @@
     }
 
     if (m_unicode) {
-        if (m_preedit_string.length () >= 3 && m_preedit_string.length () < 6 && create_lookup_table () > 0) {
+        size_t maxlen = 6;
+
+        if (m_preedit_string.length () > 0) {
+            if (m_preedit_string [0] == '0')
+                maxlen = 4;
+            else if (m_preedit_string [0] == '1')
+                maxlen = 6;
+            else
+                maxlen = 5;
+        }
+
+        if (m_preedit_string.length () >= 3 && m_preedit_string.length () < maxlen && create_lookup_table () > 0) {
             update_lookup_table (m_lookup_table);
-        } else if (m_preedit_string.length () == 6) {
+        } else if (m_preedit_string.length () == maxlen) {
             WideString str;
             ucs4_t code = get_unicode_value (m_preedit_string);
 

scim-panjabi-punjabi.patch:

--- NEW FILE scim-panjabi-punjabi.patch ---
Index: po/cs.po
===================================================================
RCS file: /cvsroot/scim/scim/po/cs.po,v
retrieving revision 1.19
diff -u -r1.19 cs.po
--- po/cs.po	16 Dec 2005 12:23:41 -0000	1.19
+++ po/cs.po	22 Feb 2006 02:50:49 -0000
@@ -274,7 +274,7 @@
 msgstr "Orijština"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "Pandžábština"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/de.po
===================================================================
RCS file: /cvsroot/scim/scim/po/de.po,v
retrieving revision 1.40
diff -u -r1.40 de.po
--- po/de.po	18 Dec 2005 10:20:20 -0000	1.40
+++ po/de.po	22 Feb 2006 02:50:49 -0000
@@ -273,7 +273,7 @@
 msgstr "Orija"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "Pandschabi"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/fr.po
===================================================================
RCS file: /cvsroot/scim/scim/po/fr.po,v
retrieving revision 1.32
diff -u -r1.32 fr.po
--- po/fr.po	16 Dec 2005 12:23:41 -0000	1.32
+++ po/fr.po	22 Feb 2006 02:50:49 -0000
@@ -271,8 +271,8 @@
 msgstr "Oriya"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
-msgstr "Panjabi"
+msgid "Punjabi"
+msgstr "Punjabi"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
 msgid "Polish"
Index: po/it.po
===================================================================
RCS file: /cvsroot/scim/scim/po/it.po,v
retrieving revision 1.22
diff -u -r1.22 it.po
--- po/it.po	16 Dec 2005 12:23:41 -0000	1.22
+++ po/it.po	22 Feb 2006 02:50:49 -0000
@@ -273,8 +273,8 @@
 msgstr "Oriya"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
-msgstr "Panjabi"
+msgid "Punjabi"
+msgstr "Punjabi"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
 msgid "Polish"
Index: po/ja.po
===================================================================
RCS file: /cvsroot/scim/scim/po/ja.po,v
retrieving revision 1.52
diff -u -r1.52 ja.po
--- po/ja.po	16 Dec 2005 12:23:41 -0000	1.52
+++ po/ja.po	22 Feb 2006 02:50:50 -0000
@@ -269,7 +269,7 @@
 msgstr "オリヤー語"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "パンジャブ語"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/ko.po
===================================================================
RCS file: /cvsroot/scim/scim/po/ko.po,v
retrieving revision 1.42
diff -u -r1.42 ko.po
--- po/ko.po	18 Dec 2005 10:20:21 -0000	1.42
+++ po/ko.po	22 Feb 2006 02:50:50 -0000
@@ -271,7 +271,7 @@
 msgstr "오리야어"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "펀자브어"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/pa.po
===================================================================
RCS file: /cvsroot/scim/scim/po/pa.po,v
retrieving revision 1.6
diff -u -r1.6 pa.po
--- po/pa.po	16 Dec 2005 12:23:41 -0000	1.6
+++ po/pa.po	22 Feb 2006 02:50:50 -0000
@@ -273,7 +273,7 @@
 msgstr "ਓੜੀਆ"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "ਪੰਜਾਬੀ"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/zh_CN.po
===================================================================
RCS file: /cvsroot/scim/scim/po/zh_CN.po,v
retrieving revision 1.157
diff -u -r1.157 zh_CN.po
--- po/zh_CN.po	16 Dec 2005 12:23:41 -0000	1.157
+++ po/zh_CN.po	22 Feb 2006 02:50:50 -0000
@@ -269,7 +269,7 @@
 msgstr "奥里雅语"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "旁遮普语"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: po/zh_TW.po
===================================================================
RCS file: /cvsroot/scim/scim/po/zh_TW.po,v
retrieving revision 1.158
diff -u -r1.158 zh_TW.po
--- po/zh_TW.po	18 Dec 2005 10:20:21 -0000	1.158
+++ po/zh_TW.po	22 Feb 2006 02:50:50 -0000
@@ -267,7 +267,7 @@
 msgstr "奧里雅語"
 
 #: ../src/scim_utility.cpp:756
-msgid "Panjabi"
+msgid "Punjabi"
 msgstr "旁遮普語"
 
 #: ../src/scim_utility.cpp:757 ../src/scim_keyboard_layout_data.h:4613
Index: src/scim_utility.cpp
===================================================================
RCS file: /cvsroot/scim/scim/src/scim_utility.cpp,v
retrieving revision 1.49
diff -u -r1.49 scim_utility.cpp
--- src/scim_utility.cpp	16 Feb 2006 05:13:34 -0000	1.49
+++ src/scim_utility.cpp	22 Feb 2006 02:50:50 -0000
@@ -757,7 +757,7 @@
     { "nn_NO",    NULL, N_("Norwegian (nynorsk)"), "Norsk (nynorsk)", NULL },
     { "no_NO",    NULL, N_("Norwegian (bokmal)"), "Norsk (bokmål)", NULL },
     { "or_IN",    NULL, N_("Oriya"), NULL, NULL },
-    { "pa_IN",    NULL, N_("Panjabi"), NULL, NULL },
+    { "pa_IN",    NULL, N_("Punjabi"), NULL, NULL },
     { "pl_PL",    NULL, N_("Polish"), "Polski", NULL },
     { "pt",    "pt_PT", N_("Portuguese"), "Português", NULL },
     { "pt_BR",    NULL, N_("Portuguese (Brazil)"), "Português do Brasil", NULL },

scim.pc-versioned-moduledir-179706.patch:

--- NEW FILE scim.pc-versioned-moduledir-179706.patch ---
diff -u scim-1.4.4/scim.pc.in~ scim-1.4.4/scim.pc.in
--- scim-1.4.4/scim.pc.in~	2006-02-03 23:38:44.000000000 +0900
+++ scim-1.4.4/scim.pc.in	2006-02-03 23:38:44.000000000 +0900
@@ -8,7 +8,7 @@
 
 scimdatadir=@datadir@/scim
 icondir=@datadir@/scim/icons
-moduledir=@libdir@/scim-1.0
+moduledir=@libdir@/scim-1.0/@SCIM_BINARY_VERSION@
 
 scim_binary_version=@SCIM_BINARY_VERSION@
 




More information about the scm-commits mailing list