Accepting request 32420 from GNOME:Factory
Copy from GNOME:Factory/libthai based on submit request 32420 from user vuntz OBS-URL: https://build.opensuse.org/request/show/32420 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libthai?expand=0&rev=7
This commit is contained in:
parent
735cbd36ed
commit
302a88e200
3
libthai-0.1.13.tar.bz2
Normal file
3
libthai-0.1.13.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1510b6a2518d5a77d7b1c812515289e0e6071d5f6fe6c97dcb2cb9b2a5404df9
|
||||
size 410799
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:442d784c01d529cd9adee662170c6f6a9b577cc66886a9ad5ce05c0f6d7048c1
|
||||
size 363364
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 17 20:09:00 CET 2010 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 0.1.13:
|
||||
+ Fix integer overflow vulnerabilities (CVE-2009-4012).
|
||||
+ Updated word break dictionary.
|
||||
- Changes from version 0.1.12:
|
||||
+ Improved unknown words boundary.
|
||||
+ Add symbol versioning.
|
||||
+ Updated word break dictionary.
|
||||
- Changes from version 0.1.11:
|
||||
+ Diminished link flags in pkg-config info, for less dependency
|
||||
for clients.
|
||||
+ More words in word break dictionary.
|
||||
- Changes from version 0.1.10:
|
||||
+ More dictionary capacity with libdatrie 0.2.
|
||||
+ Dictionary clean-up on unload.
|
||||
+ Some performance fine-tuning.
|
||||
+ More words in word break dictionary.
|
||||
- Drop warnings.patch: fixed upstream.
|
||||
- Drop bug-569615_01_integer-overflow-vuln.patch: fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 16 19:54:50 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
|
83
libthai.spec
83
libthai.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libthai (Version 0.1.9)
|
||||
# spec file for package libthai (Version 0.1.13)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,21 +15,19 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libthai
|
||||
Url: http://linux.thai.net/plone/TLWG/libthai/
|
||||
License: LGPL v2.1 or later
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
Version: 0.1.9
|
||||
Release: 37
|
||||
Version: 0.1.13
|
||||
Release: 1
|
||||
License: LGPLv2.1+
|
||||
Summary: Thai Language Support Routines
|
||||
Source: %name-%version.tar.bz2
|
||||
Patch: warnings.patch
|
||||
Url: http://linux.thai.net/plone/TLWG/libthai/
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: libdatrie-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libdatrie-devel pkg-config
|
||||
|
||||
%description
|
||||
LibThai is a set of Thai language support routines aimed to ease
|
||||
@ -38,21 +36,12 @@ applications. It includes important Thai-specific functions, such as
|
||||
word breaking, input and output methods, and basic character and string
|
||||
support.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||
Chanop Silpa-Anan <chanop@linux.thai.net>
|
||||
Pattara Kiatisevi <ott@linux.thai.net>
|
||||
Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||
Vuthichai Ampornaramveth <vuthi@nii.ac.jp>
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.1 or later
|
||||
License: LGPLv2.1+
|
||||
Summary: Thai Language Support Routines (development files)
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version} libdatrie-devel
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libdatrie-devel
|
||||
|
||||
%description devel
|
||||
LibThai is a set of Thai language support routines aimed to ease
|
||||
@ -64,19 +53,8 @@ support.
|
||||
This package contains headers and libraries required for developing
|
||||
software using libthai.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||
Chanop Silpa-Anan <chanop@linux.thai.net>
|
||||
Pattara Kiatisevi <ott@linux.thai.net>
|
||||
Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||
Vuthichai Ampornaramveth <vuthi@nii.ac.jp>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-pic
|
||||
@ -84,10 +62,10 @@ make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -105,34 +83,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2009 crrodriguez@suse.de
|
||||
- remove static libraries and "la" files
|
||||
* Wed May 21 2008 sbrabec@suse.cz
|
||||
- Fixed devel depenendencies.
|
||||
* Mon Apr 07 2008 uli@suse.de
|
||||
- update -> 0.1.9 (bug #326002)
|
||||
* Rewritten itemization for line breaker, for conformance to UAX#14.
|
||||
* Revised dictionary for compound words support.
|
||||
* Improved handling of white spaces in word break routine, for better quality
|
||||
line wrapping in Gecko libthai component.
|
||||
* More words in word break dictionary.
|
||||
* Excessive exported symbols are eliminated from library.
|
||||
* Rewritten word break routines:
|
||||
- Split dictionary from source, thus new dependency on libdatrie
|
||||
- New word break routine from scratch, for maintainability
|
||||
* Improved dictionary for word segmentation:
|
||||
- New word list preparation process from multiple categories
|
||||
- New contemporary words not included in Royal Institute dictionary,
|
||||
as well as some proper names for countries and locations, etc.
|
||||
- Fine-tuned dictionary to get rid of some potential ambiguities
|
||||
* Documentation with doxygen.
|
||||
* Add missing APIs.
|
||||
* Fix compiler warnings.
|
||||
* Improved word breaking. Space is now also considered a breakable point.
|
||||
* More PUA support for Mac fonts rendering.
|
||||
* Start maintaining library version info from now on.
|
||||
- created devel subpackage
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Sep 15 2005 uli@suse.de
|
||||
- initial package
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- src/thinp/thinp.c
|
||||
+++ src/thinp/thinp.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <thai/tis.h>
|
||||
#include <thai/wtt.h>
|
||||
|
||||
+#include <string.h>
|
||||
|
||||
int th_isaccept(thchar_t c1, thchar_t c2, thstrict_t s)
|
||||
{
|
||||
--- src/thrend/thrend.c
|
||||
+++ src/thrend/thrend.c
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <thai/thctype.h>
|
||||
#include <thai/tis.h>
|
||||
|
||||
+#include <string.h>
|
||||
|
||||
typedef struct {
|
||||
thglyph_t ShiftDown_TONE_AD[8];
|
Loading…
Reference in New Issue
Block a user