debian/0000755000000000000000000000000012302624217007165 5ustar debian/python-mididings.install0000644000000000000000000000001012225010113014016 0ustar usr/lib debian/mididings.manpages0000644000000000000000000000004612225010102012633 0ustar debian/livedings.1 debian/mididings.1 debian/watch0000644000000000000000000000020712225012177010215 0ustar version=3 opts="uversionmangle=s/^/0~/,dversionmangle=s/(\d~\d+)~ds\d/$1/" \ http://das.nasophon.de/download/ mididings-(\d+)\.tar\.gz debian/mididings.10000644000000000000000000000370312225010102011203 0ustar .TH MIDIDINGS "1" "November 2010" .SH NAME mididings \- MIDI router and processor .SH SYNOPSIS .B mididings [\fIoptions\fR] \fI"patch"\fR .PP .B mididings [\fIoptions\fR] \fB\-f\fR filename .SH DESCRIPTION .B mididings is a MIDI router and processor based on Python, supporting ALSA and JACK MIDI. .PP Many features are provided: .TP .B MIDI routing and filtering Filter events depending on their event type, channel, note number, velocity, etc., and freely route them between an arbitrary number of input and output ports. .TP .B Modifying and converting MIDI events Transpose notes, apply velocity curves, change controller values and ranges, or convert events to any other MIDI event type. mididings also includes more complex functions like a diatonic harmonizer, floating split points, latched notes, and more. .TP .B Seamless switching between patches Set up different "scenes", each with its own MIDI routing and processing, and switch between them at any time, even while playing. Switching scenes does not affect notes already held, and does not result in dropouts or stuck notes! .TP .B MIDI event monitoring, running external commands Print MIDI event data to the console to help debugging your patches and configuring your MIDI controllers. In addition to its MIDI output, mididings can also execute shell commands and send OSC or DBUS messages. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-b\fR BACKEND name of backend to use .TP \fB\-c\fR CLIENT_NAME ALSA or JACK client name .TP \fB\-i\fR IN_PORTS number of input ports .TP \fB\-o\fR OUT_PORTS number of output ports .TP \fB\-d\fR START_DELAY delay (in seconds) before starting MIDI processing .TP \fB\-f\fR FILENAME filename of script to run .PP .SH "SEE ALSO" \fBlivedings\fR(1) .SH "AUTHOR" mididings was written by Dominic Sacré . .PP This manual page was written by Alessio Treglia , for the Debian project (and may be used by others). debian/copyright0000644000000000000000000000231212225010113011102 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Mididings Upstream-Contact: Dominic Sacré Source: http://das.nasophon.de/download/ Files: * Copyright: 2007-2012 Dominic Sacré License: GPL-2+ Files: doc/examples/* Copyright: No copyright holder License: Public domain Files: debian/* Copyright: 2010-2012 Alessio Treglia License: GPL-2+ 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 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-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/mididings-doc.examples0000644000000000000000000000001712225010102013417 0ustar doc/examples/* debian/livedings.10000644000000000000000000000327312225010102011222 0ustar .TH LIVEDINGS "1" "November 2010" "" "User Commands" .SH NAME livedings \- graphical frontend for mididings .SH SYNOPSIS .B livedings \fI-p control_port \-l listen_port \fR[\fIoptions\fR] .SH DESCRIPTION .B livedings is a graphical frontend for mididings that allows users to monitor and trigger scene changes. It runs as a separate application that uses OSC to communicate with mididings. To use it, enable the OSCInterface hook in a mididings script, specifying two unused UDP ports: .PP .nf from mididings.extra.osc import OSCInterface .sp hook(OSCInterface(56418, 56419)) ... .sp .fi Then run livedings with the same port numbers: .PP .nf $ livedings \-p 56418 \-l 56419 .fi .PP The first port is used by mididings to listen for commands, the second one is used to notify livedings of scene changes. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-p\fR CONTROL_PORT OSC port mididings is listening on .TP \fB\-l\fR LISTEN_PORT OSC port for notifications from mididings .TP \fB\-T\fR enable custom theme and larger fonts .TP \fB\-x\fR WIDTH width of window in pixels (640) .TP \fB\-y\fR HEIGHT height of window in pixels (400) .TP \fB\-w\fR LIST_WIDTH width of scene list in pixels (240) .TP \fB\-F\fR FONT display font (Sans 14 bold) .TP \fB\-f\fR LIST_FONT scene list font (Sans 10) .TP \fB\-c\fR COLOR text color (gray50) .TP \fB\-C\fR COLOR_HIGHLIGHT highlight text color (black) .TP \fB\-b\fR COLOR_BACKGROUND background color .PP .SH "SEE ALSO" \fBmididings\fR(1) .SH "AUTHOR" livedings was written by Dominic Sacré . .PP This manual page was written by Alessio Treglia , for the Debian project (and may be used by others). debian/changelog0000644000000000000000000000561012302624065011042 0ustar mididings (0~20120419~ds0-4) unstable; urgency=medium * Team upload. * Add patch to compile with Boost 1.54 (Closes: #733395) * Enable boost_1.54.patch * Build-depend on at least boost-1.54. -- Adrian Knoth Mon, 24 Feb 2014 11:07:55 +0000 mididings (0~20120419~ds0-3) unstable; urgency=low * Enable hardening by bumping DH compat up. * Fix VCS URLs to meet the canonical form. * Depend on python. * Improve debian/watch file to properly mangle dversion. * Bump Standards. -- Alessio Treglia Tue, 08 Oct 2013 15:20:56 +0100 mididings (0~20120419~ds0-2) unstable; urgency=low * Team upload. * debian/patches/time_utc.patch: Fix FTBFS because of the boost::TIME_UTC to boost::TIME_UTC_ name change. (Closes: #710636). -- Sebastian Ramacher Fri, 05 Jul 2013 11:41:35 +0200 mididings (0~20120419~ds0-1) unstable; urgency=low * New upstream release. * Depends on python-decorator. -- Alessio Treglia Mon, 23 Apr 2012 01:38:46 +0200 mididings (0~20120312-1) unstable; urgency=low * New upstream release: - Added methods apply(), invert() and negate() to filter objects, and made AndSelector and OrSelector public classes. Anything that can be done with funny overloaded operators is now also possible with regular functions and objects. - Added option -n to livedings, based on a patch by Aurélien. - Added SysExEvent() function in mididings.event module. - Added Restart() and Quit() in mididings.extra module. - Fixed PitchbendEvent(). - Fixed selector operators & and | for more than two filters. - Print correct note names when using Python 3. - Fixed operator != for comparing MidiEvent objects. - Fixed compilation on OS X, automatically disable ALSA backend on non-Linux platforms. - Extended and reorganized unit tests. - Some documentation cleanup. * Ignor errors on clean to allow building the source package without installing python-gobject-dev. * Refresh debian/copyright. * Bump Standards. -- Alessio Treglia Wed, 21 Mar 2012 14:00:39 +0100 mididings (0~20101119-2) unstable; urgency=low * mididings strictly depends on the current upstream release. * Use dh_installexamples to install example files. * Strip examples from mididings-doc.install file. * Switch to dh_python2. -- Alessio Treglia Tue, 19 Apr 2011 17:16:07 +0200 mididings (0~20101119-1) unstable; urgency=low * Really build with libsmf support. * Imported Upstream version 0~20101119 * File in ./doc/examples/ are public domain, as stated in README. -- Alessio Treglia Sat, 20 Nov 2010 11:13:28 +0100 mididings (0~20100602-1) unstable; urgency=low * Initial release. (Closes: #600914) -- Alessio Treglia Thu, 21 Oct 2010 12:50:41 +0200 debian/control0000644000000000000000000000547712302624004010577 0ustar Source: mididings Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 9~), libasound2-dev, libboost-python-dev (>= 1.54), libboost-thread-dev (>= 1.54), libjack-dev, libsmf-dev, python-all-dev (>= 2.6.6-3~), python-gobject-dev (>= 2.18.0) Standards-Version: 3.9.4 X-Python-Version: >= 2.5 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/mididings.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/mididings.git Homepage: http://das.nasophon.de/mididings/ Package: python-mididings Section: python Architecture: any Depends: python-decorator, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Suggests: python-dbus, python-liblo, python-pyinotify, python-tk Provides: ${python:Provides} Description: MIDI routing library for Python mididings is a MIDI router and processor based on Python, supporting ALSA and JACK MIDI. . Features: * MIDI routing and filtering Filter events depending on their event type, channel, note number, velocity, etc., and freely route them between an arbitrary number of input and output ports. * Modifying and converting MIDI events Transpose notes, apply velocity curves, change controller values and ranges, or convert events to any other MIDI event type. mididings also includes more complex functions like a diatonic harmonizer, floating split points, latched notes, and more. * Seamless switching between patches Set up different "scenes", each with its own MIDI routing and processing, and switch between them at any time, even while playing. Switching scenes does not affect notes already held, and does not result in dropouts or stuck notes! * MIDI event monitoring, running external commands Print MIDI event data to the console to help debugging your patches and configuring your MIDI controllers. In addition to its MIDI output, mididings can also execute shell commands and send OSC or DBUS messages. Package: mididings Architecture: all Depends: python, python-dbus, python-liblo, python-mididings (<< ${source:Upstream-Version}+1~), python-mididings (>= ${source:Version}), python-pyinotify, python-tk, ${misc:Depends}, ${python:Depends} Suggests: mididings-doc Description: MIDI router and processor based on Python mididings is a MIDI router and processor based on Python, supporting ALSA and JACK MIDI. . This package contains the mididings and livedings applications. Package: mididings-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: mididings Documentation mididings is a MIDI router and processor based on Python, supporting ALSA and JACK MIDI. . This package contains the documentation files for mididings. debian/mididings-doc.install0000644000000000000000000000014712225010113013255 0ustar doc/*.css usr/share/mididings-doc doc/*.html usr/share/mididings-doc doc/*.png usr/share/mididings-doc debian/compat0000644000000000000000000000000212225010426010356 0ustar 9 debian/rules0000755000000000000000000000032012225010102010222 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_clean: dh_auto_clean || true override_dh_auto_build: dh_auto_build -- --enable-smf override_dh_installchangelogs: dh_installchangelogs NEWS debian/mididings-doc.doc-base0000644000000000000000000000035212225010102013260 0ustar Document: mididings-doc Title: mididings Documentation Author: Dominic Sacré Abstract: Documentation Reference for mididings. Section: Sound Format: HTML Index: /usr/share/mididings-doc/index.html Files: /usr/share/mididings-doc/* debian/source/0000755000000000000000000000000012225010102010447 5ustar debian/source/format0000644000000000000000000000001412225010102011655 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612225010102010565 0ustar [DEFAULT] pristine-tar = True debian/mididings.install0000644000000000000000000000001012225010113012477 0ustar usr/bin debian/patches/0000755000000000000000000000000012302624004010606 5ustar debian/patches/series0000644000000000000000000000004012302624004012015 0ustar time_utc.patch boost_1.54.patch debian/patches/boost_1.54.patch0000644000000000000000000000116112302624004013423 0ustar From: Adrian Knoth Bugs-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733395 Last-Updated: 2014-02-23 Forwarded: No (probably needs more logic) Description: Fix FTBFS with recent boost versions Debian's default boost version has been updated to 1.54, however, the new release no longer ships the -mt version of the libraries. --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ libname = 'lib%s%s.so' % (lib, suffix) if os.path.isfile(os.path.join(libdir, libname)): return lib + suffix - return lib + '-mt' + return lib sources = [ debian/patches/time_utc.patch0000644000000000000000000000124412225010102013431 0ustar Description: Fix FTBFS due to renamed TIME_UTC TIME_UTC is now provided by eglibc and boost has renamed it to TIME_UTC_. Author: Sebastian Ramacher Bug-Debian: http://bugs.debian.org/710636 Last-Update: 2013-07-05 --- a/src/python_caller.cc +++ b/src/python_caller.cc @@ -148,7 +148,7 @@ _cond.timed_wait(lock, boost::posix_time::milliseconds(Config::ASYNC_CALLBACK_INTERVAL)); #else boost::xtime xt; - boost::xtime_get(&xt, boost::TIME_UTC); + boost::xtime_get(&xt, boost::TIME_UTC_); xt.nsec += Config::ASYNC_CALLBACK_INTERVAL * 1000000; _cond.timed_wait(lock, xt); #endif