debian/0000775000000000000000000000000012255665164007204 5ustar debian/rules0000775000000000000000000000176412255665116010271 0ustar #!/usr/bin/make -f export REPACK_SH=$(CURDIR)/debian/repack.sh DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CONFIGURE_FLAGS = --enable-debug --with-jack --with-pulse ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) export CFLAGS += -O0 else export CFLAGS += -O2 endif ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_FLAGS += --with-alsa else CONFIGURE_FLAGS += --with-oss endif %: dh $@ --parallel --with autoreconf,autotools_dev override_dh_auto_clean: dh_auto_clean rm -rf doc/html doc/images override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) override_dh_strip: dh_strip --dbg-package=librtaudio-dbg override_dh_auto_install: mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mkdir -p debian/tmp/usr/include for file in `ls librtaudio.so*`; do \ cp -d $$file debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ ; \ done install *.h debian/tmp/usr/include get-orig-source: uscan --force-download debian/watch0000664000000000000000000000022112142367444010223 0ustar version=3 opts=dversionmangle=s/~ds.*// \ http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-(.*)\.tar\.gz \ debian sh debian/repack.stub debian/changelog0000664000000000000000000000277612255665156011073 0ustar rtaudio (4.0.12~ds0-1ubuntu1) trusty; urgency=medium * Use autotools-dev to update config.{sub,guess} for new arches. -- Logan Rosen Sun, 22 Dec 2013 17:40:33 -0500 rtaudio (4.0.12~ds0-1) unstable; urgency=low * Upload to unstable. * New upstream release. * Refresh patches. * Drop 0003-ppc64_support.patchm, applied upstream. * Fix VCS canonical URLs. * Bump Standards. -- Alessio Treglia Wed, 08 May 2013 08:31:35 +0200 rtaudio (4.0.11~ds0-2) experimental; urgency=low * Add support for powerpc64 builds. Thanks to Hiroyuki Yamamoto for the patch. (Closes: #693590) -- Alessio Treglia Sun, 18 Nov 2012 10:52:15 +0000 rtaudio (4.0.11~ds0-1) experimental; urgency=low * Imported Upstream version 4.0.11~ds0: - Fix memory leak with ALSA - Avoid hung state with JACK. - Add PulseAudio support. * Refresh 0001-buildsystem.patch. * Enable PulseAudio support. * debian/control: - Build on linux only. - Build-Depends on libpulse-dev. - Bump Standards. -- Alessio Treglia Wed, 18 Jul 2012 11:38:58 +0200 rtaudio (4.0.10~ds0-2) unstable; urgency=low * Don't build static library at all; this change should also fix FTBFS on most architectures. -- Alessio Treglia Wed, 18 Jan 2012 00:14:38 +0100 rtaudio (4.0.10~ds0-1) unstable; urgency=low * Initial release. (Closes: #609240) -- Alessio Treglia Tue, 17 Jan 2012 09:26:55 +0100 debian/librtaudio4.install0000664000000000000000000000002112142367444013002 0ustar usr/lib/*/*.so.* debian/compat0000664000000000000000000000000212142367444010375 0ustar 9 debian/librtaudio-dev.install0000664000000000000000000000006412142367444013501 0ustar rtaudio-config usr/bin usr/include/* usr/lib/*/*.so debian/copyright0000664000000000000000000000467712142367444011150 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=200 Upstream-Name: RtAudio Upstream-Contact: Gary P. Schiavone Source: http://www.music.mcgill.ca/~gary/rtaudio/release/ Copyright: 2001-2011 Gary P. Scavone Files: * Copyright: 2001-2011 Gary P. Scavone License: other-mit Files: debian/* Copyright: 2012 Alessio Treglia License: GPL-3+ License: other-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. . Any person wishing to distribute modifications to the Software is asked to send the modifications to the original developer so that they can be incorporated into the canonical version. This is, however, not a binding provision of this license. . 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 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 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 IN THE SOFTWARE. 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. Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/source/0000775000000000000000000000000012142367444010477 5ustar debian/source/format0000664000000000000000000000001412142367444011705 0ustar 3.0 (quilt) debian/repack.sh0000775000000000000000000000703412142367444011007 0ustar #!/bin/sh # see the repack.stub for how to use # TODO: provide example watch files and repack.locals # TODO: test suite. problems fixed that need to be tested: # * globbing # * whitespace and then comments in the MANIFEST # TODO: does / in weird places work? test suite too. # TODO: I actually broke stuff with the MANIFEST change not thinking.. # TODO: allow for a sepearate (and multiple) MANIFEST files, then # de-uglify libsyntax-highlight-engine-kate-perl. # TODO: have each mv and rm check that something actually changed, and # if not, die set -e set -u usage() { echo "Usage: repack.sh --upstream-version " exit 1 } if [ "$#" != "3" ]; then usage fi if [ "$1" != "--upstream-version" ]; then usage fi if [ ! -f "$3" ]; then if [ -n "$3" ]; then echo "$3 doesn't exist" fi usage fi VER="$2" FILE="$3" PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` SUFFIX="+dfsg" echo echo "Repackaging $FILE" echo DIR=`mktemp -d ./tmpRepackXXXXXX` DIR=$(readlink -f "$DIR") trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT # Create an extra directory to cope with rootless tarballs UP_BASE="$DIR/unpack" mkdir "$UP_BASE" tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then # Tarball does contain a root directory UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" fi RM_OPTS="-vrf" real_rm(){ /bin/rm "$@" } real_mv(){ /bin/mv "$@" } rm(){ set +f MYOLDPWD=$(pwd) cd "$UP_BASE" if [ "$MANIFEST" = "1" ]; then PERM=$(stat --format=%a "MANIFEST") chmod u+w "MANIFEST" fi for i in $@; do if [ "$MANIFEST" = "1" ]; then PATTERN="^$i" if [ -d "$i" ]; then if ! { echo "$PATTERN" | grep -q "/$" ; }; then PATTERN="${PATTERN}/" fi else PATTERN="${PATTERN}\s?" fi grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" real_mv "$DIR/MANIFEST" "MANIFEST" fi real_rm "$RM_OPTS" "$i" done if [ "$MANIFEST" = "1" ]; then chmod $PERM "MANIFEST" fi cd $MYOLDPWD set -f } mv(){ set +f OLD=$(pwd) cd $UP_BASE real_mv "$@" cd $OLD if [ "$MANIFEST" = "1" ]; then echo "MANIFEST cannot be manipulated with mv yet, patches welcome" exit 1 fi set -f } # bump with incompatible changes REPACK_VERSION=3 requires_version(){ if [ $REPACK_VERSION -lt $1 ]; then echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" exit 1 fi } MANIFEST=0 ## Remove stuff set -f MYORIGPWD=$(pwd) cd "$UP_BASE" . "$MYORIGPWD/debian/repack.local" cd $MYORIGPWD set +f ## End REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef ยง 6.7.8.2 DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" real_mv "$UP_BASE" "$DIR/$REPACK_DIR" # .gz or .bz2? FILETYPE=$(file --brief --mime-type --dereference "$FILE") case "$FILETYPE" in application/x-gzip|application/zip) C_PROGRAM="gzip" C_SUFFIX="gz" ;; application/x-bzip2) C_PROGRAM="bzip2" C_SUFFIX="bz2" ;; *) echo "E: Unknown filetye $FILETYPE" exit 1 ;; esac # Using a pipe hides tar errors! tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" $C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" echo "*** $DFSG_TAR.$C_SUFFIX ready" debian/repack.local0000664000000000000000000000013712142367444011461 0ustar SUFFIX=~ds0 rm configure \ contrib/ \ doc/html/ \ doc/images/ \ include/ \ tests/Windows/ debian/repack.stub0000664000000000000000000000325112142367444011344 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@" debian/control0000664000000000000000000000626712255665161010617 0ustar Source: rtaudio Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 8.1.3~), dh-autoreconf, libasound2-dev, libjack-dev, libpulse-dev, autotools-dev Standards-Version: 3.9.4 Homepage: http://www.music.mcgill.ca/~gary/rtaudio/ Vcs-Git: git://anonscm.debian.org/pkg-multimedia/rtaudio.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/rtaudio.git Package: librtaudio4 Architecture: linux-any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: C++ library for realtime audio input/ouput RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, and OSS), Macintosh OS X, SGI, and Windows (DirectSound and ASIO) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives: . * object-oriented C++ design * simple, common API across all supported platforms * only one source and two header files for easy inclusion in programming projects * allow simultaneous multi-api support * support dynamic connection of devices * provide extensive audio device parameter control * allow audio device capability probing * automatic internal conversion for data format, channel number compensation, (de)interleaving, and byte-swapping . RtAudio incorporates the concept of audio streams, which represent audio output (playback) and/or input (recording). Available audio devices and their capabilities can be enumerated and then specified when opening a stream. . This package provides the shared library. Package: librtaudio-dev Section: libdevel Architecture: linux-any Multi-Arch: same Depends: libasound2-dev, libjack-dev, librtaudio4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Suggests: librtmidi-dev Description: C++ library for realtime audio input/ouput (development files) RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, and OSS), Macintosh OS X, SGI, and Windows (DirectSound and ASIO) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. . This package provides the development files. Package: librtaudio-dbg Section: debug Priority: extra Architecture: linux-any Multi-Arch: same Depends: librtaudio4 (= ${binary:Version}), ${misc:Depends} Description: C++ library for realtime audio input/ouput (debugging symbols) RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, and OSS), Macintosh OS X, SGI, and Windows (DirectSound and ASIO) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. . This package provides the debugging symbols. debian/librtaudio-dev.docs0000664000000000000000000000002712142367444012762 0ustar doc/release.txt readme debian/gbp.conf0000664000000000000000000000003612142367460010613 0ustar [DEFAULT] pristine-tar = True debian/patches/0000775000000000000000000000000012142370400010610 5ustar debian/patches/0002-rtaudio_config.patch0000664000000000000000000000124312142367444015222 0ustar Description: Fix bashism in rtaudio-config. Author: Alessio Treglia Forwarded: no --- rtaudio-config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- rtaudio.orig/rtaudio-config.in +++ rtaudio/rtaudio-config.in @@ -8,11 +8,11 @@ LIBRARY="@LIBS@" CXXFLAGS="@CXXFLAGS@" CPPFLAGS="@CPPFLAGS@" -if (test "x$1" == "x--libs") ; then +if (test "x$1" = "x--libs") ; then echo "$LIBRARY" -elif (test "x$1" == "x--cxxflags") ; then +elif (test "x$1" = "x--cxxflags") ; then echo "$CXXFLAGS" -elif (test "x$1" == "x--cppflags") ; then +elif (test "x$1" = "x--cppflags") ; then echo "$CPPFLAGS" else echo "Unknown option: $1" debian/patches/series0000664000000000000000000000006112142370370012030 0ustar 0001-buildsystem.patch 0002-rtaudio_config.patch debian/patches/0001-buildsystem.patch0000664000000000000000000000204112142370135014555 0ustar Description: Improvements to the buildsystem. - Install missing link. - Rename 'tests' target to 'check' (to make debhelper compile tests automatically). - Set system-wide CFLAGS values properly. - Don't build static libraries. Author: Alessio Treglia Forwarded: no --- Makefile.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) --- rtaudio.orig/Makefile.in +++ rtaudio/Makefile.in @@ -6,27 +6,24 @@ LN = /bin/ln OBJECTS = RtAudio.o @objects@ -STATIC = librtaudio.a SHARED = @sharedlib@ RELEASE = 4.0.12 MAJOR = 4 -LIBRARIES = $(STATIC) $(SHARED) +LIBRARIES = $(SHARED) CC = @CXX@ AR = @AR@ RANLIB = @RANLIB@ DEFS = @CPPFLAGS@ -CFLAGS = @CXXFLAGS@ -Iinclude -fPIC +CFLAGS += @CXXFLAGS@ -Iinclude -fPIC all : $(LIBRARIES) -tests: +check: cd tests && $(MAKE) all $(LIBRARIES): $(OBJECTS) - $(AR) ruv $(STATIC) $(OBJECTS) - ranlib $(STATIC) $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@ $(LN) -sf @sharedname@ $(SHARED) $(LN) -sf @sharedname@ $(SHARED).$(MAJOR)