[arch-commits] Commit in a2jmidid/repos (6 files)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 12:44:39
  Author: felixonmars
Revision: 658215

archrelease: copy trunk to community-staging-x86_64

Added:
  a2jmidid/repos/community-staging-x86_64/
  a2jmidid/repos/community-staging-x86_64/PKGBUILD
(from rev 658213, a2jmidid/trunk/PKGBUILD)
  
a2jmidid/repos/community-staging-x86_64/control-unique-port-names-over-dbus.patch
(from rev 658213, a2jmidid/trunk/control-unique-port-names-over-dbus.patch)
  
a2jmidid/repos/community-staging-x86_64/fix-spelling-mistakes-in-man-page.patch
(from rev 658213, a2jmidid/trunk/fix-spelling-mistakes-in-man-page.patch)
  a2jmidid/repos/community-staging-x86_64/link-to-libpthread.patch
(from rev 658214, a2jmidid/trunk/link-to-libpthread.patch)
  a2jmidid/repos/community-staging-x86_64/properly-fix-pthread-linking.patch
(from rev 658214, a2jmidid/trunk/properly-fix-pthread-linking.patch)

---+
 PKGBUILD  |   32 ++
 control-unique-port-names-over-dbus.patch |  143 
 fix-spelling-mistakes-in-man-page.patch   |   34 ++
 link-to-libpthread.patch  |   25 
 properly-fix-pthread-linking.patch|   35 ++
 5 files changed, 269 insertions(+)

