Re: [proaudio] tuxguitar-0.8 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] tuxguitar-0.8
- From: Dominique Michel <dominique.michel@xxxxxxxxxxxx>
- Date: Tue, 26 Sep 2006 11:40:28 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
Le Thu, 21 Sep 2006 16:20:58 +0200,
Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :
> Dominique Michel wrote:
> > TuxGuitar-0.6 failed, it is a new version and I modified the ebuild to
> > install the 0-8 version.
> >
> > The only problem I get is with java. I have both blackdown and sun on my
> > system, and the blackdown is the default. I get an error when starting
> > tuxguitar. So I have done the following script to start it:
> >
> > #!/bin/bash
> > export JAVA=/opt/sun-jre-bin-1.5.0.06/bin/java
> > /opt/TuxGuitar-0.8-linux-gtk/tuxguitar
> >
> > But I am not sure, it work on my system, but it is many possibility on
> > gentoo.
> >
> > Ciao,
> > Dominique
> we should figure out how gentoo now handles java app as the
> java-configuration changed
> a bit.
>
> Greetz Frieder
>
It is a new system. It is some documentations:
http://www.gentoo.org/doc/en/java.xml
http://www.gentoo.org/proj/en/java/java-upgrade.xml
http://overlays.gentoo.org/proj/java/wiki/Common_Problems
It is a command to check the environment: /usr/bin/java-check-environment
This new environement is ~arch, so it is a lot of packages to add
in /etc/package.keyword. But other packages depend on it, and with time it will
be more.
With the new java config, it is 2 package, java-config-1 and java-config-2
1 is for 1.3 or 1.4 jdks, 2 for 1.5.
dev-libs/cyrus-sasl-2.1.22 use this new config.
In the ebuild, we find:
inherit eutils gnuconfig flag-o-matic java-pkg multilib
...
RDEPEND="...
java? ( =virtual/jdk-1.4* )
...
pkg_setup() {
use java && java-pkg_pkg_setup
...
src_compile() {...
myconf="${myconf} `use_enable java` `use_with java javahome
${JAVA_HOME}`"
...
# Bug #60769. Default location for java classes breaks OpenOffice.
# Thanks to axxo@xxxxxxxxxx for the solution.
cd "${S}"
if use java; then
jar -cvf ${PN}.jar -C java $(find java -name "*.class")
fi
...
more for this bug, but it is to be relevant only for cyrus.
The first time I try to install this package, I get an error message telling me
to run /usr/bin/java-check-environment
So, I think at it is the java-pkg eclass that tell me that.
After following the java upgrade guide, it just worked.
It is a devel guide: http://www.gentoo.org/proj/en/java/java-devel.xml
But I thing at it will not help with this version of tuxguitar. Otherwise, we
have to do an ebuild for the source packages. I take a look on it. Tuxguitar
use ant and eclipse. I have the first one in my sytem, but not eclipse, and I
don't know which eclipse package I must install.
Dominique