[arch-commits] Commit in timidity++/repos (10 files)

Eric Bélanger eric at archlinux.org
Fri Dec 21 03:38:47 UTC 2012


    Date: Thursday, December 20, 2012 @ 22:38:46
  Author: eric
Revision: 173689

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

Added:
  timidity++/repos/staging-i686/
  timidity++/repos/staging-i686/PKGBUILD
    (from rev 173688, timidity++/trunk/PKGBUILD)
  timidity++/repos/staging-i686/timidity++.sh
    (from rev 173688, timidity++/trunk/timidity++.sh)
  timidity++/repos/staging-i686/timidity.cfg
    (from rev 173688, timidity++/trunk/timidity.cfg)
  timidity++/repos/staging-i686/timidity.service
    (from rev 173688, timidity++/trunk/timidity.service)
  timidity++/repos/staging-x86_64/
  timidity++/repos/staging-x86_64/PKGBUILD
    (from rev 173688, timidity++/trunk/PKGBUILD)
  timidity++/repos/staging-x86_64/timidity++.sh
    (from rev 173688, timidity++/trunk/timidity++.sh)
  timidity++/repos/staging-x86_64/timidity.cfg
    (from rev 173688, timidity++/trunk/timidity.cfg)
  timidity++/repos/staging-x86_64/timidity.service
    (from rev 173688, timidity++/trunk/timidity.service)

---------------------------------+
 staging-i686/PKGBUILD           |   40 ++++++++++++++++++++++++++++++++++++++
 staging-i686/timidity++.sh      |   38 ++++++++++++++++++++++++++++++++++++
 staging-i686/timidity.cfg       |   29 +++++++++++++++++++++++++++
 staging-i686/timidity.service   |    9 ++++++++
 staging-x86_64/PKGBUILD         |   40 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/timidity++.sh    |   38 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/timidity.cfg     |   29 +++++++++++++++++++++++++++
 staging-x86_64/timidity.service |    9 ++++++++
 8 files changed, 232 insertions(+)

Copied: timidity++/repos/staging-i686/PKGBUILD (from rev 173688, timidity++/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-12-21 03:38:46 UTC (rev 173689)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=timidity++
+pkgver=2.14.0
+pkgrel=4
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('i686' '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++.sh timidity.service)
+sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
+          '660b3afbb720d26e8f008034cee66dd8da082d6e'
+          '9f3e732a7ca1e97119a76df62ecf154df04d4f77'
+          'f0351b9eb8928d3d82c380107654a7dbe7cd2d54')
+
+build() {
+  cd "${srcdir}/TiMidity++-${pkgver}"
+  sed -i -e 's/tcl8.5/tcl8.6 tcl8.5/' -e 's/tk8.5/tk8.6 tk8.5/' configure
+  sed -i 's/my_interp->result/(char *) Tcl_GetObjResult(my_interp)/' interface/tk_c.c
+  ./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 "${srcdir}/TiMidity++-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
+  install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++"
+  install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
+}

Copied: timidity++/repos/staging-i686/timidity++.sh (from rev 173688, timidity++/trunk/timidity++.sh)
===================================================================
--- staging-i686/timidity++.sh	                        (rev 0)
+++ staging-i686/timidity++.sh	2012-12-21 03:38:46 UTC (rev 173689)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/timidity`
+case "$1" in
+   start)
+     stat_busy "Starting Timidity++ ALSA Daemon"
+     [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null
+     if [ $? -gt 0 ]; then
+       stat_fail
+     else
+       echo $PID > /var/run/timidity.pid
+       add_daemon timidity++
+       stat_done
+     fi
+     ;;
+   stop)
+     stat_busy "Stopping Timidity++ ALSA Daemon"
+     [ ! -z "$PID" ]  && kill $PID &> /dev/null
+     if [ $? -gt 0 ]; then
+       stat_fail
+     else
+       rm /var/run/timidity.pid
+       rm_daemon timidity++
+       stat_done
+     fi
+     ;;
+   restart)
+     $0 stop
+     sleep 1
+     $0 start
+     ;;
+   *)
+     echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Copied: timidity++/repos/staging-i686/timidity.cfg (from rev 173688, timidity++/trunk/timidity.cfg)
===================================================================
--- staging-i686/timidity.cfg	                        (rev 0)
+++ staging-i686/timidity.cfg	2012-12-21 03:38:46 UTC (rev 173689)
@@ -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

Copied: timidity++/repos/staging-i686/timidity.service (from rev 173688, timidity++/trunk/timidity.service)
===================================================================
--- staging-i686/timidity.service	                        (rev 0)
+++ staging-i686/timidity.service	2012-12-21 03:38:46 UTC (rev 173689)
@@ -0,0 +1,9 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iA
+
+[Install]
+WantedBy=multi-user.target

Copied: timidity++/repos/staging-x86_64/PKGBUILD (from rev 173688, timidity++/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-12-21 03:38:46 UTC (rev 173689)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=timidity++
+pkgver=2.14.0
+pkgrel=4
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('i686' '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++.sh timidity.service)
+sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
+          '660b3afbb720d26e8f008034cee66dd8da082d6e'
+          '9f3e732a7ca1e97119a76df62ecf154df04d4f77'
+          'f0351b9eb8928d3d82c380107654a7dbe7cd2d54')
+
+build() {
+  cd "${srcdir}/TiMidity++-${pkgver}"
+  sed -i -e 's/tcl8.5/tcl8.6 tcl8.5/' -e 's/tk8.5/tk8.6 tk8.5/' configure
+  sed -i 's/my_interp->result/(char *) Tcl_GetObjResult(my_interp)/' interface/tk_c.c
+  ./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 "${srcdir}/TiMidity++-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
+  install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++"
+  install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
+}

Copied: timidity++/repos/staging-x86_64/timidity++.sh (from rev 173688, timidity++/trunk/timidity++.sh)
===================================================================
--- staging-x86_64/timidity++.sh	                        (rev 0)
+++ staging-x86_64/timidity++.sh	2012-12-21 03:38:46 UTC (rev 173689)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/timidity`
+case "$1" in
+   start)
+     stat_busy "Starting Timidity++ ALSA Daemon"
+     [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null
+     if [ $? -gt 0 ]; then
+       stat_fail
+     else
+       echo $PID > /var/run/timidity.pid
+       add_daemon timidity++
+       stat_done
+     fi
+     ;;
+   stop)
+     stat_busy "Stopping Timidity++ ALSA Daemon"
+     [ ! -z "$PID" ]  && kill $PID &> /dev/null
+     if [ $? -gt 0 ]; then
+       stat_fail
+     else
+       rm /var/run/timidity.pid
+       rm_daemon timidity++
+       stat_done
+     fi
+     ;;
+   restart)
+     $0 stop
+     sleep 1
+     $0 start
+     ;;
+   *)
+     echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Copied: timidity++/repos/staging-x86_64/timidity.cfg (from rev 173688, timidity++/trunk/timidity.cfg)
===================================================================
--- staging-x86_64/timidity.cfg	                        (rev 0)
+++ staging-x86_64/timidity.cfg	2012-12-21 03:38:46 UTC (rev 173689)
@@ -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

Copied: timidity++/repos/staging-x86_64/timidity.service (from rev 173688, timidity++/trunk/timidity.service)
===================================================================
--- staging-x86_64/timidity.service	                        (rev 0)
+++ staging-x86_64/timidity.service	2012-12-21 03:38:46 UTC (rev 173689)
@@ -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