It is currently Mon May 05, 2025 1:43 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Offline
 Post subject: Go-gui question: can I just use the jar file?
Post #1 Posted: Sat Feb 27, 2016 10:29 am 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
I like gogui, it looks quite pretty. I like how it automatically labels variations on the board when we create multiple branches at a move (like eidogo).

I was trying to build it for mac and I've almost got it but I need to download xcode and that's a pain.

I noticed there is a file gogui.jar in the lib folder. Can I just use this? Was the mac build from source thing just to get a .app package?

Is there anything the program won't do if I just use this jar file and save the hassle of building it?

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: Go-gui question: can I just use the jar file?
Post #2 Posted: Sun Feb 28, 2016 3:01 pm 
Dies with sente
User avatar

Posts: 71
Liked others: 10
Was liked: 19
Rank: 20 kyu
Did you try this to build the app:
http://gogui.sourceforge.net/doc/invocation.html

I used ant to built 1.4.2 on Mac OS in 2012 and it worked fine.

Top
 Profile  
 
Offline
 Post subject: Re: Go-gui question: can I just use the jar file?
Post #3 Posted: Sun Feb 28, 2016 4:01 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Yeah there are a few problems...

Excerpt from the README from the latest zipfile download:

Compiling GoGui from the sources needs the Ant build system.

The HTML documentation is generated using Docbook. This requires that the XSL transformer xsltproc and the Docbook XSL Stylesheets are installed. The location of the Docbook XSL directory can be defined with the ant option -Ddocbook-xsl.dir=directory (default is /usr/share/xml/docbook/stylesheet/docbook-xsl).
To run the validation of the GoGui documentation XML sources (which is part of the check target in build.xml), a local copy of the Docbook DTD 4.2 needs to be installed. The location of the file can be defined with the ant option -Ddocbook.dtd-4.2=file (default is /usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd).

The file quaqua.jar from the Quaqua Look and Feel (http://www.randelshofer.ch/quaqua) needs to be downloaded and copied to lib/quaqua.jar. The recommended version tested with GoGui is in http://www.randelshofer.ch/quaqua/files ... nested.zip For building GoGui with limited support for the Mac, Quaqua can be disabled by invoking ant with the option -Dquaqua.ignore=true. GoGui will use Quaqua if it finds the file quaqua.jar in the same directory as gogui.jar, so it is still possible to manually copy it there later.

Problems are:

  • The xcode paths are hardcoded and it's all changed in El Capitan
  • The homebrew xsltproc isn't liked very much by gogui
  • The build depends on a full xcode install
  • The Docbook file and xsltproc are required libs otherwise the build falls over due to checks in the build.xml

I hate building things from source. It never works.

HOWEVER the link you provided made me look in the bin directory and the gogui script just does some java install checks and then points to gogui.jar. So I'm confident now that I can just run the jar and forget about installing it.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: Go-gui question: can I just use the jar file?
Post #4 Posted: Sun Feb 28, 2016 10:58 pm 
Dies with sente
User avatar

Posts: 71
Liked others: 10
Was liked: 19
Rank: 20 kyu
I also hate building from source, always need to patch everything. :scratch:

By the way I also remember having used the jar file and did not notice any inconvenience apart that it was not possible to open sgf files in gogui directly by associating them to Gogui. Should work.


This post by pleiade67 was liked by: Jujube
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group