From 3f6bb49b0f62eedcf5fca44a73a3c4a6e057ce7c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Oct 2018 18:51:46 +0200 Subject: extra/java?-openjdk: a first build trial --- extra/java8-openjdk/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'extra/java8-openjdk') diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index e1f5e163..20c4d341 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -28,11 +28,26 @@ if [ "${CARCH}" = "i486" ]; then makedepends=(${makedepends[@]//java-rhino/}) makedepends=(${makedepends[@]//eclipse-ecj/}) + # readd implicit dependencies from above + makedepends+=(freetype2) + makedepends+=(fontconfig) + makedepends+=(cups) + makedepends+=(libxt) + makedepends+=(libxinerama) + makedepends+=(libxcomposite) + makedepends+=(libxtst) + eval "$( declare -f build | \ sed ' + s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| s|--with-rhino|--without-rhino| s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| + s|--enable-nss|--disable-nss| + s|./configure|./configure --disable-system-jpeg| + s|./configure|./configure --disable-system-lcms| + s|./configure|./configure --disable-system-gtk| + s|./configure|./configure --disable-compile-against-syscalls| ' )" -- cgit v1.2.3-70-g09d2 From bc5616dbb1cd49ee036a86b793a3aea37a239103 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Oct 2018 19:02:42 +0200 Subject: java i486 nss --- extra/java8-openjdk/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/java8-openjdk') diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index 20c4d341..de8846d9 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -36,6 +36,7 @@ if [ "${CARCH}" = "i486" ]; then makedepends+=(libxinerama) makedepends+=(libxcomposite) makedepends+=(libxtst) + makedepends+=(nss) eval "$( declare -f build | \ @@ -43,7 +44,6 @@ if [ "${CARCH}" = "i486" ]; then s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| s|--with-rhino|--without-rhino| s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| - s|--enable-nss|--disable-nss| s|./configure|./configure --disable-system-jpeg| s|./configure|./configure --disable-system-lcms| s|./configure|./configure --disable-system-gtk| -- cgit v1.2.3-70-g09d2 From 726bf0cab908cc289ef18a67f7ad64a4106daac3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Oct 2018 19:49:25 +0200 Subject: and again.. --- extra/java7-openjdk/PKGBUILD | 1 + extra/java8-openjdk/PKGBUILD | 1 + 2 files changed, 2 insertions(+) (limited to 'extra/java8-openjdk') diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD index 04ec4148..66263ad6 100644 --- a/extra/java7-openjdk/PKGBUILD +++ b/extra/java7-openjdk/PKGBUILD @@ -16,6 +16,7 @@ if [ "${CARCH}" = "i486" ]; then makedepends+=(libxinerama) makedepends+=(libxcomposite) makedepends+=(libxtst) + makedepends+=(nss) eval "$( declare -f build | \ diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index de8846d9..b707f736 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -44,6 +44,7 @@ if [ "${CARCH}" = "i486" ]; then s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| s|--with-rhino|--without-rhino| s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| + s|--enable-nss|--disable-nss| s|./configure|./configure --disable-system-jpeg| s|./configure|./configure --disable-system-lcms| s|./configure|./configure --disable-system-gtk| -- cgit v1.2.3-70-g09d2 From 46fd79deeb30a3e46c0dfca1a2bb6e55dd008417 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Oct 2018 22:00:00 +0200 Subject: extra/java8-openjdk: i486 bootstrapped, so removed patching --- extra/java8-openjdk/PKGBUILD | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'extra/java8-openjdk') diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index b707f736..0a99ad97 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -21,35 +21,4 @@ eval "$( # i486-specific if [ "${CARCH}" = "i486" ]; then _JARCH=i386 - - # a lot of things missing during bootstrapping - makedepends=(${makedepends[@]//libpulse>=0.9.11/}) - makedepends=(${makedepends[@]//gtk2/}) - makedepends=(${makedepends[@]//java-rhino/}) - makedepends=(${makedepends[@]//eclipse-ecj/}) - - # readd implicit dependencies from above - makedepends+=(freetype2) - makedepends+=(fontconfig) - makedepends+=(cups) - makedepends+=(libxt) - makedepends+=(libxinerama) - makedepends+=(libxcomposite) - makedepends+=(libxtst) - makedepends+=(nss) - - eval "$( - declare -f build | \ - sed ' - s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| - s|--with-rhino|--without-rhino| - s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| - s|--enable-nss|--disable-nss| - s|./configure|./configure --disable-system-jpeg| - s|./configure|./configure --disable-system-lcms| - s|./configure|./configure --disable-system-gtk| - s|./configure|./configure --disable-compile-against-syscalls| - ' - )" - fi -- cgit v1.2.3-70-g09d2