ports/112172: New port: audio/tuxguitar A Multitrack tablature editor and player written in Java-SWT

Pietro Cerutti gahr at gahr.ch
Thu Apr 26 22:40:06 UTC 2007


>Number:         112172
>Category:       ports
>Synopsis:       New port: audio/tuxguitar A Multitrack tablature editor and player written in Java-SWT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 22:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 6.2-STABLE
>Organization:
Bern University of Applied Sciences - Engineering and Information Technology
>Environment:
FreeBSD gahrtop.localhost 6.2-STABLE FreeBSD 6.2-STABLE #17: Mon Apr 23 14:26:15 CEST 2007     root at gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034  i386
>Description:
This is a port of TuxGuitar, a Multitrack tablature editor and player written in Java-SWT.

http://www.tuxguitar.com.ar/ 
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tuxguitar
#	tuxguitar/Makefile
#	tuxguitar/distinfo
#	tuxguitar/files
#	tuxguitar/files/patch-build-freebsd.xml.diff
#	tuxguitar/files/patch-build.properties.diff
#	tuxguitar/pkg-descr
#	tuxguitar/pkg-plist
#
echo c - tuxguitar
mkdir -p tuxguitar > /dev/null 2>&1
echo x - tuxguitar/Makefile
sed 's/^X//' >tuxguitar/Makefile << 'END-of-tuxguitar/Makefile'
X# New ports collection makefile for:   tuxguitar
X# Date created:        26 April 2007
X# Whom:                Pietro Cerutti (gahr at gahr.ch)
X#
X# $FreeBSD$
X#
X
XPORTNAME=		tuxguitar
XPORTVERSION=	0.9.1
XCATEGORIES=		audio java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=${PORTNAME}
XDISTNAME=		TuxGuitar-0.9.1-src
X
XMAINTAINER=		gahr at gahr.ch
XCOMMENT=			A Multitrack tablature editor and player
X
XBUILD_DEPENDS=	${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
X					${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
X
XWRKSRC=			${WRKDIR}/TuxGuitar-0.9.1-src
X
XUSE_JAVA=		yes
XJAVA_VERSION=	1.5+
XUSE_ANT=			yes
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/TuxGuitar.jar ${JAVAJARDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/tuxguitar ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	(cd ${WRKSRC}/share/ && ${COPYTREE_SHARE} \* ${DATADIR}/)
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-tuxguitar/Makefile
echo x - tuxguitar/distinfo
sed 's/^X//' >tuxguitar/distinfo << 'END-of-tuxguitar/distinfo'
XMD5 (TuxGuitar-0.9.1-src.tar.gz) = df2b82aca04919979ab7913a098bcc63
XSHA256 (TuxGuitar-0.9.1-src.tar.gz) = c4e3832e4e4befdfcd86860440b51522409bc90436e4027f4c0581217c53f62c
XSIZE (TuxGuitar-0.9.1-src.tar.gz) = 584005
END-of-tuxguitar/distinfo
echo c - tuxguitar/files
mkdir -p tuxguitar/files > /dev/null 2>&1
echo x - tuxguitar/files/patch-build-freebsd.xml.diff
sed 's/^X//' >tuxguitar/files/patch-build-freebsd.xml.diff << 'END-of-tuxguitar/files/patch-build-freebsd.xml.diff'
X--- build-freebsd.xml.orig	Thu Apr 26 14:30:52 2007
X+++ build-freebsd.xml	Thu Apr 26 14:30:39 2007
X@@ -0,0 +1,60 @@
X+<?xml version="1.0" encoding="iso-8859-1"?>
X+
X+<project name="Tux Guitar" basedir="." >
X+    <description>
X+        Tux-Guitar
X+    </description>
X+	
X+	<property name="file.script" value="tuxguitar" />
X+	<property name="file.properties" value="${src.build.dir}${file.separator}defaults.properties" />
X+	
X+	<target name="clean" >	
X+		<delete quiet="true" file="tuxguitar" />
X+	</target>		
X+	
X+	<target name="install" >	
X+		<mkdir dir="${build.bin.dir}" />
X+		<copy todir="${build.bin.dir}">
X+		    <fileset file="${file.script}"/>
X+		</copy>		
X+		<chmod file="${build.bin.dir}/${file.script}" perm="755"/>
X+	</target>			
X+	
X+	<target name="build"  >	
X+		<echo file="${file.properties}" append="false">font.default=Sans,6,2${line.separator}</echo>
X+		<echo file="${file.properties}" append="true">font.note=Sans,7,1${line.separator}</echo>
X+		<echo file="${file.properties}" append="true">font.time-signature=Sans,13,3${line.separator}</echo>				
X+		<echo file="${file.properties}" append="true">font.printer.default=Sans,6,2${line.separator}</echo>
X+		<echo file="${file.properties}" append="true">font.printer.note=Sans,6,0${line.separator}</echo>
X+		<echo file="${file.properties}" append="true">font.printer.time-signature=Sans,12,3${line.separator}</echo>		
X+		
X+		
X+		<echo file="${file.script}" append="false">#!/bin/sh${line.separator}</echo>			
X+		<echo file="${file.script}" append="true">##SCRIPT DIR${line.separator}</echo>
X+		<echo file="${file.script}" append="true">DIR_NAME=`dirname "$0"`${line.separator}</echo>
X+		<echo file="${file.script}" append="true">DIR_NAME=`cd "$DIR_NAME"; pwd`${line.separator}</echo>
X+		<echo file="${file.script}" append="true">cd "${DIR_NAME}"${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##JAVA${line.separator}</echo>
X+		<echo file="${file.script}" append="true">if [ "${JAVA}" = "" ]; then${line.separator}</echo>
X+		<echo file="${file.script}" append="true">	if [ "${JAVA_HOME}" != "" ]; then${line.separator}</echo>
X+		<echo file="${file.script}" append="true">  		JAVA=${JAVA_HOME}/bin/java${line.separator}</echo>
X+		<echo file="${file.script}" append="true">	else${line.separator}</echo>
X+		<echo file="${file.script}" append="true">  		JAVA=java${line.separator}</echo>
X+		<echo file="${file.script}" append="true">	fi${line.separator}</echo>
X+		<echo file="${file.script}" append="true">fi${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##CLASSPATH${line.separator}</echo>
X+		<echo file="${file.script}" append="true">CLASSPATH=$CLASSPATH:${build.jar.dir}TuxGuitar.jar:${lib.swt.jar}:${lib.itext.jar}:${build.share.dir}${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##LIBRARY_PATH${line.separator}</echo>
X+		<echo file="${file.script}" append="true">LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${lib.swt.jni}${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##MAINCLASS${line.separator}</echo>
X+		<echo file="${file.script}" append="true">MAINCLASS=org.herac.tuxguitar.gui.TuxGuitar${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##JVM ARGUMENTS${line.separator}</echo>
X+		<echo file="${file.script}" append="true">VM_ARGS="-Xms128m -Xmx128m"${line.separator}</echo>
X+		<echo file="${file.script}" append="true">##LAUNCH${line.separator}</echo>
X+		<echo file="${file.script}" append="true">${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"${line.separator}</echo>
X+		<chmod file="${file.script}" perm="755"/>
X+	</target>		
X+	
X+	<target name="package" />	
X+	
X+</project>
END-of-tuxguitar/files/patch-build-freebsd.xml.diff
echo x - tuxguitar/files/patch-build.properties.diff
sed 's/^X//' >tuxguitar/files/patch-build.properties.diff << 'END-of-tuxguitar/files/patch-build.properties.diff'
X--- build.properties.orig	Tue Jan 22 22:30:10 2008
X+++ build.properties	Thu Apr 26 22:47:43 2007
X@@ -1,51 +1,11 @@
X-########## DEFAULT LINUX BUILD PROPERTIES ##########
X-lib.swt.jni=lib/
X-lib.swt.jar=lib/swt.jar
X-lib.itext.jar=lib/itext-1.4.5.jar
X-lib.janel-ant.jar=lib/janel-ant-0.1.jar
X+########## FREEBSD BUILD PROPERTIES ##########
X+lib.swt.jni=/usr/local/lib
X+lib.swt.jar=/usr/local/share/java/classes/swt.jar
X+lib.itext.jar=/usr/local/share/java/classes/itext.jar
X build.version=0.9
X-build.dist=linux
X-build.jar.dir=./
X-build.bin.dir=./
X-build.share.dir=./share/
X-build.doc.dir=./doc/
X+build.dist=freebsd
X+build.jar.dir=/usr/local/share/java/classes/
X+build.bin.dir=/usr/local/bin
X+build.share.dir=/usr/local/share/tuxguitar/
X+build.doc.dir=/usr/local/share/doc/TuxGuitar-${build.version}
X build.manifest.classpath=${lib.swt.jar} ${lib.itext.jar} ${build.share.dir}
X-
X-########## UBUNTU DAPPER BUILD PROPERTIES ##########
X-#lib.swt.jni=/usr/lib/jni/
X-#lib.swt.jar=/usr/lib/java/swt.jar
X-#lib.itext.jar=/usr/lib/java/itext-1.4.5.jar
X-#build.version=0.9-ubuntu-6.10-1
X-#build.dist=ubuntu
X-#build.prefix=/usr
X-#build.jar.dir=${build.prefix}/lib/java/
X-#build.bin.dir=${build.prefix}/bin/
X-#build.share.dir=${build.prefix}/share/TuxGuitar-${build.version}/
X-#build.doc.dir=${build.prefix}/share/doc/TuxGuitar-${build.version}/
X-#build.manifest.classpath=${lib.swt.jar} ./itext-1.4.2.jar ${build.share.dir}
X-
X-########## DEFAULT MAC BUILD PROPERTIES ##########
X-#lib.swt.jni=lib/
X-#lib.swt.jar=lib/swt.jar
X-#lib.itext.jar=lib/itext-1.4.5.jar
X-#lib.janel-ant.jar=lib/janel-ant-0.1.jar
X-#build.version=0.9
X-#build.dist=mac
X-#build.jar.dir=./
X-#build.bin.dir=./
X-#build.share.dir=./share/
X-#build.doc.dir=./doc/
X-#build.manifest.classpath=${lib.swt.jar} ${lib.itext.jar} ${build.share.dir}
X-
X-########## WINDOWS BUILD PROPERTIES ############
X-#lib.swt.jni=lib\\
X-#lib.swt.jar=lib\\swt.jar
X-#lib.itext.jar=lib\\itext-1.4.5.jar
X-#lib.janel-ant.jar=lib\\janel-ant-0.1.jar
X-#build.version=0.9
X-#build.dist=windows
X-#build.jar.dir=
X-#build.bin.dir=
X-#build.share.dir=share\\
X-#build.doc.dir=doc\\
X-#build.manifest.classpath=${lib.swt.jar} ${lib.itext.jar} ${build.share.dir}
X\ No newline at end of file
END-of-tuxguitar/files/patch-build.properties.diff
echo x - tuxguitar/pkg-descr
sed 's/^X//' >tuxguitar/pkg-descr << 'END-of-tuxguitar/pkg-descr'
XThis is a port of TuxGuitar, a multitrack tablature editor and player writen in Java-SWT.
X
XWWW: http://www.tuxguitar.com.ar/
END-of-tuxguitar/pkg-descr
echo x - tuxguitar/pkg-plist
sed 's/^X//' >tuxguitar/pkg-plist << 'END-of-tuxguitar/pkg-plist'
Xbin/tuxguitar
Xshare/java/classes/TuxGuitar.jar
Xshare/tuxguitar/files/transport_last_2.png
Xshare/tuxguitar/files/print-preview.png
Xshare/tuxguitar/files/icon-48x48.png
Xshare/tuxguitar/files/32.png
Xshare/tuxguitar/files/closerepeat.png
Xshare/tuxguitar/files/grace.png
Xshare/tuxguitar/files/2.png
Xshare/tuxguitar/files/silence1.gif
Xshare/tuxguitar/files/silence4.gif
Xshare/tuxguitar/files/transport_stop_2.png
Xshare/tuxguitar/files/tiednote.png
Xshare/tuxguitar/files/doubledotted.png
Xshare/tuxguitar/files/transport_previous_1.png
Xshare/tuxguitar/files/transport_icon_first_1.png
Xshare/tuxguitar/files/icon-16x16.png
Xshare/tuxguitar/files/new.png
Xshare/tuxguitar/files/langoption.gif
Xshare/tuxguitar/files/icon-64x64.png
Xshare/tuxguitar/files/transport_first_2.png
Xshare/tuxguitar/files/silence8.gif
Xshare/tuxguitar/files/silence1.png
Xshare/tuxguitar/files/chord.png
Xshare/tuxguitar/files/fretboard.png
Xshare/tuxguitar/files/silence2.gif
Xshare/tuxguitar/files/transport_icon_next_1.png
Xshare/tuxguitar/files/bend.gif
Xshare/tuxguitar/files/transport_last_1.png
Xshare/tuxguitar/files/transport_icon_last_1.png
Xshare/tuxguitar/files/undo.png
Xshare/tuxguitar/files/silence64.gif
Xshare/tuxguitar/files/fret.png
Xshare/tuxguitar/files/firstfret.png
Xshare/tuxguitar/files/save.png
Xshare/tuxguitar/files/transport_icon_previous_2.png
Xshare/tuxguitar/files/tupleto.png
Xshare/tuxguitar/files/transport_icon_stop_1.png
Xshare/tuxguitar/files/redo.png
Xshare/tuxguitar/files/transport_icon_first_2.png
Xshare/tuxguitar/files/transport_icon_play_1.png
Xshare/tuxguitar/files/transport_next_1.png
Xshare/tuxguitar/files/tempo.png
Xshare/tuxguitar/files/natural.gif
Xshare/tuxguitar/files/save-as.png
Xshare/tuxguitar/files/silence2.png
Xshare/tuxguitar/files/4.png
Xshare/tuxguitar/files/transport_first_1.png
Xshare/tuxguitar/files/splash.png
Xshare/tuxguitar/files/transport_previous_2.png
Xshare/tuxguitar/files/timesignature.png
Xshare/tuxguitar/files/silence8.png
Xshare/tuxguitar/files/flat.gif
Xshare/tuxguitar/files/transport_icon_last_2.png
Xshare/tuxguitar/files/icon-32x32.png
Xshare/tuxguitar/files/transport_icon_next_2.png
Xshare/tuxguitar/files/transport_pause.png
Xshare/tuxguitar/files/silence4.png
Xshare/tuxguitar/files/transport_stop_1.png
Xshare/tuxguitar/files/icon.png
Xshare/tuxguitar/files/tremolo_bar.png
Xshare/tuxguitar/files/transport_icon_previous_1.png
Xshare/tuxguitar/files/transport_play_2.png
Xshare/tuxguitar/files/dotted.png
Xshare/tuxguitar/files/openrepeat.png
Xshare/tuxguitar/files/transport_icon_pause.png
Xshare/tuxguitar/files/sharp.gif
Xshare/tuxguitar/files/silence32.gif
Xshare/tuxguitar/files/print.png
Xshare/tuxguitar/files/1.png
Xshare/tuxguitar/files/deadnote.png
Xshare/tuxguitar/files/option_view.png
Xshare/tuxguitar/files/icon-96x96.png
Xshare/tuxguitar/files/transport.png
Xshare/tuxguitar/files/16.png
Xshare/tuxguitar/files/transport_icon_play_2.png
Xshare/tuxguitar/files/open.png
Xshare/tuxguitar/files/silence16.gif
Xshare/tuxguitar/files/transport_icon_stop_2.png
Xshare/tuxguitar/files/8.png
Xshare/tuxguitar/files/mixer.png
Xshare/tuxguitar/files/icon.icns
Xshare/tuxguitar/files/transport_next_2.png
Xshare/tuxguitar/files/transport_play_1.png
Xshare/tuxguitar/files/64.png
Xshare/tuxguitar/files/option_style.png
Xshare/tuxguitar/files/option_sound.png
Xshare/tuxguitar/files/marker_first.png
Xshare/tuxguitar/files/marker_last.png
Xshare/tuxguitar/files/marker_list.png
Xshare/tuxguitar/files/marker_previous.png
Xshare/tuxguitar/files/marker_next.png
Xshare/tuxguitar/files/marker_add.png
Xshare/tuxguitar/files/marker_remove.png
Xshare/tuxguitar/files/about_authors.png
Xshare/tuxguitar/files/about_license.png
Xshare/tuxguitar/files/song_properties.png
Xshare/tuxguitar/files/about_description.png
Xshare/tuxguitar/files/track_add.png
Xshare/tuxguitar/files/track_remove.png
Xshare/tuxguitar/files/triplet_feel_2.png
Xshare/tuxguitar/files/triplet_feel_1.png
Xshare/tuxguitar/files/triplet_feel_3.png
Xshare/tuxguitar/files/layout_score.png
Xshare/tuxguitar/files/tempoicon.png
Xshare/tuxguitar/files/layout_page.png
Xshare/tuxguitar/files/layout_linear.png
Xshare/tuxguitar/files/layout_multitrack.png
Xshare/tuxguitar/files/effect_trill.png
Xshare/tuxguitar/files/clef_treble.png
Xshare/tuxguitar/files/clef_alto.png
Xshare/tuxguitar/files/clef_tenor.png
Xshare/tuxguitar/files/clef_bass.png
Xshare/tuxguitar/files/silence16.png
Xshare/tuxguitar/files/silence32.png
Xshare/tuxguitar/files/silence64.png
Xshare/tuxguitar/files/effect_accentuated.png
Xshare/tuxguitar/files/dynamic_ff.png
Xshare/tuxguitar/files/dynamic_mf.png
Xshare/tuxguitar/files/dynamic_p.png
Xshare/tuxguitar/files/dynamic_pp.png
Xshare/tuxguitar/files/dynamic_ppp.png
Xshare/tuxguitar/files/effect_bend.png
Xshare/tuxguitar/files/dynamic_mp.png
Xshare/tuxguitar/files/dynamic_fff.png
Xshare/tuxguitar/files/dynamic_f.png
Xshare/tuxguitar/files/effect_dead.png
Xshare/tuxguitar/files/effect_fade_in.png
Xshare/tuxguitar/files/effect_ghost.png
Xshare/tuxguitar/files/effect_grace.png
Xshare/tuxguitar/files/effect_hammer.png
Xshare/tuxguitar/files/effect_harmonic.png
Xshare/tuxguitar/files/effect_heavy_accentuated.png
Xshare/tuxguitar/files/effect_vibrato.png
Xshare/tuxguitar/files/effect_slide.png
Xshare/tuxguitar/files/effect_popping.png
Xshare/tuxguitar/files/effect_palm_mute.png
Xshare/tuxguitar/files/effect_slapping.png
Xshare/tuxguitar/files/effect_staccato.png
Xshare/tuxguitar/files/effect_tapping.png
Xshare/tuxguitar/files/effect_tremolo_bar.png
Xshare/tuxguitar/files/effect_tremolo_picking.png
Xshare/tuxguitar/files/edit_mode_edition.png
Xshare/tuxguitar/files/option_toolbars.png
Xshare/tuxguitar/files/edit_mode_selection.png
Xshare/tuxguitar/files/mixer_metronome.png
Xshare/tuxguitar/files/edit_mode_edition_no_natural.png
Xshare/tuxguitar/files/rect52758.png
Xshare/tuxguitar/lang/messages_pl.properties
Xshare/tuxguitar/lang/messages_en.properties
Xshare/tuxguitar/lang/messages_fr.properties
Xshare/tuxguitar/lang/messages.properties
Xshare/tuxguitar/lang/messages_es.properties
Xshare/tuxguitar/lang/messages_de.properties
Xshare/tuxguitar/lang/messages_pt.properties
Xshare/tuxguitar/scales/scales.xml
Xshare/doc/tuxguitar/AUTHORS
Xshare/doc/tuxguitar/CHANGES
Xshare/doc/tuxguitar/LICENSE
Xshare/doc/tuxguitar/README
X at dirrm share/tuxguitar/files
X at dirrm share/tuxguitar/lang
X at dirrm share/tuxguitar/scales
X at dirrm share/tuxguitar
X at dirrm share/doc/tuxguitar
END-of-tuxguitar/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list