SHA256
1
0
forked from pool/kasumi
OBS User unknown
2009-06-16 14:55:34 +00:00
committed by Git OBS Bridge
parent 1e0e04d212
commit 93ad28474b
7 changed files with 57 additions and 144 deletions

View File

@@ -1,7 +1,10 @@
diff -ru kasumi-2.2.orig/kasumi.desktop.in kasumi-2.2/kasumi.desktop.in
--- kasumi-2.2.orig/kasumi.desktop.in 2006-06-03 16:30:07.000000000 +0200
+++ kasumi-2.2/kasumi.desktop.in 2007-03-13 17:50:20.000000000 +0100
@@ -8,7 +9,7 @@
---
kasumi.desktop.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/kasumi.desktop.in
+++ b/kasumi.desktop.in
@@ -8,8 +8,8 @@
Comment=Edit Anthy dictionary.
Comment[ja]=Anthy の個人辞書に単語を登録、削除、編集するツールです。
Exec=kasumi
@@ -10,3 +13,5 @@ diff -ru kasumi-2.2.orig/kasumi.desktop.in kasumi-2.2/kasumi.desktop.in
StartupNotify=true
Terminal=false
Type=Application
-Categories=Applications;Settings;
+Categories=Application;Settings;

View File

@@ -1,36 +0,0 @@
diff -ru kasumi-2.3.orig/KasumiAddWindow.cxx kasumi-2.3/KasumiAddWindow.cxx
--- kasumi-2.3.orig/KasumiAddWindow.cxx 2007-10-28 09:40:43.000000000 +0100
+++ kasumi-2.3/KasumiAddWindow.cxx 2007-11-19 17:36:09.000000000 +0100
@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
#include <iostream>
+#include <algorithm>
#include "KasumiAddWindow.hxx"
#include "KasumiWord.hxx"
#include "KasumiDic.hxx"
kasumi-2.3だけに発見: KasumiAddWindow.cxx.~1~
diff -ru kasumi-2.3.orig/KasumiWord.cxx kasumi-2.3/KasumiWord.cxx
--- kasumi-2.3.orig/KasumiWord.cxx 2007-10-30 15:01:05.000000000 +0100
+++ kasumi-2.3/KasumiWord.cxx 2007-11-06 18:53:58.000000000 +0100
@@ -25,6 +25,7 @@
#include <cstdlib>
#include <string>
+#include <cstring>
#include <map>
#include <iconv.h>
#include "KasumiWord.hxx"
diff -ru kasumi-2.3.orig/main.cxx kasumi-2.3/main.cxx
--- kasumi-2.3.orig/main.cxx 2007-10-30 15:01:22.000000000 +0100
+++ kasumi-2.3/main.cxx 2007-11-06 18:54:22.000000000 +0100
@@ -29,7 +29,8 @@
#endif
#include <gtk/gtk.h>
-#include <stdlib.h>
+#include <cstdlib>
+#include <cstring>
#include <time.h>
#include <iostream>
#include <string>

View File

