Sync from SUSE:ALP:Source:Standard:1.0 libunistring revision b599f664f6a2f49f4c0d1333e9531a63

This commit is contained in:
Adrian Schröter 2024-10-14 15:11:33 +02:00
commit 99d1228761
7 changed files with 383 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

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

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libunistring5
libunistring-devel
requires -libunistring-<targettype>
requires "libunistring5-<targettype> = <version>"

BIN
libunistring-1.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEkAG4WvnhuD3xvalC9b6LJnxqQG0FAmNMbmUACgkQ9b6LJnxq
QG1w8w/+IwnhxXKLZtmPWzZTsdTJcAhX9iZcEGRvtNDrbT7KzL2GZ+uk4zT8Adhd
r/ohxztuxp6QN7vnRNkQIkPoATIUSNW3m/V+HltVH+7k/mRETsYFuIpBYVTozrEN
v8bkFXNmNmFuIZtFjoDlKf03zp8kpeUUcYHj7g3yBtp2OdwguwiuZykh1r5wLGG1
BF0PuTGFLAFGfABX2c81Ja5aB0wAUE37AkvJ/WV2D53C2RhoKI97RRpdNfE84Ttr
iSuwOEp5Z0T8sXZBVTqoCyCRkwDmwZMI3Nc/Wa3EPzklfq6rOB1mpndsfUX3VAbF
g1uvTLI5J9gZiDIig41etTdAThCgSIVhLQOpeQbX2oSdC6lm4qWAFcAlp73mjFbK
8ZWk5IYPWEwI3sz1pBoLG6bgKZuxXew2e0q5SfcPe0I11kaggy8rnTnKCMgPHNMB
ty34r+qmkYYpjYpGg9D7atLXEIih+L1HotRjVMS+Je6SDUggxSM3BkM2csl3PiW0
XXL9uWybcZVk+ugzSZB1Sko4Dq9dKejJkoU39py4xHH++DG5lh6a8kB97mbQ08r2
xfoeB4dvmWy/HrI2aLWxUVOjMJl9SM8HYC520kVw4Z+wCKW5dD9iWr99Y7xTYiHK
mPhxT/rWGetBAaxg5w39dOefEvR94he0OcsEoB3t74xnOfcl2Vg=
=M5rf
-----END PGP SIGNATURE-----

176
libunistring.changes Normal file
View File

@ -0,0 +1,176 @@
-------------------------------------------------------------------
Thu Apr 20 07:27:15 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- 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 <andreas.stieger@gmx.de>
- 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 <andreas.stieger@gmx.de>
- 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 <mliska@suse.cz>
- 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 <P@draigBrady.com)
- needed by guile 1.9.0 and higher

63
libunistring.keyring Normal file
View File

@ -0,0 +1,63 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFxjJagBEACtJ6cBUyULIsZ163tvkSwAtqGIF4EvymDMB/q4tjf2S9RmW5Zo
UuEdFkImFWZaY8LV6shHF44RXHPL/irnA0byr9pVit+sj5RtWMXLJUnY6hp60OAN
n1CptCztcDwhDiSt0bcjPHRSvInqU5uHPiCfXau06TzveZ7UCj6Tkqc3n87W74y9
HMfgVF7OrdyZCq3Bif+TCUnywnGmO4Boet2xGDCpCRyiIZXG4kl3REu/xqvhIyNk
w/o9TmnbEMbt4hGNp8O7nGZra9ajeDNYccxZYN2P6HKxCYfueKqjy+356+jnKgvR
D4QYP7z+3X3y7F1Ii2WIBWzCeZyVuPwATvGOL4lzOfMNJP9xdS3lbqHBYlAhWHcI
cRKhd7D7YAOjqVCfiKkZcZqUkcg1RZpaQ6nGQEpxmIj9QDfv+2f2QnbRiPjt2smn
Mi79ONEGUIu3h+PyMaS8Xn09Krasszd9gs0uKbCsRKOuVkzv0nQ8XnjlIBVbkCrB
IU3aKL94BmC0ZcGVqBXsWgZY2BzjKfI3HoJS0BaUAth1VJeLa4VPY2X7BV0ewyzo
Hf0OFdLwZ6RIxMlWX+dz9r8V/zNCxP/jU0z+Brhxm3iCdiRykkfHteSwoz1xyBQ3
F+F+5dkZH3EFSab7CK57BF4/xcYwuwOheoqd76jhtfYP3uPgCe3VOSPVqwARAQAB
tDhCcnVubyBIYWlibGUgKE9wZW4gU291cmNlIERldmVsb3BtZW50KSA8YnJ1bm9A
Y2xpc3Aub3JnPokCPQQTAQg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hc2Yp/EFZBoe+SyNoBHJm6hmyINQyICDSS3oqIhDBmeE
msUoPsRXtszfksalrjt+dOBOAvMAEQEAAYkCJQQYAQgADwUCXGMlqAIbDAUJC0c1
AAAKCRD1vosmfGpAbfO3D/9D5VBr0G1X21tGoesAoEGhQcxAnCNTBYH+4WhSNLSW
w08sCH8Q+NinCqV5/QCgIwsMcxidnszm+7//l667gmUu8hM66U2T+ZCZMUL1G/iX
htpeTWv6dNDFyvSXwXoSIHhGVuSO2q95OeCSkJpf5V13fczNLDzTSsidGCY18+0r
LxwA+c0skLHY4k/7TWPj2QBViKXrXCv7XhpCMwPJCoAa6p4JpzQ3FqbAwes839t7
3EeGpZsV+YyTKXgzt2odNiiraHv5/XyP7xxDUIhHn51r81bEaUSv6NtdAYU8dIsj
cMVt+xTNyKnPUaWwB3QCucZaPGBqwM5j/jKy/jAMN8ybnz01V5RWsJzf1nG0d+uH
aYsQZgppDSdVxvEgXGxnWZHcYjisLYntXNd8+frFOCs82kJeiqcpcciYiPOCSIjM
P62wGiwc4loeIhjukt9XhjEwQy+q1ty050a7fEGvFdJE05PQp3W4uee5YAjIG4gm
CC+Km7uqTrE8fItjWlDGeoShqif+tWDLoMoGFZWO3cYuhz8rfR3rb2QURW5mWevx
u4WYymbGlEc7z37qgJ4i8a6Qp1pjejMc0OLwyJyYP49dBh1Z4pJLjP4joqRDfO5z
gD8jnRhKlh/3ilmwZj5pzyLlaDV+P1PY0BnlHzp5Mj9xuZixx0/lc4kpHo9sWgPJ
Dw==
=MDRR
-----END PGP PUBLIC KEY BLOCK-----

98
libunistring.spec Normal file
View File

@ -0,0 +1,98 @@
#
# spec file for package libunistring
#
# Copyright (c) 2023 SUSE LLC
#
# 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.1
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
%if ! 0%{?qemu_user_space_build}
# 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 #
%endif
%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
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%changelog