debian/0000755000000000000000000000000012254322343007166 5ustar debian/watch0000644000000000000000000000045111652075216010224 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://ftp.gnu.org/gnu/libunistring/libunistring-(.*)\.tar\.gz debian/libunistring-dev.install0000644000000000000000000000017011652075216014046 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/share/doc/libunistring/*.html usr/share/doc/libunistring-dev/html/ debian/libunistring-dev.info0000644000000000000000000000002611652075216013333 0ustar doc/libunistring.info debian/rules0000755000000000000000000000066111652075216010256 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/buildvars.mk ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),) CFLAGS += -mplt endif DEB_CONFIGURE_EXTRA_FLAGS := --disable-Werror \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) DEB_DH_INSTALL_ARGS := --sourcedir=$(DEB_DESTDIR) DEB_MAKE_CHECK_TARGET = check debian/libunistring0.install0000644000000000000000000000002411652075216013350 0ustar usr/lib/*/lib*.so.* debian/copyright0000644000000000000000000001421511652075216011131 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=202 Upstream-Name: libunistring Upstream-Contact: Bruno Haible Source: http://ftp.gnu.org/gnu/libunistring/ Files: lib/* Copyright: 1995-2009, Free Software Foundation, Inc. License: LGPL-3+ Files: doc/* Copyright: 2001-2009, Free Software Foundation, Inc. License: GPL-3+ or GFDL-1.2+ Files: test/* woe32dll/* autogen.sh Copyright: 1990-2009, Free Software Foundation, Inc. License: GPL-3+ Files: gnulib-m4/* m4/*.m4 Copyright: 1995-2009, Free Software Foundation, Inc. License: This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. Files: m4/init-package-version.m4 Copyright: 1992-2009, Free Software Foundation, Inc. License: This file is free software, distributed under the terms of the GNU General Public License. As a special exception to the GNU General Public License, this file may be distributed as part of a program that contains a configuration script generated by Autoconf, under the same distribution terms as the rest of that program. Files: build-aux/* Copyright: 1995-2009, Free Software Foundation, Inc. License: GPL-2+ Files: build-aux/texi2html Copyright: 1999-2005, Patrice Dumas , 1999-2005, Derek Price , 1999-2005, Adrian Aichner License: GPL-2+ Files: build-aux/ltmain.sh Copyright: 1996-2008, Free Software Foundation, Inc. License: GPL-2+ with exception As a special exception to the GNU General Public License, if you distribute this file as part of a program or library that is built using GNU Libtool, you may include this file under the same distribution terms that you use for the rest of that program. Files: build-aux/install-sh Copyright: 1994, X Consortium License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from the X Consor- tium. Files: debian/* Copyright: 2009, Andreas Rottmann License: GPL-3+ License: LGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems the full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GFDL-1.2+ This manual is covered by the GNU FDL. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (FDL), either version 1.2 of the License, or (at your option) any later version published by the Free Software Foundation (FSF); with no Invariant Sections, with no Front-Cover Text, and with no Back-Cover Texts. . On Debian systems the full text of the GNU Free Documentation License version 1.2 can be found in the file `/usr/share/common-licenses/GFDL-1.2'. debian/docs0000644000000000000000000000002211652075216010040 0ustar BUGS NEWS README debian/source/0000755000000000000000000000000011652075216010473 5ustar debian/source/format0000644000000000000000000000001411652075216011701 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012254322332010613 5ustar debian/patches/link-pthread.patch0000644000000000000000000000376312224563712014235 0ustar Description: Link test-lock with -Wl,--no-as-needed See discussion in https://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00017.html. Author: Colin Watson Forwarded: no Last-Update: 2013-10-07 Index: b/tests/Makefile.gnulib =================================================================== --- a/tests/Makefile.gnulib +++ b/tests/Makefile.gnulib @@ -299,6 +299,7 @@ TESTS += test-lock check_PROGRAMS += test-lock +test_lock_LDFLAGS = -Wl,--no-as-needed test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ EXTRA_DIST += test-lock.c Index: b/tests/Makefile.in =================================================================== --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1101,6 +1101,9 @@ test_lock_SOURCES = test-lock.c test_lock_OBJECTS = test-lock.$(OBJEXT) test_lock_DEPENDENCIES = $(am__DEPENDENCIES_2) +test_lock_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(test_lock_LDFLAGS) $(LDFLAGS) -o $@ test_malloca_SOURCES = test-malloca.c test_malloca_OBJECTS = test-malloca.$(OBJEXT) test_malloca_LDADD = $(LDADD) @@ -4573,6 +4576,7 @@ test_frexpl_nolibm_SOURCES = test-frexpl.c test_iconv_LDADD = $(LDADD) @LIBICONV@ test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ +test_lock_LDFLAGS = -Wl,--no-as-needed test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_striconveh_LDADD = $(LDADD) @LIBICONV@ test_striconveha_LDADD = $(LDADD) @LIBICONV@ @@ -5568,7 +5572,7 @@ $(AM_V_CCLD)$(LINK) $(test_localename_OBJECTS) $(test_localename_LDADD) $(LIBS) test-lock$(EXEEXT): $(test_lock_OBJECTS) $(test_lock_DEPENDENCIES) @rm -f test-lock$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(test_lock_OBJECTS) $(test_lock_LDADD) $(LIBS) + $(AM_V_CCLD)$(test_lock_LINK) $(test_lock_OBJECTS) $(test_lock_LDADD) $(LIBS) test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) @rm -f test-malloca$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_malloca_OBJECTS) $(test_malloca_LDADD) $(LIBS) debian/patches/float-endian-detection.patch0000644000000000000000000000431512254322332016154 0ustar Description: Fix detection of floating point endianness See https://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00104.html Author: Alan Modra Author: Colin Watson Forwarded: no Last-Update: 2013-12-18 Index: b/tests/test-isnanl.h =================================================================== --- a/tests/test-isnanl.h +++ b/tests/test-isnanl.h @@ -38,6 +38,12 @@ long double minus_zero = -0.0L; #endif +#ifdef __FLOAT_WORD_ORDER__ +# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__) +#else +# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2) +#endif + int main () { @@ -70,10 +76,10 @@ # if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); # else - m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] + m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); # endif - m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] + m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; ASSERT (isnanl (m.value)); } Index: b/tests/test-signbit.c =================================================================== --- a/tests/test-signbit.c +++ b/tests/test-signbit.c @@ -56,6 +56,12 @@ long double minus_zerol = -0.0L; #endif +#ifdef __FLOAT_WORD_ORDER__ +# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__) +#else +# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2) +#endif + static void test_signbitf () { @@ -176,10 +182,10 @@ # if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); # else - m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] + m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); # endif - m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] + m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; (void) signbit (m.value); #undef NWORDS debian/patches/series0000644000000000000000000000011212254322254012025 0ustar link-pthread.patch powerpc64le-support.patch float-endian-detection.patch debian/patches/powerpc64le-support.patch0000644000000000000000000000442612251046676015541 0ustar Description: Patch aclocal and configure for ppc64el. Author: Adam Conrad --- libunistring-0.9.3.orig/aclocal.m4 +++ libunistring-0.9.3/aclocal.m4 @@ -628,7 +628,10 @@ s390*-*linux*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -647,7 +650,10 @@ s390*-*linux*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) --- libunistring-0.9.3.orig/configure +++ libunistring-0.9.3/configure @@ -8221,9 +8221,12 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" ;; + powerpc64-*) + LD="${LD-ld} -m elf32ppclinux" + ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; @@ -8240,7 +8243,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) --- libunistring-0.9.3.orig/m4/libtool.m4 +++ libunistring-0.9.3/m4/libtool.m4 @@ -1281,7 +1281,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1300,7 +1303,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) debian/compat0000644000000000000000000000000211652075216010371 0ustar 8 debian/control0000644000000000000000000000330512224563730010576 0ustar Source: libunistring Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Andreas Rottmann Build-Depends: cdbs (>= 0.4.93~), debhelper (>= 8.1.3~), autotools-dev Standards-Version: 3.9.2 Section: libs Homepage: http://www.gnu.org/software/libunistring/ Vcs-Git: git://git.debian.org/git/collab-maint/libunistring.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libunistring.git Package: libunistring-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libunistring0 (= ${binary:Version}), ${misc:Depends} Description: Unicode string library for C - development files The 'libunistring' library implements Unicode strings (in the UTF-8, UTF-16, and UTF-32 encodings), together with functions for Unicode characters (character names, classifications, properties) and functions for string processing (formatted output, width, word breaks, line breaks, normalization, case folding, regular expressions). . This package contains the development support files needed to compile and link against libunistring, as well as the documentation in Info and HTML format. Package: libunistring0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Unicode string library for C The 'libunistring' library implements Unicode strings (in the UTF-8, UTF-16, and UTF-32 encodings), together with functions for Unicode characters (character names, classifications, properties) and functions for string processing (formatted output, width, word breaks, line breaks, normalization, case folding, regular expressions). . This package contains the shared library. debian/gbp.conf0000644000000000000000000000010311652075216010604 0ustar [DEFAULT] pristine-tar = True [git-buildpackage] sign-tags = True debian/changelog0000644000000000000000000000526612254322342011050 0ustar libunistring (0.9.3-5ubuntu3) trusty; urgency=medium * Fix detection of floating point endianness. -- Colin Watson Wed, 18 Dec 2013 13:36:34 +0000 libunistring (0.9.3-5ubuntu2) trusty; urgency=low * powerpc64le-support.patch: Patch aclocal and configure for ppc64el. -- Adam Conrad Sun, 08 Dec 2013 03:44:32 -0700 libunistring (0.9.3-5ubuntu1) saucy; urgency=low * Link test-lock with -Wl,--no-as-needed; see https://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00017.html. Based on a similar change by Matthias Klose in libidn. -- Colin Watson Mon, 07 Oct 2013 17:56:57 +0100 libunistring (0.9.3-5build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Fri, 05 Oct 2012 09:41:29 +0100 libunistring (0.9.3-5) unstable; urgency=low * Standards-Version 3.9.2 (no changes). * Convert package to multiarch (closes: #646068): - Bumped build-depends versions for cdbs and debhelper. - Extend configure flags to install libraries into multi-arch library directory. - Adapted debian/libunistring0.install. - Mark libunistring0 as "Multi-Arch: same". * Applied outstanding changes from multiarch patch provided by Steve Langasek on bug #646068: - Removed useless .dirs files. - debian/compat bumped to 8 (compat level 9 not needed as we don't use the "dh" script). * debian/copyright: - Bumped DEP5 revision in format URL to 202. - Fixed various issues pointed out by lintian. -- Andreas Rottmann Wed, 26 Oct 2011 23:23:59 +0200 libunistring (0.9.3-4) unstable; urgency=low * Standards-Version 3.9.1: - Don't install libunistring.la (closes: #622432). * Add Vcs-Git and Vcs-Browser fields. -- Andreas Rottmann Sat, 16 Apr 2011 14:09:54 +0200 libunistring (0.9.3-3) unstable; urgency=low * Fix description typo (closes: #596243, thanks to Paul Menzel). -- Andreas Rottmann Thu, 09 Sep 2010 20:22:45 +0200 libunistring (0.9.3-2) unstable; urgency=low * Work around toolchain issue on mipsen by building with -mplt there (closes: #595875, thanks to Julien BLACHE). -- Andreas Rottmann Wed, 08 Sep 2010 21:45:46 +0200 libunistring (0.9.3-1) unstable; urgency=low * New upstream release. * Switched to dpkg-source 3.0 (quilt) format. * Standards-Version 3.8.4 (no changes). -- Andreas Rottmann Thu, 27 May 2010 19:37:41 +0200 libunistring (0.9.1-1) unstable; urgency=low * Initial release (closes: #532125). -- Andreas Rottmann Sat, 04 Jul 2009 14:31:38 +0200 debian/libunistring-dev.doc-base0000644000000000000000000000060611652075216014061 0ustar Document: libunistring-manual Title: GNU libunistring Manual Author: Bruno Haible Abstract: Programmer's Manual for GNU libunistring Section: Programming/C Format: HTML Index: /usr/share/doc/libunistring-dev/html/libunistring_toc.html Files: /usr/share/doc/libunistring-dev/html/*.html Format: Info Index: /usr/share/info/libunistring.info.gz Files: /usr/share/info/libunistring.info*.gz