diff --git a/srcpkgs/oracle-jdk-arm/INSTALL b/srcpkgs/oracle-jdk-arm/INSTALL deleted file mode 100644 index 9bdf2fa34a1..00000000000 --- a/srcpkgs/oracle-jdk-arm/INSTALL +++ /dev/null @@ -1,34 +0,0 @@ -# -# This script will install the actual plugin, advise the user to read the -# license for Oracle JDK and to re-login to have environment variables set -# properly. -# - -BUILD_DIR="./var/tmp/${PKGNAME}.build" - -do_install() { - mkdir -p "$BUILD_DIR" - wget \ - --header "Cookie: oraclelicense=accept-securebackup-cookie" \ - --progress=bar:force \ - -c -O $BUILD_DIR/jdk.tar.gz \ - $ORACLE_JDK_URL - echo "$ORACLE_JDK_CHECKSUM $BUILD_DIR/jdk.tar.gz" | sha256sum -c || return 1 - tar xf ${BUILD_DIR}/jdk.tar.gz || return 1 - - if [ -d usr/lib/jvm/jdk$ORACLE_JDK_LONG_VERSION ]; then - rm -rf usr/lib/jvm/jdk$ORACLE_JDK_LONG_VERSION - fi - mv jdk$ORACLE_JDK_LONG_VERSION usr/lib/jvm/jdk$ORACLE_JDK_LONG_VERSION || return 1 -} - -case "${ACTION}" in -post) - . usr/lib/jvm/oracle-jdk-vars.sh - do_install - RESULT=$? - rm -r $BUILD_DIR - [ $RESULT -ne 0 ] && exit $RESULT - ;; -esac - diff --git a/srcpkgs/oracle-jdk-arm/INSTALL.msg b/srcpkgs/oracle-jdk-arm/INSTALL.msg deleted file mode 100644 index 7ba0cc01ecf..00000000000 --- a/srcpkgs/oracle-jdk-arm/INSTALL.msg +++ /dev/null @@ -1,10 +0,0 @@ -- The Oracle JDK package is licensed software. - - You MUST read and agree to the license stored in - /usr/share/licenses/oracle-jdk/LICENSE - before using it. - -- Please re-login to update PATH and JAVA_HOME or re-source - /etc/profile: - - $ source /etc/profile diff --git a/srcpkgs/oracle-jdk-arm/REMOVE b/srcpkgs/oracle-jdk-arm/REMOVE deleted file mode 100644 index 64e30ce9e85..00000000000 --- a/srcpkgs/oracle-jdk-arm/REMOVE +++ /dev/null @@ -1,6 +0,0 @@ -case "$ACTION" in -pre) - . usr/lib/jvm/oracle-jdk-vars.sh - rm -r usr/lib/jvm/$PKGNAME - ;; -esac diff --git a/srcpkgs/oracle-jdk-arm/files/java-policy-settings.desktop b/srcpkgs/oracle-jdk-arm/files/java-policy-settings.desktop deleted file mode 100644 index 621b7ad7cf8..00000000000 --- a/srcpkgs/oracle-jdk-arm/files/java-policy-settings.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Exec=/usr/lib/jvm/oracle-jdk/bin/policytool -Icon=oracle-java.png -Name=Java Policy Settings -Path= -StartupNotify=true -Terminal=false -Type=Application -Categories=Settings;Java; diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-128x128.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-128x128.png deleted file mode 100644 index ce5ed56646e..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-128x128.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-16x16.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-16x16.png deleted file mode 100644 index fd3d59bdac0..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-16x16.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-20x20.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-20x20.png deleted file mode 100644 index afdcbe6ee6b..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-20x20.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-22x22.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-22x22.png deleted file mode 100644 index d8729408f82..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-22x22.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-24x24.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-24x24.png deleted file mode 100644 index 70a59d78b73..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-24x24.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-256x256.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-256x256.png deleted file mode 100644 index 59b568fb25c..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-256x256.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-32x32.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-32x32.png deleted file mode 100644 index 29441b46047..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-32x32.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-40x40.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-40x40.png deleted file mode 100644 index 789bb3cc8cd..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-40x40.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-48x48.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-48x48.png deleted file mode 100644 index c3b3cce4ab6..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-48x48.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-512x512.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-512x512.png deleted file mode 100644 index f9129d1a7ff..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-512x512.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-64x64.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-64x64.png deleted file mode 100644 index 79618c3c9c5..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-64x64.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-72x72.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-72x72.png deleted file mode 100644 index 0efbf9b689d..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-72x72.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-96x96.png b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-96x96.png deleted file mode 100644 index 2d46ccf0994..00000000000 Binary files a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-96x96.png and /dev/null differ diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-vars.sh.in b/srcpkgs/oracle-jdk-arm/files/oracle-jdk-vars.sh.in deleted file mode 100644 index 500c88d6e74..00000000000 --- a/srcpkgs/oracle-jdk-arm/files/oracle-jdk-vars.sh.in +++ /dev/null @@ -1 +0,0 @@ -export ORACLE_JDK_URL="%ORACLE_JDK_URL%" ORACLE_JDK_CHECKSUM="%ORACLE_JDK_CHECKSUM%" ORACLE_JDK_LONG_VERSION="%LONG_VERSION%" diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh b/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh deleted file mode 100644 index a62aac035ac..00000000000 --- a/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh +++ /dev/null @@ -1 +0,0 @@ -export JAVA_HOME=${JAVA_HOME=/usr/lib/jvm/oracle-jdk} diff --git a/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh.in b/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh.in deleted file mode 100644 index be2001f23f2..00000000000 --- a/srcpkgs/oracle-jdk-arm/files/oracle-jdk.sh.in +++ /dev/null @@ -1,2 +0,0 @@ -export JAVA_HOME=${JAVA_HOME=/usr/lib/jvm/jdk%LONG_VERSION%} -export PATH="$PATH:/usr/lib/jvm/jdk%LONG_VERSION%/bin" diff --git a/srcpkgs/oracle-jdk-arm/template b/srcpkgs/oracle-jdk-arm/template deleted file mode 100644 index 7b0cdf4b20f..00000000000 --- a/srcpkgs/oracle-jdk-arm/template +++ /dev/null @@ -1,119 +0,0 @@ -# Template file for 'oracle-jdk-arm' -pkgname=oracle-jdk-arm -version=8u51 -_longVersion=1.8.0_51 -revision=3 -_build=16 - -short_desc="Java Development Kit (JDK)" -maintainer="Enno Boland " -homepage="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html" -license="oracle" -lib32disabled=yes -repository="nonfree" -only_for_archs="armv7l armv6l" -depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget" -hostmakedepends="wget" -provides="java-environment-${version}_1 oracle-jdk-${version}_${revision}" -replaces="java-environment>=0" - -_arch=arm -_filename=jdk-${version}-linux-arm-vfp-hflt.tar.gz -checksum="2a6644a4540c8f47784daf8afcbb405a03e686720e4c9eac6584253a55def0c7" - -alternatives=" - java:/usr/bin/java:/usr/lib/jvm/jdk${_longVersion}/bin/java - java:/usr/bin/javaws:/usr/lib/jvm/jdk${_longVersion}/bin/javaws - java:/usr/bin/jcontrol:/usr/lib/jvm/jdk${_longVersion}/bin/jcontrol - java:/usr/bin/jjs:/usr/lib/jvm/jdk${_longVersion}/bin/jjs - java:/usr/bin/keytool:/usr/lib/jvm/jdk${_longVersion}/bin/keytool - java:/usr/bin/orbd:/usr/lib/jvm/jdk${_longVersion}/bin/orbd - java:/usr/bin/pack200:/usr/lib/jvm/jdk${_longVersion}/bin/pack200 - java:/usr/bin/policytool:/usr/lib/jvm/jdk${_longVersion}/bin/policytool - java:/usr/bin/rmid:/usr/lib/jvm/jdk${_longVersion}/bin/rmid - java:/usr/bin/rmiregistry:/usr/lib/jvm/jdk${_longVersion}/bin/rmiregistry - java:/usr/bin/servertool:/usr/lib/jvm/jdk${_longVersion}/bin/servertool - java:/usr/bin/tnameserv:/usr/lib/jvm/jdk${_longVersion}/bin/tnameserv - java:/usr/bin/unpack200:/usr/lib/jvm/jdk${_longVersion}/bin/unpack200 - - jdk:/usr/bin/ControlPanel:/usr/lib/jvm/jdk${_longVersion}/bin/ControlPanel - jdk:/usr/bin/appletviewer:/usr/lib/jvm/jdk${_longVersion}/bin/appletviewer - jdk:/usr/bin/extcheck:/usr/lib/jvm/jdk${_longVersion}/bin/extcheck - jdk:/usr/bin/idlj:/usr/lib/jvm/jdk${_longVersion}/bin/idlj - jdk:/usr/bin/jar:/usr/lib/jvm/jdk${_longVersion}/bin/jar - jdk:/usr/bin/jarsigner:/usr/lib/jvm/jdk${_longVersion}/bin/jarsigner - jdk:/usr/bin/java-rmi.cgi:/usr/lib/jvm/jdk${_longVersion}/bin/java-rmi.cgi - jdk:/usr/bin/javac:/usr/lib/jvm/jdk${_longVersion}/bin/javac - jdk:/usr/bin/javadoc:/usr/lib/jvm/jdk${_longVersion}/bin/javadoc - jdk:/usr/bin/javafxpackager:/usr/lib/jvm/jdk${_longVersion}/bin/javafxpackager - jdk:/usr/bin/javah:/usr/lib/jvm/jdk${_longVersion}/bin/javah - jdk:/usr/bin/javap:/usr/lib/jvm/jdk${_longVersion}/bin/javap - jdk:/usr/bin/javapackager:/usr/lib/jvm/jdk${_longVersion}/bin/javapackager - jdk:/usr/bin/jcmd:/usr/lib/jvm/jdk${_longVersion}/bin/jcmd - jdk:/usr/bin/jconsole:/usr/lib/jvm/jdk${_longVersion}/bin/jconsole - jdk:/usr/bin/jdb:/usr/lib/jvm/jdk${_longVersion}/bin/jdb - jdk:/usr/bin/jdeps:/usr/lib/jvm/jdk${_longVersion}/bin/jdeps - jdk:/usr/bin/jhat:/usr/lib/jvm/jdk${_longVersion}/bin/jhat - jdk:/usr/bin/jinfo:/usr/lib/jvm/jdk${_longVersion}/bin/jinfo - jdk:/usr/bin/jmap:/usr/lib/jvm/jdk${_longVersion}/bin/jmap - jdk:/usr/bin/jmc:/usr/lib/jvm/jdk${_longVersion}/bin/jmc - jdk:/usr/bin/jmc.ini:/usr/lib/jvm/jdk${_longVersion}/bin/jmc.ini - jdk:/usr/bin/jps:/usr/lib/jvm/jdk${_longVersion}/bin/jps - jdk:/usr/bin/jrunscript:/usr/lib/jvm/jdk${_longVersion}/bin/jrunscript - jdk:/usr/bin/jsadebugd:/usr/lib/jvm/jdk${_longVersion}/bin/jsadebugd - jdk:/usr/bin/jstack:/usr/lib/jvm/jdk${_longVersion}/bin/jstack - jdk:/usr/bin/jstat:/usr/lib/jvm/jdk${_longVersion}/bin/jstat - jdk:/usr/bin/jstatd:/usr/lib/jvm/jdk${_longVersion}/bin/jstatd - jdk:/usr/bin/jvisualvm:/usr/lib/jvm/jdk${_longVersion}/bin/jvisualvm - jdk:/usr/bin/native2ascii:/usr/lib/jvm/jdk${_longVersion}/bin/native2ascii - jdk:/usr/bin/rmic:/usr/lib/jvm/jdk${_longVersion}/bin/rmic - jdk:/usr/bin/schemagen:/usr/lib/jvm/jdk${_longVersion}/bin/schemagen - jdk:/usr/bin/serialver:/usr/lib/jvm/jdk${_longVersion}/bin/serialver - jdk:/usr/bin/wsgen:/usr/lib/jvm/jdk${_longVersion}/bin/wsgen - jdk:/usr/bin/wsimport:/usr/lib/jvm/jdk${_longVersion}/bin/wsimport - jdk:/usr/bin/xjc:/usr/lib/jvm/jdk${_longVersion}/bin/xjc - - java-plugin:/usr/lib/mozilla/plugins/libnpjp2.so:/usr/lib/jvm/jdk${_longVersion}/jre/lib/$_arch/libnpjp2.so -" - -distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}-b${_build}/${_filename}" -wrksrc="jdk$_longVersion" - -do_fetch() { - mkdir -p $wrksrc - cd $wrksrc - wget \ - --no-check-certificate \ - --header "Cookie: oraclelicense=accept-securebackup-cookie" \ - --progress=bar:force \ - -c -O $_filename \ - $distfiles - echo "$checksum $_filename" | sha256sum -c || { sha256sum "$_filename"; return 1; } -} - -do_extract() { - tar xf $_filename -C .. -} - -do_build() { - sed \ - -e "s|%LONG_VERSION%|${_longVersion}|" \ - -e "s|%ORACLE_JDK_URL%|${distfiles}|" \ - -e "s|%ORACLE_JDK_CHECKSUM%|${checksum}|" \ - ${FILESDIR}/oracle-jdk-vars.sh.in > oracle-jdk-vars.sh -} - -do_install() { - vmkdir "usr/share/licenses/${pkgname}" - vinstall oracle-jdk-vars.sh 644 "usr/lib/jvm/" - - vinstall LICENSE 644 "usr/share/licenses/${pkgname}" - vinstall $FILESDIR/java-policy-settings.desktop 644 usr/share/applications - ln -s jdk${_longVersion} ${DESTDIR}/usr/lib/jvm/oracle-jdk - - for i in 16 20 22 24 32 40 48 64 72 96 128 256 512; do - vinstall $FILESDIR/oracle-jdk-${i}x${i}.png 644 usr/share/icons/hicolor/${i}x${i}/apps oracle-java.png - done - - vinstall $FILESDIR/oracle-jdk.sh 644 "etc/profile.d" 11_oracle-jdk.sh -} diff --git a/srcpkgs/oracle-jdk-arm/update b/srcpkgs/oracle-jdk-arm/update deleted file mode 100644 index 2cff8d2a7ed..00000000000 --- a/srcpkgs/oracle-jdk-arm/update +++ /dev/null @@ -1 +0,0 @@ -pattern="jdk-\K[^-]+(?=-linux-arm-vfp)"