@@ -1,62 +0,0 @@
diff -ru kasumi-2.0.1/KasumiMainWindow.hxx kasumi-2.0.1.new/KasumiMainWindow.hxx
--- kasumi-2.0.1/KasumiMainWindow.hxx 2006-05-29 06:59:37.000000000 +0200
+++ kasumi-2.0.1.new/KasumiMainWindow.hxx 2006-08-28 22:28:40.000000000 +0200
@@ -64,6 +64,58 @@
typedef _TextColumnEnum SearchBy;
typedef _TextColumnEnum TextColumn;
+void _call_back_delete_event(GtkWidget *widget,
+ GdkEvent *event,
+ gpointer data);
+void _call_back_quit(GtkWidget *widget,
+ gpointer data);
+void _call_back_store(GtkWidget *widget,
+ gpointer data);
+void _call_back_add(GtkWidget *widget,
+ gpointer data);
+void _call_back_remove(GtkWidget *widget,
+ gpointer data);
+void _call_back_changed_search_entry(GtkWidget *widget,
+ gpointer data);
+void _call_back_activate_search_entry(GtkWidget *widget,
+ gpointer data);
+void _call_back_clicked_column_header(GtkTreeViewColumn *column,
+ gpointer data);
+gboolean _call_back_key_pressed_text_column(GtkWidget *widget,
+ GdkEventKey *event,
+ gpointer data);
+void _call_back_editing_started_sound_column(GtkCellRenderer *render,
+ GtkCellEditable *editable,
+ gchar *path,
+ gpointer data);
+void _call_back_edited_sound_column(GtkCellRendererText *renderer,
+ gchar *arg1,
+ gchar *arg2,
+ gpointer data);
+void _call_back_editing_started_spelling_column(GtkCellRenderer *render,
+ GtkCellEditable *editable,
+ gchar *path,
+ gpointer data);
+void _call_back_edited_spelling_column(GtkCellRendererText *renderer,
+ gchar *arg1,
+ gchar *arg2,
+ gpointer data);
+void _call_back_editing_started_freq_column(GtkCellRenderer *render,
+ GtkCellEditable *editable,
+ gchar *path,
+ gpointer data);
+void _call_back_edited_freq_column(GtkCellRendererText *renderer,
+ gchar *arg1,
+ gchar *arg2,
+ gpointer data);
+void _call_back_editing_started_wordtype_column(GtkCellRenderer *render,
+ GtkCellEditable *editable,
+ gchar *path,
+ gpointer data);
+void _call_back_changed_wordtype_column(GtkComboBox *combo,
+ gpointer data);
+
+
class KasumiMainWindow : public KasumiDicEventListener{
friend void _call_back_delete_event(GtkWidget *widget,
GdkEvent *event,

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23b3d23d178dabe20c6c6bb30f69d65bee79e6cd219c516f0b1cd178896c97af
size 221579

3
kasumi-2.4.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d3dc3f8798e762151b09ebc455ac2290510e39b6dd56c5bc976f1b4d615a5a3
size 228891

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 10 08:02:20 CEST 2009 - tiwai@suse.de
- updated to version 2.4:
* default coding to UTF-8
* -E option for EUC-JP mode
-------------------------------------------------------------------
Tue Nov 06 18:20:11 CET 2007 - mfabian@suse.de

View File

@@ -1,28 +1,34 @@
#
# spec file for package kasumi (Version 2.3)
# spec file for package kasumi (Version 2.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kasumi
BuildRequires: anthy-devel gcc-c++ gtk2-devel update-desktop-files
License: GPL v2 or later
Group: System/I18n/Japanese
AutoReqProv: on
Provides: locale(anthy:ja)
Version: 2.3
Version: 2.4
Release: 1
Url: http://kasumi.sourceforge.jp/
Source0: http://keihanna.dl.sourceforge.jp/kasumi/27825/kasumi-2.3.tar.bz2
Patch0: fix-build.patch
Patch1: gcc41.patch
Patch3: desktop.patch
Source0: kasumi-%{version}.tar.bz2
Patch: desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Dictionary Tool for Anthy
@@ -36,44 +42,37 @@ Authors:
Takashi Nakamoto <bluedwarf@openoffice.org>
%prep
%setup0 -q -n %{name}-%{version}
%patch0 -p1
#%patch1 -p1
%patch3 -p1
%setup -q
%patch -p1
%build
rm -f config.cache
# update config.{guess,sub}
%{?suse_update_config}
libtoolize --force
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
make
%configure
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
%suse_update_desktop_file -i %name System SystemSetup
%find_lang kasumi
%clean
rm -rf $RPM_BUILD_ROOT
%files -n kasumi -f kasumi.lang
%files -f kasumi.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_bindir}/*
%{_datadir}/pixmaps/kasumi.png
%{_datadir}/applications/kasumi.desktop
%{_mandir}/man1/*
%changelog
* Tue Nov 06 2007 - mfabian@suse.de
* Wed Jun 10 2009 tiwai@suse.de
- updated to version 2.4:
* default coding to UTF-8
* -E option for EUC-JP mode
* Tue Nov 06 2007 mfabian@suse.de
- update to 2.3:
FTBFS with GCC 4.3: missing #includes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417266
@@ -87,34 +86,34 @@ rm -rf $RPM_BUILD_ROOT
Thanks to dtana.
- remove typo.patch.
- fix build with gcc 4.3.
* Mon May 21 2007 - mfabian@suse.de
* Mon May 21 2007 mfabian@suse.de
- fix build on STABLE (remove X-SuSE-translate=true from .desktop
file).
* Wed Mar 14 2007 - mfabian@suse.de
* Wed Mar 14 2007 mfabian@suse.de
- enable 64bit patch again.
* Tue Mar 13 2007 - mfabian@suse.de
* Tue Mar 13 2007 mfabian@suse.de
- updating to 2.2 (also fixes Bugzilla #253788)
man page added
Italian translations added
* Mon Aug 28 2006 - mfabian@suse.de
* 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
* Tue Feb 28 2006 mfabian@suse.de
- add: "Provides: locale(anthy:ja)".
* Wed Jan 25 2006 - mls@suse.de
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 - mfabian@suse.de
* Fri Jan 13 2006 mfabian@suse.de
- update to 1.0.
* Wed Oct 19 2005 - mfabian@suse.de
* Wed Oct 19 2005 mfabian@suse.de
- update to 0.10.
- fix build problem with gcc 4.1.
* Fri Aug 05 2005 - mfabian@suse.de
* Fri Aug 05 2005 mfabian@suse.de
- update to 0.9.
* Wed Feb 23 2005 - mfabian@suse.de
* Wed Feb 23 2005 mfabian@suse.de
- fix some typos.
* Thu Feb 17 2005 - mfabian@suse.de
* Thu Feb 17 2005 mfabian@suse.de
- new package: kasumi, version 0.7.