aboutsummaryrefslogtreecommitdiff
path: root/audio/tuxguitar
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r--audio/tuxguitar/README2
-rw-r--r--audio/tuxguitar/doinst.sh3
-rw-r--r--audio/tuxguitar/slack-desc19
-rw-r--r--audio/tuxguitar/tuxguitar.1.gzbin0 -> 636 bytes
-rw-r--r--audio/tuxguitar/tuxguitar.SlackBuild56
-rw-r--r--audio/tuxguitar/tuxguitar.desktop13
-rw-r--r--audio/tuxguitar/tuxguitar.info8
-rw-r--r--audio/tuxguitar/tuxguitar.patch17
-rw-r--r--audio/tuxguitar/tuxguitar.xpm429
9 files changed, 547 insertions, 0 deletions
diff --git a/audio/tuxguitar/README b/audio/tuxguitar/README
new file mode 100644
index 000000000000..09616ee30358
--- /dev/null
+++ b/audio/tuxguitar/README
@@ -0,0 +1,2 @@
+TuxGuitar is a multitrack guitar tablature editor and player written
+in Java-SWT. It can open GuitarPro, PowerTab, and TablEdit files.
diff --git a/audio/tuxguitar/doinst.sh b/audio/tuxguitar/doinst.sh
new file mode 100644
index 000000000000..3857649f506a
--- /dev/null
+++ b/audio/tuxguitar/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+fi
diff --git a/audio/tuxguitar/slack-desc b/audio/tuxguitar/slack-desc
new file mode 100644
index 000000000000..ace20cb3908c
--- /dev/null
+++ b/audio/tuxguitar/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler-------------------------------------------------------|
+tuxguitar: TuxGuitar (A Multitrack tablature editor and player)
+tuxguitar:
+tuxguitar: TuxGuitar is a multitrack guitar tablature editor and player
+tuxguitar: written in Java-SWT. It can open GuitarPro, PowerTab, and
+tuxguitar: TablEdit files.
+tuxguitar:
+tuxguitar:
+tuxguitar:
+tuxguitar:
+tuxguitar:
+tuxguitar:
diff --git a/audio/tuxguitar/tuxguitar.1.gz b/audio/tuxguitar/tuxguitar.1.gz
new file mode 100644
index 000000000000..76e7a07fde8f
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.1.gz
Binary files differ
diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild
new file mode 100644
index 000000000000..38cfd505ad4d
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.SlackBuild
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Slackware build script for TuxGuitar
+# Written by Erik Hanson erik@slackbuilds.org
+
+PRGNAM=tuxguitar
+VERSION=1.1
+ARCH=x86 # Java
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION-linux-x86
+tar xvf $CWD/$PRGNAM-$VERSION-linux-x86.tar.gz
+cd $PRGNAM-$VERSION-linux-x86
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+# Manual install
+mkdir -p $PKG/usr/bin
+patch -p0 < $CWD/tuxguitar.patch # Fix the startup script
+install -m 0755 tuxguitar $PKG/usr/bin/tuxguitar
+
+mkdir -p $PKG/usr/share/{tuxguitar,pixmaps,applications}
+cp -r share/* $PKG/usr/share/tuxguitar
+install -m 0644 tuxguitar.jar $PKG/usr/share/tuxguitar/tuxguitar.jar
+install -m 0644 lib/itext.jar $PKG/usr/share/tuxguitar/itext.jar
+install -m 0644 lib/swt.jar $PKG/usr/share/tuxguitar/swt.jar
+install -m 0644 $CWD/tuxguitar.desktop $PKG/usr/share/applications/tuxguitar.desktop
+install -m 0644 $CWD/tuxguitar.xpm $PKG/usr/share/pixmaps/tuxguitar.xpm
+
+mkdir -p $PKG/usr/lib
+install -m 0644 lib/libtuxguitar-alsa-jni.so $PKG/usr/lib/libtuxguitar-alsa-jni.so
+
+mkdir -p $PKG/usr/man/man1
+install -m 0644 $CWD/tuxguitar.1.gz $PKG/usr/man/man1/tuxguitar.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -r doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/audio/tuxguitar/tuxguitar.desktop b/audio/tuxguitar/tuxguitar.desktop
new file mode 100644
index 000000000000..5f64b919a142
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.desktop
@@ -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
+Exec=tuxguitar
+Icon=tuxguitar
+Terminal=false
+Type=Application
+Categories=AudioVideo;Audio;
+MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb;audio/midi;
+#eof "$Id: tuxguitar.desktop,v 1.2 2008/03/22 23:32:25 rzr Exp $"
diff --git a/audio/tuxguitar/tuxguitar.info b/audio/tuxguitar/tuxguitar.info
new file mode 100644
index 000000000000..66b72c7f5097
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.info
@@ -0,0 +1,8 @@
+PRGNAM="tuxguitar"
+VERSION="1.1"
+HOMEPAGE="http://www.tuxguitar.com.ar/"
+DOWNLOAD="http://downloads.sourceforge.net/tuxguitar/tuxguitar-1.1-linux-x86.tar.gz"
+MD5SUM="9efad98f94eca0a25b4519bed5613f25"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="rworkman"
diff --git a/audio/tuxguitar/tuxguitar.patch b/audio/tuxguitar/tuxguitar.patch
new file mode 100644
index 000000000000..b297a2016445
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.patch
@@ -0,0 +1,17 @@
+--- tuxguitar 2009-04-04 05:45:46.863811994 -0500
++++ tuxguitar.new 2009-04-04 05:44:42.817812900 -0500
+@@ -23,7 +23,7 @@
+ LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
+ LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MOZILLA_FIVE_HOME}
+ ##CLASSPATH
+-CLASSPATH=$CLASSPATH:./tuxguitar.jar:lib/swt.jar:lib/itext.jar:share/
++CLASSPATH=$CLASSPATH:/usr/share/tuxguitar/tuxguitar.jar:/usr/share/tuxguitar/swt.jar:/usr/share/tuxguitar/itext.jar:/usr/share/tuxguitar/
+ ##MAINCLASS
+ MAINCLASS=org.herac.tuxguitar.gui.TGMain
+ ##JVM ARGUMENTS
+@@ -33,4 +33,4 @@
+ export LD_LIBRARY_PATH
+ export MOZILLA_FIVE_HOME
+ ##LAUNCH
+-${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.share.path="share/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
++${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.share.path="/usr/share/tuxguitar/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
diff --git a/audio/tuxguitar/tuxguitar.xpm b/audio/tuxguitar/tuxguitar.xpm
new file mode 100644
index 000000000000..c9194b57097e
--- /dev/null
+++ b/audio/tuxguitar/tuxguitar.xpm
@@ -0,0 +1,429 @@
+/* XPM */
+static char * tuxguitar_xpm[] = {
+"32 32 394 2",
+" c None",
+". c #727272",
+"+ c #6E6E6E",
+"@ c #707070",
+"# c #666666",
+"$ c #575757",
+"% c #4E4E4E",
+"& c #505050",
+"* c #5A5A5A",
+"= c #686868",
+"- c #545454",
+"; c #343434",
+"> c #1E1E1E",
+", c #1B1B1B",
+"' c #1D1D1D",
+") c #333333",
+"! c #585858",
+"~ c #292929",
+"{ c #0D0D0D",
+"] c #090909",
+"^ c #000000",
+"/ c #232323",
+"( c #363636",
+"_ c #303030",
+": c #656565",
+"< c #414141",
+"[ c #272727",
+"} c #B7B7B7",
+"| c #CCCCCC",
+"1 c #252525",
+"2 c #E2E2E2",
+"3 c #EFEFEF",
+"4 c #535353",
+"5 c #323232",
+"6 c #898989",
+"7 c #C8C8C8",
+"8 c #BDBDBD",
+"9 c #949598",
+"0 c #717374",
+"a c #BDBDBC",
+"b c #C8C8C9",
+"c c #B1B1B1",
+"d c #464646",
+"e c #313131",
+"f c #ABABAB",
+"g c #6C6C6D",
+"h c #3E4148",
+"i c #ADACAE",
+"j c #7E7E83",
+"k c #46494F",
+"l c #C2C2C1",
+"m c #434342",
+"n c #1A1C24",
+"o c #51545D",
+"p c #D8DCE8",
+"q c #CEC2A5",
+"r c #E3D186",
+"s c #D5C27C",
+"t c #CAC2B5",
+"u c #E3E9EC",
+"v c #6E707A",
+"w c #252732",
+"x c #8D896C",
+"y c #7A7457",
+"z c #DEBE73",
+"A c #FFD15B",
+"B c #FFEA91",
+"C c #FFE27C",
+"D c #FFCC5D",
+"E c #EFD99F",
+"F c #928A63",
+"G c #9C9672",
+"H c #C1C1C1",
+"I c #FFCA59",
+"J c #FDDD7E",
+"K c #FFDF65",
+"L c #FFBA28",
+"M c #FFBA2E",
+"N c #FFC548",
+"O c #FFC13E",
+"P c #FFB626",
+"Q c #FFB92B",
+"R c #FFDC68",
+"S c #FFD766",
+"T c #F3A617",
+"U c #9A9A9A",
+"V c #818181",
+"W c #C68209",
+"X c #DB890E",
+"Y c #ED9F16",
+"Z c #FFAD11",
+"` c #FFA90F",
+" . c #FFAC13",
+".. c #FFAB12",
+"+. c #FFA60A",
+"@. c #FEAD10",
+"#. c #E89611",
+"$. c #E58E06",
+"%. c #AAAAAA",
+"&. c #2B2B2B",
+"*. c #3B3B3B",
+"=. c #976C20",
+"-. c #E4910E",
+";. c #FFBA32",
+">. c #FFAC12",
+",. c #FFA303",
+"'. c #FFA405",
+"). c #FFB21A",
+"!. c #FBB02B",
+"~. c #C67705",
+"{. c #765C2E",
+"]. c #555251",
+"^. c #454748",
+"/. c #393838",
+"(. c #383838",
+"_. c #27313E",
+":. c #3D270A",
+"<. c #BF8531",
+"[. c #FFD768",
+"}. c #FFCC50",
+"|. c #FFCF57",
+"1. c #FFD162",
+"2. c #9E6720",
+"3. c #211810",
+"4. c #2A3645",
+"5. c #554035",
+"6. c #6C5346",
+"7. c #584337",
+"8. c #242626",
+"9. c #484848",
+"0. c #404040",
+"a. c #5C5C5B",
+"b. c #030814",
+"c. c #5A534C",
+"d. c #B07A3D",
+"e. c #B5783C",
+"f. c #B67C3E",
+"g. c #A3713D",
+"h. c #585759",
+"i. c #0B1017",
+"j. c #312C29",
+"k. c #58473E",
+"l. c #8A7B74",
+"m. c #705C50",
+"n. c #51392C",
+"o. c #3F2618",
+"p. c #757575",
+"q. c #646464",
+"r. c #272626",
+"s. c #2B2D2E",
+"t. c #8F9091",
+"u. c #64483E",
+"v. c #642B0F",
+"w. c #673617",
+"x. c #626062",
+"y. c #696F74",
+"z. c #45413E",
+"A. c #675750",
+"B. c #5D473C",
+"C. c #635148",
+"D. c #392B26",
+"E. c #7F7F7F",
+"F. c #444444",
+"G. c #4C4C4C",
+"H. c #505253",
+"I. c #83807C",
+"J. c #D7B9A7",
+"K. c #AA9387",
+"L. c #906E62",
+"M. c #804836",
+"N. c #62564F",
+"O. c #353331",
+"P. c #4F4F50",
+"Q. c #605550",
+"R. c #4C3B33",
+"S. c #48403E",
+"T. c #727273",
+"U. c #191919",
+"V. c #343535",
+"W. c #525150",
+"X. c #B9A28F",
+"Y. c #E7CAAB",
+"Z. c #A4866E",
+"`. c #5F4E47",
+" + c #554C47",
+".+ c #2C2927",
+"++ c #282829",
+"@+ c #32302E",
+"#+ c #595B5C",
+"$+ c #99847D",
+"%+ c #44494E",
+"&+ c #16171A",
+"*+ c #0B0C0B",
+"=+ c #0C0C0B",
+"-+ c #161616",
+";+ c #1C1E1F",
+">+ c #383735",
+",+ c #C4C3C2",
+"'+ c #928273",
+")+ c #4C423A",
+"!+ c #4D4641",
+"~+ c #454443",
+"{+ c #151516",
+"]+ c #3D3D3D",
+"^+ c #5C5C5C",
+"/+ c #DD9676",
+"(+ c #E9B9A4",
+"_+ c #968A7B",
+":+ c #353433",
+"<+ c #0F1115",
+"[+ c #0A090A",
+"}+ c #060606",
+"|+ c #000102",
+"1+ c #6A6F72",
+"2+ c #B7ACA4",
+"3+ c #674C39",
+"4+ c #403F3C",
+"5+ c #494A4B",
+"6+ c #111111",
+"7+ c #020202",
+"8+ c #D16B37",
+"9+ c #DFA46A",
+"0+ c #E5B273",
+"a+ c #B4975A",
+"b+ c #524629",
+"c+ c #080C15",
+"d+ c #221F19",
+"e+ c #353535",
+"f+ c #CCD6D8",
+"g+ c #B3937E",
+"h+ c #494C48",
+"i+ c #45494C",
+"j+ c #2D2D2D",
+"k+ c #050505",
+"l+ c #181818",
+"m+ c #2C2C2C",
+"n+ c #BC6735",
+"o+ c #C6540C",
+"p+ c #D9942A",
+"q+ c #DA8F1E",
+"r+ c #C09D5F",
+"s+ c #99874E",
+"t+ c #44381A",
+"u+ c #393D43",
+"v+ c #54524E",
+"w+ c #22211D",
+"x+ c #808683",
+"y+ c #CEA999",
+"z+ c #B8220B",
+"A+ c #963F2A",
+"B+ c #5C5F5B",
+"C+ c #444547",
+"D+ c #0B0B0B",
+"E+ c #424242",
+"F+ c #B6723E",
+"G+ c #BE4000",
+"H+ c #D5860B",
+"I+ c #DB9506",
+"J+ c #BE7A1C",
+"K+ c #A89D77",
+"L+ c #AB8017",
+"M+ c #79643E",
+"N+ c #98998D",
+"O+ c #AAAA96",
+"P+ c #9D9781",
+"Q+ c #7A3A1E",
+"R+ c #8D3A27",
+"S+ c #865B50",
+"T+ c #7E817F",
+"U+ c #6B6B6B",
+"V+ c #121212",
+"W+ c #070707",
+"X+ c #151515",
+"Y+ c #AE3407",
+"Z+ c #CC6B05",
+"`+ c #D9960C",
+" @ c #D78A01",
+".@ c #B5853A",
+"+@ c #DCA217",
+"@@ c #C07F11",
+"#@ c #B3B49D",
+"$@ c #B2AC91",
+"%@ c #50493D",
+"&@ c #3A4144",
+"*@ c #556364",
+"=@ c #7A8486",
+"-@ c #9C9C9E",
+";@ c #AAA9A9",
+">@ c #0F0F0F",
+",@ c #242424",
+"'@ c #A2461F",
+")@ c #B84100",
+"!@ c #D4800A",
+"~@ c #DC9008",
+"{@ c #C5811F",
+"]@ c #C09649",
+"^@ c #CF7302",
+"/@ c #9B6237",
+"(@ c #7E5239",
+"_@ c #4F4F4F",
+":@ c #767677",
+"<@ c #919090",
+"[@ c #A3A3A2",
+"}@ c #A9A9A9",
+"|@ c #888888",
+"1@ c #212121",
+"2@ c #1A1A1A",
+"3@ c #AD370C",
+"4@ c #BA5813",
+"5@ c #B89056",
+"6@ c #BF7A21",
+"7@ c #AC6125",
+"8@ c #B47C4C",
+"9@ c #AC4C26",
+"0@ c #4C1F0C",
+"a@ c #262E31",
+"b@ c #515151",
+"c@ c #5E5E5E",
+"d@ c #555555",
+"e@ c #030303",
+"f@ c #5B5B5B",
+"g@ c #A03911",
+"h@ c #A8441C",
+"i@ c #A7643D",
+"j@ c #A75B39",
+"k@ c #933A1C",
+"l@ c #563320",
+"m@ c #050301",
+"n@ c #010101",
+"o@ c #030302",
+"p@ c #19191C",
+"q@ c #23262B",
+"r@ c #2D3033",
+"s@ c #69250E",
+"t@ c #7A3014",
+"u@ c #763818",
+"v@ c #351B11",
+"w@ c #00040B",
+"x@ c #06070C",
+"y@ c #0E0E0F",
+"z@ c #101010",
+"A@ c #121111",
+"B@ c #121315",
+"C@ c #14161A",
+"D@ c #171B21",
+"E@ c #222426",
+"F@ c #393021",
+"G@ c #5E4408",
+"H@ c #7E580A",
+"I@ c #604505",
+"J@ c #312507",
+"K@ c #251D10",
+"L@ c #201C17",
+"M@ c #1E1D1A",
+"N@ c #1A1A1B",
+"O@ c #1E1E1C",
+"P@ c #26221D",
+"Q@ c #2D261B",
+"R@ c #372B15",
+"S@ c #5C400B",
+"T@ c #8B5B03",
+"U@ c #9B6505",
+"V@ c #C98709",
+"W@ c #C58107",
+"X@ c #BC7C06",
+"Y@ c #8F5D05",
+"Z@ c #6B4503",
+"`@ c #7D5304",
+" # c #654305",
+".# c #211704",
+"+# c #020204",
+"@# c #0B0804",
+"## c #503405",
+"$# c #865804",
+"%# c #764C02",
+"&# c #754D02",
+"*# c #B87A08",
+"=# c #B37608",
+"-# c #D08A09",
+";# c #845A06",
+"># c #352302",
+",# c #513703",
+"'# c #332102",
+")# c #6A4605",
+"!# c #3A2703",
+"~# c #352303",
+"{# c #6B4705",
+"]# c #3F2902",
+"^# c #030200",
+"/# c #191001",
+"(# c #513603",
+"_# c #483003",
+":# c #322102",
+"<# c #1E1501",
+" . + @ ",
+" # $ % & * = ",
+" - ; > , ' ' ) * ",
+" ! ~ { ] ^ ^ / ( _ : ",
+" < [ } | 1 ' 2 3 4 & ",
+" 5 6 7 8 9 0 a b c d ",
+" e f g h i j k @ l m ",
+" n o p q r s t u v w ",
+" x y z A B C D E F G H ",
+" I J K L M N O P Q R S T 8 U V ",
+" W X Y Z ` ...+.@.#.$. %.: &.*. ",
+" =.-.;.>.,.'.).!.~.{. ].^./.! (. ",
+" _.:.<.[.}.|.1.2.3.4. 5.6.7.8.9.0.: ",
+" a.[ b.c.d.e.f.g.h.i.j.k.l.m.n.o. ",
+" p.q.r.s.t.u.v.w.x.y.z.A.B.C.D. ",
+" E.= F.G.H.I.J.K.L.M.N.O.P.Q.R.S. ",
+" T.) U.> V.W.X.Y.Z.`. +.+++@+/ #+ ",
+" $+%+&+*+=+-+;+>+,+'+)+!+~+{+' [ ]+^+ ",
+" /+(+_+:+<+[+}+[+|+1+2+3+4+5+6+7+1 ; % ",
+" 8+9+0+a+b+c+6+d+^ e+f+g+h+i+j+k+}+l+m+ ",
+" n+o+p+q+r+s+t+u+v+w+x+y+z+A+B+C+, 7+^ D+E+ ",
+" F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+< V+W+X+]+ ",
+" Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@U+W+>@,@ ",
+" '@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@W+2@(. ",
+" 3@4@5@6@7@8@9@0@a@b@c@d@( ] e@2@5 f@ ",
+" g@h@i@j@k@l@m@^ n@^ ^ o@{ p@q@r@ ",
+" s@t@u@v@w@x@y@z@A@B@C@D@E@F@ ",
+" G@H@I@J@K@L@M@N@O@P@Q@R@S@T@U@ ",
+" V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;# ",
+" >#,#'#)#!#~#{#]#^#^ ^ /#(#>#/#_#:#<# ",
+" ",
+" "};