[arch-commits] Commit in timidity++/repos/community-x86_64 (8 files)

David Runge dvzrv at archlinux.org
Fri Feb 22 22:27:55 UTC 2019


    Date: Friday, February 22, 2019 @ 22:27:54
  Author: dvzrv
Revision: 435351

archrelease: copy trunk to community-x86_64

Added:
  timidity++/repos/community-x86_64/PKGBUILD
    (from rev 435350, timidity++/trunk/PKGBUILD)
  timidity++/repos/community-x86_64/timidity-jack.patch
    (from rev 435350, timidity++/trunk/timidity-jack.patch)
  timidity++/repos/community-x86_64/timidity.cfg
    (from rev 435350, timidity++/trunk/timidity.cfg)
  timidity++/repos/community-x86_64/timidity.service
    (from rev 435350, timidity++/trunk/timidity.service)
Deleted:
  timidity++/repos/community-x86_64/PKGBUILD
  timidity++/repos/community-x86_64/timidity-jack.patch
  timidity++/repos/community-x86_64/timidity.cfg
  timidity++/repos/community-x86_64/timidity.service

---------------------+
 PKGBUILD            |   99 ++++++++++++++++++++++++++++----------------------
 timidity-jack.patch |   22 +++++------
 timidity.cfg        |   58 ++++++++++++++---------------
 timidity.service    |   18 ++++-----
 4 files changed, 106 insertions(+), 91 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-22 22:27:46 UTC (rev 435350)
+++ PKGBUILD	2019-02-22 22:27:54 UTC (rev 435351)
@@ -1,42 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=timidity++
-pkgver=2.15.0
-pkgrel=1
-pkgdesc="A MIDI to WAVE converter and player"
-arch=('x86_64')
-url="http://timidity.sourceforge.net"
-license=('GPL')
-depends=('libao' 'jack')
-makedepends=('xaw3d' 'gtk2' 'tk' 'libxaw')
-optdepends=('gtk2: for using the GTK+ interface'
-            'tk: for using the Tk interface'
-            'xaw3d: for using the Xaw interface')
-backup=('etc/timidity++/timidity.cfg')
-source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.xz
-        timidity.cfg timidity.service timidity-jack.patch)
-sha512sums=('36c3c79d941903109d5d6d529963d12e8192a857e80402ad5ab0d1e223451a7cf5dc8fdd046b22ae7da96f413d68db8587a8fce348635838eba2f30f7019192f'
-            '054cd39bef913314e9901171566398af6280236531ac13ece683eaeb642c52b3280116adaa6328054c94bd79b0ab88c253281e386012a2c6d67f4b85c38e4859'
-            'b77e460c9803300db67d571d5298edbf4c29a469593c41640057ff8d173ed6edf8b9c2d6cd9a35f6cf1cc32d5b92be38513105f927991fd451725802abb1108b'
-            '51c075da04aeedca4edecb5a7f1926ccb80637b550f8fafca6d68be466cd4353a77bbb832878941919ec354c279a6014403e995b9152a47a3817c99890a4afeb')
-
-prepare() {
-  cd TiMidity++-${pkgver}
-  patch -p1 -i "${srcdir}/timidity-jack.patch"
-}
-
-build() {
-  cd TiMidity++-${pkgver}
-  ./configure --prefix=/usr --mandir=/usr/share/man --with-default-path=/etc/timidity++/ \
-    --enable-server --enable-alsaseq --enable-spectrogram --enable-network --enable-xft \
-    --enable-audio=alsa,oss,ao,vorbis,flac,jack \
-    --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk
-  make
-}
-
-package() {
-  cd TiMidity++-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
-  install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
-}

