Hello community, here is the log from the commit of package icu for openSUSE:Factory checked in at 2012-11-20 21:06:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 21:06:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.icu.new/icu.changes 2012-11-20 21:07:01.000000000 +0100 @@ -1,0 +2,273 @@ +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 + +------------------------------------------------------------------- +Thu Jul 8 21:02:02 UTC 2010 - [email protected] + +- Update to version 4.4.1 + + Common Changes + - Common Locale Data Repository (CLDR) 1.8.1 + - Enabled non-Gregorian calendars in DateIntervalFormat +- Changes from version 4.4: + + Common Changes + - Unicode 5.2 support. + - CLDR 1.8 data - over 22% more data, with many new locales. + - Normalizer2 - for fast, flexible normalization, paving the + way for UTS #46 support of international domain names. + - Optimized resource bundle format to reduce the ICU resource + bundle installation footprint. ++++ 79 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/icu/icu.changes ++++ and /work/SRC/openSUSE:Factory/.icu.new/icu.changes Old: ---- SuSEconfig.icu icu-gcc44.patch icu4c-3_6-src-setBreakType-public.diff icu4c-4_0-docs.tar.bz2 icu4c-4_0-src.tar.bz2 New: ---- icu-remove-datetime.patch icu-rpmlint.diff icu4c-49_1-docs.zip icu4c-49_1-src.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu.spec ++++++ --- /var/tmp/diff_new_pack.YxPFp0/_old 2012-11-20 21:07:03.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPFp0/_new 2012-11-20 21:07:03.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package icu (Version 4.0) +# spec file for package icu # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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,26 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: icu -BuildRequires: gcc-c++ -License: X11/MIT +%define lname libicu49 +Version: 49.1 +Release: 0 +Summary: International Components for Unicode +License: SUSE-XFree86-1.0 Group: System/Libraries -AutoReqProv: on -Version: 4.0 -Release: 8 -Requires: libicu = %{version} Url: http://ibm.com/software/globalization/icu -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 +Source0: icu4c-49_1-src.tgz +Source1: icu4c-49_1-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 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: International Components for Unicode %description ICU is a set of C and C++ libraries that provides robust and @@ -52,38 +52,26 @@ 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 -License: IBM Public License +%package -n %lname Summary: International Components for Unicode (development files) Group: Development/Libraries/C and C++ # bug437293 %ifarch ppc64 Obsoletes: libicu-64bit %endif -# -Provides: libicu17 libicu22 libicu26 libicu30 libicu32 libicu34 -Obsoletes: libicu17 libicu22 libicu26 libicu30 libicu32 libicu34 icu-i18ndata +Requires: timezone +Obsoletes: icu-i18ndata +# Following O/P added in timeframe for 12.2 +Provides: libicu = %version-%release +Obsoletes: libicu < %version-%release -%description -n libicu +%description -n %lname 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 @@ -91,20 +79,13 @@ Obsoletes: libicu-devel-64bit %endif # -Requires: libicu = %{version} +Requires: %lname = %{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++ @@ -112,19 +93,12 @@ ICU is a C++ and C library that provides robust and full-featured Unicode support. This package contains the html documentation. - - -Authors: --------- - The ICU project, International Business Machines (IBM) and Others. <[email protected]> - -%package -n icu-data -License: IBM Public License +%package data Summary: International Components for Unicode (Sources for the Data in ICU) Group: System/Libraries -Requires: libicu >= %{version} +Requires: %lname >= %{version} -%description -n icu-data +%description 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. @@ -133,59 +107,77 @@ also all the table-based converters provided in the ICU distribution. This package contains uncompiled source data. Precompiled data is in -the `libicu%{version}' package. - - - -Authors: --------- - The ICU project, International Business Machines (IBM) and Others. <[email protected]> +the "%lname" package. %prep -%setup -q -n icu -a1 -%patch -%patch1 +%setup -q -n icu +mkdir html +pushd html +unzip %{SOURCE1} +popd +%patch1 -p1 +%patch99 -p1 %build cd source -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/'" +export CFLAGS="%{optflags}" +export CXXFLAGS="%{optflags} -DICU_DATA_DIR=\\\"/usr/share/icu/%{version}/\\\"" %configure --disable-static --with-pic\ --enable-shared \ --without-samples -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -find . -name CVS -type d | xargs rm -rf +find . -name CVS -type d -exec rm -Rf "{}" "+" cd source -make DESTDIR=$RPM_BUILD_ROOT install + +%make_install + # to extract debug info -chmod a+rx $RPM_BUILD_ROOT%{_libdir}/*.so.* +chmod a+rx %{buildroot}%{_libdir}/*.so.* + # install uncompiled source data: -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 +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 + +%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 libicu -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files %defattr(-, root, root) @@ -193,44 +185,46 @@ %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/* +%{_bindir}/derb +%{_bindir}/genbrk +%{_bindir}/gencfu +%{_bindir}/gencnval +%{_bindir}/genrb +%{_bindir}/genctd +%{_bindir}/icuinfo +%{_bindir}/makeconv +%{_bindir}/pkgdata +%{_bindir}/uconv +%{_sbindir}/* %{_mandir}/*/* -/sbin/conf.d/SuSEconfig.icu -%files -n libicu +%files -n %lname %defattr(-, root, root) %attr (755, root, root) %{_libdir}/lib*.so.* %files -n libicu-devel %defattr(-, root, root) %{_libdir}/lib*.so -/usr/include/unicode/ -/usr/include/layout/ +%{_includedir}/unicode/ +%{_includedir}/layout/ %{_libdir}/icu/%{version}/Makefile.inc +%{_libdir}/icu/%{version}/pkgdata.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/ +%{_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/ %files -n libicu-doc %defattr(-, root, root) %doc html/ -%doc packaging/ -%files -n icu-data +%files data %defattr(-, root, root) -%dir /usr/share/icu/%{version}/unidata -/usr/share/icu/%{version}/unidata/* -/usr/share/icu/%{version}/UnicodeData.txt +%{_datadir}/icu/%{version}/unidata/ +%{_datadir}/icu/%{version}/UnicodeData.txt %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.YxPFp0/_old 2012-11-20 21:07:03.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPFp0/_new 2012-11-20 21:07:03.000000000 +0100 @@ -1,2 +1,4 @@ -libicu +libicu49 libicu-devel + requires -libicu-<targettype> + requires "libicu49-<targettype> = <version>" ++++++ icu-remove-datetime.patch ++++++ --- source/Makefile.in | 1 - 1 file changed, 1 deletion(-) Index: icu/source/Makefile.in =================================================================== --- icu.orig/source/Makefile.in +++ icu/source/Makefile.in @@ -286,7 +286,6 @@ $(top_builddir)/config/icu-config: $(top LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@ LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < @platform_make_fragment@ | grep -v '#M#' | uniq >> $@ cat $(top_srcdir)/config/icu-config-bottom >> $@ - echo "# Rebuilt on "`date` >> $@ chmod u-w $@ config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h ++++++ icu-rpmlint.diff ++++++ I: Statement might be overflowing a buffer in strncat. Common mistake: BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) E: icu bufferoverflowstrncat pkgdata.cpp:299:87 --- source/tools/pkgdata/pkgdata.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: icu/source/tools/pkgdata/pkgdata.cpp =================================================================== --- icu.orig/source/tools/pkgdata/pkgdata.cpp +++ icu/source/tools/pkgdata/pkgdata.cpp @@ -1914,12 +1914,12 @@ static void loadLists(UPKGOptions *o, UE const char cmd[] = "icu-config --incpkgdatafile"; /* #1 try the same path where pkgdata was called from. */ - findDirname(progname, cmdBuf, 1024, &status); + findDirname(progname, cmdBuf, sizeof(cmdBuf), &status); if(U_SUCCESS(status)) { if (cmdBuf[0] != 0) { - uprv_strncat(cmdBuf, U_FILE_SEP_STRING, 1024); + uprv_strncat(cmdBuf, U_FILE_SEP_STRING, sizeof(cmdBuf)-1-strlen(cmdBuf)); } - uprv_strncat(cmdBuf, cmd, 1024); + uprv_strncat(cmdBuf, cmd, sizeof(cmdBuf)-1-strlen(cmdBuf)); if(verbose) { fprintf(stdout, "# Calling icu-config: %s\n", cmdBuf); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
