debian/0000755000000000000000000000000011614750100007161 5ustar debian/compat0000644000000000000000000000000211524334256010371 0ustar 7 debian/patches/0000755000000000000000000000000011524334256010622 5ustar debian/patches/use_ogg.diff0000644000000000000000000000124311524334256013104 0ustar Description: Use .ogg instead of .oga as extension for Vorbis file. For some reason libsndfile uses .oga as default extension for Vorbis files and Audacity has problems opening it. Author: Free Ekanayaka --- src/sndfile.c | 3 +++ 1 file changed, 3 insertions(+) --- rotter.orig/src/sndfile.c +++ rotter/src/sndfile.c @@ -230,6 +230,9 @@ encoder_funcs_t* init_sndfile( const cha // Fill in the encoder callback functions + if (strcmp(format_info.extension, "oga") == 0) { + format_info.extension = "ogg"; + } funcs->file_suffix = format_info.extension; funcs->open = open_sndfile; funcs->close = close_sndfile; debian/patches/series0000644000000000000000000000001511524334256012033 0ustar use_ogg.diff debian/rules0000755000000000000000000000032211524334256010250 0ustar #!/usr/bin/make -f %: dh $@ --with=autotools_dev override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/rotter override_dh_installinit: dh_installinit -- start 95 2 3 4 5 . stop 13 0 1 6 . debian/docs0000644000000000000000000000000711524334256010043 0ustar README debian/control0000644000000000000000000000165611614747677010625 0ustar Source: rotter Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Free Ekanayaka , Alessio Treglia Build-Depends: debhelper (>= 7.0.50~), autotools-dev (>= 20100122.1), libjack-dev, libsndfile-dev, libmp3lame-dev Standards-Version: 3.9.2 Homepage: http://www.aelius.com/njh/rotter/ Vcs-Git: git://git.debian.org/git/pkg-multimedia/rotter.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/rotter.git;a=summary Package: rotter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, jackd Description: JACK client for transmission recording and audio logging Rotter is a Recording of Transmission / Audio Logger for JACK. It was designed for use by radio stations, who are legally required to keep a recording of all their output. Rotter runs continuously, writing to a new file every hour. debian/rotter.default0000644000000000000000000000027311524334256012062 0ustar # Set to "yes" to start rotter at boot START_DAEMON=no # The rooter process will run under this user USER=fred # Options to pass to rotter OPTIONS="-a -f flac -L combo /var/lib/rotter" debian/changelog0000644000000000000000000000344711614750017011052 0ustar rotter (0.9-3) unstable; urgency=low * Build against libmp3lame-dev. * Bump Standards. -- Alessio Treglia Sat, 30 Jul 2011 11:34:04 +0200 rotter (0.9-2) unstable; urgency=low * Upload to unstable. -- Alessio Treglia Tue, 08 Feb 2011 22:42:42 +0100 rotter (0.9-1) experimental; urgency=low * New upstream release. * Add debian/gbp.conf file. * Update watch file. * Update my email address and remove DMUA field, now unnecessary. * Bump Standards version. * Switch to format 3.0 (quilt). * Refresh patches. * Use the autotools_dev DH addon to refresh config.{guess,sub} files. -- Alessio Treglia Thu, 14 Oct 2010 18:48:36 +0200 rotter (0.8-3) unstable; urgency=low * Drop jackd dependency from the init.d LSB header (Closes: #569929), jackd init script isn't provided anymore. -- Alessio Treglia Mon, 08 Mar 2010 22:02:40 +0100 rotter (0.8-2) unstable; urgency=low * debian/control: - Adjust debhelper,quilt build-dependencies. - Bump Standards. - Allow uploads by Debian Maintainers. * Update debian/copyright. * debian/rotter.init: Fix incorrect dependencies (Closes: #569700); patch provided by Petter Reinholdtsen. -- Alessio Treglia Sat, 13 Feb 2010 20:26:28 +0100 rotter (0.8-1.1) unstable; urgency=low * Non-maintainer upload. * Switch libmp3lame-dev and libtwolame-dev in Build-Depends to fix FTBFS on buildds due to sbuild's #403246 [with A|B in Build-Depends, A uninstallable] (Closes: #559508). -- Cyril Brulebois Mon, 21 Dec 2009 15:06:08 +0100 rotter (0.8-1) unstable; urgency=low * Initial release (Closes: #509839). -- Alessio Treglia Tue, 17 Nov 2009 18:09:07 +0100 debian/dirs0000644000000000000000000000001711524334256010055 0ustar var/lib/rotter debian/rotter.init0000644000000000000000000000616411524334256011406 0ustar #!/bin/sh # # Rotter init script # ### BEGIN INIT INFO # Provides: rotter # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: init-Script for system wide fetchmail daemon ### END INIT INFO # set -e # Defaults PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/rotter USER= OPTIONS="" PIDFILE="/var/run/rotter.pid" test -f /etc/default/rotter && . /etc/default/rotter || exit 0 OPTIONS="$OPTIONS" if [ ! "x$START_DAEMON" = "xyes" ]; then exit 0 fi test -f $DAEMON || exit 0 . /lib/lsb/init-functions case "$1" in start) if test -e $PIDFILE ; then pid=`cat $PIDFILE | sed -e 's/\s.*//'|head -n1` PIDDIR=/proc/$pid if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then log_failure_msg "rotter already started; not starting." exit 0 else log_warning_msg "Removing stale PID file $PIDFILE." rm -f $PIDFILE fi fi while ! su - $USER -c jack_lsp > /dev/null 2>&1; do sleep 0.1 done log_begin_msg "Starting rotter audio server:" "rotter" if start-stop-daemon -m -b -S -o -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -a $DAEMON -- $OPTIONS; then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; stop) if ! test -e $PIDFILE ; then log_failure_msg "Pidfile not found! Is rotter running?" exit 0 fi log_begin_msg "Stopping rotter audio server:" "rotter" if start-stop-daemon -m -K -o -q -p $PIDFILE -x $DAEMON -u $USER; then rm -f $PIDFILE log_end_msg 0 else log_end_msg 1 exit 1 fi ;; force-reload|restart) log_begin_msg "Restarting rotter audio server:" "rotter" if ! start-stop-daemon -m -K -o -q -p $PIDFILE -x $DAEMON -u $USER; then log_end_msg 1 exit 1 fi sleep 1 rm -f $PIDFILE || true if start-stop-daemon -m -b -S -o -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -a $DAEMON -- $OPTIONS; then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; try-restart) if test -e $PIDFILE ; then pid=`cat $PIDFILE | sed -e 's/\s.*//'|head -n1` PIDDIR=/proc/$pid if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then $0 restart exit 0 fi fi test -f /etc/rc`/sbin/runlevel | cut -d' ' -f2`.d/S*rotter* && $0 start ;; awaken) log_begin_msg "Awakening rotter audio server:" "rotter" if [ -s $PIDFILE ]; then start-stop-daemon -K -s 10 -q -p $PIDFILE -x $DAEMON log_end_msg 0 exit 0 else log_end_msg 1 exit 1 fi ;; *) log_warning_msg "Usage: /etc/init.d/rotter {start|stop|restart|force-reload|awaken|debug-run}" log_warning_msg " start - starts system-wide rotter service" log_warning_msg " stop - stops system-wide rotter service" log_warning_msg " restart, force-reload - starts a new system-wide rotter service" log_warning_msg " awaken - tell system-wide rotter to start a poll cycle immediately" log_warning_msg " debug-run [strace [strace options...]] - start a debug run of the" log_warning_msg " system-wide rotter service, optionally running it under strace" exit 1 ;; esac exit 0 debian/gbp.conf0000644000000000000000000000014111524334256010606 0ustar [DEFAULT] debian-branch = master upstream-branch = upstream pristine-tar = True sign-tags = True debian/copyright0000644000000000000000000000235411524334256011132 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=142 Name: Rotter Maintainer: Nicholas J. Humfrey Source: http://www.aelius.com/njh/rotter/ Files: * Copyright: 2006-2009, Nicholas J. Humfrey License: GPL-2 Files: debian/* Copyright: 2009-2010, Alessio Treglia 2008-2009, Free Ekanayaka License: GPL-2 License: GPL-2 This package 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 of the License, or (at your option) any later version. . This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA X-Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/rotter.manpages0000644000000000000000000000001211524334256012220 0ustar rotter.1 debian/source/0000755000000000000000000000000011524334256010473 5ustar debian/source/format0000644000000000000000000000001411524334256011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010011524334256010213 0ustar version=3 http://www.aelius.com/njh/rotter/rotter-(.*)\.tar\.gz debian/menu0000644000000000000000000000015111524334256010057 0ustar ?package(rotter):needs="X11"\ section="Applications/Sound"\ title="Rotter"\ command="/usr/bin/rotter"