debian/0000755000000000000000000000000012142742177007175 5ustar debian/gbp.conf0000644000000000000000000000005712106471650010611 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000107512142736555010263 0ustar #!/usr/bin/make -f #LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) #export LDFLAGS+=-Wl,--as-needed export REPACK_SH=$(CURDIR)/debian/repack.sh DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) export DEB_BUILD_HARDENING=1 %: dh $@ override_dh_auto_configure: ./configure --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr override_dh_auto_install: dh_auto_install install -d $(CURDIR)/debian/midisnoop/usr/share/pixmaps/ install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/midisnoop/usr/share/pixmaps/ get-orig-source: uscan --force-download debian/menu0000644000000000000000000000023412106471650010056 0ustar ?package(midisnoop):needs="X11"\ section="Applications/Sound"\ title="Midisnoop"\ icon="/usr/share/pixmaps/midisnoop.xpm"\ command="/usr/bin/midisnoop" debian/repack.sh0000755000000000000000000000703412142736555011010 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/midisnoop.manpages0000644000000000000000000000002312106471650012701 0ustar debian/midisnoop.1 debian/clean0000644000000000000000000000002412142736555010201 0ustar *.pyc install/*.pyc debian/changelog0000644000000000000000000000050312142742153011037 0ustar midisnoop (0.1.2~repack0-2) unstable; urgency=low * Upload to unstable -- Jaromír Mikeš Thu, 09 May 2013 17:43:01 +0200 midisnoop (0.1.2~repack0-1) experimental; urgency=low * Initial release. (Closes: #700332) -- Jaromír Mikeš Mon, 11 Feb 2013 01:02:03 +0100 debian/midisnoop.xpm0000644000000000000000000000416512106471650011725 0ustar /* XPM */ static char *lmms[] = { /* columns rows colors chars-per-pixel */ "32 32 44 1 ", " c black", ". c #000006060606", "X c #000009090909", "o c #00000F0F0F0F", "O c #000010101010", "+ c #000014141414", "@ c #00001A1A1A1A", "# c #00001E1E1E1E", "$ c #000021212121", "% c #000025252525", "& c #00002C2C2C2C", "* c #00002D2D2D2D", "= c #000034343434", "- c #000036363636", "; c #000038383838", ": c #00003D3D3D3D", "> c #00004C4C4C4C", ", c #000077777777", "< c #00007F7F7F7F", "1 c #000082828282", "2 c #000084848484", "3 c #000093939393", "4 c #000096969696", "5 c #000098989898", "6 c #00009E9E9E9E", "7 c #0000A2A2A2A2", "8 c #0000A5A5A5A5", "9 c #0000A8A8A8A8", "0 c #0000AFAFAFAF", "q c #0000B2B2B2B2", "w c #0000B7B7B7B7", "e c #0000B8B8B8B8", "r c #0000BFBFBFBF", "t c #0000C0C0C0C0", "y c #0000C6C6C6C6", "u c #0000CBCBCBCB", "i c #0000CDCDCDCD", "p c #0000D3D3D3D3", "a c #0000D7D7D7D7", "s c #0000DEDEDEDE", "d c #0000EEEEEEEE", "f c #0000F3F3F3F3", "g c #0000F4F4F4F4", "h c cyan", /* pixels */ "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhh hhhhhhhh hh hhh", "hhhhhhhhhhhhhhhh hhhhhhhh hh hhh", "hhhhhhhhhhhhhhhhhhhhhhhhh hhhhhh", "hhh 4$.*y7%X:shh hhh6$.%5 hh hhh", "hhh :af,o:ag,>hh hhe$tfr# hh hhh", "hhh ahhd ahhdOhh hh:qhhh0 hh hhh", "hhh hhhh hhhh hh hhOdhhhd hh hhh", "hhh hhhh hhhh hh hhOdhhhd hh hhh", "hhh hhhh hhhh hh hh:qhhh0 hh hhh", "hhh hhhh hhhh hh hhw$tfr# hh hhh", "hhh hhhh hhhh hh hhh5$.%5 hh hhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "hhh2+ h 1o@9hp=X-php-X-ph ,X*ih", "hhho6ghh 3gw@h-3g3-h=3g3-h 4g4=h", "hhh8;O Source: https://code.google.com/p/midisnoop/downloads/list Copyright: 2012 Devin Anderson Files: * Copyright: 2012 Devin Anderson License: GPL-2+ Files: src/images/* Copyright: No copyright holders License: LGPL-2.1+ Files: debian/* Copyright: 2011-2012 Jaromír Mikeš 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. . 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 . 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. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . debian/source/0000755000000000000000000000000012106471650010470 5ustar debian/source/format0000644000000000000000000000001412106471650011676 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012106471650010617 5ustar debian/patches/01-destop_file.patch0000644000000000000000000000134112106471650014352 0ustar Description: Removing encoding entry from desktop file, using icon Author: Jaromír Mikeš Forwarded: yno Index: midisnoop-0.1.2/templates/midisnoop.desktop =================================================================== --- midisnoop-0.1.2.orig/templates/midisnoop.desktop 2013-02-11 17:48:43.799537151 +0100 +++ midisnoop-0.1.2/templates/midisnoop.desktop 2013-02-11 17:52:20.535545963 +0100 @@ -1,12 +1,11 @@ [Desktop Entry] Categories=Audio;AudioVideo;Qt; Comment=MIDI monitor and prober. -Encoding=UTF-8 Exec=${binDir}/midisnoop GenericName=Midisnoop GenericName[en_US]=Midisnoop Hidden=false -#Icon=${dataDir}/icons/midisnoop.png +Icon=midisnoop Name=Midisnoop Terminal=false Type=Application debian/patches/series0000644000000000000000000000002512106471650012031 0ustar 01-destop_file.patch debian/midisnoop.10000644000000000000000000000323012106471650011251 0ustar .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MIDISNOOP 1 "February 11, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME \fBmidisnoop\fP \- MIDI monitor and prober for Jack Audio Connection Kit. .SH SYNOPSIS .B midisnoop .br .SH DESCRIPTION This manual page documents briefly the .B midisnoop .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBmidisnoop\fP can be used to monitor a MIDI device and/or software, and to send MIDI messages to a MIDI port to see how the device/software responds. .PP .TP .SH SEE ALSO .BR jackd(1). .br .SH AUTHOR midisnoop was written by Devin Anderson . .PP This manual page was written by Jaromír Mikeš for the Debian project (but may be used by others). debian/control0000644000000000000000000000152312142736555010604 0ustar Source: midisnoop Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Jaromír Mikeš Build-Depends: debhelper (>= 9), qt4-qmake, libqt4-dev, librtmidi-dev (>= 2.0.1~), python, hardening-wrapper Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/midisnoop.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/midisnoop.git Homepage: http://code.google.com/p/midisnoop/ Package: midisnoop Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: MIDI monitor and prober Can be used to monitor a MIDI device and/or software, and to send MIDI messages to a MIDI port to see how the device/software responds. . Support both ALSA and JACK MIDI ports via the RtMidi library. debian/repack.stub0000644000000000000000000000325112142736555011345 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/repack.local0000644000000000000000000000020412142736555011455 0ustar SUFFIX=~repack0 rm debian/ \ Makefile \ build/ \ build-stamp \ make/ \ resources/ \ *.pro.user \ *.pyc \ !templates/debian/ debian/compat0000644000000000000000000000000212106471650010366 0ustar 9