summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Seiti Furusato <ferseiti@linux.vnet.ibm.com>2016-12-05 13:51:07 +0000
committerFernando Seiti Furusato <ferseiti@linux.vnet.ibm.com>2016-12-05 13:51:07 +0000
commit675682f5083fc649349cf7809b9b83057cc8ae97 (patch)
treee84beeb67cb69c49e0e203123a5384fd6b53207f
Import a2jmidid_8~dfsg0-2.1.debian.tar.xz
[dgit import tarball a2jmidid 8~dfsg0-2.1 a2jmidid_8~dfsg0-2.1.debian.tar.xz]
-rw-r--r--a2jmidid.install2
-rw-r--r--a2jmidid.manpages1
-rw-r--r--changelog90
-rw-r--r--compat1
-rw-r--r--control31
-rw-r--r--copyright90
-rw-r--r--gbp.conf3
-rw-r--r--patches/ppc64-sigsegv.patch19
-rw-r--r--patches/series2
-rw-r--r--patches/shebangs.diff16
-rwxr-xr-xrules38
-rw-r--r--source/format1
-rw-r--r--watch3
13 files changed, 297 insertions, 0 deletions
diff --git a/a2jmidid.install b/a2jmidid.install
new file mode 100644
index 0000000..499703d
--- /dev/null
+++ b/a2jmidid.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin
+debian/tmp/usr/share/dbus-1
diff --git a/a2jmidid.manpages b/a2jmidid.manpages
new file mode 100644
index 0000000..bf519d7
--- /dev/null
+++ b/a2jmidid.manpages
@@ -0,0 +1 @@
+man/*.1
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..99de44e
--- /dev/null
+++ b/changelog
@@ -0,0 +1,90 @@
+a2jmidid (8~dfsg0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/patches:
+ - ppc64-sigsegv.patch: sigsegv.c: added condition to use ucontext.h
+ for ppc64, which wasn't being covered. (Closes: #769141)
+
+ -- Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> Mon, 05 Dec 2016 11:51:07 -0200
+
+a2jmidid (8~dfsg0-2) unstable; urgency=medium
+
+ * Team upload.
+ * Remove myself from the Uploaders field.
+
+ -- Alessio Treglia <alessio@debian.org> Tue, 01 Nov 2016 18:45:52 +0000
+
+a2jmidid (8~dfsg0-1) unstable; urgency=low
+
+ * New upstream release:
+ - -u commandline option
+ - D-Bus method for checking whether hw export is enabled.
+ - Fix for resource leak.
+ - Improved error message for snd_seq_connect_to() failures
+ - --mandir= option in waf.
+ * Drop 1001-a2j_port_create.patch, applied upstream.
+ * debian/gbp.conf: Don't sign tags.
+ * debian/{rules,watch}:
+ - Setup repacking mechanism to regenerate the upstream tarball.
+ * debian/control:
+ - Bump Standards.
+ * debian/co{ntrol,pyright}:
+ - wrap-and-sort -a -s
+ * debian/copyright:
+ - Add myself to the copyright holders of debian/*.
+
+ -- Alessio Treglia <alessio@debian.org> Thu, 02 Aug 2012 13:16:51 +0200
+
+a2jmidid (7+dfsg0-1) unstable; urgency=low
+
+ * Repack the tarball to get rid of waf (Closes: #654462):
+ - Extract and properly replace the blob "waf" to fulfil Debian's
+ requirements.
+ * Call ./waf clean instead of distclean and then prune *.pyc files.
+
+ -- Alessio Treglia <alessio@debian.org> Wed, 04 Jan 2012 14:00:48 +0100
+
+a2jmidid (7-3) unstable; urgency=low
+
+ * debian/patches/1001-a2j_port_create.patch.
+ - Free client information on success too;
+ patch taken from upstream's git.
+ * Bump Standards.
+
+ -- Alessio Treglia <alessio@debian.org> Mon, 06 Jun 2011 11:35:39 +0200
+
+a2jmidid (7-2) unstable; urgency=low
+
+ * debian/{control,rules}:
+ - Switch from pysupport to dh_python2.
+ * Add .gitignore to skip quilt files.
+
+ -- Alessio Treglia <alessio@debian.org> Mon, 21 Mar 2011 20:10:19 +0100
+
+a2jmidid (7-1) unstable; urgency=low
+
+ * New upstream stable release.
+
+ -- Alessio Treglia <alessio@debian.org> Wed, 02 Mar 2011 10:43:11 +0100
+
+a2jmidid (6+20100828.git60f75d9-1) unstable; urgency=low
+
+ * Imported Upstream version 6+20100828.git60f75d9.
+ * Drop binutils_gold.patch, upstream has already applied it.
+ * Drop armel-sig-reg-fix.diff, already applied.
+ * Upstream has imported our manpages into the sources tree.
+ * debian/gbp.conf: Use gzip as compression format.
+
+ -- Alessio Treglia <alessio@debian.org> Wed, 12 Jan 2011 17:50:45 +0100
+
+a2jmidid (6-2) unstable; urgency=low
+
+ * Add patch to prevent FTBFS with binutils-gold (Closes: #603272).
+
+ -- Alessio Treglia <alessio@debian.org> Fri, 12 Nov 2010 14:22:20 +0100
+
+a2jmidid (6-1) unstable; urgency=low
+
+ * Initial Debian release. (Closes: #593734)
+
+ -- Adrian Knoth <adi@drcomp.erfurt.thur.de> Fri, 20 Aug 2010 17:08:30 +0200
diff --git a/compat b/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+7
diff --git a/control b/control
new file mode 100644
index 0000000..dd20edc
--- /dev/null
+++ b/control
@@ -0,0 +1,31 @@
+Source: a2jmidid
+Section: sound
+Priority: optional
+Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
+Uploaders: Adrian Knoth <adi@drcomp.erfurt.thur.de>
+DM-Upload-Allowed: yes
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ libasound2-dev,
+ libdbus-1-dev,
+ libjack-dev (>= 0.107.0) | libjack-jackd2-dev,
+ python-all (>= 2.6.6-3)
+Standards-Version: 3.9.3
+X-Python-Version: >= 2.5
+Vcs-Git: git://git.debian.org/git/pkg-multimedia/a2jmidid.git
+Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/a2jmidid.git
+Homepage: http://home.gna.org/a2jmidid/
+
+Package: a2jmidid
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Description: Daemon for exposing legacy ALSA MIDI in JACK MIDI systems
+ Main goal of this project is to ease usage of legacy, not JACK-ified
+ apps, in a JACK MIDI enabled system.
+ a2jmidid is a daemon that implements automatic bridging. For every ALSA
+ sequencer port you get one JACK MIDI port. If ALSA sequencer port is
+ both one input and one output, you get two JACK MIDI ports, one input
+ and one output.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..db86b68
--- /dev/null
+++ b/copyright
@@ -0,0 +1,90 @@
+This package was debianized by:
+
+ Eric Hedekar <afterthebeep@gmail.com> on Thu, 16 Apr 2009 15:02:51 -0700
+
+It was downloaded from:
+
+ http://home.gna.org/a2jmidid/
+
+Upstream Authors:
+
+ Nedko Arnaudov <nedko@arnaudov.name>
+ Dmitry S. Baikov <c0ff@konstruktiv.org>
+ Juuso Alasuutari
+
+Copyright:
+
+ Copyright (c) 2005 Sean Bolton
+ Copyright (c) 2006,2007 Dmitry S. Baikov <c0ff@konstruktiv.org>
+ Copyright (c) 2007,2008 Nedko Arnaudov <nedko@arnaudov.name>
+ Copyright (c) 2007,2008,2009 Nedko Arnaudov <nedko@arnaudov.name>
+ Copyright (c) 2008,2009 Nedko Arnaudov <nedko@arnaudov.name>
+ Copyright (C) 2007-2008 Juuso Alasuutari
+ Copyright (C) 2005 Lars Luthman, based on alsaseq2jackmidi.c by Sean Bolton
+ Copyright (C) 2005 - 2008 Jaco Kroon
+ Copyright (C) 2005-2008 Thomas Nagy
+
+License:
+
+ 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; version 2 of the License.
+
+ 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
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The following files are licensed under either version 2 of the GPL
+License, or (at your option) any later version:
+ a2jmidi_bridge.c
+ j2amidi_bridge.c
+
+
+The sigsegv.c file is licensed under the following license:
+ This code is in the public domain. Use it as you see fit, some credit
+ would be appreciated, but is not a prerequisite for usage. Feedback
+ on it's use would encourage further development and maintenance.
+
+
+The waf file is licensed under the following license:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+
+The Debian packaging is:
+
+ Copyright (C) 2012 Alessio Treglia <alessio@debian.org>
+ Copyright (C) 2009, Eric Hedekar <afterthebeep@gmail.com>
+
+and is licensed under the GPL, see above.
diff --git a/gbp.conf b/gbp.conf
new file mode 100644
index 0000000..4f24002
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+compression = bzip2
diff --git a/patches/ppc64-sigsegv.patch b/patches/ppc64-sigsegv.patch
new file mode 100644
index 0000000..2bac551
--- /dev/null
+++ b/patches/ppc64-sigsegv.patch
@@ -0,0 +1,19 @@
+Description: Following the same variable and struct usage within sys header
+ file ucontext.h to cover powerpc 64 bit archs.
+Author: Fernando Seiti Furusato <ferseiti@br.ibm.com>
+
+--- a2jmidid-8~dfsg0.orig/sigsegv.c
++++ a2jmidid-8~dfsg0/sigsegv.c
+@@ -94,8 +94,11 @@ static void signal_segv(int signum, sigi
+ #if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__)
+ for(i = 0; i < NGREG; i++)
+ a2j_error("reg[%02d] = 0x" REGFORMAT, i,
+-#if defined(__powerpc__)
++#if defined(__powerpc__) && !defined(__powerpc64__)
+ ucontext->uc_mcontext.uc_regs[i]
++/* just following the variable type and member logic as the ones used here to cover ppc64*/
++#elif defined(__powerpc64__)
++ ucontext->uc_mcontext.gp_regs[i]
+ #elif defined(__sparc__) && defined(__arch64__)
+ ucontext->uc_mcontext.mc_gregs[i]
+ #else
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..d8e5e5f
--- /dev/null
+++ b/patches/series
@@ -0,0 +1,2 @@
+shebangs.diff
+ppc64-sigsegv.patch
diff --git a/patches/shebangs.diff b/patches/shebangs.diff
new file mode 100644
index 0000000..f553162
--- /dev/null
+++ b/patches/shebangs.diff
@@ -0,0 +1,16 @@
+Description: Fix shebangs of python scripts.
+Author: Alessio Treglia <alessio@debian.org>
+Origin: Debian
+Forwarded: no
+---
+ a2j_control | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a2jmidid.orig/a2j_control
++++ a2jmidid/a2j_control
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+
+ name_base = 'org.gna.home.a2jmidid'
+ control_interface_name = name_base + '.control'
diff --git a/rules b/rules
new file mode 100755
index 0000000..636c12e
--- /dev/null
+++ b/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p')
+dfsg_version = $(upstream_version)~dfsg0
+pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
+
+%:
+ dh $@ --with python2
+
+override_dh_auto_configure:
+ ./waf configure --prefix=/usr
+
+override_dh_auto_build:
+ ./waf
+
+override_dh_auto_clean:
+ ./waf clean || true
+ find wafadmin -name "*.pyc" -delete
+ rm -rf build
+ dh_auto_clean
+
+override_dh_auto_install:
+ ./waf --destdir=$(CURDIR)/debian/tmp install
+
+override_dh_installchangelogs:
+ dh_installchangelogs NEWS
+
+# get-orig-source to drop waf
+get-orig-source:
+ uscan --noconf --force-download --rename --repack --download-current-version --destdir=.
+ tar -xf $(pkg)_$(upstream_version).orig.tar.bz2
+ mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version)
+ cd $(pkg)-$(dfsg_version) ; python waf --help > /dev/null
+ mv $(pkg)-$(dfsg_version)/.waf-*/* $(pkg)-$(dfsg_version)
+ sed -i '/^#==>$$/,$$d' $(pkg)-$(dfsg_version)/waf
+ rmdir $(pkg)-$(dfsg_version)/.waf-*
+ BZIP="-9f" tar -czf $(pkg)_$(dfsg_version).orig.tar.bz2 $(pkg)-$(dfsg_version)
+ rm -rf $(pkg)-$(dfsg_version)
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/watch b/watch
new file mode 100644
index 0000000..3b5803d
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/~dfsg\d+$// \
+http://download.gna.org/a2jmidid/a2jmidid-(.*)\.tar\.bz2