add timitidy.., Xaw3d, sdl-mixer
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "SDL_mixer-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("timidity/config.h", "/usr/local/lib/timidity", "/usr/share/timidity")
|
||||
|
||||
options = "--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--enable-music-midi \
|
||||
--enable-music-timidity-midi \
|
||||
--enable-music-mod \
|
||||
--enable-music-mp3 \
|
||||
--enable-music-ogg"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " --includedir=/usr/include \
|
||||
--libdir=/usr/lib32"
|
||||
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -m32" % get.CXXFLAGS())
|
||||
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("CHANGES", "COPYING", "README")
|
||||
@@ -0,0 +1,20 @@
|
||||
diff -Nur SDL_mixer-1.2.11-old//Makefile.in SDL_mixer-1.2.11/Makefile.in
|
||||
--- SDL_mixer-1.2.11-old//Makefile.in 2011-08-25 01:09:55.007000503 +0300
|
||||
+++ SDL_mixer-1.2.11/Makefile.in 2011-08-25 01:11:19.172000277 +0300
|
||||
@@ -72,13 +72,13 @@
|
||||
@PLAYMUS_DEPENDS@
|
||||
|
||||
$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
||||
|
||||
$(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
|
||||
$(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
|
||||
install: all install-hdrs install-lib #install-bin
|
||||
install-hdrs:
|
||||
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl-mixer</Name>
|
||||
<Homepage>http://www.libsdl.org/projects/SDL_mixer/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>SDL mixer library</Summary>
|
||||
<Description>SDL_mixer is a SDL library for loading sound files.</Description>
|
||||
<Archive sha1sum="a20fa96470ad9e1052f1957b77ffa68fb090b384" type="targz">http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libmikmod-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>smpeg-devel</Dependency>
|
||||
<Dependency>timidity</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">dev_snd_seq.patch</Patch>-->
|
||||
<Patch level="1">ldflags.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>libmikmod</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>smpeg</Dependency>
|
||||
<Dependency>timidity</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-devel</Name>
|
||||
<Summary>Development files for sdl-mixer</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sdl-mixer</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for sdl-mixer</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>libmikmod-32bit</Dependency>
|
||||
<Dependency>libvorbis-32bit</Dependency>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>smpeg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sdl-mixer</Dependency>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>libmikmod-32bit</Dependency>
|
||||
<Dependency>libvorbis-32bit</Dependency>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>smpeg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-21</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>Rebuild for buildhost</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl-mixer</Name>
|
||||
<Summary xml:lang="tr">SDL ses yükleme kitaplığı</Summary>
|
||||
<Summary xml:lang="fr">Librairie du mixer SDL.</Summary>
|
||||
<Description xml:lang="tr">SDL_mixer, SDL için bir ses yükleme kitaplığıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-devel</Name>
|
||||
<Summary xml:lang="tr">sdl-mixer için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-32bit</Name>
|
||||
<Summary xml:lang="tr">sdl-mixer için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
import os
|
||||
from os.path import join
|
||||
|
||||
NoStrip = "/"
|
||||
WorkDir = "./"
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("timidity.cfg", "dir /nethome/sak95/shom/lib/timidity/", "dir /usr/share/timidity/shompatches/")
|
||||
pisitools.dosed("sfx.cfg", "^source ", "source shompatches/")
|
||||
pisitools.dosed("timidity.cfg", "^source ", "source shompatches/")
|
||||
|
||||
for root, dirs, files in os.walk("inst"):
|
||||
for name in dirs:
|
||||
shelltools.chmod(join(root, name), 0755)
|
||||
for name in files:
|
||||
shelltools.chmod(join(root, name), 0644)
|
||||
|
||||
shelltools.chmod("*.cfg", 0644)
|
||||
|
||||
def install():
|
||||
pisitools.dodir("/usr/share/timidity/shompatches")
|
||||
pisitools.insinto("/usr/share/timidity/shompatches", "*.cfg")
|
||||
pisitools.insinto("/usr/share/timidity/shompatches", "inst")
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>timidity-shompatches</Name>
|
||||
<Homepage>http://www.i.h.kyoto-u.ac.jp</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Sound patches for Timidity (Shom)</Summary>
|
||||
<Description>Containts Matsumoto Shoji's patch collection for TiMidity (Roland SC-55 style)</Description>
|
||||
<Archive sha1sum="70e6dada9656ab79253a80bcf5505d2151551397" type="zip">ftp://ftp.tr.debian.org/gentoo/distfiles/shominst-0409.zip</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>timidity-shompatches</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/timidity</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-21</Date>
|
||||
<Version>0.409</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>0.409</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.409</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>timidity-shompatches</Name>
|
||||
<Summary xml:lang="tr">Timidity ses bilgisi dosyaları</Summary>
|
||||
<Description xml:lang="tr">Matsumoto Shoji'nin TiMidity (Roland SC-55 stili) ses bilgisi dosyaları</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,47 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "TiMidity++-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
audios = "flac,speex,vorbis,ao,alsa,jack"
|
||||
interfaces = "ncurses,vt100,alsaseq,server,network,gtk"
|
||||
|
||||
shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS())
|
||||
autotools.autoconf()
|
||||
autotools.configure('--localstatedir=/var/state/timidity \
|
||||
--with-elf \
|
||||
--enable-audio="%s" \
|
||||
--enable-interface="%s" \
|
||||
--enable-server \
|
||||
--enable-network \
|
||||
--enable-dynamic \
|
||||
--enable-vt100 \
|
||||
--enable-spline=cubic \
|
||||
--enable-slang \
|
||||
--enable-ncurses \
|
||||
--with-x \
|
||||
--enable-spectrogram \
|
||||
--enable-wrd \
|
||||
--enable-xskin \
|
||||
--enable-gtk \
|
||||
--with-default-output=alsa \
|
||||
--enable-alsaseq' % (audios, interfaces))
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dosym("/etc/timidity.cfg", "/usr/share/timidity/timidity.cfg")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog*", "NEWS", "README*", "doc/C/README*")
|
||||
@@ -0,0 +1,53 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
serviceType = "local"
|
||||
serviceDesc = _({"en": "Timidity Virtual MIDI Sequencer for Alsa",
|
||||
"tr": "Timidity Sanal MIDI Ardışımlayıcı"})
|
||||
|
||||
MSG_ERR_TIMDPTCH = _({"en": "Failed to set patchset %s for Timidity.",
|
||||
"tr": "Yama kümesi %s Timidity'ye atanamadı.",
|
||||
})
|
||||
|
||||
from comar.service import *
|
||||
import os
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
|
||||
if config.get("USE_ESOUND", "") == "yes":
|
||||
startDependencies("esound")
|
||||
|
||||
# set up sound fonts
|
||||
patchset = config.get("PATCHSET", "shompatches")
|
||||
currentlink = "/usr/share/timidity/current"
|
||||
|
||||
try:
|
||||
currentpatch = os.readlink(currentlink)
|
||||
except:
|
||||
currentpatch = None
|
||||
|
||||
if patchset != currentpatch:
|
||||
if not os.path.exists("/usr/share/timidity/%s" % patchset) and not os.path.exists(patchset):
|
||||
fail(MSG_ERR_TIMDPTCH % patchset)
|
||||
else:
|
||||
if currentpatch:
|
||||
os.unlink(currentlink)
|
||||
os.symlink(patchset, currentlink)
|
||||
|
||||
if config.get("TIMIDITY_PCM_NAME", "") != "":
|
||||
loadEnvironment()
|
||||
os.environ["TIMIDITY_PCM_NAME"]=config.get("TIMIDITY_PCM_NAME")
|
||||
|
||||
startService(command="/usr/bin/timidity",
|
||||
args="-iA %s" % config.get("TIMIDITY_OPTS", ""),
|
||||
pidfile="/run/timidity.pid",
|
||||
makepid=True,
|
||||
detach=True,
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile="/run/timidity.pid",
|
||||
donotify=True)
|
||||
|
||||
def status():
|
||||
return isServiceRunning("/run/timidity.pid")
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
--- TiMidity++-2.14.0/interface/xskin_c.c
|
||||
+++ TiMidity++-2.14.0/interface/xskin_c.c
|
||||
@@ -228,7 +228,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
-#if 0
|
||||
static void ctl_speana_data(double *val, int size) {
|
||||
|
||||
/* 0 <= val[n] <= (AMP*NCOLOR) */
|
||||
@@ -280,7 +279,6 @@
|
||||
|
||||
return;
|
||||
}
|
||||
-#endif
|
||||
|
||||
/*ARGSUSED*/
|
||||
static int ctl_open(int using_stdin, int using_stdout) {
|
||||
@@ -0,0 +1,117 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION_MJ="1"
|
||||
VERSION_MN="0"
|
||||
VERSION_RV="0000"
|
||||
VERSION_AP=""
|
||||
VERSION="${VERSION_MJ}.${VERSION_MN}${VERSION_AP}"
|
||||
|
||||
PATCHDIR="/usr/share/timidity"
|
||||
|
||||
# Below is the user's local patchset
|
||||
HOME_TARGET="$HOME/.timidity/current"
|
||||
TARGET="${HOME_TARGET}"
|
||||
|
||||
show_help() {
|
||||
echo "$0 ${VERSION}"
|
||||
echo "Usage: $0 [-g] -s PATCHSET"
|
||||
echo " or: $0 -r"
|
||||
echo " or: $0 [OPTION]"
|
||||
echo "Set the current timidity patch set to PATCHSET."
|
||||
echo
|
||||
echo "Mandatory arguments to long options are mandatory for short options too."
|
||||
echo " -g Change the global patch set instead of the"
|
||||
echo " user's patch set"
|
||||
echo " -r Change current user's patch set to current"
|
||||
echo " system patch set"
|
||||
echo " -s [PATCHSET] Change to patch set PATCHSET"
|
||||
echo " --help display this help and exit"
|
||||
}
|
||||
|
||||
show_error() {
|
||||
|
||||
echo "$0: bad or missing argument"
|
||||
echo "Try '$0 --help' for more information."
|
||||
}
|
||||
|
||||
set_patch() {
|
||||
TARGET=$1
|
||||
PATCHSET=$2
|
||||
# If something borken, no go
|
||||
if [ ! -L ${TARGET} -a -e ${TARGET} ] || [ ! -d ${PATCHDIR}/${PATCHSET} ]; then
|
||||
if [ ! -L ${TARGET} -a -e ${TARGET} ]; then
|
||||
echo " Error: ${TARGET} exists and is not a symlink"
|
||||
return -1
|
||||
fi
|
||||
if [ ! -d ${PATCHDIR}/${PATCHSET} ]; then
|
||||
echo " Error: patch set ${PATCHSET} does not exist"
|
||||
echo " Look in ${PATCHDIR}/ for patch sets"
|
||||
return -1
|
||||
fi
|
||||
echo " Error: Undefined error."
|
||||
return -1
|
||||
fi
|
||||
echo -n " * Switching to ${PATCHSET} Timidity patch set..."
|
||||
rm -f ${TARGET} 2>/dev/null
|
||||
ln -s ${PATCHDIR}/${PATCHSET} ${TARGET} 2>/dev/null
|
||||
echo " [ OK ]"
|
||||
return 0
|
||||
}
|
||||
|
||||
restore_patches() {
|
||||
TARGET=$1
|
||||
echo -n " * Setting up local patch set to system global..."
|
||||
rm -f ${TARGET} 2>/dev/null
|
||||
ln -s ${PATCHDIR}/current ${TARGET}
|
||||
echo " [ OK ]"
|
||||
}
|
||||
|
||||
##############
|
||||
# Processing #
|
||||
#############
|
||||
|
||||
# Make sure home directory is there
|
||||
if [ ! -e ${HOME}/.timidity ]; then
|
||||
mkdir -p ${HOME}/.timidity
|
||||
restore_patches $TARGET
|
||||
fi
|
||||
|
||||
|
||||
################
|
||||
# No arguments #
|
||||
###############
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
show_error
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#########################
|
||||
# Actual processing loop#
|
||||
########################
|
||||
while [ -n "$1" ]; do
|
||||
case "$1" in
|
||||
-g)
|
||||
TARGET="/usr/share/timidity/current"
|
||||
;;
|
||||
-r)
|
||||
restore_patches ${HOME_TARGET}
|
||||
exit 0
|
||||
;;
|
||||
-s)
|
||||
PATCHSET="$2"
|
||||
shift
|
||||
;;
|
||||
--help)
|
||||
show_help
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
show_error
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
set_patch $TARGET $PATCHSET
|
||||
@@ -0,0 +1,24 @@
|
||||
##############################################################################
|
||||
#
|
||||
# timidity-update core configuration file
|
||||
#
|
||||
# Easy process:
|
||||
#
|
||||
# 1. Change directory to patch directory
|
||||
# 2. Source current/timidity.cfg
|
||||
#
|
||||
# Current patch set will always be symlinked to current, so make sure that the
|
||||
# proper timidity.cfg is in there
|
||||
#
|
||||
#
|
||||
# - source /usr/share/timidity
|
||||
# - source ~/.timidity/current
|
||||
# - Make ~/.timidity/current point to the current patch set, or to whatever
|
||||
# the individual user sets
|
||||
# - If ~/.timidity/current isn't found, it will try
|
||||
# /usr/share/timidity/current
|
||||
#
|
||||
|
||||
dir /usr/share/timidity
|
||||
dir ~/.timidity
|
||||
source current/timidity.cfg
|
||||
@@ -0,0 +1,39 @@
|
||||
# TIMIDITY_OPTS
|
||||
# Command line arguements to be passed to timidity. -iA is always used
|
||||
# Common options:
|
||||
# -Os : Output to ALSA pcm device
|
||||
# -Oe : Output to esd
|
||||
# -On : Output to NAS
|
||||
# -Oj : Output to JACK
|
||||
#
|
||||
# -B<n>,<m> : Set number of buffer fragments(n), and buffer size(2^m)
|
||||
#
|
||||
# -EFreverb=0 : Disable MIDI reverb effect control
|
||||
# -EFreverb=1[,level] : Enable MIDI reverb effect control
|
||||
# "level" is optional to specify reverb level [0..127]
|
||||
# This effect is only available in stereo
|
||||
# (default)
|
||||
# -EFreverb=2 : Global reverb effect
|
||||
|
||||
TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0 -EFchorus=0"
|
||||
|
||||
# USE_ESOUND
|
||||
# if you want to use esound, make this option yes and set the correct TIMIDITY_OPTS
|
||||
|
||||
USE_ESOUND="no"
|
||||
|
||||
# PATCHSET
|
||||
# Define the sound patch set that timidity will use. Default is shompatches.
|
||||
PATCHSET="shompatches"
|
||||
|
||||
|
||||
# TIMIDITY_PCM_NAME
|
||||
# This option can be used to choose an alternate ALSA pcm device. This will
|
||||
# be most useful for users of the dmix alsa plugin or those with multiple
|
||||
# cards. If you don't know what this is, chances are you want the default.
|
||||
|
||||
# default alsa device fails to work as a service, since pulseaudio is not reachable
|
||||
# from the service scripts' environment. Workaround with using hw:0
|
||||
#TIMIDITY_PCM_NAME="default"
|
||||
TIMIDITY_PCM_NAME="hw:0"
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>timidity</Name>
|
||||
<Homepage>http://timidity.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>service</IsA>
|
||||
<Summary>Software synthesizer and MIDI converter</Summary>
|
||||
<Description>Timidity is a software synthesizer, MIDI player and MIDI to other sound formats converter which can also emulate a midi port.</Description>
|
||||
<Archive sha1sum="3d1d18ddf3e52412985af9a49dbe7ad345b478a8" type="tarbz2">mirrors://sourceforge/timidity/TiMidity++-2.14.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libao-devel</Dependency>
|
||||
<Dependency>libXaw-devel</Dependency>
|
||||
<Dependency>flac-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>Xaw3d-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>ncurses-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">timidity++-2.14.0-revert-for-required-ctl_speana_data-function.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>timidity</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libao</Dependency>
|
||||
<Dependency>libXaw</Dependency>
|
||||
<Dependency>flac</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>speex</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>jack-audio-connection-kit</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>timidity-shompatches</Dependency>
|
||||
<Dependency>Xaw3d</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>ncurses</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/timidity</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/timidity">timidity.conf.d</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/timidity.cfg">timidity.cfg</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/bin/timidity-update">timidity-update</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-21</Date>
|
||||
<Version>2.14.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>2.14.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-28</Date>
|
||||
<Version>2.14.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Fatih Turgel</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>timidity</Name>
|
||||
<Summary xml:lang="tr">MIDI WAV dönüştürücüsü</Summary>
|
||||
<Description xml:lang="tr">OSS ve ALSA ses çıkışı üretebilen MIDI'den WAV oluşturabilen ve midi aygıt emulasyonu yapabilen sunucu</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user