Hello community, here is the log from the commit of package icu for openSUSE:Factory checked in at 2012-11-20 21:06:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icu (Old) and /work/SRC/openSUSE:Factory/.icu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icu", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/icu/icu.changes 2012-11-20 10:33:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.icu.new/icu.changes 2012-11-20 21:06:31.000000000 +0100 @@ -2,288 +1,0 @@ -Wed Nov 14 18:09:09 UTC 2012 - [email protected] - -- Update to new upstream release 50 -* Unicode 6.2: Turkish Lira Sign, improved word & line segmentation - (BreakIterator) for symbols -* CLDR 22.1: Data coverage & quality improved across all major - languages; new short width type for weekday names; new zhuyin - (Bopomofo) collation for Chinese; improved data for - CompactDecimalFormat & RBNF -* Time zone data: 2012h -* Ordinal-number support in MessageFormat & PluralRules -* Deprecate setLocale(locale) in PluralFormat -* Dictionary-based break iterators (word segmentation) - -------------------------------------------------------------------- -Wed Jul 11 21:35:12 UTC 2012 - [email protected] - -- Remove SuSEconfig.icu; only run the link updater on icu updates - (FATE#313539) - -------------------------------------------------------------------- -Wed Jun 13 12:34:53 UTC 2012 - [email protected] - -- license update: SUSE-XFree86-1.0 - The license (as stated in the license.html page) is not upstream at - http://www.spdx.org/licenses yet - thus, use this version (with SUSE- - proprietary prefix until the license goes upstream) - -------------------------------------------------------------------- -Tue Apr 10 10:22:49 UTC 2012 - [email protected] - -- license update: MIT and SUSE-Public-Domain - This is _not_ IBM Public License code. - -------------------------------------------------------------------- -Tue Apr 3 12:45:07 UTC 2012 - [email protected] - -- Update to new upstream release 49.1: -* Unicode 6.1: New scripts & blocks; changes to grapheme break & - line break property values; some characters change from symbol to - Po or No; etc. -* CLDR 21.0.1: Changes in segmentation data to match Unicode 6.1; - new structures for support of Chinese calendar, for - context-dependent capitalization, for gender of lists of people, - for ordinal categories, and for multiple number systems per - locale; deprecation of "commonlyUsed" element in timezone names; - removal of "whole-locale" aliases; major cleanups of timezone - names, delimiter data, abbreviated number data. -* Support for ISO 4217 numeric currency code -* See http://site.icu-project.org/download/49 for more - -------------------------------------------------------------------- -Sat Feb 25 14:57:50 UTC 2012 - [email protected] - -- Use shlib policy for icu package -- Use proper data directory in CXXFLAGS - -------------------------------------------------------------------- -Wed Jan 18 12:14:28 UTC 2012 - [email protected] - -- Update to version 4.8.1.1: - + Time zone database version 2011k - + Several bug fixes. -- Changes from version 4.8.1: - + Common Locale Data Repository (CLDR) 2.0.1 - + Time zone database version 2011h - + Several bug fixes. -- Changes from version 4.8.0: - + Common Changes: - - CLDR 2.0: The CLDR 2.0 release contains numerous improvements - and bug fixes approved by the CLDR committee, including much - additional data for many languages. - - Explicit parent locale support in data imported from CLDR - - MessageFormat and related classes (choice/plural/select) have - been reimplemented, with several improvements and some - incompatible changes. - - Extended PluralFormat pattern syntax supports explicit-value - forms and offsets. - - Utility APIs in PluralRules (get some/all/unique keyword - values) - - Time zone API to return a list of available canonical system - time zone IDs - - Time zone API to return a region - - Collation: Full implementation & public API for script - reordering - - Dictionary-type trie - - GB18030-2005 update - + ICU4C Specific Changes: - - Alphabetic Index support ported from ICU4J - - X11 Compound Text encoding support ported from ICU4J - - Appendable interface -- Add unzip BuildRequires to handle .zip source file. -- Change the way we unpack the docs zip file: we need to create the - html subdirectory first, so we don't unpack via %setup but with - an explicit call to unzip. - -------------------------------------------------------------------- -Sat Dec 24 10:06:07 UTC 2011 - [email protected] - -- Remove call to suse_update_config, and stop removing - config.cache. - -------------------------------------------------------------------- -Thu Dec 22 09:47:32 UTC 2011 - [email protected] - -- Add automake BuildRequires that was implicit before, to fix - build. - -------------------------------------------------------------------- -Wed Oct 12 17:04:29 UTC 2011 - [email protected] - -- Drop pkgdata.diff: everything leads me to think this is not - needed anymore. Debian doesn't ship this patch with its 4.4 - version of ICU. This patch was just a workaround in the first - place anyway. - -------------------------------------------------------------------- -Tue Oct 11 22:26:44 CEST 2011 - [email protected] - -- Disable "make check" when run under qemu. - -------------------------------------------------------------------- -Tue Aug 2 15:40:36 UTC 2011 - [email protected] - -- Enable strict-aliasing again since the code seems to be fixed. -- Enable make check inside %check. -- Cleanup the spec file with spec-cleaner. - -------------------------------------------------------------------- -Thu May 5 10:21:40 CEST 2011 - [email protected] - -- Update to version 4.6.1: - + Common Locale Data Repository (CLDR) 1.9.1 - + Update timezone data support to Olson 2011c - + Fix: UCOL_RUNTIME_VERSION should be updated for 4.6 - + Fix: Collation Reordering Use Of USCRIPT_UNKNOWN - + Fix: Can't find Hangul with search coll (usearch doesn't handle - CE iter behavior) - + Fix: ULocale#toLanguageTag() should not supply "und" as - language when the locale has only private use - + Fix: USpoof uses NFKD, should be NFD - + ICU4C-specific bug fixes, including: - - ICU misparses numbers in scientific notation - - detect out of memory issue for Hashtable in low memory - situations -- Changes from version 4.6.0: - + Unicode 6.0: - - Supports final version of Unicode 6.0 - - New UCA data for collation/sorting, with refinements from - CLDR; this data is revamped for more effective use of - collation weights, and noncharacters are now handled - - Support for 2,088 new characters, including the new emoji and - Indian Rupee sign - - Fully updated properties - + CLDR 1.9: - - Supports final version of CLDR 1.9 - - The CLDR release contains numerous improvements and bug fixes - approved by the CLDR committee, mainly in the areas of - collation sequences, transliteration, and available date - formats. - + Support for UTS #46 Unicode IDNA Compatibility Processing. - + Alternate number symbols based on numbering system. - + Compact collation tailoring syntax for reduced memory and disk - footprint. - + New collation [import] rule for reduced footprint and improved - maintenance. - + Fast string BiDi direction detection. - + ICU4C-specific changes: - - ICU 4.6 requires compiler RTTI to be turned on. Please see - the ICU4C readme for more details. - - pkg-config files for a standard way of linking against ICU. - - Promotion to @draft (from @internal) for most regex functions - that provide access via UText. - - Regex support for a "find progress" callback. - - Enhance regex APIs to support full 64-bit offsets and - indices. - - New regex API to set match and start position independently. -- Update icu-remove-datetime.patch to apply without fuzz. -- Rebase icu44-rpmlint.diff. -- Add pkg-config BuildRequires to automatically get - pkgconfig()-style Provides. - -------------------------------------------------------------------- -Fri Jan 14 14:07:54 CET 2011 - [email protected] - -- Update to version 4.4.2: - + Common Changes: - - Update LMBCS mapping table - - Time zone data 2010l - + ICU4C Specific Changes: - - Fix: Difference between Java and C implementation with - exponent characters - - Fix: u_fflush (and thus u_fclose) not flushing stateful - converter - - Fix: unum_parseInt64 is not giving proper error - - Fix: Missing header files in Windows build - ++++ 94 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/icu/icu.changes ++++ and /work/SRC/openSUSE:Factory/.icu.new/icu.changes Old: ---- icu-remove-datetime.patch icu-rpmlint.diff icu4c-50_1-docs.zip icu4c-50_1-src.tar.xz New: ---- SuSEconfig.icu icu-gcc44.patch icu4c-3_6-src-setBreakType-public.diff icu4c-4_0-docs.tar.bz2 icu4c-4_0-src.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu.spec ++++++ --- /var/tmp/diff_new_pack.zHe4Gn/_old 2012-11-20 21:06:38.000000000 +0100 +++ /var/tmp/diff_new_pack.zHe4Gn/_new 2012-11-20 21:06:38.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package icu +# spec file for package icu (Version 4.0) # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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,28 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild + Name: icu -%define lname libicu50 -Version: 50.1 -Release: 0 -%define aversion 50_1 -Summary: International Components for Unicode -License: SUSE-XFree86-1.0 +BuildRequires: gcc-c++ +License: X11/MIT Group: System/Libraries +AutoReqProv: on +Version: 4.0 +Release: 8 +Requires: libicu = %{version} Url: http://ibm.com/software/globalization/icu -Source0: icu4c-%aversion-src.tar.xz -Source1: icu4c-%aversion-docs.zip -# PATCH-FIX-UPSTREAM icu-rpmlint.diff -- http://bugs.icu-project.org/trac/ticket/7808 -Patch1: icu-rpmlint.diff -# PATCH-FIX-OPENSUSE icu-remove-datetime.patch [email protected] -- Do not put date/time in icu-config (needed for build-compare) -Patch99: icu-remove-datetime.patch -#BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: pkg-config -BuildRequires: unzip -BuildRequires: xz +Source0: icu4c-4_0-src.tar.bz2 +Source1: icu4c-4_0-docs.tar.bz2 +Source3: SuSEconfig.icu +# PATCH-FIX-UPSTREAM icu4c-3_6-src-setBreakType-public.diff -- 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 +Patch1: icu-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: International Components for Unicode %description ICU is a set of C and C++ libraries that provides robust and @@ -54,28 +52,38 @@ contain any of the data files needed at runtime and present in the icu and icu-locales packages. -%package -n %lname -# Splitting this package is of no significant benefit: -# icudata (largest part) is always needed. + + +Authors: +-------- + The ICU project, International Business Machines (IBM) and Others. <[email protected]> + +%package -n libicu +License: IBM Public License Summary: International Components for Unicode (development files) Group: Development/Libraries/C and C++ # bug437293 %ifarch ppc64 Obsoletes: libicu-64bit %endif -Requires: timezone -Obsoletes: icu-i18ndata -# Following O/P added in timeframe for 12.2 -Provides: libicu = %version-%release -Obsoletes: libicu < %version-%release +# +Provides: libicu17 libicu22 libicu26 libicu30 libicu32 libicu34 +Obsoletes: libicu17 libicu22 libicu26 libicu30 libicu32 libicu34 icu-i18ndata -%description -n %lname +%description -n libicu ICU is a set of C and C++ libraries that provides robust and full-featured Unicode support. This package contains the runtime libraries for ICU. It does not contain any of the data files needed at runtime and present in the `icu' and `icu-locales` packages. + + +Authors: +-------- + The ICU project, International Business Machines (IBM) and Others. <[email protected]> + %package -n libicu-devel +License: IBM Public License Summary: International Components for Unicode (development files) Group: Development/Libraries/C and C++ # bug437293 @@ -83,13 +91,20 @@ Obsoletes: libicu-devel-64bit %endif # -Requires: %lname = %version +Requires: libicu = %{version} %description -n libicu-devel ICU is a C++ and C library that provides robust and full-featured Unicode support. This package contains the development files for ICU. + + +Authors: +-------- + The ICU project, International Business Machines (IBM) and Others. <[email protected]> + %package -n libicu-doc +License: IBM Public License Summary: International Components for Unicode (html documentation) Group: Development/Libraries/C and C++ @@ -97,12 +112,19 @@ ICU is a C++ and C library that provides robust and full-featured Unicode support. This package contains the html documentation. -%package data + + +Authors: +-------- + The ICU project, International Business Machines (IBM) and Others. <[email protected]> + +%package -n icu-data +License: IBM Public License Summary: International Components for Unicode (Sources for the Data in ICU) Group: System/Libraries -Requires: %lname >= %version +Requires: libicu >= %{version} -%description data +%description -n icu-data ICU is a C++ and C library that provides robust and full-featured Unicode support. This package contains the source files for the data found in the "icu" package. @@ -111,120 +133,104 @@ also all the table-based converters provided in the ICU distribution. This package contains uncompiled source data. Precompiled data is in -the "%lname" package. +the `libicu%{version}' package. + + + +Authors: +-------- + The ICU project, International Business Machines (IBM) and Others. <[email protected]> %prep -%setup -q -n icu -mkdir html -pushd html -unzip %{S:1} -popd -%patch1 -p1 -%patch99 -p1 +%setup -q -n icu -a1 +%patch +%patch1 %build cd source -export CXXFLAGS="%optflags -DICU_DATA_DIR=\\\"/usr/share/icu/%version/\\\"" -export CFLAGS="$CXXFLAGS" +rm -f config.cache +%{?suse_update_config:%{suse_update_config -f }} +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CXXFLAGS="$CXXFLAGS -DICU_DATA_DIR='/usr/share/icu/4.0/'" %configure --disable-static --with-pic\ --enable-shared \ --without-samples -make %{?_smp_mflags} +%{__make} %{?jobs:-j%jobs} %install -find . -name CVS -type d -exec rm -Rf "{}" "+" +find . -name CVS -type d | xargs rm -rf cd source - -make install DESTDIR="%buildroot"; - +make DESTDIR=$RPM_BUILD_ROOT install # to extract debug info -chmod a+rx "%buildroot/%_libdir"/*.so.* - +chmod a+rx $RPM_BUILD_ROOT%{_libdir}/*.so.* # install uncompiled source data: -mkdir -p "%buildroot/%_datadir/icu/%version/unidata" -install -m 644 data/unidata/*.txt "%buildroot/%_datadir/icu/%version/unidata" -ln -s unidata/UnicodeData.txt "%buildroot/%_datadir/icu/%version/" - -rm "%buildroot/%_datadir/icu/%version/license.html" -rm "%buildroot/%_datadir/icu/%version/install-sh" +mkdir -p $RPM_BUILD_ROOT/usr/share/icu/%{version}/unidata +install -m 644 data/unidata/*.txt $RPM_BUILD_ROOT/%{_datadir}/icu/%{version}/unidata +ln -s unidata/UnicodeData.txt $RPM_BUILD_ROOT/%{_datadir}/icu/%{version}/ +# run test suite: +#pushd data +#ln -sf build/*.cnv build/*.res build/*.dat build/*.brk . +#popd +#make check || echo "make check returned $?, ignored." +#popd +mkdir -p $RPM_BUILD_ROOT/sbin/conf.d/ +sed -e "s/@ICUVERSION@/%{version}/g" < ${RPM_SOURCE_DIR}/SuSEconfig.icu > ./SuSEconfig.icu +install -m 755 ./SuSEconfig.icu $RPM_BUILD_ROOT/sbin/conf.d/ +rm $RPM_BUILD_ROOT/%{_datadir}/icu/%{version}/license.html +rm $RPM_BUILD_ROOT/%{_datadir}/icu/%{version}/install-sh -%check -cd source -%if !0%{?qemu_user_space_build:1} -# Checks disabled in qemu because of races happening when we emulate -# multi-threaded programs, and some check tests atomic instructions in -# multi-threaded icu invocations -make check -%endif +%clean +rm -rf $RPM_BUILD_ROOT -# This should be run by whatever owns /usr/lib64/icu - -# the (main) package in this case -%post -if test -d "%_libdir/icu"; then - current=$(cd "%_libdir/icu"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' | - sort -V | tail -n1); - if test -n "$current"; then - rm -f "%_libdir/icu/current"; - ln -sv "$current" "%_libdir/icu/current"; - fi; -fi; - -%postun -if test -d "%_libdir/icu"; then - current=$(cd "%_libdir/icu"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' | - sort -V | tail -n1); - if test -n "$current"; then - rm -f "%_libdir/icu/current"; - ln -sv "$current" "%_libdir/icu/current"; - fi; -fi; +%post -n libicu -p /sbin/ldconfig -%post -n %lname -p /sbin/ldconfig - -%postun -n %lname -p /sbin/ldconfig +%postun -n libicu -p /sbin/ldconfig %files -%defattr(-,root,root) +%defattr(-, root, root) %doc license.html readme.html -%dir %_libdir/icu -%dir %_libdir/icu/%version -%_libdir/icu/current -%_bindir/derb -%_bindir/gen* -%_bindir/icuinfo -%_bindir/makeconv -%_bindir/pkgdata -%_bindir/uconv -%_sbindir/* -%_mandir/*/* +%dir %{_libdir}/icu/ +%dir %{_libdir}/icu/%{version} +%{_libdir}/icu/current +/usr/bin/derb +/usr/bin/genbrk +/usr/bin/gencnval +/usr/bin/genrb +/usr/bin/genctd +/usr/bin/makeconv +/usr/bin/pkgdata +/usr/bin/uconv +/usr/sbin/* +%{_mandir}/*/* +/sbin/conf.d/SuSEconfig.icu -%files -n %lname +%files -n libicu %defattr(-, root, root) -%_libdir/libicu*.so.* +%attr (755, root, root) %{_libdir}/lib*.so.* %files -n libicu-devel %defattr(-, root, root) -%_libdir/libicu*.so -%_includedir/unicode/ -%_includedir/layout/ -%_libdir/icu/%version/Makefile.inc -%_libdir/icu/%version/pkgdata.inc -%_libdir/icu/Makefile.inc -%_libdir/icu/pkgdata.inc -%_libdir/pkgconfig/*.pc -%_bindir/icu-config -%dir %_datadir/icu -%dir %_datadir/icu/%version -%_datadir/icu/%version/mkinstalldirs -%_datadir/icu/%version/config/ +%{_libdir}/lib*.so +/usr/include/unicode/ +/usr/include/layout/ +%{_libdir}/icu/%{version}/Makefile.inc +%{_libdir}/icu/Makefile.inc +/usr/bin/icu-config +%dir /usr/share/icu +%dir /usr/share/icu/%{version} +/usr/share/icu/%{version}/mkinstalldirs +/usr/share/icu/%{version}/config/ %files -n libicu-doc -%defattr(-,root,root) +%defattr(-, root, root) %doc html/ +%doc packaging/ -%files data +%files -n icu-data %defattr(-, root, root) -%_datadir/icu/%version/unidata/ -%_datadir/icu/%version/UnicodeData.txt +%dir /usr/share/icu/%{version}/unidata +/usr/share/icu/%{version}/unidata/* +/usr/share/icu/%{version}/UnicodeData.txt %changelog ++++++ SuSEconfig.icu ++++++ #!/bin/bash # # Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved. # # Author: Mike Fabian <[email protected]>, 2000 # for iculibdir in $(echo /usr/lib*/icu/ ) do echo "Adjust the current ICU link in $iculibdir ..." icucurrent=`2>/dev/null ls -dp ${iculibdir}/* | sed -n 's,.*/\([^/]*\)/$,\1,p'| sort -rn | head -1` cd $iculibdir rm -f current if test x"$icucurrent" != x then ln -s "$icucurrent" current fi done ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.zHe4Gn/_old 2012-11-20 21:06:38.000000000 +0100 +++ /var/tmp/diff_new_pack.zHe4Gn/_new 2012-11-20 21:06:38.000000000 +0100 @@ -1,4 +1,2 @@ -libicu50 +libicu libicu-devel - requires -libicu-<targettype> - requires "libicu50-<targettype> = <version>" ++++++ icu-gcc44.patch ++++++ Index: source/layoutex/ParagraphLayout.cpp =================================================================== --- source/layoutex/ParagraphLayout.cpp.orig 2008-07-01 03:42:02.000000000 +0200 +++ source/layoutex/ParagraphLayout.cpp 2009-03-02 21:47:07.000000000 +0100 @@ -868,7 +868,7 @@ le_int32 ParagraphLayout::getLanguageCod return nullLanguageCode; } -#elif +#else // TODO - dummy implementation for right now... le_int32 ParagraphLayout::getLanguageCode(const Locale *locale) ++++++ icu4c-3_6-src-setBreakType-public.diff ++++++ --- 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().) ++++++ icu4c-50_1-src.tar.xz -> icu4c-4_0-src.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/icu/icu4c-50_1-src.tar.xz /work/SRC/openSUSE:Factory/.icu.new/icu4c-4_0-src.tar.bz2 differ: char 1, line 1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
