From d3b77a40133b8f611265f6f60269198a578d172836644173bcb77ce01e95b695 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 18 Oct 2024 08:50:45 +0000 Subject: [PATCH] libunistring 1.3 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libunistring?expand=0&rev=60 --- .gitattributes | 23 +++++ .gitignore | 1 + baselibs.conf | 4 + libunistring-1.2.tar.xz | 3 + libunistring-1.2.tar.xz.sig | 16 +++ libunistring-1.3.tar.xz | 3 + libunistring-1.3.tar.xz.sig | 16 +++ libunistring.changes | 201 ++++++++++++++++++++++++++++++++++++ libunistring.keyring | 63 +++++++++++ libunistring.spec | 96 +++++++++++++++++ 10 files changed, 426 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libunistring-1.2.tar.xz create mode 100644 libunistring-1.2.tar.xz.sig create mode 100644 libunistring-1.3.tar.xz create mode 100644 libunistring-1.3.tar.xz.sig create mode 100644 libunistring.changes create mode 100644 libunistring.keyring create mode 100644 libunistring.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..e0b5a3a --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libunistring5 +libunistring-devel + requires -libunistring- + requires "libunistring5- = " diff --git a/libunistring-1.2.tar.xz b/libunistring-1.2.tar.xz new file mode 100644 index 0000000..314a852 --- /dev/null +++ b/libunistring-1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:632bd65ed74a881ca8a0309a1001c428bd1cbd5cd7ddbf8cedcd2e65f4dcdc44 +size 2502196 diff --git a/libunistring-1.2.tar.xz.sig b/libunistring-1.2.tar.xz.sig new file mode 100644 index 0000000..f63b6fa --- /dev/null +++ b/libunistring-1.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEkAG4WvnhuD3xvalC9b6LJnxqQG0FAmXaEk0ACgkQ9b6LJnxq +QG2Ivg/6AyMO8D/LlsKA9fn7nL7XtacyDjlkz0ViXaMi43Q599y+FODZHFx64cuw +hk9Ln5ICgqUEDSAvn6eBle0nADVBrsXq0j19nDDoVc12Ba+LfhNMa9OZLW9g21LS +Sku25BBa/KG0ZNx3Wt9XhztjkgMBboG9rHwwAHjzYKMT3urBtQk43upcJb6HchHm +kr/m75Ir+8++Wm7SblV90UZwX7UBKzw7QVMLWzf5QECcapkAT0E3wQyRFP6e7KvF +TDJBHEGOEFzqO66Iq2ez56nxnv1gb2+Z8VEy1Xb2LsyhNbvJGUZ6tQln4n9GIaNS +PThbUCwqpC9pRmY+SjdThjJAM+NQH+YVgY8k1AIjihDr2VJEgjePqb8PEXq4ZuLt +UZMMO7A0E+qauJ+MIcu3svOXUJ0mxgWBcgvXwo5+LbMijStjjod5b0d9Fo1M+4P1 +da0xuJJ456McVOTl3J5hTtbkjE22ub9/KLrr0jBp/216YW5s+g+R5WFEj0QNxzay +XoiIRTQMShRd7gSOhKL1hc+cI4C1Z9bN5Ml8kKEmefl11+xjFPIPOXdDxOc9rAAZ +eDlju+q9SRpZGJWY9JeGxWl0bNBNq4O6GqrrQhpuJkZ1Uhqz8FOFIhJoXrIJSGjl +LzFoEtjzVC8NoKzAYKV4RCXtW1t9u35U9Ok9Clyt1m8rL4XphWk= +=URwF +-----END PGP SIGNATURE----- diff --git a/libunistring-1.3.tar.xz b/libunistring-1.3.tar.xz new file mode 100644 index 0000000..5cc420a --- /dev/null +++ b/libunistring-1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f245786c831d25150f3dfb4317cda1acc5e3f79a5da4ad073ddca58886569527 +size 2753448 diff --git a/libunistring-1.3.tar.xz.sig b/libunistring-1.3.tar.xz.sig new file mode 100644 index 0000000..2f69ad8 --- /dev/null +++ b/libunistring-1.3.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEkAG4WvnhuD3xvalC9b6LJnxqQG0FAmcQA1cACgkQ9b6LJnxq +QG1Eag//X7K05m80y799fBdCI0CFwuU/dpazT2TpjM38bgE6sVtpZ7ZT4uWzD0Vq +rjEX4a1oLdjP3jkFA6NTxKbfs/6WPehM2sJACfzBAILX+sUk1BP/FNExCaiALFU1 +JANuPMNoIlsZWQsEmCxuRhoKYnC47Nvzgs8hipjBcQBcRkbVoQ/DIR6HQlNalwuM +v5LXOVbIjQ9IAZmQK9zdgdC3vl/iq1LuJou7QcnVau778IDhM/kJdcqI20D6/KmN +M6Ub7ZN6u2VOkTkAbn7wd7BaT0EcXhkDGCUx7eLy1ZWxSsYQi42SxEhYD4ARFlm8 +ElqEZ9coHCbZ9pRAUxW4VKk+skuW1xiXDZ1aakZzqWqsRXzWt1BwqksaV3vOGyVu +JmpLyb9ztZ/0D2NBs6Dsyf+IRDct9Z4U4XDRpnRjQhmGKlXK7ayvqqssTuhH2utN +1Zdfz64r8t4fImQWRVn+rlJeCJKdWSXVYGNVN9gH8O7HZYWK0UK5LL6g6LvOosoB +QyuGj/gqWLEx3Cj++eNWuxByEFG5mnMVYrTho95JSv48ntg68hEou9eFIme5NJjH +tPenHFWOMKShBfw7nGewaQLn+6yGGc93WpGfQgkznvRofJGMDuWZWjuiJ0WjJtuC +P4coiTVcYWy0t5SUG/yAWt34FLoiKj6dH7XMNpLt9+qSFf1ZBGk= +=oHzm +-----END PGP SIGNATURE----- diff --git a/libunistring.changes b/libunistring.changes new file mode 100644 index 0000000..a8f67b5 --- /dev/null +++ b/libunistring.changes @@ -0,0 +1,201 @@ +------------------------------------------------------------------- +Thu Oct 17 16:44:32 UTC 2024 - Andreas Stieger + +- update to 1.3: + * Support Unicode version 16.0.0 + +------------------------------------------------------------------- +Sat Feb 24 18:03:12 UTC 2024 - Andreas Stieger + +- update to 1.2: + * Support Unicode 15.1.0 + * Improve UTF-8 decoder Unicode Standard compliance + * The *printf functions no longer support the %n directive, for + security reasons. + * Fixed a bug in the *printf functions: In the %U, %lU, %llU + directives, a negative width given as an argument did not + trigger left-justification. + * The functions u16_strstr and u32_strstr now operate in worst-case linear time. + * Useful API function extensions + +------------------------------------------------------------------- +Mon Aug 28 10:48:12 UTC 2023 - Andreas Schwab + +- Run testsuite also under qemu emulation + +------------------------------------------------------------------- +Thu Apr 20 07:27:15 UTC 2023 - Frederic Crozat + +- Fix license tag to GPL-3.0-or-later or LGPL-3.0-or-later. + +------------------------------------------------------------------- +Tue Oct 25 18:05:30 UTC 2022 - Andreas Stieger + +- Update to 1.1: + * The data tables and algorithms have been updated to Unicode + version 15.0.0. + +------------------------------------------------------------------- +Sat Apr 9 12:47:37 UTC 2022 - Andreas Stieger + +- Update to 1.0: + * Unicode 14.0.0 support + * License changed to LGPL-3.0-or-later OR GPL-2.0-or-later + * *_uctomb functions now support strings larger than 2 GiB + * linebreak functions now make it easier to work with strings + that contain CR-LF sequences + * New properties for recognizing pictographics symbols and + regional indicators +- drop disable-broken-tests.patch + +------------------------------------------------------------------- +Fri Mar 8 09:12:41 UTC 2019 - Martin Liška + +- Add disable-broken-tests.patch in order to fix broken + tests (bnc#1128460). + +------------------------------------------------------------------- +Mon May 28 14:12:10 UTC 2018 - astieger@suse.com + +- update to 0.9.10: + * The functions + u8_casing_prefix_context, u8_casing_prefixes_context, + u8_casing_suffix_context, u8_casing_suffixes_context, + u16_casing_prefix_context, u16_casing_prefixes_context, + u16_casing_suffix_context, u16_casing_suffixes_context, + u32_casing_prefix_context, u32_casing_prefixes_context, + u32_casing_suffix_context, u32_casing_suffixes_context, + that are documented since version 0.9.1, are now actually + implemented. + +------------------------------------------------------------------- +Sat Mar 3 00:47:38 UTC 2018 - jengelh@inai.de + +- Fix RPM groups and summaries. + +------------------------------------------------------------------- +Wed Feb 28 19:55:09 UTC 2018 - astieger@suse.com + +- update to 0.9.9: + * Fixed a multithread-safety bug + +------------------------------------------------------------------- +Fri Dec 1 19:37:45 UTC 2017 - astieger@suse.com + +- update to 0.9.8: + * The data tables and line breaking algorithm have been updated + to Unicode version 9.0.0 + * In the include file unigbrk.h, the function uc_grapheme_breaks + has been added to accommodate the new UAX#29 rules involving 3 + or more consecutive characters + +------------------------------------------------------------------- +Fri Aug 18 10:00:34 UTC 2017 - pgajdos@suse.com + +- try to not run tests in parallel, make check stucks randomly + +------------------------------------------------------------------- +Fri May 5 06:51:45 UTC 2017 - pgajdos@suse.com + +- updated to 0.9.7: + * license change + * build system changes + +------------------------------------------------------------------- +Tue Jan 3 07:39:31 UTC 2017 - mlin@suse.com + +- Add baselibs.conf to generate -32bit packages + +------------------------------------------------------------------- +Thu Jul 9 18:46:11 UTC 2015 - astieger@suse.com + +- GNU libunistring 0.9.6: + * The data tables and line breaking algorithm have been updated + to Unicode version 8.0.0. +- add keyring and verify source signature +- fix SLE 11 SP3 build + +------------------------------------------------------------------- +Thu Feb 19 20:33:23 UTC 2015 - p.drouand@gmail.com + +- Update to version 0.9.5 + * The data tables and line breaking algorithm have been updated + to Unicode version 7.0.0. + * In the include file uniname.h, the function unicode_name_character + has been extended to look for name aliases. +- Remove patches merged on upstream release + * libunistring-gnulib-ppc64le.patch + * libunistring-parallel-make.patch +- Use download Url as source +- Remove autoconf, automake and libtool require; not needed anymore +- Bump so version to 2 + libunistring0 > libunistring2 + +------------------------------------------------------------------- +Tue Mar 4 13:48:59 UTC 2014 - pgajdos@suse.com + +- fix parallel build + * added parallel-make.patch [bnc#866723] (private) + +------------------------------------------------------------------- +Wed Dec 18 19:56:18 UTC 2013 - uweigand@de.ibm.com + +- libunistring-gnulib-ppc64le.patch: Fix imported gnulib long double + math tests for little-endian PowerPC. + +------------------------------------------------------------------- +Fri Mar 16 08:58:14 UTC 2012 - cfarrell@suse.com + +- license update: LGPL-3.0+ and GPL-3.0+ + Numerous files in tests/ and woedll are GPL-3.0+ licensed. Either put + them in a separate GPL-3.0+ labelled subpackage or use this label for the + main License: line + +------------------------------------------------------------------- +Sun Mar 11 19:50:47 UTC 2012 - jengelh@medozas.de + +- Nuke unnecessary libunistring binary package: move documentation + files to devel subpackage + +------------------------------------------------------------------- +Mon Jan 30 13:11:15 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions +- Parallel building using %_smp_mflags + +------------------------------------------------------------------- +Fri Sep 30 20:01:26 UTC 2011 - crrodriguez@opensuse.org + +- Workaround qemu-arm bugs. + +------------------------------------------------------------------- +Mon Aug 30 12:04:42 CEST 2010 - pgajdos@suse.cz + +- updated to version 0.9.3: + * Bug fixes in unistr.h functions: + - The functions u16_to_u32, u16_to_u8, u8_to_u32, u8_to_u16 now fail when + the argument is not valid. Previously, they returned a converted string + where invalid parts were each replaced with U+FFFD. + - The function u8_mbsnlen now counts an incomplete character at the end + of the argument string as 1 character. Previously, it could count as 2 + or 3 characters. + - The return value of the u8_stpncpy, u16_stpncpy, u32_stpncpy functions + was incorrect. + - The u8_strcoll, u16_strcoll, u32_strcoll now try harder to give a non-zero + return value. + +------------------------------------------------------------------- +Mon Mar 15 10:37:02 CET 2010 - pgajdos@suse.cz + +- updated to version 0.9.2.1: + * The function uc_locale_language now uses the locale of the + current thread, if a thread-specific locale has been set. + +------------------------------------------------------------------- +Tue Nov 24 19:47:57 CET 2009 - pgajdos@suse.cz + +- initial version of package 0.9.1.1 +- spec file taken from + http://www.pixelbeat.org/patches/libunistring + (PĂĄdraig Brady +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sover 5 +Name: libunistring +Version: 1.3 +Release: 0 +Summary: GNU Unicode string library +License: GPL-3.0-or-later OR LGPL-3.0-or-later +Group: Development/Libraries/C and C++ +URL: https://www.gnu.org/software/libunistring/ +Source0: http://ftp.gnu.org/gnu/libunistring/libunistring-%{version}.tar.xz +Source1: http://ftp.gnu.org/gnu/libunistring/libunistring-%{version}.tar.xz.sig +Source2: https://savannah.gnu.org/people/viewgpg.php?user_id=1871/%{name}.keyring +Source3: baselibs.conf + +%description +This portable C library implements Unicode string types in three flavours: +(UTF-8, UTF-16, UTF-32), together with functions for character processing +(names, classifications, properties) and functions for string processing +(iteration, formatted output, width, word breaks, line breaks, normalization, +case folding and regular expressions). + +%package devel +Summary: Development files for the GNU Unicode string library +Group: Development/Libraries/C and C++ +Requires: %{name}%{sover} = %{version} + +%description devel +Development files for programs using libunistring and documentation +for UniString library. + +%package -n %{name}%{sover} +Summary: GNU Unicode string library +Group: System/Libraries + +%description -n %{name}%{sover} +This portable C library implements Unicode string types in three flavours: +(UTF-8, UTF-16, UTF-32), together with functions for character processing +(names, classifications, properties) and functions for string processing +(iteration, formatted output, width, word breaks, line breaks, normalization, +case folding and regular expressions). + +%prep +%autosetup -p1 + +%build +%configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name} +%make_build + +%install +%make_install +cp AUTHORS NEWS README HACKING DEPENDENCIES THANKS ChangeLog %{buildroot}/%{_docdir}/%{name} +rm -f %{buildroot}/%{_infodir}/dir +rm -f %{buildroot}/%{_libdir}/libunistring.la + +%check +# test-malloca seem not to be suitable for ix86 obs worker +# (locally passes, obs worker stucks -- ) +%ifarch %{ix86} +sed -i 's:50000:50:g' tests/test-malloca.c +%endif +# do not run tests in parallel, it stucks randomly +%make_build check # + +%ldconfig_scriptlets -n %{name}%{sover} + +%files -n %{name}%{sover} +%license COPYING* +%{_libdir}/libunistring.so.%{sover}{,.*} + +%files devel +%license COPYING* +%{_docdir}/%{name} +%{_infodir}/libunistring.info%{?ext_info} +%{_libdir}/libunistring.so +%{_includedir}/unistring +%{_includedir}/*.h + +%changelog