Hello community,
here is the log from the commit of package kasumi
checked in at Tue Aug 29 18:02:39 CEST 2006.
--------
--- kasumi/kasumi.changes 2006-02-28 18:38:48.000000000 +0100
+++ kasumi/kasumi.changes 2006-08-29 17:45:43.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Aug 28 21:54:37 CEST 2006 - mfabian@suse.de
+
+- update to 2.0.1.
+ • search function for KasumiMainWindow
+ • obsolete "Add Mode" button
+ • set an alternative word type if specified one does not exist
+ • measures against an anthy's defect that it returns error code
+ even when it is right and no word is registered.
+
+-------------------------------------------------------------------
Old:
----
kasumi-1.0.tar.bz2
New:
----
kasumi-2.0.1.tar.bz2
typo.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kasumi.spec ++++++
--- /var/tmp/diff_new_pack.zMu9Zc/_old 2006-08-29 18:00:47.000000000 +0200
+++ /var/tmp/diff_new_pack.zMu9Zc/_new 2006-08-29 18:00:47.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kasumi (Version 1.0)
+# spec file for package kasumi (Version 2.0.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -16,12 +16,13 @@
Group: System/I18n/Japanese
Autoreqprov: on
Provides: locale(anthy:ja)
-Version: 1.0
-Release: 5
+Version: 2.0.1
+Release: 1
URL: http://kasumi.sourceforge.jp/
-Source0: http://osdn.dl.sourceforge.jp/kasumi/16557/kasumi-1.0.tar.bz2
+Source0: http://osdn.dl.sourceforge.jp/kasumi/20684/kasumi-2.0.1.tar.bz2
Patch0: 64bit.patch
Patch1: gcc41.patch
+Patch2: typo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Dictionary Tool for Anthy
@@ -38,6 +39,7 @@
%setup0 -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
rm -f config.cache
@@ -46,6 +48,7 @@
libtoolize --force
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="-g -O0"
./configure --prefix=/usr \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
@@ -70,6 +73,13 @@
%dir %{_datadir}/kasumi/kasumi.png
%changelog -n kasumi
+* Mon Aug 28 2006 - mfabian@suse.de
+- update to 2.0.1.
+ • search function for KasumiMainWindow
+ • obsolete "Add Mode" button
+ • set an alternative word type if specified one does not exist
+ • measures against an anthy's defect that it returns error code
+ even when it is right and no word is registered.
* Tue Feb 28 2006 - mfabian@suse.de
- add: "Provides: locale(anthy:ja)".
* Wed Jan 25 2006 - mls@suse.de
++++++ 64bit.patch ++++++
--- /var/tmp/diff_new_pack.zMu9Zc/_old 2006-08-29 18:00:47.000000000 +0200
+++ /var/tmp/diff_new_pack.zMu9Zc/_new 2006-08-29 18:00:47.000000000 +0200
@@ -1,7 +1,117 @@
-diff -ru kasumi-0.9.orig/KasumiMainWindow.cxx kasumi-0.9/KasumiMainWindow.cxx
---- kasumi-0.9.orig/KasumiMainWindow.cxx 2005-05-21 12:33:39.000000000 +0200
-+++ kasumi-0.9/KasumiMainWindow.cxx 2005-08-05 14:33:20.000000000 +0200
-@@ -1301,7 +1301,7 @@
+diff -ru kasumi-2.0.1.orig/KasumiDic.cxx kasumi-2.0.1/KasumiDic.cxx
+--- kasumi-2.0.1.orig/KasumiDic.cxx 2006-05-26 19:41:25.000000000 +0200
++++ kasumi-2.0.1/KasumiDic.cxx 2006-08-29 17:24:58.000000000 +0200
+@@ -148,7 +148,7 @@
+ }
+ }
+
+-void KasumiDic::removeWord(size_t id)
++void KasumiDic::removeWord(unsigned int id)
+ {
+ int flag = 0;
+
+diff -ru kasumi-2.0.1.orig/KasumiDic.hxx kasumi-2.0.1/KasumiDic.hxx
+--- kasumi-2.0.1.orig/KasumiDic.hxx 2006-05-26 19:41:25.000000000 +0200
++++ kasumi-2.0.1/KasumiDic.hxx 2006-08-29 17:25:39.000000000 +0200
+@@ -56,7 +56,7 @@
+ ~KasumiDic();
+ void store() throw(KasumiException);
+ void appendWord(KasumiWord *word); // returns this word's ID
+- void removeWord(size_t id);
++ void removeWord(unsigned int id);
+
+ void registerEventListener(KasumiDicEventListener *listener);
+ void removeEventListener(KasumiDicEventListener *listener);
+@@ -69,7 +69,7 @@
+ void changedSound(KasumiWord *word);
+ void changedWordType(KasumiWord *word);
+
+-// KasumiWord *getWordWithID(size_t id) throw(KasumiException);
++// KasumiWord *getWordWithID(unsigned int id) throw(KasumiException);
+ // int getUpperBoundOfWordID();
+ };
+
+diff -ru kasumi-2.0.1.orig/KasumiDicEventListener.hxx kasumi-2.0.1/KasumiDicEventListener.hxx
+--- kasumi-2.0.1.orig/KasumiDicEventListener.hxx 2006-05-26 19:41:25.000000000 +0200
++++ kasumi-2.0.1/KasumiDicEventListener.hxx 2006-08-29 17:25:53.000000000 +0200
+@@ -35,7 +35,7 @@
+ class KasumiDicEventListener{
+ private:
+ public:
+- virtual void removedWord(size_t id) = 0;
++ virtual void removedWord(unsigned int id) = 0;
+ virtual void appendedWord(KasumiWord *word) = 0;
+ virtual void modifiedWord(KasumiWord *word) = 0;
+ };
+diff -ru kasumi-2.0.1.orig/KasumiMainWindow.cxx kasumi-2.0.1/KasumiMainWindow.cxx
+--- kasumi-2.0.1.orig/KasumiMainWindow.cxx 2006-05-29 06:59:37.000000000 +0200
++++ kasumi-2.0.1/KasumiMainWindow.cxx 2006-08-29 17:26:17.000000000 +0200
+@@ -435,7 +435,7 @@
+ void KasumiMainWindow::ClickedRemoveButton(){
+ GtkTreeModel *model = GTK_TREE_MODEL(SortList);
+ GtkTreeIter iter;
+- int id;
++ unsigned int id;
+
+ if(gtk_tree_selection_get_selected(SortListSelection, &model, &iter)){
+ gtk_tree_model_get(model, &iter, COL_ID, &id, -1);
+@@ -476,7 +476,7 @@
+ GtkTreeIter iter;
+ gtk_tree_model_get_iter(SortList, &iter, editingPath);
+
+- size_t id;
++ unsigned int id;
+ gtk_tree_model_get(SortList, &iter, COL_ID, &id, -1);
+
+ KasumiWord *word = KasumiWord::getWordFromID(id);
+@@ -568,7 +568,7 @@
+ if(editingPath == NULL)
+ throw KasumiException(string("internal error: editingPath is already freed."), STDERR, KILL);
+ gtk_tree_model_get_iter(SortList, &iter, editingPath);
+- size_t id;
++ unsigned int id;
+ gtk_tree_model_get(SortList, &iter, COL_ID, &id, -1);
+ KasumiWord *word = KasumiWord::getWordFromID(id);
+
+@@ -587,7 +587,7 @@
+ KasumiWord *word;
+ bool fromFirst = false;
+ GtkTreeIter StartIter;
+- int id;
++ unsigned int id;
+ string searchString = string(gtk_entry_get_text(GTK_ENTRY(mSearchEntry)));
+ string comparedString;
+ GtkWidget *dialog;
+@@ -714,7 +714,7 @@
+ gtk_tree_view_column_set_sort_order(column,order);
+ }
+
+-void KasumiMainWindow::removedWord(size_t id){
++void KasumiMainWindow::removedWord(unsigned int id){
+ refresh();
+ modificationFlag = true;
+ }
+@@ -754,7 +754,7 @@
+ }
+
+ void KasumiMainWindow::modifiedWord(KasumiWord *word){
+- size_t id = word->getID();
++ unsigned int id = word->getID();
+ GtkTreeIter *iter = findCorrespondingIter(id);
+
+ if(iter != NULL)
+@@ -772,8 +772,8 @@
+ }
+
+ // Do not returns iter of SortList but WordList
+-GtkTreeIter *KasumiMainWindow::findCorrespondingIter(size_t id){
+- size_t i;
++GtkTreeIter *KasumiMainWindow::findCorrespondingIter(unsigned int id){
++ unsigned int i;
+ GtkTreeModel *model = GTK_TREE_MODEL(WordList);
+ GtkTreeIter *iter = (GtkTreeIter*)calloc(1,sizeof(GtkTreeIter));
+
+@@ -978,7 +978,7 @@
i = key.find("+",0);
@@ -10,30 +120,108 @@
return (GdkModifierType)0;
}
-diff -ru kasumi-0.9.orig/KasumiString.cxx kasumi-0.9/KasumiString.cxx
---- kasumi-0.9.orig/KasumiString.cxx 2005-05-27 03:45:17.000000000 +0200
-+++ kasumi-0.9/KasumiString.cxx 2005-08-05 14:34:27.000000000 +0200
-@@ -29,12 +29,12 @@
- }
+@@ -997,7 +997,7 @@
+ GtkTreeIter *a,
+ GtkTreeIter *b,
+ gpointer user_data){
+- int id_a, id_b;
++ unsigned int id_a, id_b;
+ gtk_tree_model_get(model, a, COL_ID, &id_a, -1);
+ gtk_tree_model_get(model, b, COL_ID, &id_b, -1);
+ KasumiWord *word_a = KasumiWord::getWordFromID(id_a);
+@@ -1010,7 +1010,7 @@
+ GtkTreeIter *iter_a,
+ GtkTreeIter *iter_b,
+ gpointer user_data){
+- int id_a, id_b;
++ unsigned int id_a, id_b;
+ gtk_tree_model_get(model, iter_a, COL_ID, &id_a, -1);
+ gtk_tree_model_get(model, iter_b, COL_ID, &id_b, -1);
+ KasumiWord *word_a = KasumiWord::getWordFromID(id_a);
+@@ -1075,7 +1075,7 @@
+ GtkTreeIter *iter_a,
+ GtkTreeIter *iter_b,
+ gpointer user_data){
+- int id_a, id_b;
++ unsigned int id_a, id_b;
+ gtk_tree_model_get(model, iter_a, COL_ID, &id_a, -1);
+ gtk_tree_model_get(model, iter_b, COL_ID, &id_b, -1);
+ KasumiWord *word_a = KasumiWord::getWordFromID(id_a);
+diff -ru kasumi-2.0.1.orig/KasumiMainWindow.hxx kasumi-2.0.1/KasumiMainWindow.hxx
+--- kasumi-2.0.1.orig/KasumiMainWindow.hxx 2006-05-29 06:59:37.000000000 +0200
++++ kasumi-2.0.1/KasumiMainWindow.hxx 2006-08-29 17:26:55.000000000 +0200
+@@ -174,7 +174,7 @@
+ void changedWordTypeColumn(GtkComboBox *combo);
+
+ void FindNext(bool fromCurrent);
+- GtkTreeIter *findCorrespondingIter(size_t id);
++ GtkTreeIter *findCorrespondingIter(unsigned int id);
+
+ void SortBy(GtkTreeViewColumn *column);
+
+@@ -182,7 +182,7 @@
+ KasumiMainWindow(KasumiDic *aDictionary, KasumiConfiguration *conf);
+ virtual ~KasumiMainWindow();
+ void refresh();
+- void removedWord(size_t id);
++ void removedWord(unsigned int id);
+ void appendedWord(KasumiWord *word);
+ void modifiedWord(KasumiWord *word);
+ };
+diff -ru kasumi-2.0.1.orig/KasumiWord.cxx kasumi-2.0.1/KasumiWord.cxx
+--- kasumi-2.0.1.orig/KasumiWord.cxx 2006-05-29 16:04:39.000000000 +0200
++++ kasumi-2.0.1/KasumiWord.cxx 2006-08-29 17:27:15.000000000 +0200
+@@ -41,7 +41,7 @@
+ iconv_t KasumiWord::IconvUTF8_To_EUCJP = iconv_open("EUC-JP", "UTF-8");
+ iconv_t KasumiWord::IconvEUCJP_To_UTF8 = iconv_open("UTF-8", "EUC-JP");
+
+-size_t KasumiWord::id_generator = 0;
++unsigned int KasumiWord::id_generator = 0;
+
+ vector