pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import openjdk8-openjfx-0nb20160304 as wip/openjdk8-openjfx.



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Fri Mar 4 02:05:58 2016 +0100
Changeset:	0d32efe86eca11fc564b8107b3d64ec33cf561d7

Added Files:
	openjdk8-openjfx/DESCR
	openjdk8-openjfx/Makefile
	openjdk8-openjfx/PLIST
	openjdk8-openjfx/TODO
	openjdk8-openjfx/distinfo
	openjdk8-openjfx/patches/patch-build.gradle
	openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_build.sh
	openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_processIRDump.sh

Log Message:
Import openjdk8-openjfx-0nb20160304 as wip/openjdk8-openjfx.

OpenJFX is an open source, next generation client application platform for
desktop and embedded systems based on JavaSE.

XXX does not build yet.
Terrible build framework and lots of Linux specific stuff to sort out.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d32efe86eca11fc564b8107b3d64ec33cf561d7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openjdk8-openjfx/DESCR                             |  2 +
 openjdk8-openjfx/Makefile                          | 43 ++++++++++++++++++++++
 openjdk8-openjfx/PLIST                             |  1 +
 openjdk8-openjfx/TODO                              |  2 +
 openjdk8-openjfx/distinfo                          |  9 +++++
 openjdk8-openjfx/patches/patch-build.gradle        | 13 +++++++
 ...s_web_src_main_native_Tools_ReducedFTL_build.sh | 13 +++++++
 ...c_main_native_Tools_ReducedFTL_processIRDump.sh | 13 +++++++
 8 files changed, 96 insertions(+)

