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:
OBS User autobuild 2010-02-18 15:31:43 +00:00 committed by Git OBS Bridge
parent 735cbd36ed
commit 302a88e200
5 changed files with 40 additions and 91 deletions

3
libthai-0.1.13.tar.bz2 Normal file
View File

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

View File

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

View File

@ -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 Fri Jan 16 19:54:50 CET 2009 - crrodriguez@suse.de

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: libthai Name: libthai
Url: http://linux.thai.net/plone/TLWG/libthai/ Version: 0.1.13
License: LGPL v2.1 or later Release: 1
Group: System/Libraries License: LGPLv2.1+
AutoReqProv: on
Version: 0.1.9
Release: 37
Summary: Thai Language Support Routines Summary: Thai Language Support Routines
Source: %name-%version.tar.bz2 Url: http://linux.thai.net/plone/TLWG/libthai/
Patch: warnings.patch Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
BuildRequires: libdatrie-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libdatrie-devel pkg-config
%description %description
LibThai is a set of Thai language support routines aimed to ease 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 word breaking, input and output methods, and basic character and string
support. 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 %package devel
License: LGPL v2.1 or later License: LGPLv2.1+
Summary: Thai Language Support Routines (development files) Summary: Thai Language Support Routines (development files)
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} libdatrie-devel Requires: %{name} = %{version}
Requires: libdatrie-devel
%description devel %description devel
LibThai is a set of Thai language support routines aimed to ease 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 This package contains headers and libraries required for developing
software using libthai. 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 %prep
%setup -q %setup -q
%patch
%build %build
%configure --disable-static --with-pic %configure --disable-static --with-pic
@ -84,10 +62,10 @@ make %{?jobs:-j%jobs}
%install %install
%makeinstall %makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.la rm %{buildroot}%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -105,34 +83,3 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %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

View File

@ -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];