From f69e6fb4b365c40c4f9f8c00b42fe0c7be79d5ac26cc7d45fe670c62cbbfe1c4 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 8 Feb 2008 18:26:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icu?expand=0&rev=3 --- icu.changes | 6 +++ icu.spec | 63 ++++++++++++++------------ icu4c-3_6-src-setBreakType-public.diff | 17 +++++++ 3 files changed, 58 insertions(+), 28 deletions(-) create mode 100644 icu4c-3_6-src-setBreakType-public.diff diff --git a/icu.changes b/icu.changes index 23e0d66..10ca939 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 7 14:25:21 CET 2008 - pmladek@suse.cz + +- made RuleBasedBreakIterator::setBreakType method pubclic; it was requested by + OpenOffice_org >= 2.3.1, see http://bugs.icu-project.org/trac/ticket/5498 + ------------------------------------------------------------------- Wed Jul 25 18:02:05 CEST 2007 - pmladek@suse.cz diff --git a/icu.spec b/icu.spec index db6f689..9f3a445 100644 --- a/icu.spec +++ b/icu.spec @@ -1,7 +1,7 @@ # # spec file for package icu (Version 3.6) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 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. # @@ -14,14 +14,17 @@ Name: icu BuildRequires: gcc-c++ License: IBM Public License Group: System/Libraries -Autoreqprov: on +AutoReqProv: on Version: 3.6 -Release: 1 +Release: 33 Requires: libicu = %{version} -URL: http://ibm.com/software/globalization/icu +Url: http://ibm.com/software/globalization/icu Source0: icu4c-3_6-src.tar.bz2 Source1: icu4c-3_6-docs.tar.bz2 Source3: SuSEconfig.icu +# OOo-2.3.1 and above needs to access the setBreakType method, see +# http://bugs.icu-project.org/trac/ticket/5498 +Patch: icu4c-3_6-src-setBreakType-public.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: International Components for Unicode @@ -118,6 +121,7 @@ Authors: %prep %setup -q -n icu -a1 +%patch %build cd source @@ -217,7 +221,10 @@ rm -rf $RPM_BUILD_ROOT /usr/share/icu/%{version}/UnicodeData.txt %changelog -* Wed Jul 25 2007 - pmladek@suse.cz +* Thu Feb 07 2008 pmladek@suse.cz +- made RuleBasedBreakIterator::setBreakType method pubclic; it was requested by + OpenOffice_org >= 2.3.1, see http://bugs.icu-project.org/trac/ticket/5498 +* Wed Jul 25 2007 pmladek@suse.cz - Updated to version 3.6 * supports Unicode 5.0 * supports data from Common Locale Data Repository (CLDR) 1.4 @@ -231,56 +238,56 @@ rm -rf $RPM_BUILD_ROOT * 64-bit indexing is now used to allow access to larger chunks of text * added API for read-only locking for security and robustness * lots performance improvements -* Mon Feb 13 2006 - olh@suse.de +* Mon Feb 13 2006 olh@suse.de - mark libraries as executable to extract debuginfo -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Wed Aug 03 2005 - sbrabec@suse.cz +* Wed Aug 03 2005 sbrabec@suse.cz - Updated to version 3.4. -* Mon Mar 28 2005 - gekker@suse.de +* Mon Mar 28 2005 gekker@suse.de - Move icu-config to libicu-devel package (8030). -* Mon Jan 10 2005 - sbrabec@suse.cz +* Mon Jan 10 2005 sbrabec@suse.cz - Updated to version 3.2 (#49578). Updated by Robert Schiele . - Added -fno-strict-aliasing. -* Fri Nov 19 2004 - ro@suse.de +* Fri Nov 19 2004 ro@suse.de - ignore return-code from strip call -* Tue May 25 2004 - clahey@suse.de +* Tue May 25 2004 clahey@suse.de - Removed --with-data-packaging=files. Fixes gtk-sharp compilation. -* Mon May 24 2004 - clahey@suse.de +* Mon May 24 2004 clahey@suse.de - Updated to 2.6.2. -* Wed Mar 31 2004 - mfabian@suse.de +* Wed Mar 31 2004 mfabian@suse.de - Bugzilla #37029: "strip --strip-debug" static libraries to save space on the CDs. -* Fri Jan 23 2004 - uli@suse.de +* Fri Jan 23 2004 uli@suse.de - removed --disable-rpath; it is unnecessary and breaks the icu-config script -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig -* Tue Sep 23 2003 - mfabian@suse.de +* Tue Sep 23 2003 mfabian@suse.de - Bugzilla #31665: "SuSEconfig.icu is not lib64 clean" fixed. -* Mon Aug 18 2003 - mfabian@suse.de +* Mon Aug 18 2003 mfabian@suse.de - update to 2.6. -* Mon Jun 16 2003 - mfabian@suse.de +* Mon Jun 16 2003 mfabian@suse.de - fix "directory not owned by any package". -* Fri May 16 2003 - mfabian@suse.de +* Fri May 16 2003 mfabian@suse.de - fix file list, remove CVS directories. -* Wed Sep 11 2002 - mfabian@suse.de +* Wed Sep 11 2002 mfabian@suse.de - /usr/sbin/gencnval is now in /usr/bin/gencnval. Fix SuSEconfig.icu accordingly. -* Sat Aug 17 2002 - mfabian@suse.de +* Sat Aug 17 2002 mfabian@suse.de - update to 2.2 -* Sun Aug 11 2002 - mfabian@suse.de +* Sun Aug 11 2002 mfabian@suse.de - add Provides: libicu17 to libicu21 subpackage (to trigger the selection of the new package during update.) -* Fri Aug 09 2002 - mfabian@suse.de +* Fri Aug 09 2002 mfabian@suse.de - update to 2.1 -* Tue Mar 12 2002 - mfabian@suse.de +* Tue Mar 12 2002 mfabian@suse.de - use %%{_libdir} -* Tue Mar 12 2002 - kukuk@suse.de +* Tue Mar 12 2002 kukuk@suse.de - Fix most wrong directories in filelist -* Mon Feb 11 2002 - ro@suse.de +* Mon Feb 11 2002 ro@suse.de - tar option for bz2 is "j" -* Wed Mar 07 2001 - mfabian@suse.de +* Wed Mar 07 2001 mfabian@suse.de - new package: icu 1.7 - package names as described in PACKAGING diff --git a/icu4c-3_6-src-setBreakType-public.diff b/icu4c-3_6-src-setBreakType-public.diff new file mode 100644 index 0000000..b410044 --- /dev/null +++ b/icu4c-3_6-src-setBreakType-public.diff @@ -0,0 +1,17 @@ +--- source/common/unicode/rbbi.h ++++ source/common/unicode/rbbi.h +@@ -611,12 +611,14 @@ + virtual int32_t getBreakType() const; + #endif + ++public: + /** + * Set the type of the break iterator. + * @internal + */ + virtual void setBreakType(int32_t type); + ++protected: + /** + * Common initialization function, used by constructors and bufferClone. + * (Also used by DictionaryBasedBreakIterator::createBufferClone().)