diffs:
diff --git a/openjdk8-openjfx/DESCR b/openjdk8-openjfx/DESCR
new file mode 100644
index 0000000..de46da8
--- /dev/null
+++ b/openjdk8-openjfx/DESCR
@@ -0,0 +1,2 @@
+OpenJFX is an open source, next generation client application platform for
+desktop and embedded systems based on JavaSE.
diff --git a/openjdk8-openjfx/Makefile b/openjdk8-openjfx/Makefile
new file mode 100644
index 0000000..b0b7c88
--- /dev/null
+++ b/openjdk8-openjfx/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+
+DISTNAME=	# hg package, intentionally left blank
+PKGNAME=	openjdk8-openjfx-0
+CATEGORIES=	x11
+MASTER_SITES=	# hg package, intentionally left blank
+
+MAINTAINER=	tnn%NetBSD.org@localhost
+HOMEPAGE=	http://wiki.openjdk.java.net/display/OpenJFX/Main
+COMMENT=	JavaFX application toolkit
+#LICENSE=	GPL2 + classpath exception
+
+#DISTFILES=	${DEFAULT_DISTFILES}
+#EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
+GRADLE_ZIP=	gradle-1.8-bin.zip
+SITES.${GRADLE_ZIP}=	https://services.gradle.org/distributions/
+DISTFILES+=	${GRADLE_ZIP}
+EXTRACT_ONLY+=	${GRADLE_ZIP}
+
+HG_REPOSITORIES=	rt
+HG_REPO.rt=		http://hg.openjdk.java.net/openjfx/8u-dev/rt
+WRKSRC=			${WRKDIR}/rt
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	bash pkg-config
+
+MAKE_ENV+=	JAVA_HOME=${PREFIX}/java/openjdk8
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
+BUILDLINK_TRANSFORM+=	rm:-ldl
+.endif
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ../gradle-1.8/bin/gradle
+
+.include "../../wip/mk/hg-package.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../lang/openjdk8/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/openjdk8-openjfx/PLIST b/openjdk8-openjfx/PLIST
new file mode 100644
index 0000000..48d96a5
--- /dev/null
+++ b/openjdk8-openjfx/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/openjdk8-openjfx/TODO b/openjdk8-openjfx/TODO
new file mode 100644
index 0000000..d2a65ad
--- /dev/null
+++ b/openjdk8-openjfx/TODO
@@ -0,0 +1,2 @@
+- don't download maven crap in the build phase
+- fix linux specific things
diff --git a/openjdk8-openjfx/distinfo b/openjdk8-openjfx/distinfo
new file mode 100644
index 0000000..1054a4e
--- /dev/null
+++ b/openjdk8-openjfx/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (gradle-1.8-bin.zip) = f14299582a1ab6c1293a43697ecda4b2673e34b1
+RMD160 (gradle-1.8-bin.zip) = 0f80d8a065633c2405317bea5a9225650acf0dd7
+SHA512 (gradle-1.8-bin.zip) = 2692f36626576a511e688ff42fc3381f8ecdf4fdf537939ab59de6c807eb17f4b4df722c4912e373ad3d9fe95be8516841ccb78a00111b5a7d38b848e632337b
+Size (gradle-1.8-bin.zip) = 39400269 bytes
+SHA1 (patch-build.gradle) = ee1decb109cd70a4b43c1b04b87f34b86a3121d3
+SHA1 (patch-modules_web_src_main_native_Tools_ReducedFTL_build.sh) = f11170c34010b08ac1850d0259234d82050320da
+SHA1 (patch-modules_web_src_main_native_Tools_ReducedFTL_processIRDump.sh) = 4378f27ffc7dd5a9ace9ef41812fe4a5c8488cb1
diff --git a/openjdk8-openjfx/patches/patch-build.gradle b/openjdk8-openjfx/patches/patch-build.gradle
new file mode 100644
index 0000000..d52c06b
--- /dev/null
+++ b/openjdk8-openjfx/patches/patch-build.gradle
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- build.gradle.orig	2016-03-03 23:18:49.000000000 +0000
++++ build.gradle
+@@ -250,7 +250,7 @@ ext.OS_ARCH = System.getProperty("os.arc
+ ext.IS_64 = OS_ARCH.toLowerCase().contains("64")
+ ext.IS_MAC = OS_NAME.contains("mac") || OS_NAME.contains("darwin")
+ ext.IS_WINDOWS = OS_NAME.contains("windows")
+-ext.IS_LINUX = OS_NAME.contains("linux")
++ext.IS_LINUX = OS_NAME.contains("linux") || OS_NAME.contains("bsd")
+ 
+ // Get the JDK_HOME automatically based on the version of Java used to execute gradle. Or, if specified,
+ // use a user supplied JDK_HOME, STUB_RUNTIME, JAVAC, and/or JAVAH, all of which may be specified
diff --git a/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_build.sh b/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_build.sh
new file mode 100644
index 0000000..d8cf9bf
--- /dev/null
+++ b/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_build.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- modules/web/src/main/native/Tools/ReducedFTL/build.sh.orig	2016-03-03 23:18:49.000000000 +0000
++++ modules/web/src/main/native/Tools/ReducedFTL/build.sh
+@@ -3,7 +3,7 @@
+ set -e
+ set -x
+ 
+-if test "x${LLVM_PATH}" == "x"
++if test "x${LLVM_PATH}" = "x"
+ then
+     configPath="llvm-config"
+ else
diff --git a/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_processIRDump.sh b/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_processIRDump.sh
new file mode 100644
index 0000000..11068ce
--- /dev/null
+++ b/openjdk8-openjfx/patches/patch-modules_web_src_main_native_Tools_ReducedFTL_processIRDump.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- modules/web/src/main/native/Tools/ReducedFTL/processIRDump.sh.orig	2016-03-03 23:18:49.000000000 +0000
++++ modules/web/src/main/native/Tools/ReducedFTL/processIRDump.sh
+@@ -3,7 +3,7 @@
+ set -e
+ set -x
+ 
+-if test "x${LLVM_PATH}" == "x"
++if test "x${LLVM_PATH}" = "x"
+ then
+     path=
+ else


Home | Main Index | Thread Index | Old Index