Compare commits
53 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed90f95916 | ||
|
|
80d1caa5bc | ||
|
|
b818691011 | ||
|
|
9f2261715c | ||
|
|
b02b7add01 | ||
|
|
038875320b | ||
|
|
89c726ba99 | ||
|
|
db5a572a21 | ||
|
|
861cb04cf9 | ||
|
|
726911c0de | ||
|
|
4c55c70f84 | ||
|
|
d4f15b4354 | ||
|
|
fa8f57dda1 | ||
|
|
9a502de272 | ||
|
|
b649806318 | ||
|
|
93bf0b2d0c | ||
|
|
382ee417bf | ||
|
|
26da1446d7 | ||
|
|
80ed39970a | ||
|
|
e991d39516 | ||
|
|
76f42db021 | ||
|
|
379e61b798 | ||
|
|
be41928258 | ||
|
|
47723c2fa4 | ||
|
|
a1736d6d62 | ||
|
|
b9a2c6cf2e | ||
|
|
a15ddd3c75 | ||
|
|
4f9499820d | ||
|
|
e8c0832f98 | ||
|
|
240a9badec | ||
|
|
388841539d | ||
|
|
32493c2086 | ||
|
|
9733f77c45 | ||
|
|
75802dd0e8 | ||
|
|
eca49881e2 | ||
|
|
4b30bdf5da | ||
|
|
815acfe239 | ||
|
|
2d800fbd82 | ||
|
|
676595881c | ||
|
|
827012df63 | ||
|
|
b0ecb8d9b5 | ||
|
|
4d4732990a | ||
|
|
2b4451ac0a | ||
|
|
bff1dcf1df | ||
|
|
9b3d81882f | ||
|
|
f6527972ed | ||
|
|
73046097ba | ||
|
|
a25ff2c5c6 | ||
|
|
c2b0367b54 | ||
|
|
9fbf270877 | ||
|
|
a96088f1d5 | ||
|
|
d726152e06 | ||
|
|
f9fe40f59a |
11 changed files with 2027 additions and 97 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
1760
anthy-aarch64.patch
Normal file
1760
anthy-aarch64.patch
Normal file
File diff suppressed because it is too large
Load diff
12
anthy-fix-elisp.patch
Normal file
12
anthy-fix-elisp.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -pruN anthy-9100h.orig/src-util/anthy.el anthy-9100h/src-util/anthy.el
|
||||
--- anthy-9100h.orig/src-util/anthy.el 2008-11-29 21:46:00.000000000 +0900
|
||||
+++ anthy-9100h/src-util/anthy.el 2013-03-08 18:49:51.000000000 +0900
|
||||
@@ -892,7 +892,7 @@
|
||||
((event-matches-key-specifier-p event 'backspace) 8)
|
||||
(t
|
||||
(char-to-int (event-to-character event)))))
|
||||
- last-command-char))
|
||||
+ last-command-event))
|
||||
|
||||
;;
|
||||
;;
|
||||
12
anthy-fix-emacs29.patch
Normal file
12
anthy-fix-emacs29.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -pruN anthy-9100h.orig/src-util/anthy.el anthy-9100h/src-util/anthy.el
|
||||
--- anthy-9100h.orig/src-util/anthy.el 2023-11-28 16:31:37.621098068 +0900
|
||||
+++ anthy-9100h/src-util/anthy.el 2023-11-28 16:33:42.330200131 +0900
|
||||
@@ -71,7 +71,7 @@
|
||||
(defvar anthy-highlight-face nil)
|
||||
(defvar anthy-underline-face nil)
|
||||
(copy-face 'highlight 'anthy-highlight-face)
|
||||
-(set-face-underline-p 'anthy-highlight-face t)
|
||||
+(set-face-underline 'anthy-highlight-face t)
|
||||
(copy-face 'underline 'anthy-underline-face)
|
||||
|
||||
;;
|
||||
12
anthy-fix-eol.patch
Normal file
12
anthy-fix-eol.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -pruN anthy-9100h.orig/src-worddic/record.c anthy-9100h/src-worddic/record.c
|
||||
--- anthy-9100h.orig/src-worddic/record.c 2009-01-27 21:11:21.000000000 +0900
|
||||
+++ anthy-9100h/src-worddic/record.c 2024-09-19 16:45:00.587508410 +0900
|
||||
@@ -1043,7 +1043,7 @@ out:
|
||||
if (s) {
|
||||
s[len] = '\0';
|
||||
}
|
||||
- *eol = (c == '\n');
|
||||
+ *eol = (c == '\n' || c == EOF);
|
||||
return s;
|
||||
}
|
||||
|
||||
14
anthy-fix-segfault.patch
Normal file
14
anthy-fix-segfault.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
diff -pruN anthy-9100h.orig/src-diclib/xstr.c anthy-9100h/src-diclib/xstr.c
|
||||
--- anthy-9100h.orig/src-diclib/xstr.c 2009-01-23 12:31:31.000000000 +0900
|
||||
+++ anthy-9100h/src-diclib/xstr.c 2013-06-17 19:30:08.000000000 +0900
|
||||
@@ -384,6 +384,10 @@ int
|
||||
anthy_xstrcmp(xstr *x1, xstr *x2)
|
||||
{
|
||||
int i, m;
|
||||
+ if (!x1)
|
||||
+ return -1;
|
||||
+ if (!x2)
|
||||
+ return 1;
|
||||
if (x1->len < x2->len) {
|
||||
m = x1->len;
|
||||
}else{
|
||||
281
anthy.spec
281
anthy.spec
|
|
@ -1,25 +1,46 @@
|
|||
%define use_utf8_dict 1
|
||||
%define pkg anthy
|
||||
%global use_utf8_dict 1
|
||||
%global pkg anthy
|
||||
|
||||
%if 0%{?rhel} == 0 && 0%{?fedora} < 36
|
||||
%bcond_without xemacs
|
||||
%else
|
||||
# xemacs disabled on RHEL and Fedora 36+
|
||||
%bcond_with xemacs
|
||||
%endif
|
||||
|
||||
Name: anthy
|
||||
Version: 9100h
|
||||
Release: 16%{?dist}
|
||||
# The entire source code is LGPLv2+ and dictionaries is GPLv2.
|
||||
License: LGPLv2+ and GPLv2
|
||||
Release: 59%{?dist}
|
||||
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
||||
License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain
|
||||
URL: http://sourceforge.jp/projects/anthy/
|
||||
BuildRequires: emacs
|
||||
%if 0%{?rhel} == 0
|
||||
BuildRequires: gcc
|
||||
%if %{with xemacs}
|
||||
BuildRequires: xemacs
|
||||
BuildRequires: make
|
||||
%endif
|
||||
|
||||
Source0: http://osdn.dl.sourceforge.jp/anthy/37536/anthy-%{version}.tar.gz
|
||||
Source1: anthy-init.el
|
||||
Patch0: anthy-fix-typo-in-dict.patch
|
||||
Patch1: anthy-fix-typo-in-dict-name.patch
|
||||
Patch10: anthy-corpus.patch
|
||||
Source1: %{name}-init.el
|
||||
Patch0: %{name}-fix-typo-in-dict.patch
|
||||
Patch1: %{name}-fix-typo-in-dict-name.patch
|
||||
Patch10: %{name}-corpus.patch
|
||||
Patch11: %{name}-fix-elisp.patch
|
||||
Patch12: %{name}-aarch64.patch
|
||||
Patch13: %{name}-fix-segfault.patch
|
||||
Patch14: %{name}-fix-emacs29.patch
|
||||
Patch15: %{name}-fix-eol.patch
|
||||
|
||||
Summary: Japanese character set input library
|
||||
Group: System Environment/Libraries
|
||||
Requires: emacs-filesystem >= %{_emacs_version}
|
||||
Provides: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27
|
||||
Obsoletes: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27
|
||||
%if %{with xemacs}
|
||||
Requires: xemacs-filesystem >= %{_xemacs_version}
|
||||
Provides: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27
|
||||
Obsoletes: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27
|
||||
%endif
|
||||
|
||||
%description
|
||||
Anthy provides the library to input Japanese on the applications, such as
|
||||
|
|
@ -29,66 +50,16 @@ So Anthy is secure than other conversion server.
|
|||
|
||||
%package devel
|
||||
Summary: Header files and library for developing programs which uses Anthy
|
||||
Group: Development/Libraries
|
||||
Requires: anthy = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The anthy-devel package contains the development files which is needed to build
|
||||
the programs which uses Anthy.
|
||||
|
||||
%package -n emacs-%{pkg}
|
||||
Summary: Compiled elisp files to run Anthy under GNU Emacs
|
||||
Group: System Environment/Libraries
|
||||
Requires: emacs(bin) >= %{_emacs_version}
|
||||
Requires: anthy = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n emacs-%{pkg}
|
||||
This package contains the byte compiled elisp packages to run Anthy with GNU
|
||||
Emacs.
|
||||
|
||||
%package -n emacs-%{pkg}-el
|
||||
Summary: Elisp source files for Anthy under GNU Emacs
|
||||
Group: System Environment/Libraries
|
||||
Requires: emacs-%{pkg} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n emacs-%{pkg}-el
|
||||
This package contains the elisp source files for Anthy under GNU Emacs. You
|
||||
do not need to install this package to run Anthy. Install the emacs-%{pkg}
|
||||
package to use Anthy with GNU Emacs.
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%package -n xemacs-%{pkg}
|
||||
Summary: Compiled elisp files to run Anthy under XEmacs
|
||||
Group: System Environment/Libraries
|
||||
Requires: xemacs(bin) >= %{_xemacs_version}
|
||||
Requires: anthy = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n xemacs-%{pkg}
|
||||
This package contains the byte compiled elisp packages to use Anthy with
|
||||
XEmacs.
|
||||
|
||||
%package -n xemacs-%{pkg}-el
|
||||
Summary: Elisp source files for Anthy under XEmacs
|
||||
Group: System Environment/Libraries
|
||||
Requires: xemacs-%{pkg} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n xemacs-%{pkg}-el
|
||||
This package contains the elisp source files for Anthy under XEmacs. You do
|
||||
not need to install this package to run Anthy. Install the xemacs-%{pkg}
|
||||
package to use Anthy with XEmacs.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q #-a 2
|
||||
%patch0 -p1 -b .0-typo
|
||||
%patch1 -p1 -b .1-typo-name
|
||||
%patch10 -p1 -b .10-corpus
|
||||
%autosetup -p1
|
||||
|
||||
# Convert to utf-8
|
||||
for file in ChangeLog doc/protocol.txt; do
|
||||
|
|
@ -165,64 +136,181 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|||
rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{la,a}
|
||||
|
||||
## for emacs-anthy
|
||||
%__mkdir_p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%if %{with xemacs}
|
||||
## for xemacs-anthy
|
||||
%__mkdir_p $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
||||
pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util
|
||||
make clean
|
||||
make EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}"
|
||||
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}"
|
||||
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}" INSTALL="install -p"
|
||||
popd
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr (-, root, root, -)
|
||||
%doc AUTHORS COPYING ChangeLog DIARY NEWS README
|
||||
%doc AUTHORS ChangeLog DIARY NEWS README
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_sysconfdir}/*
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_datadir}/anthy/
|
||||
%doc doc/ELISP
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.el
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.elc
|
||||
%{_emacs_sitestartdir}/*.el
|
||||
%dir %{_emacs_sitelispdir}/%{pkg}
|
||||
%if %{with xemacs}
|
||||
%{_xemacs_sitelispdir}/%{pkg}/*.el
|
||||
%{_xemacs_sitelispdir}/%{pkg}/*.elc
|
||||
%{_xemacs_sitestartdir}/*.el
|
||||
%dir %{_xemacs_sitelispdir}/%{pkg}
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root, -)
|
||||
%doc doc/DICLIB doc/DICUTIL doc/GLOSSARY doc/GRAMMAR doc/GUIDE.english doc/ILIB doc/LEARNING doc/LIB doc/MISC doc/POS doc/SPLITTER doc/TESTING doc/protocol.txt
|
||||
%{_includedir}/*
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files -n emacs-%{pkg}
|
||||
%defattr(-, root, root, -)
|
||||
%doc doc/ELISP
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.elc
|
||||
%{_emacs_sitestartdir}/*.el
|
||||
%dir %{_emacs_sitelispdir}/%{pkg}
|
||||
|
||||
%files -n emacs-%{pkg}-el
|
||||
%defattr(-, root, root, -)
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.el
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%files -n xemacs-%{pkg}
|
||||
%defattr(-, root, root, -)
|
||||
%doc doc/ELISP
|
||||
%{_xemacs_sitelispdir}/%{pkg}/*.elc
|
||||
%{_xemacs_sitestartdir}/*.el
|
||||
%dir %{_xemacs_sitelispdir}/%{pkg}
|
||||
|
||||
%files -n xemacs-%{pkg}-el
|
||||
%defattr(-, root, root, -)
|
||||
%{_xemacs_sitelispdir}/%{pkg}/*.el
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-59
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-58
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-57
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Sep 19 2024 Akira TAGOH <tagoh@redhat.com> - 9100h-56
|
||||
- Fix an infinite loop when missing EOL in record file.
|
||||
Resolves: rhbz#1944546
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-55
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-54
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-53
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Tue Nov 28 2023 Akira TAGOH <tagoh@redhat.com> - 9100h-52
|
||||
- Fix symbol error on Emacs 29.
|
||||
Resolves: rhbz#2251128
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-51
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-50
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Nov 30 2022 Akira TAGOH <tagoh@redhat.com> - 9100h-49
|
||||
- Convert License tag to SPDX.
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-47
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue May 31 2022 Stewart Smith <trawets@amazon.com> - 9100h-46
|
||||
- Switch xemacs build condition to bcond
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-45
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Nov 9 2021 Jerry James <loganjerry@gmail.com> - 9100h-44
|
||||
- Drop XEmacs support in F36 and later
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-41
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 29 2018 Akira TAGOH <tagoh@redhat.com> - 9100h-35
|
||||
- Use ldconfig rpm macro.
|
||||
|
||||
* Mon Feb 19 2018 Akira TAGOH <tagoh@redhat.com> - 9100h-34
|
||||
- Add BR: gcc.
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jan 4 2016 Akira TAGOH <tagoh@redhat.com>
|
||||
- Use %%global instead of %%define.
|
||||
|
||||
* Tue Jun 23 2015 Akira TAGOH <tagoh@redhat.com> - 9100h-28
|
||||
- Merge emacs sub-packages into main (#1234577)
|
||||
|
||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Mon Jun 17 2013 Akira TAGOH <tagoh@redhat.com> - 9100h-23
|
||||
- Fix a segfault issue. (#973127)
|
||||
|
||||
* Wed Mar 27 2013 Akira TAGOH <tagoh@redhat.com> - 9100h-22
|
||||
- Rebuilt for aarch64 support (#925002)
|
||||
|
||||
* Fri Mar 8 2013 Akira TAGOH <tagoh@redhat.com> - 9100h-21
|
||||
- Apply a patch from Mike FABIAN to get anthy.el working back on Emacs 24.3.1.
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Aug 14 2012 Akira TAGOH <tagoh@redhat.com> - 9100h-19
|
||||
- Update License tag.
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9100h-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
|
@ -491,4 +579,3 @@ popd
|
|||
|
||||
* Tue Jun 01 2004 Akira TAGOH <tagoh@redhat.com> 5330-1
|
||||
- Initial package.
|
||||
|
||||
|
|
|
|||
5
plans/basic.fmf
Normal file
5
plans/basic.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
5
tests/basic/main.fmf
Normal file
5
tests/basic/main.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic test for anthy
|
||||
require:
|
||||
- anthy
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
14
tests/basic/test.sh
Executable file
14
tests/basic/test.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
|
||||
basedir=$(pwd)
|
||||
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartTest
|
||||
rlRun "cat word.txt | iconv -f utf-8 -t euc-jp | anthy-dic-tool --load 0 "Registering a word to dict"
|
||||
rlRun "anthy-dic-tool --dump | iconv -f euc-jp -t utf-8 | grep -v "#" | tee output" 0 "Dumping dict"
|
||||
rlRun "diff -u word.txt output" 0 "Check difference"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
8
tests/basic/word.txt
Normal file
8
tests/basic/word.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
てすと 1 テスト
|
||||
格助詞接続 = y
|
||||
語幹のみで文節 = y
|
||||
する接続 = y
|
||||
さ接続 = y
|
||||
な接続 = y
|
||||
品詞 = 名詞
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue