forked from pool/m17n-lib
This commit is contained in:
commit
3707cb4478
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
16
bugzilla-232303-local-variable-used-before-set.patch
Normal file
16
bugzilla-232303-local-variable-used-before-set.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: src/m17n-gd.c
|
||||
===================================================================
|
||||
RCS file: /cvs/m17n/m17n-lib/src/m17n-gd.c,v
|
||||
retrieving revision 1.16
|
||||
diff -u -r1.16 m17n-gd.c
|
||||
--- src/m17n-gd.c 7 Dec 2006 12:12:38 -0000 1.16
|
||||
+++ src/m17n-gd.c 9 Jan 2007 14:02:54 -0000
|
||||
@@ -299,8 +299,6 @@
|
||||
int color, pixel;
|
||||
int r, g, b;
|
||||
|
||||
- pixel = RESOLVE_COLOR (img, color);
|
||||
-
|
||||
if (from == to)
|
||||
return;
|
||||
|
3
m17n-lib-1.3.4.tar.bz2
Normal file
3
m17n-lib-1.3.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:453630a9ecb57538abb45882b5d467a12be6d501cf0cc0d293bd6f6e8591caea
|
||||
size 464864
|
99
m17n-lib.changes
Normal file
99
m17n-lib.changes
Normal file
@ -0,0 +1,99 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 09 14:30:08 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 1.3.4.
|
||||
- fix bugzilla #32303.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 29 12:09:33 CET 2006 - meissner@suse.de
|
||||
|
||||
- build with RPM_OPT_FLAGS. Added some requires to -devel package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 12:45:06 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 1.3.3.20060828 (fixes bugzilla #199870).
|
||||
• If the environment variable "M17NDIR" is not set, the
|
||||
directory "~/.m17n.d" is serched for database files.
|
||||
• New function mfont_list_family_names () returns a list of
|
||||
available font family names.
|
||||
• New functions mlanguage_list (), mlanguage_code (),
|
||||
mlanguage_name (), and mlanguage_text () return various
|
||||
language-related information.
|
||||
• New functions mscript_list () and mscript_language_list ()
|
||||
return various script-related information.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 14 11:22:19 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- move app-defaults to /usr/share/X11 (for X11R7).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 12:10:09 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 1.3.3.20060620:
|
||||
fixes bugzilla #185572 and some other small bugs.
|
||||
- install Japanese app-defaults.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:38:08 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 10:15:21 CET 2006 - mfabian@suse.de
|
||||
|
||||
- update to 1.3.0.20060113 (CVS HEAD).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 09:38:49 CET 2006 - mfabian@suse.de
|
||||
|
||||
- update to 1.3.0.
|
||||
- add pkgconfig to # neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 18:53:33 CET 2005 - mfabian@suse.de
|
||||
|
||||
- add "ispell words ispell-british" to "# neededforbuild" to
|
||||
make the ispell input method work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 28 12:56:41 CET 2004 - mfabian@suse.de
|
||||
|
||||
- update to 1.2.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 21 18:02:16 CET 2004 - mfabian@suse.de
|
||||
|
||||
- update to 1.1.0.20041221 (cvs version) to test the new
|
||||
minput_reset_ic() function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 30 18:26:43 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- add "Requires: m17n-db". m17n-lib is almost useless without
|
||||
m17n-db and scim-m17n doesn't work at all without m17n-db.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 19:00:01 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #45562: move .so files to main package. scim-m17n needs
|
||||
the .so files but it should not need to require m17n-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 20 15:39:46 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #44028: rename binaries from m* to m17n-* to remove
|
||||
conflict with majordomo's /usr/bin/medit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 12:37:30 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 1.1.0.
|
||||
- remove Zhe Su's patch m17n-lib-typedef.diff (included upstream).
|
||||
- remove my useless-header.patch (included upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 16 19:48:54 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- new package: m17n-lib, version 1.0.2
|
170
m17n-lib.spec
Normal file
170
m17n-lib.spec
Normal file
@ -0,0 +1,170 @@
|
||||
#
|
||||
# spec file for package m17n-lib (Version 1.3.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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: m17n-lib
|
||||
BuildRequires: anthy-devel freetype2-devel fribidi-devel ispell ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel xorg-x11-devel
|
||||
%if "%(xft-config --prefix)" == "/usr"
|
||||
%define appdefdir /usr/share/X11
|
||||
%else
|
||||
%define appdefdir /usr/X11R6/lib/X11
|
||||
%endif
|
||||
Version: 1.3.4
|
||||
Release: 1
|
||||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: System/I18n/Japanese
|
||||
Autoreqprov: on
|
||||
Requires: m17n-db
|
||||
URL: http://www.m17n.org/m17n-lib/
|
||||
# CVS:
|
||||
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login
|
||||
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-lib
|
||||
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-db
|
||||
Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-1.3.4.tar.bz2
|
||||
Patch0: bugzilla-232303-local-variable-used-before-set.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Multilingual Text Processing Library for the C Language
|
||||
|
||||
%description
|
||||
A multilingual text processing library for the C language.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Kenichi Handa <handa@m17n.org>
|
||||
Mikiko Nishikimi <nisikimi@m17n.org>
|
||||
Naoto Takahashi <ntakahas@m17n.org>
|
||||
Satoru Tomura <tomura@m17n.org>
|
||||
|
||||
%package devel
|
||||
Summary: multilingual text processing library for the C language
|
||||
Group: System/I18n/Japanese
|
||||
Requires: %{name} = %{version} glibc-devel fribidi-devel libotf-devel fontconfig-devel freetype2-devel
|
||||
|
||||
%description devel
|
||||
A multilingual text processing library for the C language
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Kenichi Handa <handa@m17n.org>
|
||||
Mikiko Nishikimi <nisikimi@m17n.org>
|
||||
Naoto Takahashi <ntakahas@m17n.org>
|
||||
Satoru Tomura <tomura@m17n.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p0
|
||||
find . -name CVS -type d | xargs rm -rf
|
||||
|
||||
%build
|
||||
./bootstrap.sh
|
||||
libtoolize --force --automake
|
||||
autoreconf --force --install --verbose
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--libdir=%{_libdir} \
|
||||
--with-pic
|
||||
make
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||
# Japanese app-defaults:
|
||||
mkdir -p $RPM_BUILD_ROOT%{appdefdir}/{ja,ja_JP,ja_JP.eucJP,ja_JP.SJIS,ja_JP.UTF-8}/app-defaults
|
||||
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
|
||||
> $RPM_BUILD_ROOT%{appdefdir}/ja/app-defaults/M17NEdit
|
||||
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
|
||||
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP/app-defaults/M17NEdit
|
||||
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
|
||||
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.eucJP/app-defaults/M17NEdit
|
||||
iconv -f EUC-JP -t SJIS < example/M17NEdit.ja \
|
||||
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.SJIS/app-defaults/M17NEdit
|
||||
iconv -f EUC-JP -t UTF-8 < example/M17NEdit.ja \
|
||||
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit
|
||||
|
||||
%clean
|
||||
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING NEWS README ChangeLog
|
||||
%dir %{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.so
|
||||
%{_bindir}/*
|
||||
%dir %{appdefdir}/??
|
||||
%dir %{appdefdir}/??_*
|
||||
%dir %{appdefdir}/*/app-defaults
|
||||
%config %{appdefdir}/*/app-defaults/M17NEdit
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
/usr/include/*
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog -n m17n-lib
|
||||
* Tue Jan 09 2007 - mfabian@suse.de
|
||||
- update to 1.3.4.
|
||||
- fix bugzilla #32303.
|
||||
* Sun Oct 29 2006 - meissner@suse.de
|
||||
- build with RPM_OPT_FLAGS. Added some requires to -devel package.
|
||||
* Mon Aug 28 2006 - mfabian@suse.de
|
||||
- update to 1.3.3.20060828 (fixes bugzilla #199870).
|
||||
• If the environment variable "M17NDIR" is not set, the
|
||||
directory "~/.m17n.d" is serched for database files.
|
||||
• New function mfont_list_family_names () returns a list of
|
||||
available font family names.
|
||||
• New functions mlanguage_list (), mlanguage_code (),
|
||||
mlanguage_name (), and mlanguage_text () return various
|
||||
language-related information.
|
||||
• New functions mscript_list () and mscript_language_list ()
|
||||
return various script-related information.
|
||||
* Mon Aug 14 2006 - mfabian@suse.de
|
||||
- move app-defaults to /usr/share/X11 (for X11R7).
|
||||
* Tue Jun 20 2006 - mfabian@suse.de
|
||||
- update to 1.3.3.20060620:
|
||||
fixes bugzilla #185572 and some other small bugs.
|
||||
- install Japanese app-defaults.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Jan 13 2006 - mfabian@suse.de
|
||||
- update to 1.3.0.20060113 (CVS HEAD).
|
||||
* Fri Jan 13 2006 - mfabian@suse.de
|
||||
- update to 1.3.0.
|
||||
- add pkgconfig to # neededforbuild.
|
||||
* Fri Jan 14 2005 - mfabian@suse.de
|
||||
- add "ispell words ispell-british" to "# neededforbuild" to
|
||||
make the ispell input method work.
|
||||
* Tue Dec 28 2004 - mfabian@suse.de
|
||||
- update to 1.2.0.
|
||||
* Tue Dec 21 2004 - mfabian@suse.de
|
||||
- update to 1.1.0.20041221 (cvs version) to test the new
|
||||
minput_reset_ic() function.
|
||||
* Thu Sep 30 2004 - mfabian@suse.de
|
||||
- add "Requires: m17n-db". m17n-lib is almost useless without
|
||||
m17n-db and scim-m17n doesn't work at all without m17n-db.
|
||||
* Mon Sep 20 2004 - mfabian@suse.de
|
||||
- Bugzilla #45562: move .so files to main package. scim-m17n needs
|
||||
the .so files but it should not need to require m17n-devel.
|
||||
* Fri Aug 20 2004 - mfabian@suse.de
|
||||
- Bugzilla #44028: rename binaries from m* to m17n-* to remove
|
||||
conflict with majordomo's /usr/bin/medit.
|
||||
* Tue Aug 17 2004 - mfabian@suse.de
|
||||
- update to 1.1.0.
|
||||
- remove Zhe Su's patch m17n-lib-typedef.diff (included upstream).
|
||||
- remove my useless-header.patch (included upstream).
|
||||
* Mon Aug 16 2004 - mfabian@suse.de
|
||||
- new package: m17n-lib, version 1.0.2
|
Loading…
Reference in New Issue
Block a user