Accepting request 77712 from home:tiwai:branches:M17N

- Update to version 1.6.2: bug fix release; see ChangeLog
- Fix compile warnings
- Split libm17n0 subpackage for shared libraries
- Add baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/77712
OBS-URL: https://build.opensuse.org/package/show/M17N/m17n-lib?expand=0&rev=7
This commit is contained in:
Takashi Iwai 2011-08-02 16:17:59 +00:00 committed by Git OBS Bridge
parent 1512fc7713
commit c815115e68
6 changed files with 74 additions and 33 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libm17n0

View File

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

3
m17n-lib-1.6.2.tar.gz Normal file
View File

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

View File

@ -0,0 +1,36 @@
---
src/font.c | 5 +++--
src/fontset.c | 1 -
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/src/font.c
+++ b/src/font.c
@@ -1354,7 +1354,7 @@
{
int i;
MSymbol spec_list[MFONT_REGISTRY + 1];
- MSymbol registry;
+ MSymbol registry = Mnil;
char *reg;
MFONT_INIT (spec);
@@ -1365,7 +1365,8 @@
MERROR (MERROR_FONT, Mnil);
spec_list[i] = MPLIST_SYMBOL (plist);
}
- registry = spec_list[i - 1];
+ if (i > 0)
+ registry = spec_list[i - 1];
if (i > 1 && registry != Mnil)
{
reg = MSYMBOL_NAME (registry);
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -846,7 +846,6 @@
if (MPLIST_KEY (plist) != Mlatin)
request.property[MFONT_FOUNDRY]
- = request.property[MFONT_FAMILY]
= request.property[MFONT_FAMILY] = 0;
if ((per_lang = mplist_get (MPLIST_PLIST (plist), language))
&& (rfont = try_font_group (realized, &request, per_lang,

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Aug 2 16:59:23 CEST 2011 - tiwai@suse.de
- Update to version 1.6.2: bug fix release; see ChangeLog
- Fix compile warnings
- Split libm17n0 subpackage for shared libraries
- Add baselibs.conf
-------------------------------------------------------------------
Mon May 17 14:41:39 UTC 2010 - coolo@novell.com
- do not require anthy, it creates a build cycle with emacs
-------------------------------------------------------------------
Thu Apr 22 17:38:25 CEST 2010 - tiwai@suse.de
@ -9,7 +22,6 @@ Mon Oct 27 15:57:18 CET 2008 - mfabian@suse.de
- update to m17n-lib 1.5.3.
• only bugfixes.
-
-------------------------------------------------------------------
Fri Jun 13 02:31:25 CEST 2008 - crrodriguez@suse.de

View File

@ -18,35 +18,33 @@
Name: m17n-lib
BuildRequires: anthy-devel freetype2-devel fribidi-devel gd-devel ispell ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel xorg-x11-devel
BuildRequires: freetype2-devel fribidi-devel gd-devel ispell ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel xorg-x11-devel
%define appdefdir /usr/share/X11
Version: 1.6.0
Release: 1
Version: 1.6.2
Release: 2
License: GPLv2+ ; LGPLv2.1+ ; MIT
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-%{version}.tar.bz2
Source0: http://www.m17n.org/m17n-lib-download/m17n-lib-%{version}.tar.gz
Source1: m17n-lib-rpmlintrc
Source2: baselibs.conf
Patch0: m17n-lib-fix-warnings.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multilingual Text Processing Library for the C Language
%description
A multilingual text processing library for the C language.
This package contains m17n-* programs.
%package -n libm17n0
Summary: Multilingual text processing library for the C language
Group: System/I18n/Japanese
Authors:
--------
Kenichi Handa <handa@m17n.org>
Mikiko Nishikimi <nisikimi@m17n.org>
Naoto Takahashi <ntakahas@m17n.org>
Satoru Tomura <tomura@m17n.org>
%description -n libm17n0
A multilingual text processing library for the C language.
This package contains shared libraries.
%package devel
License: GPLv2+ ; LGPLv2.1+ ; MIT
@ -57,18 +55,9 @@ Requires: %{name} = %{version} glibc-devel xorg-x11-libX11-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
#find . -name CVS -type d | xargs rm -rf
%patch0 -p1
%build
export SUSE_ASNEEDED=0
@ -100,21 +89,24 @@ rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libm17n0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libm17n0 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/lib*.so.*
%{_libdir}/m17n
%{_bindir}/*
%dir %{appdefdir}/??
%dir %{appdefdir}/??_*
%dir %{appdefdir}/*/app-defaults
%config %{appdefdir}/*/app-defaults/M17NEdit
%files -n libm17n0
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%{_libdir}/m17n
%files devel
%defattr(-, root, root)
%{_includedir}/*