Accepting request 77976 from 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/77976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m17n-lib?expand=0&rev=15
This commit is contained in:
commit
f548c0ffc1
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
libm17n0
|
@ -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
3
m17n-lib-1.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f15039a310e94d6b462c46c409a393e1b16d95f13fd0376361f07bbfc6adb5a3
|
||||||
|
size 1031508
|
36
m17n-lib-fix-warnings.diff
Normal file
36
m17n-lib-fix-warnings.diff
Normal 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,
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Mon May 17 14:41:39 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -20,24 +20,31 @@
|
|||||||
Name: m17n-lib
|
Name: m17n-lib
|
||||||
BuildRequires: 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
|
%define appdefdir /usr/share/X11
|
||||||
Version: 1.6.0
|
Version: 1.6.2
|
||||||
Release: 2
|
Release: 2
|
||||||
License: GPLv2+ ; LGPLv2.1+ ; MIT
|
License: GPLv2+ ; LGPLv2.1+ ; MIT
|
||||||
Group: System/I18n/Japanese
|
Group: System/I18n/Japanese
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires: m17n-db
|
|
||||||
Url: http://www.m17n.org/m17n-lib/
|
Url: http://www.m17n.org/m17n-lib/
|
||||||
# CVS:
|
Source0: http://www.m17n.org/m17n-lib-download/m17n-lib-%{version}.tar.gz
|
||||||
# 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
|
|
||||||
Source1: m17n-lib-rpmlintrc
|
Source1: m17n-lib-rpmlintrc
|
||||||
|
Source2: baselibs.conf
|
||||||
|
Patch0: m17n-lib-fix-warnings.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Multilingual Text Processing Library for the C Language
|
Summary: Multilingual Text Processing Library for the C Language
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A multilingual text processing library for the C language.
|
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
|
||||||
|
Requires: m17n-db
|
||||||
|
|
||||||
|
%description -n libm17n0
|
||||||
|
A multilingual text processing library for the C language.
|
||||||
|
This package contains shared libraries.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+ ; LGPLv2.1+ ; MIT
|
License: GPLv2+ ; LGPLv2.1+ ; MIT
|
||||||
@ -50,7 +57,7 @@ A multilingual text processing library for the C language
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#find . -name CVS -type d | xargs rm -rf
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
@ -82,21 +89,24 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING NEWS README ChangeLog
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
||||||
%{_libdir}/lib*.so.*
|
|
||||||
%{_libdir}/m17n
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%dir %{appdefdir}/??
|
%dir %{appdefdir}/??
|
||||||
%dir %{appdefdir}/??_*
|
%dir %{appdefdir}/??_*
|
||||||
%dir %{appdefdir}/*/app-defaults
|
%dir %{appdefdir}/*/app-defaults
|
||||||
%config %{appdefdir}/*/app-defaults/M17NEdit
|
%config %{appdefdir}/*/app-defaults/M17NEdit
|
||||||
|
|
||||||
|
%files -n libm17n0
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/m17n
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user