From: Mattia Rizzolo Date: Wed, 6 May 2020 14:13:53 +0000 (+0100) Subject: Import libsoxr_0.1.3-4.debian.tar.xz X-Git-Tag: archive/raspbian/0.1.3-4+rpi1^2~2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=121aa7f8b51975d1d48e9cf63a8e822635e9a741;p=libsoxr.git Import libsoxr_0.1.3-4.debian.tar.xz [dgit import tarball libsoxr 0.1.3-4 libsoxr_0.1.3-4.debian.tar.xz] --- 121aa7f8b51975d1d48e9cf63a8e822635e9a741 diff --git a/changelog b/changelog new file mode 100644 index 0000000..711815b --- /dev/null +++ b/changelog @@ -0,0 +1,114 @@ +libsoxr (0.1.3-4) unstable; urgency=medium + + * Team upload. + * Update the patch fixing the pkg-config content, so the Version field is + correct also when built without nocheck. + + -- Mattia Rizzolo Wed, 06 May 2020 16:13:53 +0200 + +libsoxr (0.1.3-3) unstable; urgency=medium + + * Team upload + + [ Mattia Rizzolo ] + * Add patch to fix the content of the pkg-config file when built with nocheck. + (Closes: #942795) + + [ Sebastian Ramacher ] + * debian/patches: Revert "Add patch to fix FTBFS in sparc64." (Closes: + #944017) + * debian/control: Bump Standards-Version + + -- Sebastian Ramacher Sun, 03 May 2020 22:47:06 +0200 + +libsoxr (0.1.3-2) unstable; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * Bump Standards-Version to 4.4.1. + + [ Mattia Rizzolo ] + * Add patch to fix FTBFS in sparc64. Closes: #942746 + * Set Rules-Requires-Root:no. + * Add Build-Depends-Package to the .symbols files. + + -- Mattia Rizzolo Mon, 21 Oct 2019 14:54:34 +0200 + +libsoxr (0.1.3-1) unstable; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + + [ Felipe Sateler ] + * Change maintainer address to debian-multimedia@lists.debian.org + + [ Ondřej Nový ] + * d/watch: Use https protocol + * Use debhelper-compat instead of debian/compat + + [ Sebastian Ramacher ] + * New upstream release. (Closes: #934612) + * debian/control: + - Bump Standards-Version. + - Bump debhelper compat to 12. + - Remove obsolete Pre-Depends. + * debian/rules: Remove obsolete configure flag + * debian/patches: Remove since applied upstream. + * debian/copyright: Remove unused paragraph. + + -- Sebastian Ramacher Mon, 09 Sep 2019 20:28:47 +0200 + +libsoxr (0.1.2-3) unstable; urgency=medium + + * Team upload. + * Fix FTCBFS: Closes: #853194 + + Feed endianness from DEB_HOST_ARCH_ENDIAN. + + Honour DEB_BUILD_OPTIONS=nocheck. + Thanks to Helmut Grohne for the patch. + * Bump debhelper compat level to 10. + + Drop --parallel, now default. + * Bump Standards-Version to 4.1.1, no changes needed. + * Drop explicit Testsuite field, not needed anymore. + + -- Mattia Rizzolo Sat, 04 Nov 2017 21:58:23 +0100 + +libsoxr (0.1.2-2) unstable; urgency=medium + + * Define NDEBUG to disable debug output (Closes: #822727, LP: #1649224) + * Update Vcs links to point to https URLs + * Bump Standards-Version to 3.9.8 (no changes needed) + * Use https for copyright format specification URL + * Enable all hardening flags + + -- Benjamin Drung Sun, 25 Dec 2016 18:41:58 +0100 + +libsoxr (0.1.2-1) unstable; urgency=medium + + [ Benjamin Drung ] + * New upstream release. + * Drop example_linking.patch (applied upstream) + * Bump Standards-Version to 3.9.6 (no changes needed) + * Drop XS- prefix for Testsuite field + * Correct short license of src/pffft.* to Spherepack + * Fix dep5-copyright-license-name-not-unique + + [ Alessio Treglia ] + * Add myself as Uploader. + + -- Benjamin Drung Thu, 24 Sep 2015 20:44:17 +0200 + +libsoxr (0.1.1-1) unstable; urgency=low + + * New upstream release. + * Link examples with -lm. Thanks to Martin Pitt for the patch. + + -- Benjamin Drung Fri, 05 Apr 2013 13:06:38 +0200 + +libsoxr (0.1.0-1) unstable; urgency=low + + * Initial release (Closes: #697614). + + -- Benjamin Drung Sat, 19 Jan 2013 13:59:15 +0100 diff --git a/control b/control new file mode 100644 index 0000000..6b30db9 --- /dev/null +++ b/control @@ -0,0 +1,65 @@ +Source: libsoxr +Section: libs +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: Benjamin Drung , + Alessio Treglia +Build-Depends: cmake (>= 2.8), debhelper-compat (= 12) +Standards-Version: 4.5.0 +Rules-Requires-Root: no +Homepage: http://sourceforge.net/projects/soxr/ +Vcs-Browser: https://salsa.debian.org/multimedia-team/libsoxr +Vcs-Git: https://salsa.debian.org/multimedia-team/libsoxr.git + +Package: libsoxr0 +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: High quality 1D sample-rate conversion library + The SoX Resampler library `libsoxr' performs one-dimensional sample-rate + conversion - it may be used, for example, to resample PCM-encoded audio. + . + It aims to give fast and high quality results for any constant (rational or + irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, + and rejection level parameters are all configurable; alternatively, simple + `preset' configurations may be selected. + . + A simple API is provided that allows interfacing using commonly-used sample + formats and buffering schemes. + +Package: libsoxr-lsr0 +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: High quality 1D sample-rate conversion library (libsamplerate bindings) + The SoX Resampler library `libsoxr' performs one-dimensional sample-rate + conversion - it may be used, for example, to resample PCM-encoded audio. + . + It aims to give fast and high quality results for any constant (rational or + irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, + and rejection level parameters are all configurable; alternatively, simple + `preset' configurations may be selected. + . + This package contains bindings compatible with the resampling library + `libsamplerate' (constant rate). + +Package: libsoxr-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: libsoxr-lsr0 (= ${binary:Version}), + libsoxr0 (= ${binary:Version}), + ${misc:Depends} +Description: High quality 1D sample-rate conversion library (development files) + The SoX Resampler library `libsoxr' performs one-dimensional sample-rate + conversion - it may be used, for example, to resample PCM-encoded audio. + . + It aims to give fast and high quality results for any constant (rational or + irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, + and rejection level parameters are all configurable; alternatively, simple + `preset' configurations may be selected. + . + A simple API is provided that allows interfacing using commonly-used sample + formats and buffering schemes. + . + This package contains the development files. diff --git a/copyright b/copyright new file mode 100644 index 0000000..08f115b --- /dev/null +++ b/copyright @@ -0,0 +1,77 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libsoxr +Upstream-Contact: Rob Sykes +Source: https://sourceforge.net/projects/soxr/files/ + +Files: * +Copyright: 2007-2013, Rob Sykes +License: LGPL-2.1+ + +Files: src/pffft.c src/pffft.h +Copyright: 2011, Julien Pommier + 2004, The University Corporation for Atmospheric Research +License: Spherepack + Redistribution and use of the Software in source and binary forms, + with or without modification, is permitted provided that the + following conditions are met: + . + - Neither the names of NCAR's Computational and Information Systems + Laboratory, the University Corporation for Atmospheric Research, + nor the names of its sponsors or contributors may be used to + endorse or promote products derived from this Software without + specific prior written permission. + . + - Redistributions of source code must retain the above copyright + notices, this list of conditions, and the disclaimer below. + . + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the disclaimer below in the + documentation and/or other materials provided with the + distribution. + . + THIS 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 CONTRIBUTORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE + SOFTWARE. + +Files: src/fft4g.c +Copyright: 1996-2001, Takuya OOURA +License: permissive1 + You may use, copy, modify and distribute this code for any + purpose (include commercial use) and without fee. Please + refer to this package when you modify this code. + http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html + +Files: src/dbesi0.c +Copyright: 1996, Takuya OOURA +License: permissive2 + You may use, copy, modify this code for any purpose and + without fee. + +Files: debian/* +Copyright: 2012-2013, Benjamin Drung +License: LGPL-2.1+ + +License: LGPL-2.1+ + This library 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 2.1 of the License, or (at + your option) any later version. + . + This library 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 library; 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 Lesser General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. diff --git a/libsoxr-dev.install b/libsoxr-dev.install new file mode 100644 index 0000000..fe2190f --- /dev/null +++ b/libsoxr-dev.install @@ -0,0 +1,7 @@ +usr/include +usr/lib/*/libsoxr-lsr.so +usr/lib/*/libsoxr.so +usr/lib/*/pkgconfig +usr/share/doc/libsoxr-dev/NEWS +usr/share/doc/libsoxr-dev/README +usr/share/doc/libsoxr-dev/examples diff --git a/libsoxr-lsr0.install b/libsoxr-lsr0.install new file mode 100644 index 0000000..54c2c4a --- /dev/null +++ b/libsoxr-lsr0.install @@ -0,0 +1 @@ +usr/lib/*/libsoxr-lsr.so.0* diff --git a/libsoxr-lsr0.symbols b/libsoxr-lsr0.symbols new file mode 100644 index 0000000..35a898b --- /dev/null +++ b/libsoxr-lsr0.symbols @@ -0,0 +1,20 @@ +libsoxr-lsr.so.0 libsoxr-lsr0 #MINVER# +* Build-Depends-Package: libsoxr-dev + src_callback_new@Base 0.1.0 + src_callback_read@Base 0.1.0 + src_delete@Base 0.1.0 + src_error@Base 0.1.0 + src_float_to_int_array@Base 0.1.0 + src_float_to_short_array@Base 0.1.0 + src_get_description@Base 0.1.0 + src_get_name@Base 0.1.0 + src_get_version@Base 0.1.0 + src_int_to_float_array@Base 0.1.0 + src_is_valid_ratio@Base 0.1.0 + src_new@Base 0.1.0 + src_process@Base 0.1.0 + src_reset@Base 0.1.0 + src_set_ratio@Base 0.1.0 + src_short_to_float_array@Base 0.1.0 + src_simple@Base 0.1.0 + src_strerror@Base 0.1.0 diff --git a/libsoxr0.install b/libsoxr0.install new file mode 100644 index 0000000..0023f02 --- /dev/null +++ b/libsoxr0.install @@ -0,0 +1 @@ +usr/lib/*/libsoxr.so.0* diff --git a/libsoxr0.symbols b/libsoxr0.symbols new file mode 100644 index 0000000..98e0b6b --- /dev/null +++ b/libsoxr0.symbols @@ -0,0 +1,20 @@ +libsoxr.so.0 libsoxr0 #MINVER# +* Build-Depends-Package: libsoxr-dev + soxr_clear@Base 0.1.0 + soxr_create@Base 0.1.0 + soxr_delay@Base 0.1.0 + soxr_delete@Base 0.1.0 + soxr_engine@Base 0.1.0 + soxr_error@Base 0.1.0 + soxr_io_spec@Base 0.1.0 + soxr_num_clips@Base 0.1.0 + soxr_oneshot@Base 0.1.0 + soxr_output@Base 0.1.0 + soxr_process@Base 0.1.0 + soxr_quality_spec@Base 0.1.0 + soxr_runtime_spec@Base 0.1.0 + soxr_set_error@Base 0.1.0 + soxr_set_input_fn@Base 0.1.0 + soxr_set_io_ratio@Base 0.1.0 + soxr_set_num_channels@Base 0.1.0 + soxr_version@Base 0.1.0 diff --git a/patches/fix-cmake-set-project-version.patch b/patches/fix-cmake-set-project-version.patch new file mode 100644 index 0000000..31d47c4 --- /dev/null +++ b/patches/fix-cmake-set-project-version.patch @@ -0,0 +1,49 @@ +Description: compute PROJECT_VERSION and make sure to pass it to all project() calls + Otherwise the later project() call will override PROJECT_VERSION +Author: Mattia Rizzolo +Last-Update: 2020-05-06 +Bug-Debian: https://bugs.debian.org/942795 +Forwarded: no + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,6 @@ + + cmake_minimum_required (VERSION 3.1 FATAL_ERROR) + +-project (soxr C) + set (DESCRIPTION_SUMMARY + "High quality, one-dimensional sample-rate conversion library") + +@@ -29,7 +28,11 @@ + math (EXPR SO_VERSION_MINOR "${SO_VERSION_AGE}") + math (EXPR SO_VERSION_PATCH "${SO_VERSION_REVISION}") + ++set (PROJECT_VERSION ++ ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) ++set (SO_VERSION ${SO_VERSION_MAJOR}.${SO_VERSION_MINOR}.${SO_VERSION_PATCH}) + ++project (soxr VERSION "${PROJECT_VERSION}" LANGUAGES C) + + # Main options: + +@@ -101,7 +104,7 @@ + endif () + + if (${BUILD_EXAMPLES}) +- project (${PROJECT_NAME}) # Adds c++ compiler ++ project (${PROJECT_NAME} VERSION "${PROJECT_VERSION}") # Adds c++ compiler + endif () + + if (WITH_OPENMP) +@@ -253,10 +256,6 @@ + + # Top-level: + +-set (PROJECT_VERSION +- ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) +-set (SO_VERSION ${SO_VERSION_MAJOR}.${SO_VERSION_MINOR}.${SO_VERSION_PATCH}) +- + configure_file ( + ${PROJECT_SOURCE_DIR}/${PROJECT_NAME}-config.h.in + ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.h) diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..e2ca975 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +fix-cmake-set-project-version.patch diff --git a/rules b/rules new file mode 100755 index 0000000..72fe8c1 --- /dev/null +++ b/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +include /usr/share/dpkg/architecture.mk + +CONFIGURE_FLAGS = -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ + -DDOC_INSTALL_DIR=/usr/share/doc/libsoxr-dev + +ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) +CONFIGURE_FLAGS += -DBUILD_TESTS=0 -DBUILD_EXAMPLES=1 +endif + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- $(CONFIGURE_FLAGS) + +override_dh_compress: + dh_compress -X.c -X.C diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..acb66e2 --- /dev/null +++ b/tests/control @@ -0,0 +1,2 @@ +Tests: inst-check +Depends: build-essential, libsoxr-dev, pkg-config diff --git a/tests/inst-check b/tests/inst-check new file mode 100755 index 0000000..bac210d --- /dev/null +++ b/tests/inst-check @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +./inst-check /usr/share/doc/libsoxr-dev/examples diff --git a/watch b/watch new file mode 100644 index 0000000..fc77da6 --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=3 +https://sf.net/soxr/soxr-(.+)-Source\.tar\.xz