Copied: timidity++/repos/community-x86_64/PKGBUILD (from rev 435350, timidity++/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-22 22:27:54 UTC (rev 435351)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+_name=TiMidity++
+pkgname=timidity++
+pkgver=2.15.0
+pkgrel=2
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('x86_64')
+url="http://timidity.sourceforge.net"
+license=('GPL')
+groups=('pro-audio')
+depends=('libao' 'jack')
+makedepends=('xaw3d' 'gtk2' 'tk' 'libxaw')
+optdepends=('gtk2: for using the GTK+ interface'
+            'tk: for using the Tk interface'
+            'xaw3d: for using the Xaw interface')
+provides=('soundfont-synthesizer')
+backup=('etc/timidity++/timidity.cfg')
+source=("http://downloads.sourceforge.net/timidity/${_name}-${pkgver}.tar.xz"
+        timidity.cfg timidity.service timidity-jack.patch)
+sha512sums=('36c3c79d941903109d5d6d529963d12e8192a857e80402ad5ab0d1e223451a7cf5dc8fdd046b22ae7da96f413d68db8587a8fce348635838eba2f30f7019192f'
+            '054cd39bef913314e9901171566398af6280236531ac13ece683eaeb642c52b3280116adaa6328054c94bd79b0ab88c253281e386012a2c6d67f4b85c38e4859'
+            'b77e460c9803300db67d571d5298edbf4c29a469593c41640057ff8d173ed6edf8b9c2d6cd9a35f6cf1cc32d5b92be38513105f927991fd451725802abb1108b'
+            '51c075da04aeedca4edecb5a7f1926ccb80637b550f8fafca6d68be466cd4353a77bbb832878941919ec354c279a6014403e995b9152a47a3817c99890a4afeb')
+
+prepare() {
+  cd "${_name}-${pkgver}"
+  # interface Makefile doesn't make use of LDFLAGS
+  # this adds full RELRO
+  sed -e 's/SHLD)/SHLD) $(LDFLAGS)/g' -i interface/Makefile.am
+  patch -Np1 -i "${srcdir}/timidity-jack.patch"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${_name}-${pkgver}"
+  # in interface/Makefile.in some bizarre custom stuff is used
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man \
+              --with-default-path=/etc/timidity++/ \
+              --enable-server \
+              --enable-alsaseq \
+              --enable-spectrogram \
+              --enable-network \
+              --enable-xft \
+              --enable-audio=alsa,oss,ao,vorbis,flac,jack \
+              --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk
+  make
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 ../timidity.cfg -t "${pkgdir}/etc/${pkgname}/"
+  install -vDm 644 ../timidity.service -t "${pkgdir}/usr/lib/systemd/user/"
+}

Deleted: timidity-jack.patch
===================================================================
--- timidity-jack.patch	2019-02-22 22:27:46 UTC (rev 435350)
+++ timidity-jack.patch	2019-02-22 22:27:54 UTC (rev 435351)
@@ -1,11 +0,0 @@
-diff -Naur TiMidity++-2.14.0-orig/timidity/jack_a.c TiMidity++-2.14.0/timidity/jack_a.c
---- TiMidity++-2.14.0-orig/timidity/jack_a.c	2014-09-26 22:08:51.531559553 -0400
-+++ TiMidity++-2.14.0/timidity/jack_a.c	2014-09-26 22:11:12.864659285 -0400
-@@ -508,6 +508,7 @@
- 				pthread_cond_wait(&ctx->cond, &ctx->lock);
- 		}
- 		/* fallthrough */
-+	case PM_REQ_PLAY_START:
- 	case PM_REQ_DISCARD:
- 		ctx->running = 0;
- 		ringbuf_clear(&ctx->rbuf);

Copied: timidity++/repos/community-x86_64/timidity-jack.patch (from rev 435350, timidity++/trunk/timidity-jack.patch)
===================================================================
--- timidity-jack.patch	                        (rev 0)
+++ timidity-jack.patch	2019-02-22 22:27:54 UTC (rev 435351)
@@ -0,0 +1,11 @@
+diff -Naur TiMidity++-2.14.0-orig/timidity/jack_a.c TiMidity++-2.14.0/timidity/jack_a.c
+--- TiMidity++-2.14.0-orig/timidity/jack_a.c	2014-09-26 22:08:51.531559553 -0400
++++ TiMidity++-2.14.0/timidity/jack_a.c	2014-09-26 22:11:12.864659285 -0400
+@@ -508,6 +508,7 @@
+ 				pthread_cond_wait(&ctx->cond, &ctx->lock);
+ 		}
+ 		/* fallthrough */
++	case PM_REQ_PLAY_START:
+ 	case PM_REQ_DISCARD:
+ 		ctx->running = 0;
+ 		ringbuf_clear(&ctx->rbuf);

