Building Eclipse
The eclipse port in packages was to old to support the Android SDK.
Download the initial work from http://www.intricatesoftware.com/OpenBSD/ports/current/ as referenced from OpenBSD Ports Mailing list.
- move devel/eclipse to devel/eclipse3.2
- Changes to Makefile (diff to follow)
- Need to add: ACCEPT_JRL_LICENSE=Yes to /etc/mk.conf
- collect all the other packages required (see below)
- You need to accept the licence for the BSD JDK patch set from here
- pkg_add gtar before running make
- sha256 was wrong for xalan in jdk/1.5/distinfo
- changed memory limit from
ulimit -d 1520412
toulimit -d 22072576
to allow jdk 1.6 java vm to build xulrunner 1.9 did not have gtkembedmoz library so had to use xulrunner 1.8- xulrunner 1.9 had to be used as 1.8 was being deprecated in OpenBSD
Needed to get the following files:
*** You're missing files: jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar bsd-jdk16-patches-4.tar.bz2 *** You must manually fetch the distribution files, place *** them in /usr/ports/distfiles and then run make again. *** Get the JDK 6u3 Source file: *** http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar *** and the JDK Binaries file: *** http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar *** and the Mozilla Binaries file: *** http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar *** *** Get the BSD patchset file: *** bsd-jdk16-patches-4.tar.bz2 *** from http://www.eyesbeyond.com/freebsddom/java/jdk16.html
*** You're missing files: jdk-1_5_0_16-fcs-src-b02-jrl-28_may_2008.jar jdk-1_5_0_16-fcs-bin-b02-jrl-28_may_2008.jar bsd-jdk15-patches-9.tar.bz2 jdk-1_5_0_16-solaris-i586.tar.Z xalan-j_2_7_0-bin.tar.gz *** You must manually fetch the distribution files, place *** them in /usr/ports/distfiles and then run make again. *** Get the Update 16 Source under the JRL license file: *** jdk-1_5_0_16-fcs-src-b02-jrl-28_may_2008.jar and *** the Source Binaries needed for Source Build file: *** jdk-1_5_0_16-fcs-bin-b02-jrl-28_may_2008.jar *** from http://download.java.net/tiger/tiger_u16/ *** Get the BSD patchset file: *** bsd-jdk15-patches-9.tar.bz2 *** from http://www.eyesbeyond.com/freebsddom/java/jdk15.html *** Get JDK 5.0 Update 16 for Solaris x86 packages file: *** jdk-1_5_0_16-solaris-i586.tar.Z *** from http://java.sun.com/javase/downloads/index_jdk5.jsp or *** http://java.sun.com/products/archive/j2se/5.0_16/index.html *** Get the Apache Xalan Java file: *** xalan-j_2_7_0-bin.tar.gz *** from http://archive.apache.org/dist/xml/xalan-j/