SHOW:
|
|
- or go back to the newest paste.
1 | === Grab a couple of optional packages === | |
2 | ||
3 | installoptionalpackage xz-utils mercurial | |
4 | ||
5 | === Install cpio 2.10 === | |
6 | ||
7 | http://ftp.gnu.org/gnu/cpio/cpio-2.10.tar.gz | |
8 | setgcc gcc4 | |
9 | ./configure --prefix=/boot/common LDFLAGS=-lnetwork | |
10 | make | |
11 | make install | |
12 | ||
13 | === Get the freetype optional package === | |
14 | ||
15 | http://haiku-files.org/files/optional-packages/lib/freetype-2.4.6-x86-gcc2-2012-03-15.zip | |
16 | ||
17 | === Get the X11 headers === | |
18 | ||
19 | - | There's no real dependency on the X11 libraries, just a couple of things |
19 | + | There's no dependency on the X11 libraries, just a couple of definitions in the headers |
20 | - | in the headers I've yet to get rid of. |
20 | + | which I haven't got rid of yet. |
21 | ||
22 | http://dl.dropbox.com/u/61946213/x11hdrs.tar | |
23 | Put them in /boot/develop/headers/3rdparty/X11 | |
24 | ||
25 | === Get the boot jdk === | |
26 | ||
27 | http://dl.dropbox.com/u/61946213/j2sdk-haiku.tar.xz | |
28 | Grab the cacerts file from here: http://dl.dropbox.com/u/61946213/cacerts | |
29 | Put this file in /path/to/j2sdk-image/jre/lib/security/, overwriting the existing file. | |
30 | ||
31 | === Install ant === | |
32 | ||
33 | http://archive.apache.org/dist/ant/source/apache-ant-1.8.4-src.tar.gz | |
34 | export LIBRARY_PATH=/path/to/j2sdk-image/jre/lib/i386/:$LIBRARY_PATH | |
35 | export JAVA_HOME=/path/to/j2sdk-image | |
36 | export ANT_HOME=/path/to/ant/install/dir | |
37 | sh build.sh install-lite | |
38 | ||
39 | === Clone the Haiku jdk port repos === | |
40 | ||
41 | hg clone https://bitbucket.org/hamishm/haiku-jdk jdk | |
42 | hg clone https://bitbucket.org/hamishm/haiku-jdk-langtools jdk/langtools | |
43 | hg clone https://bitbucket.org/hamishm/haiku-jdk-hotspot jdk/hotspot | |
44 | hg clone https://bitbucket.org/hamishm/haiku-jdk-jaxp jdk/jaxp | |
45 | hg clone https://bitbucket.org/hamishm/haiku-jdk-jaxws jdk/jaxws | |
46 | hg clone https://bitbucket.org/hamishm/haiku-jdk-corba jdk/corba | |
47 | hg clone https://bitbucket.org/hamishm/haiku-jdk-jdk jdk/jdk | |
48 | - | === Get on the right branch in the jdk subrepo === |
48 | + | |
49 | === Build the jdk === | |
50 | - | I'll be merging this branch into the default branch soon enough, I just |
50 | + | |
51 | - | haven't got round to it yet. |
51 | + | |
52 | setgcc gcc4 | |
53 | - | (cd /path/to/jdk/jdk) |
53 | + |