chiark / gitweb /
thread fixes: set latch = null if we don't need it
[jarrg-ian.git] / README
1 JARRG - a client for uploading to Yarrg and PCTB
2 ================================================
3
4 See the YARRG website for more information:
5   http://yarrg.chiark.net/upload
6
7 Linux
8 -----
9
10 To run on Linux run this command from wherever you unpacked the JARRG
11 distribution:
12
13 ./jarrg /path/to/yohoho/yohoho
14
15
16 Windows
17 -------
18
19 On Windows, double-click jarrg-setup.exe to install JARRG.  It will do
20 one of two things:
21
22 1) Just work, in which case you'll have a new icon on your desktop which
23    runs Puzzle Pirates with JARRG integrated
24
25 2) Fail, and tell you what to do next.  Usually this means installing a
26    Java Runtime Environment (or JVM) and then uninstalling and re-
27    installing Puzzle Pirates.  (Don't worry about reinstalling; you
28    won't lose any of your pirates or pieces of eight!)
29
30
31 Source
32 ------
33
34 This applies only if you have downloaded "jarrg-source.tar.gz".
35 The "jarrg-linux.tar.gz" package contains only the executable files.
36
37 To build from source you will need a Java SDK, version 6, and Apache
38 ant, as well as NSIS to build the Windows installer package.
39
40 You can run the script "build-sh" do to the build:
41   ./build-sh
42
43 It will create in the current directory (the top level of the build)
44 the .jar files for JARRG and also the two distribution files:
45   jarrg-setup.exe   the installer for windows users
46   jarrg.tar.gz      a filtered tarball of this whole directory, for linux users
47
48 Currently the build only seems to work with the Sun JDK, so the script
49 sets JAVA_HOME to /usr/lib/jvm/java-6-sun.  If that's not what you
50 want, set JAVA_HOME yourself.
51
52 To make shipping the files a bit easier it prints a rune for rsyncing
53 the files to the test version on the distribution site.  You can set
54 JARRG_PUBLISH_BASE and ..._DIR to control the exact output.
55
56 If you want to clean out the build directory to make sure you get a
57 rebuild from scratch, say
58   git-clean -x -f -d
59
60
61 Bugs
62 ----
63
64 Current known bugs include:
65
66 * Does not work from the Booty Pillaged screen, even though that has a
67   buy/sell commodities interface.
68