Copied: a2jmidid/repos/community-staging-x86_64/PKGBUILD (from rev 658213, 
a2jmidid/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-07 12:44:39 UTC (rev 658215)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Jiyunatori 
+
+pkgname=a2jmidid
+pkgver=9
+pkgrel=2
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI 
system."
+arch=('x86_64')
+url="https://github.com/linuxaudio/a2jmidid";
+license=('GPL2')
+groups=('pro-audio')
+arch=('x86_64')
+depends=('jack' 'dbus')
+makedepends=('meson')
+optdepends=('python-dbus: for a2j and a2j_control')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxaudio/${pkgname}/archive/${pkgver}.tar.gz";)
+sha512sums=('5bd13b6904ed68c5bfe40ca516fd49b7eb4d4a946b9908ee04687265848734c8e1a81579f0f1a5bd0752595be8858dc748da10487b7f366394c09a5ffc7d5e5c')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  meson --prefix=/usr \
+build
+  ninja -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 {AUTHORS,CHANGELOG,INSTALLATION,README}.rst \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: 
a2jmidid/repos/community-staging-x86_64/control-unique-port-names-over-dbus.patch
 (from rev 658213, a2jmidid/trunk/control-unique-port-names-over-dbus.patch)
===
--- community-staging-x86_64/control-unique-port-names-over-dbus.patch  
(rev 0)
+++ community-staging-x86_64/control-unique-port-names-over-dbus.patch  
2020-07-07 12:44:39 UTC (rev 658215)
@@ -0,0 +1,143 @@
+From 034d5db9d017cdcd71ee95b0576ae974aad590f5 Mon Sep 17 00:00:00 2001
+From: Nedko Arnaudov 
+Date: Tue, 26 Nov 2013 23:47:58 +0200
+Subject: [PATCH] control unique port names over DBUS
+
+patch by micahsco...@gmail.com
+sr#3098
+---
+ a2j_control  | 12 
+ conf.h   |  1 +
+ dbus_iface_control.c | 53 
+ 3 files changed, 66 insertions(+)
+
+diff --git a/a2j_control b/a2j_control
+index 10b2db7..bd78aad 100755
+--- a/a2j_control
 b/a2j_control
+@@ -24,6 +24,8 @@ def main():
+ print "mj2a- map JACK port to ALSA port"
+ print "ehw - enable export of hardware 
ports"
+ print "dhw - disable export of hardware 
ports"
++print "dup - disallow unique port names"
++print "aup - allow unique port names"
+ sys.exit(0)
+ 
+ bus = dbus.SessionBus()
+@@ -56,6 +58,10 @@ def main():
+ print "Hardware exported"
+ else:
+ print "Hardware not exported"
++if control_iface.get_disable_port_uniqueness():
++print "Avoiding unique port names"
++else:
++print "Allowing unique port names"
+ elif arg == "gjcn":
+ print "--- get jack client name"
+ print control_iface.get_jack_client_name()
+@@ -97,6 +103,12 @@ def main():
+ elif arg == 'dhw':
+ print "--- disable export of hardware ports"
+ control_iface.set_hw_export(False)
++elif arg == 'aup':
++print "--- allow unique port names"
++control_iface.set_disable_port_uniqueness(False)
++elif arg == 'dup':
++print "--- disallo

[arch-commits] Commit in a2jmidid/repos (6 files)

2017-11-20 Thread David Runge
Date: Tuesday, November 21, 2017 @ 01:37:45
  Author: dvzrv
Revision: 267676

archrelease: copy trunk to community-testing-x86_64

Added:
  a2jmidid/repos/community-testing-x86_64/
  a2jmidid/repos/community-testing-x86_64/PKGBUILD
(from rev 267675, a2jmidid/trunk/PKGBUILD)
  
a2jmidid/repos/community-testing-x86_64/control-unique-port-names-over-dbus.patch
(from rev 267675, a2jmidid/trunk/control-unique-port-names-over-dbus.patch)
  
a2jmidid/repos/community-testing-x86_64/fix-spelling-mistakes-in-man-page.patch
(from rev 267675, a2jmidid/trunk/fix-spelling-mistakes-in-man-page.patch)
  a2jmidid/repos/community-testing-x86_64/link-to-libpthread.patch
(from rev 267675, a2jmidid/trunk/link-to-libpthread.patch)
  a2jmidid/repos/community-testing-x86_64/properly-fix-pthread-linking.patch
(from rev 267675, a2jmidid/trunk/properly-fix-pthread-linking.patch)

---+
 PKGBUILD  |   48 +
 control-unique-port-names-over-dbus.patch |  143 
 fix-spelling-mistakes-in-man-page.patch   |   34 ++
 link-to-libpthread.patch  |   25 
 properly-fix-pthread-linking.patch|   35 ++
 5 files changed, 285 insertions(+)

Copied: a2jmidid/repos/community-testing-x86_64/PKGBUILD (from rev 267675, 
a2jmidid/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-11-21 01:37:45 UTC (rev 267676)
@@ -0,0 +1,48 @@
+# Maintainer : David Runge 
+# Contributor: speps 
+# Contributor: Jiyunatori 
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=2
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI 
system."
+arch=('x86_64')
+url="http://repo.or.cz/a2jmidid.git";
+license=('GPL2')
+arch=('x86_64')
+depends=('jack' 'python2-dbus')
+source=("${pkgname}-${pkgver}.tar.gz::http://repo.or.cz/a2jmidid.git/snapshot/7383d268c4bfe85df9f10df6351677659211d1ca.tar.gz";
+'control-unique-port-names-over-dbus.patch'
+'fix-spelling-mistakes-in-man-page.patch'
+'link-to-libpthread.patch'
+'properly-fix-pthread-linking.patch')
+sha512sums=('d9675404b9b12a0816ba58e60ee74710a534ac70845ae12e5d64d2f08bc12b415ae8094f7038b8cf7eb8317eccc818ea7dee10276baf8b1420d3e90a2685743d'
+
'dfec328ab5cba7f4a1273df24b651a9acaaf4eb54813f9c7351ef44ca95b8d90fb730e95a29a85067c113786c7e864fbf91cf9558591a7c714d6e9f977f7a110'
+
'10e2b1b2b7bf5ca97607ad9272a5c548b9435c583e68483d0fb36fa64ab9dc22e324078b4e6535a5087a31e69dab8f7025addc72f9dd9064f0c576488dc3b3d1'
+
'22b3794fdf1a20563f02eec1ba94994a55595dd8eaf0144d5088ac8afa43276cfbfcc693320ed46fba794e190f544ba3ddfb586f9dd2104d9d4ac51d3a805214'
+
'6accab16e82b4b283db084eea71db0585c957c647ea945ad9ac1736c197119200d0c0dc5275bdd7013634faf7a22df12d727cc78e24dd67de95f2e52d2f0df0f')
+
+prepare() {
+  cd "${pkgname}-7383d26"
+
+  # "latest" upstream patches
+  patch -p1 -i "${srcdir}/link-to-libpthread.patch"
+  patch -p1 -i "${srcdir}/properly-fix-pthread-linking.patch"
+  patch -p1 -i "${srcdir}/fix-spelling-mistakes-in-man-page.patch"
+  patch -p1 -i "${srcdir}/control-unique-port-names-over-dbus.patch"
+
+  # python2 shebang
+  sed -i 's/python/&2/' a2j_control
+
+  python2 waf configure --prefix=/usr
+}
+
+build() {
+  cd "${pkgname}-7383d26"
+  python2 waf
+}
+
+package() {
+  cd "${pkgname}-7383d26"
+  python2 waf install --destdir="${pkgdir}/"
+}

Copied: 
a2jmidid/repos/community-testing-x86_64/control-unique-port-names-over-dbus.patch
 (from rev 267675, a2jmidid/trunk/control-unique-port-names-over-dbus.patch)
===
--- community-testing-x86_64/control-unique-port-names-over-dbus.patch  
(rev 0)
+++ community-testing-x86_64/control-unique-port-names-over-dbus.patch  
2017-11-21 01:37:45 UTC (rev 267676)
@@ -0,0 +1,143 @@
+From 034d5db9d017cdcd71ee95b0576ae974aad590f5 Mon Sep 17 00:00:00 2001
+From: Nedko Arnaudov 
+Date: Tue, 26 Nov 2013 23:47:58 +0200
+Subject: [PATCH] control unique port names over DBUS
+
+patch by micahsco...@gmail.com
+sr#3098
+---
+ a2j_control  | 12 
+ conf.h   |  1 +
+ dbus_iface_control.c | 53 
+ 3 files changed, 66 insertions(+)
+
+diff --git a/a2j_control b/a2j_control
+index 10b2db7..bd78aad 100755
+--- a/a2j_control
 b/a2j_control
+@@ -24,6 +24,8 @@ def main():
+ print "mj2a- map JACK port to ALSA port"
+ print "ehw - enable export of hardware 
ports"
+ print "dhw - disable export of hardware 
ports"
++print "dup - disallow unique port names"
++print "aup - allow unique port names"
+ 

[arch-commits] Commit in a2jmidid/repos (6 files)

2014-11-28 Thread speps
Date: Friday, November 28, 2014 @ 20:57:51
  Author: speps
Revision: 123274

archrelease: copy trunk to community-i686, community-x86_64

Added:
  a2jmidid/repos/community-i686/
  a2jmidid/repos/community-i686/PKGBUILD
(from rev 123273, a2jmidid/trunk/PKGBUILD)
  a2jmidid/repos/community-i686/a2jmidid-dso-pthread.patch
(from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
  a2jmidid/repos/community-x86_64/
  a2jmidid/repos/community-x86_64/PKGBUILD
(from rev 123273, a2jmidid/trunk/PKGBUILD)
  a2jmidid/repos/community-x86_64/a2jmidid-dso-pthread.patch
(from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)

-+
 community-i686/PKGBUILD |   37 ++
 community-i686/a2jmidid-dso-pthread.patch   |   20 ++
 community-x86_64/PKGBUILD   |   37 ++
 community-x86_64/a2jmidid-dso-pthread.patch |   20 ++
 4 files changed, 114 insertions(+)

Copied: a2jmidid/repos/community-i686/PKGBUILD (from rev 123273, 
a2jmidid/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-28 19:57:51 UTC (rev 123274)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : speps 
+# Contributor: Jiyunatori 
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI 
system."
+arch=('i686' 'x86_64')
+url="http://home.gna.org/$pkgname/";
+license=('GPL')
+depends=('jack' 'python2-dbus')
+source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2";
+"$pkgname-dso-pthread.patch")
+md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd'
+ '4b15e485301aee48371844cb01689ad2')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # DSO link patch
+  patch -p1 -i ../$pkgname-dso-pthread.patch
+
+  # python2 shebang
+  sed -i 's/python/&2/' a2j_control
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python2 waf configure --prefix=/usr
+  python2 waf
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python2 waf install --destdir="$pkgdir/"
+}

Copied: a2jmidid/repos/community-i686/a2jmidid-dso-pthread.patch (from rev 
123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
===
--- community-i686/a2jmidid-dso-pthread.patch   (rev 0)
+++ community-i686/a2jmidid-dso-pthread.patch   2014-11-28 19:57:51 UTC (rev 
123274)
@@ -0,0 +1,20 @@
+diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript
+--- a2jmidid-8/wscript 2012-07-05 03:14:23.0 +0200
 a2jmidid-8.patched/wscript 2012-07-10 17:48:30.710109306 +0200
+@@ -67,6 +67,7 @@
+ conf.env['DBUS_ENABLED'] = False
+ 
+ conf.env['LIB_DL'] = ['dl']
++conf.env['LIB_PTHREAD'] = ['pthread']
+ 
+ #conf.check_header('expat.h', mandatory=True)
+ #conf.env['LIB_EXPAT'] = ['expat']
+@@ -152,7 +153,7 @@
+ 
+ prog.includes = '.' # make waf dependency tracking work
+ prog.target = 'a2jmidid'
+-prog.uselib = 'ALSA JACK DL'
++prog.uselib = 'ALSA JACK DL PTHREAD'
+ if bld.env()['DBUS_ENABLED']:
+ prog.uselib += " DBUS-1"
+ prog = bld.create_obj('cc', 'program')

Copied: a2jmidid/repos/community-x86_64/PKGBUILD (from rev 123273, 
a2jmidid/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-11-28 19:57:51 UTC (rev 123274)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : speps 
+# Contributor: Jiyunatori 
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI 
system."
+arch=('i686' 'x86_64')
+url="http://home.gna.org/$pkgname/";
+license=('GPL')
+depends=('jack' 'python2-dbus')
+source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2";
+"$pkgname-dso-pthread.patch")
+md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd'
+ '4b15e485301aee48371844cb01689ad2')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # DSO link patch
+  patch -p1 -i ../$pkgname-dso-pthread.patch
+
+  # python2 shebang
+  sed -i 's/python/&2/' a2j_control
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python2 waf configure --prefix=/usr
+  python2 waf
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python2 waf install --destdir="$pkgdir/"
+}

Copied: a2jmidid/repos/community-x86_64/a2jmidid-dso-pthread.patch (from rev 
123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
===
--- community-x86_64/a2jmidid-dso-pthread.patch (rev 0)
+++ community-x86_64/a2jmidid-dso-pthread.patch 2014-11-28 19:57:51 UTC (rev 
123274)
@@ -0,0 +1,20 @@
+diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript
+--- a2jmidid-8/wscript 2012-07-05 03:14:23.0 +0200
 a2jmidid-8.patched/wscript 2012-07-10 17:48