Deleted: timidity.cfg
===================================================================
--- timidity.cfg	2019-02-22 22:27:46 UTC (rev 435350)
+++ timidity.cfg	2019-02-22 22:27:54 UTC (rev 435351)
@@ -1,29 +0,0 @@
-# details on this file and other examples see here:
-# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
-# http://www.onicos.com/staff/iz/timidity/dist/cfg/
-#----------------------------------------------------------------
-# SoundFont extension configuration
-#
-# soundfont <filename> [order={0|1}] [remove]
-#    <filename> is the path of SoundFont file.
-#    order: 0(preload) or 1(load after GUS).
-#    remove: disable specified soundfont.
-#
-# font exclude <tonebank> [<preset> [<keynote>]]
-# font order {0|1} <tonebank> [<preset> [<keynote>]]
-#    <tonebank>: 0-127
-#
-# font exclude 128 [<drumset> [<key>]]
-# font order {0|1} 128 [<drumset> [<key>]]
-#----------------------------------------------------------------
-
-# change the next line to point to a soundfont you have
-# soundfonts can be found e.g. here: http://www.hammersound.net/
-# soundfont /usr/share/soundfonts/DX7Piano.SF2
-
-# you can do manipulations of the soundfont you load like this:
-# e.g. removing drumset 99
-# font exclude 128 99
-
-# load drum samples after GUS patches
-# font order 1 128

Copied: timidity++/repos/community-x86_64/timidity.cfg (from rev 435350, timidity++/trunk/timidity.cfg)
===================================================================
--- timidity.cfg	                        (rev 0)
+++ timidity.cfg	2019-02-22 22:27:54 UTC (rev 435351)
@@ -0,0 +1,29 @@
+# details on this file and other examples see here:
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/
+#----------------------------------------------------------------
+# SoundFont extension configuration
+#
+# soundfont <filename> [order={0|1}] [remove]
+#    <filename> is the path of SoundFont file.
+#    order: 0(preload) or 1(load after GUS).
+#    remove: disable specified soundfont.
+#
+# font exclude <tonebank> [<preset> [<keynote>]]
+# font order {0|1} <tonebank> [<preset> [<keynote>]]
+#    <tonebank>: 0-127
+#
+# font exclude 128 [<drumset> [<key>]]
+# font order {0|1} 128 [<drumset> [<key>]]
+#----------------------------------------------------------------
+
+# change the next line to point to a soundfont you have
+# soundfonts can be found e.g. here: http://www.hammersound.net/
+# soundfont /usr/share/soundfonts/DX7Piano.SF2
+
+# you can do manipulations of the soundfont you load like this:
+# e.g. removing drumset 99
+# font exclude 128 99
+
+# load drum samples after GUS patches
+# font order 1 128

Deleted: timidity.service
===================================================================
--- timidity.service	2019-02-22 22:27:46 UTC (rev 435350)
+++ timidity.service	2019-02-22 22:27:54 UTC (rev 435351)
@@ -1,9 +0,0 @@
-[Unit]
-Description=TiMidity++ Daemon
-After=sound.target
-
-[Service]
-ExecStart=/usr/bin/timidity -iA
-
-[Install]
-WantedBy=multi-user.target

Copied: timidity++/repos/community-x86_64/timidity.service (from rev 435350, timidity++/trunk/timidity.service)
===================================================================
--- timidity.service	                        (rev 0)
+++ timidity.service	2019-02-22 22:27:54 UTC (rev 435351)
@@ -0,0 +1,9 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iA
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list