Tux Guitar

Help

  Forums : Help
Subject CVS won't build/already have newer version



Author Message
Kreuger
Post: Dec 16th 2007 at 12:58 AM

When I tried to build it from source, it said
/home/kreuger/TuxGuitar/TuxGuitar-cvs-src/build.xml:41: /home/kreuger/TuxGuitar/TuxGuitar-cvs-src/lib not found.

I edited the build.properties to use the Ubuntu version because thats what I have and Gdebi says that I have a newer version already installed.


Back to Top
 
Julian
Post: Dec 17th 2007 at 8:49 AM

Hi, take a look to "build.properties" SWT paths.
As default, it is setted as:
lib.swt.jni=lib/
lib.swt.jar=lib/swt.jar

but swt binary files are not included as default on tuxguitar sources, so you must manually download, and add them to the lib folder.

However, if you are building Ubuntu verion, that lines should be commented ( or removed )..

your build.properties should be:
########## UBUNTU BUILD PROPERTIES ##########
lib.swt.jni=/usr/lib/jni/
lib.swt.jar=/usr/lib/java/swt.jar
dist.os=ubuntu
dist.version=0.9-ubuntu-6.10-1
dist.prefix=/usr
dist.jar.path=${dist.prefix}/share/java/
dist.bin.path=${dist.prefix}/bin/
dist.share.path=${dist.prefix}/share/tuxguitar-${dist.version}/
dist.doc.path=${dist.prefix}/share/doc/tuxguitar-${dist.version}/
###########################################################

> Gdebi says that I have a newer version already installed.

also you should change this line:
"dist.version=0.9-ubuntu-6.10-1"

maybe to:
dist.version=1.0-ubuntu-7.10-1


Bye


Back to Top
 
Kreuger
Post: Dec 19th 2007 at 12:01 AM

My file does have that and I have
libswt3.2-gtk-java
libswt3.2-gtk-jni both installed. Not sure whats wrong.

Also, I did try changing that to ubuntu 7.10 and it still said it.


Back to Top
 
Julian
Post: Dec 19th 2007 at 8:08 AM

Wait.. i think i didn't understand right the problem..

could you build the sources ?
i think yes because you are open the .deb with GDebi :)

So the problem is the version ?
what is the "exactly" name of the generated file,
and what "dist.version" says on your build.properties ?

> Also, I did try changing that to ubuntu 7.10 and it still said it.
"ubuntu-7.10" is not important... it's used to users know the package is for that OS..
did you change "0.9" To "1.0" ?.. without it, "dpkg" can't know the package is newer than the other. so never will show it as upgradable.

bye


Back to Top
 
Kreuger
Post: Dec 27th 2007 at 5:57 PM

Yeah it seems to build fine so I guess it's the build. I'll try changing it to 0.9a or something to see if it works


Back to Top