Date: Monday, February 11, 2013 @ 16:15:31 Author: spupykin Revision: 84141
archrelease: copy trunk to community-i686, community-x86_64 Added: tuxguitar/repos/community-i686/PKGBUILD (from rev 84140, tuxguitar/trunk/PKGBUILD) tuxguitar/repos/community-i686/tuxguitar.desktop (from rev 84140, tuxguitar/trunk/tuxguitar.desktop) tuxguitar/repos/community-i686/tuxguitar.install (from rev 84140, tuxguitar/trunk/tuxguitar.install) tuxguitar/repos/community-i686/tuxguitar.xml (from rev 84140, tuxguitar/trunk/tuxguitar.xml) tuxguitar/repos/community-x86_64/PKGBUILD (from rev 84140, tuxguitar/trunk/PKGBUILD) tuxguitar/repos/community-x86_64/tuxguitar.desktop (from rev 84140, tuxguitar/trunk/tuxguitar.desktop) tuxguitar/repos/community-x86_64/tuxguitar.install (from rev 84140, tuxguitar/trunk/tuxguitar.install) tuxguitar/repos/community-x86_64/tuxguitar.xml (from rev 84140, tuxguitar/trunk/tuxguitar.xml) Deleted: tuxguitar/repos/community-i686/PKGBUILD tuxguitar/repos/community-i686/tuxguitar.desktop tuxguitar/repos/community-i686/tuxguitar.install tuxguitar/repos/community-i686/tuxguitar.xml tuxguitar/repos/community-x86_64/PKGBUILD tuxguitar/repos/community-x86_64/tuxguitar.desktop tuxguitar/repos/community-x86_64/tuxguitar.install tuxguitar/repos/community-x86_64/tuxguitar.xml ------------------------------------+ community-i686/PKGBUILD | 245 +++++++++++++++++++---------------- community-i686/tuxguitar.desktop | 26 +-- community-i686/tuxguitar.install | 22 +-- community-i686/tuxguitar.xml | 36 ++--- community-x86_64/PKGBUILD | 245 +++++++++++++++++++---------------- community-x86_64/tuxguitar.desktop | 26 +-- community-x86_64/tuxguitar.install | 22 +-- community-x86_64/tuxguitar.xml | 36 ++--- 8 files changed, 350 insertions(+), 308 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-02-11 15:15:06 UTC (rev 84140) +++ community-i686/PKGBUILD 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,112 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: |AhIoRoS| < ahio...@gmail.com > - -pkgname=tuxguitar -pkgver=1.2 -pkgrel=5 -_jdk=java-7-openjdk -pkgdesc="multitrack guitar tablature editor and player" -arch=('i686' 'x86_64') -#url="http://www.herac.com.ar/contenidos/tuxguitar.html" -url="http://sourceforge.net/projects/tuxguitar" -license=('LGPL') -depends=('java-runtime' 'swt' 'alsa-lib') -makedepends=('unzip' 'zip' 'apache-ant' 'jack' 'fluidsynth' 'java-environment') -optdepends=('fluidsynth') -install=tuxguitar.install -source=(tuxguitar-src-$pkgver.tar.gz::http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-$pkgver/tuxguitar-src-$pkgver.tar.gz/download - tuxguitar.desktop - tuxguitar.xml) -md5sums=('f41ed20e77c6c3d8968991a29c71b912' - 'eea5247daa70ce6fc15e95b1080af486' - '59ce4eb8dcc0d0dde81e6cf2820aa9b0') - -build() { - cd $srcdir/tuxguitar-src-$pkgver - mkdir -p $pkgdir/usr/share/tuxguitar - mkdir -p $pkgdir/usr/bin - - export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH - - (cd TuxGuitar/ && ant) - (cd TuxGuitar-alsa/ && ant) - (cd TuxGuitar-fluidsynth/ && ant) - (cd TuxGuitar-jack/ && ant) - (cd TuxGuitar-oss/ && ant) - (cd TuxGuitar-compat/ && ant) - (cd TuxGuitar-gtp/ && ant) - (cd TuxGuitar-ptb/ && ant) - (cd TuxGuitar-tef/ && ant) - (cd TuxGuitar-midi/ && ant) - (cd TuxGuitar-lilypond/ && ant) - (cd TuxGuitar-musicxml/ && ant) - (cd TuxGuitar-ascii/ && ant) - (cd TuxGuitar-converter/ && ant) - (cd TuxGuitar-tray/ && ant) - (cd TuxGuitar-community/ && ant) - (cd TuxGuitar-gervill/ && ant) - (cd TuxGuitar-jsa/ && ant) - - cp -r TuxGuitar/share $pkgdir/usr/share/tuxguitar/ - find -name \*.jar -exec sh -c 'cp {} '$pkgdir'/usr/share/tuxguitar/share/plugins/`basename {}`' \; - mv $pkgdir/usr/share/tuxguitar/share/plugins/tuxguitar.jar $pkgdir/usr/share/tuxguitar/ - cp TuxGuitar/tuxguitar $pkgdir/usr/share/tuxguitar/ - - # alsa - pushd TuxGuitar-alsa/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o \ - org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.c - gcc -shared -o libtuxguitar-alsa-jni.so org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o -L/usr/lib -lasound - install -D -m0755 libtuxguitar-alsa-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-alsa-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-alsa-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-alsa-jni.so - popd - - # oss - pushd TuxGuitar-oss/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o \ - org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.c - gcc -shared -o libtuxguitar-oss-jni.so org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o -L/usr/lib - install -D -m0755 libtuxguitar-oss-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-oss-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-oss-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-oss-jni.so - popd - - # jack - pushd TuxGuitar-jack/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_jack_JackClient.o \ - org_herac_tuxguitar_jack_JackClient.c - gcc -shared -o libtuxguitar-jack-jni.so org_herac_tuxguitar_jack_JackClient.o -L/usr/lib -ljack - install -D -m0755 libtuxguitar-jack-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-jack-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-jack-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-jack-jni.so - popd - - # fluidsynth - pushd TuxGuitar-fluidsynth/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o \ - org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.c - gcc -shared -o libtuxguitar-fluidsynth-jni.so org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o -L/usr/lib -lfluidsynth - install -D -m0755 libtuxguitar-fluidsynth-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-fluidsynth-jni.so - popd - - cd $pkgdir/usr/bin - cat >tuxguitar << EOF -#!/bin/sh -export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH -export LD_LIBRARY_PATH=lib/:$LD_LIBRARY_PATH -cd /usr/share/$pkgname -exec /usr/share/$pkgname/tuxguitar "\$1" "\$2" "\$3" "\$4" "\$5" "\$6" "\$7" "\$8" "\$9" -EOF - - chmod 755 tuxguitar - install -D -m0644 $srcdir/tuxguitar.xml $pkgdir/usr/share/mime/packages/tuxguitar.xml - install -D -m0644 $srcdir/tuxguitar.desktop $pkgdir/usr/share/applications/tuxguitar.desktop -} Copied: tuxguitar/repos/community-i686/PKGBUILD (from rev 84140, tuxguitar/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,133 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: |AhIoRoS| < ahio...@gmail.com > + +pkgname=tuxguitar +pkgver=1.2 +pkgrel=6 +_jdk=java-7-openjdk +pkgdesc="multitrack guitar tablature editor and player" +arch=('i686' 'x86_64') +#url="http://www.herac.com.ar/contenidos/tuxguitar.html" +url="http://sourceforge.net/projects/tuxguitar" +license=('LGPL') +depends=('java-runtime' 'swt' 'alsa-lib') +makedepends=('unzip' 'zip' 'apache-ant' 'jack' 'fluidsynth' 'java-environment') +optdepends=('fluidsynth') +install=tuxguitar.install +source=(tuxguitar-src-$pkgver.tar.gz::http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-$pkgver/tuxguitar-src-$pkgver.tar.gz/download + tuxguitar.desktop + tuxguitar.xml) +md5sums=('f41ed20e77c6c3d8968991a29c71b912' + '0afa7f3248b9317d73ad8ccdc5e5aaf0' + '59ce4eb8dcc0d0dde81e6cf2820aa9b0') + +build() { + cd $srcdir/tuxguitar-src-$pkgver + + export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH + + (cd TuxGuitar/ && ant) + (cd TuxGuitar-alsa/ && ant) + (cd TuxGuitar-fluidsynth/ && ant) + (cd TuxGuitar-jack/ && ant) + (cd TuxGuitar-oss/ && ant) + (cd TuxGuitar-compat/ && ant) + (cd TuxGuitar-gtp/ && ant) + (cd TuxGuitar-ptb/ && ant) + (cd TuxGuitar-tef/ && ant) + (cd TuxGuitar-midi/ && ant) + (cd TuxGuitar-lilypond/ && ant) + (cd TuxGuitar-musicxml/ && ant) + (cd TuxGuitar-ascii/ && ant) + (cd TuxGuitar-converter/ && ant) + (cd TuxGuitar-tray/ && ant) + (cd TuxGuitar-community/ && ant) + (cd TuxGuitar-gervill/ && ant) + (cd TuxGuitar-jsa/ && ant) + + # alsa + pushd TuxGuitar-alsa/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o \ + org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.c + gcc -shared -o libtuxguitar-alsa-jni.so org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o -L/usr/lib -lasound + popd + + # oss + pushd TuxGuitar-oss/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o \ + org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.c + gcc -shared -o libtuxguitar-oss-jni.so org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o -L/usr/lib + popd + + # jack + pushd TuxGuitar-jack/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_jack_JackClient.o \ + org_herac_tuxguitar_jack_JackClient.c + gcc -shared -o libtuxguitar-jack-jni.so org_herac_tuxguitar_jack_JackClient.o -L/usr/lib -ljack + popd + + # fluidsynth + pushd TuxGuitar-fluidsynth/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o \ + org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.c + gcc -shared -o libtuxguitar-fluidsynth-jni.so org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o -L/usr/lib -lfluidsynth + popd +} + +package() { + cd $srcdir/tuxguitar-src-$pkgver + + mkdir -p $pkgdir/usr/share/tuxguitar + mkdir -p $pkgdir/usr/bin + + cp -r TuxGuitar/share $pkgdir/usr/share/tuxguitar/ + find -name \*.jar -exec sh -c 'cp {} '$pkgdir'/usr/share/tuxguitar/share/plugins/`basename {}`' \; + mv $pkgdir/usr/share/tuxguitar/share/plugins/tuxguitar.jar $pkgdir/usr/share/tuxguitar/ + cp TuxGuitar/tuxguitar $pkgdir/usr/share/tuxguitar/ + + # alsa + pushd TuxGuitar-alsa/jni + install -D -m0755 libtuxguitar-alsa-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-alsa-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-alsa-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-alsa-jni.so + popd + + # oss + pushd TuxGuitar-oss/jni + install -D -m0755 libtuxguitar-oss-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-oss-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-oss-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-oss-jni.so + popd + + # jack + pushd TuxGuitar-jack/jni + install -D -m0755 libtuxguitar-jack-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-jack-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-jack-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-jack-jni.so + popd + + # fluidsynth + pushd TuxGuitar-fluidsynth/jni + install -D -m0755 libtuxguitar-fluidsynth-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-fluidsynth-jni.so + popd + + cd $pkgdir/usr/bin + cat >tuxguitar << EOF +#!/bin/sh +export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH +export LD_LIBRARY_PATH=lib/:$LD_LIBRARY_PATH +cd /usr/share/$pkgname +exec /usr/share/$pkgname/tuxguitar "\$1" "\$2" "\$3" "\$4" "\$5" "\$6" "\$7" "\$8" "\$9" +EOF + + chmod 755 tuxguitar + install -D -m0644 $srcdir/tuxguitar.xml $pkgdir/usr/share/mime/packages/tuxguitar.xml + install -D -m0644 $srcdir/tuxguitar.desktop $pkgdir/usr/share/applications/tuxguitar.desktop +} Deleted: community-i686/tuxguitar.desktop =================================================================== --- community-i686/tuxguitar.desktop 2013-02-11 15:15:06 UTC (rev 84140) +++ community-i686/tuxguitar.desktop 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,13 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=tuxguitar -Comment=Edit, playback guitar tablatures -Comment[fr]=Edite, joue des tablatures de guitare -Comment[es]=Edita, reproduce tablaturas de guitarra -Icon=/usr/share/tuxguitar/share/skins/Lavender/icon-96x96.png -Terminal=false -Type=Application -Categories=Application;AudioVideo;Audio; -Exec=tuxguitar %F -MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb; -#eof "$Id: tuxguitar.desktop,v 1.2 2008/09/15 07:54:28 sergej Exp $" Copied: tuxguitar/repos/community-i686/tuxguitar.desktop (from rev 84140, tuxguitar/trunk/tuxguitar.desktop) =================================================================== --- community-i686/tuxguitar.desktop (rev 0) +++ community-i686/tuxguitar.desktop 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=tuxguitar +Comment=Edit, playback guitar tablatures +Comment[fr]=Edite, joue des tablatures de guitare +Comment[es]=Edita, reproduce tablaturas de guitarra +Icon=/usr/share/tuxguitar/share/skins/Lavender/icon-96x96.png +Terminal=false +Type=Application +Categories=Application;AudioVideo;Audio; +Exec=tuxguitar %F -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false +MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb; +#eof "$Id: tuxguitar.desktop,v 1.2 2008/09/15 07:54:28 sergej Exp $" Deleted: community-i686/tuxguitar.install =================================================================== --- community-i686/tuxguitar.install 2013-02-11 15:15:06 UTC (rev 84140) +++ community-i686/tuxguitar.install 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,11 +0,0 @@ -post_install() { - [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime - [ -x `which update-desktop-database` ] && update-desktop-database - /bin/true -} - -post_upgrade() { - [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime - [ -x `which update-desktop-database` ] && update-desktop-database - /bin/true -} Copied: tuxguitar/repos/community-i686/tuxguitar.install (from rev 84140, tuxguitar/trunk/tuxguitar.install) =================================================================== --- community-i686/tuxguitar.install (rev 0) +++ community-i686/tuxguitar.install 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,11 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database + /bin/true +} + +post_upgrade() { + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database + /bin/true +} Deleted: community-i686/tuxguitar.xml =================================================================== --- community-i686/tuxguitar.xml 2013-02-11 15:15:06 UTC (rev 84140) +++ community-i686/tuxguitar.xml 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> - <mime-type type="audio/x-tuxguitar"> - <comment>TuxGuitar file</comment> - <glob pattern="*.tg"/> - </mime-type> - <mime-type type="audio/x-gtp"> - <comment>GuitarPro file</comment> - <glob pattern="*.gtp"/> - <glob pattern="*.gp3"/> - <glob pattern="*.gp4"/> - <glob pattern="*.gp5"/> - </mime-type> - <mime-type type="audio/x-ptb"> - <comment>PowerTab file</comment> - <glob pattern="*.ptb"/> - </mime-type> -</mime-info> Copied: tuxguitar/repos/community-i686/tuxguitar.xml (from rev 84140, tuxguitar/trunk/tuxguitar.xml) =================================================================== --- community-i686/tuxguitar.xml (rev 0) +++ community-i686/tuxguitar.xml 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="audio/x-tuxguitar"> + <comment>TuxGuitar file</comment> + <glob pattern="*.tg"/> + </mime-type> + <mime-type type="audio/x-gtp"> + <comment>GuitarPro file</comment> + <glob pattern="*.gtp"/> + <glob pattern="*.gp3"/> + <glob pattern="*.gp4"/> + <glob pattern="*.gp5"/> + </mime-type> + <mime-type type="audio/x-ptb"> + <comment>PowerTab file</comment> + <glob pattern="*.ptb"/> + </mime-type> +</mime-info> Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-02-11 15:15:06 UTC (rev 84140) +++ community-x86_64/PKGBUILD 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,112 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: |AhIoRoS| < ahio...@gmail.com > - -pkgname=tuxguitar -pkgver=1.2 -pkgrel=5 -_jdk=java-7-openjdk -pkgdesc="multitrack guitar tablature editor and player" -arch=('i686' 'x86_64') -#url="http://www.herac.com.ar/contenidos/tuxguitar.html" -url="http://sourceforge.net/projects/tuxguitar" -license=('LGPL') -depends=('java-runtime' 'swt' 'alsa-lib') -makedepends=('unzip' 'zip' 'apache-ant' 'jack' 'fluidsynth' 'java-environment') -optdepends=('fluidsynth') -install=tuxguitar.install -source=(tuxguitar-src-$pkgver.tar.gz::http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-$pkgver/tuxguitar-src-$pkgver.tar.gz/download - tuxguitar.desktop - tuxguitar.xml) -md5sums=('f41ed20e77c6c3d8968991a29c71b912' - 'eea5247daa70ce6fc15e95b1080af486' - '59ce4eb8dcc0d0dde81e6cf2820aa9b0') - -build() { - cd $srcdir/tuxguitar-src-$pkgver - mkdir -p $pkgdir/usr/share/tuxguitar - mkdir -p $pkgdir/usr/bin - - export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH - - (cd TuxGuitar/ && ant) - (cd TuxGuitar-alsa/ && ant) - (cd TuxGuitar-fluidsynth/ && ant) - (cd TuxGuitar-jack/ && ant) - (cd TuxGuitar-oss/ && ant) - (cd TuxGuitar-compat/ && ant) - (cd TuxGuitar-gtp/ && ant) - (cd TuxGuitar-ptb/ && ant) - (cd TuxGuitar-tef/ && ant) - (cd TuxGuitar-midi/ && ant) - (cd TuxGuitar-lilypond/ && ant) - (cd TuxGuitar-musicxml/ && ant) - (cd TuxGuitar-ascii/ && ant) - (cd TuxGuitar-converter/ && ant) - (cd TuxGuitar-tray/ && ant) - (cd TuxGuitar-community/ && ant) - (cd TuxGuitar-gervill/ && ant) - (cd TuxGuitar-jsa/ && ant) - - cp -r TuxGuitar/share $pkgdir/usr/share/tuxguitar/ - find -name \*.jar -exec sh -c 'cp {} '$pkgdir'/usr/share/tuxguitar/share/plugins/`basename {}`' \; - mv $pkgdir/usr/share/tuxguitar/share/plugins/tuxguitar.jar $pkgdir/usr/share/tuxguitar/ - cp TuxGuitar/tuxguitar $pkgdir/usr/share/tuxguitar/ - - # alsa - pushd TuxGuitar-alsa/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o \ - org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.c - gcc -shared -o libtuxguitar-alsa-jni.so org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o -L/usr/lib -lasound - install -D -m0755 libtuxguitar-alsa-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-alsa-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-alsa-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-alsa-jni.so - popd - - # oss - pushd TuxGuitar-oss/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o \ - org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.c - gcc -shared -o libtuxguitar-oss-jni.so org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o -L/usr/lib - install -D -m0755 libtuxguitar-oss-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-oss-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-oss-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-oss-jni.so - popd - - # jack - pushd TuxGuitar-jack/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_jack_JackClient.o \ - org_herac_tuxguitar_jack_JackClient.c - gcc -shared -o libtuxguitar-jack-jni.so org_herac_tuxguitar_jack_JackClient.o -L/usr/lib -ljack - install -D -m0755 libtuxguitar-jack-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-jack-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-jack-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-jack-jni.so - popd - - # fluidsynth - pushd TuxGuitar-fluidsynth/jni - gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ - -c -o org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o \ - org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.c - gcc -shared -o libtuxguitar-fluidsynth-jni.so org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o -L/usr/lib -lfluidsynth - install -D -m0755 libtuxguitar-fluidsynth-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so - mkdir -p $pkgdir/usr/share/tuxguitar/lib - ln -s /usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-fluidsynth-jni.so - popd - - cd $pkgdir/usr/bin - cat >tuxguitar << EOF -#!/bin/sh -export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH -export LD_LIBRARY_PATH=lib/:$LD_LIBRARY_PATH -cd /usr/share/$pkgname -exec /usr/share/$pkgname/tuxguitar "\$1" "\$2" "\$3" "\$4" "\$5" "\$6" "\$7" "\$8" "\$9" -EOF - - chmod 755 tuxguitar - install -D -m0644 $srcdir/tuxguitar.xml $pkgdir/usr/share/mime/packages/tuxguitar.xml - install -D -m0644 $srcdir/tuxguitar.desktop $pkgdir/usr/share/applications/tuxguitar.desktop -} Copied: tuxguitar/repos/community-x86_64/PKGBUILD (from rev 84140, tuxguitar/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,133 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: |AhIoRoS| < ahio...@gmail.com > + +pkgname=tuxguitar +pkgver=1.2 +pkgrel=6 +_jdk=java-7-openjdk +pkgdesc="multitrack guitar tablature editor and player" +arch=('i686' 'x86_64') +#url="http://www.herac.com.ar/contenidos/tuxguitar.html" +url="http://sourceforge.net/projects/tuxguitar" +license=('LGPL') +depends=('java-runtime' 'swt' 'alsa-lib') +makedepends=('unzip' 'zip' 'apache-ant' 'jack' 'fluidsynth' 'java-environment') +optdepends=('fluidsynth') +install=tuxguitar.install +source=(tuxguitar-src-$pkgver.tar.gz::http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-$pkgver/tuxguitar-src-$pkgver.tar.gz/download + tuxguitar.desktop + tuxguitar.xml) +md5sums=('f41ed20e77c6c3d8968991a29c71b912' + '0afa7f3248b9317d73ad8ccdc5e5aaf0' + '59ce4eb8dcc0d0dde81e6cf2820aa9b0') + +build() { + cd $srcdir/tuxguitar-src-$pkgver + + export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH + + (cd TuxGuitar/ && ant) + (cd TuxGuitar-alsa/ && ant) + (cd TuxGuitar-fluidsynth/ && ant) + (cd TuxGuitar-jack/ && ant) + (cd TuxGuitar-oss/ && ant) + (cd TuxGuitar-compat/ && ant) + (cd TuxGuitar-gtp/ && ant) + (cd TuxGuitar-ptb/ && ant) + (cd TuxGuitar-tef/ && ant) + (cd TuxGuitar-midi/ && ant) + (cd TuxGuitar-lilypond/ && ant) + (cd TuxGuitar-musicxml/ && ant) + (cd TuxGuitar-ascii/ && ant) + (cd TuxGuitar-converter/ && ant) + (cd TuxGuitar-tray/ && ant) + (cd TuxGuitar-community/ && ant) + (cd TuxGuitar-gervill/ && ant) + (cd TuxGuitar-jsa/ && ant) + + # alsa + pushd TuxGuitar-alsa/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o \ + org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.c + gcc -shared -o libtuxguitar-alsa-jni.so org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o -L/usr/lib -lasound + popd + + # oss + pushd TuxGuitar-oss/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o \ + org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.c + gcc -shared -o libtuxguitar-oss-jni.so org_herac_tuxguitar_player_impl_midiport_oss_MidiSystem.o -L/usr/lib + popd + + # jack + pushd TuxGuitar-jack/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_jack_JackClient.o \ + org_herac_tuxguitar_jack_JackClient.c + gcc -shared -o libtuxguitar-jack-jni.so org_herac_tuxguitar_jack_JackClient.o -L/usr/lib -ljack + popd + + # fluidsynth + pushd TuxGuitar-fluidsynth/jni + gcc -I/usr/lib/jvm/${_jdk}/include -I/usr/lib/jvm/${_jdk}/include/linux -fPIC \ + -c -o org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o \ + org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.c + gcc -shared -o libtuxguitar-fluidsynth-jni.so org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o -L/usr/lib -lfluidsynth + popd +} + +package() { + cd $srcdir/tuxguitar-src-$pkgver + + mkdir -p $pkgdir/usr/share/tuxguitar + mkdir -p $pkgdir/usr/bin + + cp -r TuxGuitar/share $pkgdir/usr/share/tuxguitar/ + find -name \*.jar -exec sh -c 'cp {} '$pkgdir'/usr/share/tuxguitar/share/plugins/`basename {}`' \; + mv $pkgdir/usr/share/tuxguitar/share/plugins/tuxguitar.jar $pkgdir/usr/share/tuxguitar/ + cp TuxGuitar/tuxguitar $pkgdir/usr/share/tuxguitar/ + + # alsa + pushd TuxGuitar-alsa/jni + install -D -m0755 libtuxguitar-alsa-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-alsa-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-alsa-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-alsa-jni.so + popd + + # oss + pushd TuxGuitar-oss/jni + install -D -m0755 libtuxguitar-oss-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-oss-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-oss-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-oss-jni.so + popd + + # jack + pushd TuxGuitar-jack/jni + install -D -m0755 libtuxguitar-jack-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-jack-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-jack-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-jack-jni.so + popd + + # fluidsynth + pushd TuxGuitar-fluidsynth/jni + install -D -m0755 libtuxguitar-fluidsynth-jni.so $pkgdir/usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so + mkdir -p $pkgdir/usr/share/tuxguitar/lib + ln -s /usr/lib/tuxguitar/libtuxguitar-fluidsynth-jni.so $pkgdir/usr/share/tuxguitar/lib/libtuxguitar-fluidsynth-jni.so + popd + + cd $pkgdir/usr/bin + cat >tuxguitar << EOF +#!/bin/sh +export CLASSPATH=/usr/share/java/swt.jar:$CLASSPATH +export LD_LIBRARY_PATH=lib/:$LD_LIBRARY_PATH +cd /usr/share/$pkgname +exec /usr/share/$pkgname/tuxguitar "\$1" "\$2" "\$3" "\$4" "\$5" "\$6" "\$7" "\$8" "\$9" +EOF + + chmod 755 tuxguitar + install -D -m0644 $srcdir/tuxguitar.xml $pkgdir/usr/share/mime/packages/tuxguitar.xml + install -D -m0644 $srcdir/tuxguitar.desktop $pkgdir/usr/share/applications/tuxguitar.desktop +} Deleted: community-x86_64/tuxguitar.desktop =================================================================== --- community-x86_64/tuxguitar.desktop 2013-02-11 15:15:06 UTC (rev 84140) +++ community-x86_64/tuxguitar.desktop 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,13 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=tuxguitar -Comment=Edit, playback guitar tablatures -Comment[fr]=Edite, joue des tablatures de guitare -Comment[es]=Edita, reproduce tablaturas de guitarra -Icon=/usr/share/tuxguitar/share/skins/Lavender/icon-96x96.png -Terminal=false -Type=Application -Categories=Application;AudioVideo;Audio; -Exec=tuxguitar %F -MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb; -#eof "$Id: tuxguitar.desktop,v 1.2 2008/09/15 07:54:28 sergej Exp $" Copied: tuxguitar/repos/community-x86_64/tuxguitar.desktop (from rev 84140, tuxguitar/trunk/tuxguitar.desktop) =================================================================== --- community-x86_64/tuxguitar.desktop (rev 0) +++ community-x86_64/tuxguitar.desktop 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=tuxguitar +Comment=Edit, playback guitar tablatures +Comment[fr]=Edite, joue des tablatures de guitare +Comment[es]=Edita, reproduce tablaturas de guitarra +Icon=/usr/share/tuxguitar/share/skins/Lavender/icon-96x96.png +Terminal=false +Type=Application +Categories=Application;AudioVideo;Audio; +Exec=tuxguitar %F -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false +MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb; +#eof "$Id: tuxguitar.desktop,v 1.2 2008/09/15 07:54:28 sergej Exp $" Deleted: community-x86_64/tuxguitar.install =================================================================== --- community-x86_64/tuxguitar.install 2013-02-11 15:15:06 UTC (rev 84140) +++ community-x86_64/tuxguitar.install 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,11 +0,0 @@ -post_install() { - [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime - [ -x `which update-desktop-database` ] && update-desktop-database - /bin/true -} - -post_upgrade() { - [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime - [ -x `which update-desktop-database` ] && update-desktop-database - /bin/true -} Copied: tuxguitar/repos/community-x86_64/tuxguitar.install (from rev 84140, tuxguitar/trunk/tuxguitar.install) =================================================================== --- community-x86_64/tuxguitar.install (rev 0) +++ community-x86_64/tuxguitar.install 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,11 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database + /bin/true +} + +post_upgrade() { + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database + /bin/true +} Deleted: community-x86_64/tuxguitar.xml =================================================================== --- community-x86_64/tuxguitar.xml 2013-02-11 15:15:06 UTC (rev 84140) +++ community-x86_64/tuxguitar.xml 2013-02-11 15:15:31 UTC (rev 84141) @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> - <mime-type type="audio/x-tuxguitar"> - <comment>TuxGuitar file</comment> - <glob pattern="*.tg"/> - </mime-type> - <mime-type type="audio/x-gtp"> - <comment>GuitarPro file</comment> - <glob pattern="*.gtp"/> - <glob pattern="*.gp3"/> - <glob pattern="*.gp4"/> - <glob pattern="*.gp5"/> - </mime-type> - <mime-type type="audio/x-ptb"> - <comment>PowerTab file</comment> - <glob pattern="*.ptb"/> - </mime-type> -</mime-info> Copied: tuxguitar/repos/community-x86_64/tuxguitar.xml (from rev 84140, tuxguitar/trunk/tuxguitar.xml) =================================================================== --- community-x86_64/tuxguitar.xml (rev 0) +++ community-x86_64/tuxguitar.xml 2013-02-11 15:15:31 UTC (rev 84141) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="audio/x-tuxguitar"> + <comment>TuxGuitar file</comment> + <glob pattern="*.tg"/> + </mime-type> + <mime-type type="audio/x-gtp"> + <comment>GuitarPro file</comment> + <glob pattern="*.gtp"/> + <glob pattern="*.gp3"/> + <glob pattern="*.gp4"/> + <glob pattern="*.gp5"/> + </mime-type> + <mime-type type="audio/x-ptb"> + <comment>PowerTab file</comment> + <glob pattern="*.ptb"/> + </mime-type> +</mime-info>