diff --git a/anthy-fix-typo-in-dict.patch b/anthy-fix-typo-in-dict.patch new file mode 100644 index 0000000..3f94f15 --- /dev/null +++ b/anthy-fix-typo-in-dict.patch @@ -0,0 +1,61 @@ +diff -pruN anthy-9100h.orig/mkworddic/compound.t anthy-9100h/mkworddic/compound.t +--- anthy-9100h.orig/mkworddic/compound.t 2009-02-07 21:15:36.000000000 +0900 ++++ anthy-9100h/mkworddic/compound.t 2009-07-08 20:52:21.000000000 +0900 +@@ -9714,7 +9714,6 @@ + ���󤸤󤺤⤦ #T35 #_4����_3���� + ���󤸤���礦 #T35 #_4����_3Ģ + ���󤹤������� #T35 #_4����_3�ս� +-���󤹤����󤾤� #T35 #_4�ؿ�_4��° + ���󤹤����� #T35 #_4����_2�� + ���󤹤��Ф��� #T35 #_4����_3��� + ���󤹤��������� #T35 #_4�ؿ�_4���� +@@ -30752,7 +30751,6 @@ + ����󤸤夦���󤴤������� #T35 #_6�ս�_4���_3���� + ����󤸤夦�Τ� #T35 #_7�ս���_1�� + �����Ƥ��������� #T35 #_5����_4�к� +-�����Ȥ����� #T35 #_5����_2�� + �����ѤĤ�礯 #T35 #_5��ȯ_3�� + �����ѤĤ�礯���礦�� #T35 #_5��ȯ_3��_4���� + �����Ӥ󤻤� #T35 #_5����_2�� +@@ -40405,6 +40403,7 @@ + �������礯�Ȥ� #T35 #_5�ֿ�_2�� + �������Ҥ礦 #T35 #_3�ʼ�_3ɽ + �������夦���� #T35 #_6�ֽ���_1�� ++�����������󤾤� #KK #_4�ؿ�_4��° + �����������礦 #T35 #_4�Կ�_3�� + �����������󤷤礦 #T35 #_4�Կ�_5»�� + ���������Ϥ󤷤� #T35 #_4�Կ�_4ȿ�� +@@ -41942,7 +41941,7 @@ + ���󤭤礯���� #T35 #_5����_2�� + ���󤭤礯���夦 #T35 #_5����_3�� + ���󤭤礯�Ф� #T35 #_5����_2�� +-���󤭤礯�������� #T35 #_5��ƻ_4���� ++���󤭤礯�������� #T30 #_5����_4Ͽ�� + ���󤭤󤢤�Ƥ����� #T35 #_4����_6������ + ���󤭤󤻤� #T35 #_4����_2�� + ���󤭤󤻤󤸤礦 #T35 #_6������_3�� +@@ -62585,6 +62584,7 @@ + �ۤȤ����� #T35 #_3ʩ_2�� + �ۤɤ����� #T35 #_3��ƻ_2¦ + �ۤɤ����礦 #T35 #_3��ƻ_3�� ++�ۤɤ������� #T30 #_3��ƻ_3���� + �ۤɤ��줭 #T35 #_3��Ƴ_2�� + �ۤˤ夦�ɤ��֤� #T35 #_4Ӯ��_4ưʪ + �ۤˤ夦�Ӥ� #T35 #_4Ӯ��_2�� +@@ -66264,7 +66264,6 @@ + �椽���� #T35 #_3͢��_1�� + �椽�������� #T35 #_3͢��_3���� + �椽������ #T35 #_3͢��_2���� +-�椽������ #T35 #_3͢��_2���� + �椽������� #T35 #_3͢��_3��Υ + �椽�����礦���� #T35 #_3͢��_5�ȼ� + �椽���������� #T35 #_3͢��_4�ײ� +@@ -66351,7 +66350,7 @@ + ��Ӥ��������ˤ� #T35 #_4�غ���_4��ǧ + ��Ӥ⤸ #T35 #_2��_2ʸ�� + ��Ӥ��Τ����� #T35 #_3����_5ʪ�� +-��ޤ������礦 #T35 #_3����_4�ʾ� ++��ޤ������礦 #T35 #_3����_4�۾� + ��ޤ�����������礯 #T35 #_3����_4����_3�� + ���餪�󤻤� #T35 #_3��¼_4���� + ��ᤫ���� #T35 #_2̴_3���� diff --git a/anthy.spec b/anthy.spec index 88f38f6..8b9c848 100644 --- a/anthy.spec +++ b/anthy.spec @@ -23,7 +23,7 @@ Name: anthy Version: 9100h -Release: 4%{?dist} +Release: 5%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. License: LGPLv2+ and GPLv2 URL: http://sourceforge.jp/projects/anthy/ @@ -33,6 +33,7 @@ BuildRequires: xemacs Source0: http://osdn.dl.sourceforge.jp/anthy/37336/anthy-%{version}.tar.gz Source1: anthy-init.el +Patch0: anthy-fix-typo-in-dict.patch Summary: Japanese character set input library Group: System Environment/Libraries @@ -100,6 +101,7 @@ package to use Anthy with XEmacs. %prep %setup -q #-a 2 +%patch0 -p1 -b .0-typo %if %{use_utf8_dict} function normalize_extra_dict() { @@ -126,7 +128,6 @@ read @top_srcdir@/alt-cannadic/extra/gf-fuzoku-34.t.norm read @top_srcdir@/mkworddic/adjust.t.utf8 read @top_srcdir@/mkworddic/compound.t.utf8 read @top_srcdir@/mkworddic/extra.t.utf8 -read @top_srcdir@/mkworddic/utf8.t read @top_srcdir@/alt-cannadic/g_fname.t # build_reverse_dict @@ -162,6 +163,11 @@ gen_dict_args # fix rpath issue sed -ie 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' libtool LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} +LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} update_params0 +LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} update_params +LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} update_params2 +LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} update_params2 +LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/src-main/.libs:$RPM_BUILD_DIR/%{name}-%{version}/src-worddic/.libs make %{?_smp_mflags} update_params2 %install rm -rf $RPM_BUILD_ROOT @@ -230,6 +236,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 8 2009 Akira TAGOH - 9100h-5 +- Update the corpus. +- Fix typos in dictionary. (#509534) + * Mon May 11 2009 Akira TAGOH - 9100h-4 - Take off the ownership of %%{_libdir}/pkgconfig. (#499663) - Add R: pkgconfig to -devel.