Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === Grab a couple of optional packages ===
- installoptionalpackage xz-utils mercurial
- === Install cpio 2.10 ===
- http://ftp.gnu.org/gnu/cpio/cpio-2.10.tar.gz
- setgcc gcc4
- ./configure --prefix=/boot/common LDFLAGS=-lnetwork
- make
- make install
- === Get the freetype optional package ===
- http://haiku-files.org/files/optional-packages/lib/freetype-2.4.6-x86-gcc2-2012-03-15.zip
- === Get the X11 headers ===
- There's no dependency on the X11 libraries, just a couple of definitions in the headers
- which I haven't got rid of yet.
- http://dl.dropbox.com/u/61946213/x11hdrs.tar
- Put them in /boot/develop/headers/3rdparty/X11
- === Get the boot jdk ===
- http://dl.dropbox.com/u/61946213/j2sdk-haiku.tar.xz
- Grab the cacerts file from here: http://dl.dropbox.com/u/61946213/cacerts
- Put this file in /path/to/j2sdk-image/jre/lib/security/, overwriting the existing file.
- === Install ant ===
- http://archive.apache.org/dist/ant/source/apache-ant-1.8.4-src.tar.gz
- export LIBRARY_PATH=/path/to/j2sdk-image/jre/lib/i386/:$LIBRARY_PATH
- export JAVA_HOME=/path/to/j2sdk-image
- export ANT_HOME=/path/to/ant/install/dir
- sh build.sh install-lite
- === Clone the Haiku jdk port repos ===
- hg clone https://bitbucket.org/hamishm/haiku-jdk jdk
- hg clone https://bitbucket.org/hamishm/haiku-jdk-langtools jdk/langtools
- hg clone https://bitbucket.org/hamishm/haiku-jdk-hotspot jdk/hotspot
- hg clone https://bitbucket.org/hamishm/haiku-jdk-jaxp jdk/jaxp
- hg clone https://bitbucket.org/hamishm/haiku-jdk-jaxws jdk/jaxws
- hg clone https://bitbucket.org/hamishm/haiku-jdk-corba jdk/corba
- hg clone https://bitbucket.org/hamishm/haiku-jdk-jdk jdk/jdk
- === Build the jdk ===
- (cd /path/to/jdk)
- setgcc gcc4
- ALT_BOOTDIR='/path/to/j2sdk-image' ALT_JDK_IMPORT_PATH='/path/to/j2sdk-image' ANT='/path/to/ant' ALT_OUTPUTDIR='/path/to/output/dir' ALLOW_DOWNLOADS='true' make
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement