Package Details: jdk17-graalvm-ee-bin 17.0.11-1

Git Clone URL: https://aur.archlinux.org/jdk17-graalvm-ee-bin.git (read-only, click to copy)
Package Base: jdk17-graalvm-ee-bin
Description: Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java 17 version
Upstream URL: https://www.graalvm.org/
Licenses: LicenseRef-GFTC
Provides: java-environment, java-runtime
Submitter: nns
Maintainer: nns
Last Packager: nns
Votes: 4
Popularity: 0.023900
First Submitted: 2022-07-31 08:19 (UTC)
Last Updated: 2024-05-09 12:04 (UTC)

Required by (2434)

Sources (3)

Latest Comments

1 2 Next › Last »

ImperatorStorm commented on 2023-10-28 20:18 (UTC)

Patch for 17.0.9:

diff --git a/PKGBUILD b/PKGBUILD
index 4b3f29e..e247e93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
 # Maintainer: Rasmus Moorats <xx+aur@nns.ee>

 _java=17
-_java_minor=+9.1
+_java_minor=+11.1
 pkgname="jdk${_java}-graalvm-ee-bin"
-pkgver=17.0.8
+pkgver=17.0.9
 pkgrel=1
+epoch=1
 pkgdesc="Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java ${_java} version"
 arch=('x86_64'
    'aarch64')
@@ -19,10 +20,10 @@ options=('staticlibs')
 install="$pkgname.install"
 source=('graalvm-ee-rebuild-libpolyglot.hook')
 sha256sums=('7dc37bd3703ebebcd6efa39534e6bb6e3ec9c8ee0d97e46d6df5349739c7d2ca')
-sha256sums_x86_64=('2d6696aa209daa098c51fefc51906aa7bf0dbe28dcc560ef738328352564181b')
-sha256sums_aarch64=('10cb0b61571befb20bf7c11ac4e10ff4e4801065a64ae425b39f34d401e352b1')
-source_x86_64=("https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-x64_bin.tar.gz")
-source_aarch64=("https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-aarch64_bin.tar.gz")
+sha256sums_x86_64=('1f4e6dcf1f7fc2e289f92c98fc13e1de4c59b0622a039ae4d55904692392c538')
+sha256sums_aarch64=('ce4e4c68aee1c49550411daf061c56bbfbfb4dfd9f650380ef56e4daeff1f838')
+source_x86_64=(graalvm-jdk-${pkgver}${_java_minor}_linux-x64_bin.tar.gz::https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-x64_bin.tar.gz)
+source_aarch64=(graalvm-jdk-${pkgver}${_java_minor}_linux-aarch64_bin.tar.gz::https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-aarch64_bin.tar.gz)

 package() {
    cd "graalvm-jdk-${pkgver}${_java_minor}"

ImperatorStorm commented on 2023-06-14 21:30 (UTC)

Patch for 23.0.0:

diff --git a/PKGBUILD b/PKGBUILD
index 8637515..c9c6309 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
 # Maintainer: Rasmus Moorats <xx+aur@nns.ee>

-java_=17
-pkgname="jdk${java_}-graalvm-ee-bin"
-pkgver=22.3.2
+_java=17
+_java_minor=0.7+8.1
+pkgname="jdk${_java}-graalvm-ee-bin"
+pkgver=23.0.0
 pkgrel=1
-pkgdesc="Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java ${java_} version"
+pkgdesc="Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java ${_java} version"
 arch=('x86_64'
       'aarch64')
 url='https://www.graalvm.org/'
@@ -12,22 +13,22 @@ license=('custom:OTN')
 depends=('java-runtime-common'
          'java-environment-common')
 makedepends=()
-provides=("java-runtime=${java_}"
-          "java-environment=${java_}")
+provides=("java-runtime=${_java}"
+          "java-environment=${_java}")
 options=('staticlibs')
 install="$pkgname.install"
 source=('graalvm-ee-rebuild-libpolyglot.hook')
 sha256sums=('7dc37bd3703ebebcd6efa39534e6bb6e3ec9c8ee0d97e46d6df5349739c7d2ca')
-sha256sums_x86_64=('da5fa968adcbcd142df18ebbbd09dde9dee0dc8e8a56a62a0dd95c35029d0b7c')
-sha256sums_aarch64=('d32ccbe8e71cae2415f035c638b6336f8a4d3078daefdf053dcb448f07caeb1f')
-source_x86_64=("https://oca.opensource.oracle.com/gds/GRAALVM_EE_JAVA${java_}_${pkgver//./_}/graalvm-ee-java${java_}-linux-amd64-${pkgver}.tar.gz")
-source_aarch64=("https://oca.opensource.oracle.com/gds/GRAALVM_EE_JAVA${java_}_${pkgver//./_}/graalvm-ee-java${java_}-linux-aarch64-${pkgver}.tar.gz")
+sha256sums_x86_64=('93db5fd373fc8eb5a5578387f7646cfd414b82e8cfaf9dbcd0145ceae0137398')
+sha256sums_aarch64=('73256df1af0507f8cb230bafe506e4dcaba2b3e6d8bb1324bf5a02198890ef97')
+source_x86_64=("https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-x64_bin.tar.gz")
+source_aarch64=("https://download.oracle.com/graalvm/${_java}/latest/graalvm-jdk-${_java}_linux-aarch64_bin.tar.gz")

 package() {
-    cd "graalvm-ee-java${java_}-${pkgver}"
-    mkdir -p "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/"
-    cp -a -t "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/" *
+    cd "graalvm-jdk-${_java}.${_java_minor}"
+    mkdir -p "$pkgdir/usr/lib/jvm/java-${_java}-graalvm-ee/"
+    cp -a -t "$pkgdir/usr/lib/jvm/java-${_java}-graalvm-ee/" *
     install -DTm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-    sed "s/JAVA/${java_}/g" < "../graalvm-ee-rebuild-libpolyglot.hook" > "graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook"
-    install -DTm644 "graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook" "$pkgdir/usr/share/libalpm/hooks/graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook"
+    sed "s/JAVA/${_java}/g" < "../graalvm-ee-rebuild-libpolyglot.hook" > "graalvm-ee-jdk${_java}-rebuild-libpolyglot.hook"
+    install -DTm644 "graalvm-ee-jdk${_java}-rebuild-libpolyglot.hook" "$pkgdir/usr/share/libalpm/hooks/graalvm-ee-jdk${_java}-rebuild-libpolyglot.hook"
 }

ImperatorStorm commented on 2023-02-24 07:18 (UTC)

Gotcha.

nns commented on 2023-02-24 07:17 (UTC)

I updated the PKGBUILD, but now that I think about it, I don't think it should provide jdk17-graalvm-bin. The packages that depend on that package explicitly are "addons" (JS/Py/Node runtimes, Espresso, etc) that install themselves to /usr/lib/jvm/java-17-graalvm/, but this runtime is installed at /usr/lib/jvm/java-17-graalvm-ee/.

Assuming the non-EE addons even work for EE (which they might, haven't looked it up), I would have to install this package to /usr/lib/jvm/java-17-graalvm/, which I strictly don't want to do, because in that case it does conflict with the non-EE variant.

I'm removing the provides.

nns commented on 2023-02-24 07:06 (UTC)

I understand what you mean now. I'm a bit slow, sorry. You're right, this should provide jdk17-graalvm-bin.

ImperatorStorm commented on 2023-02-24 06:59 (UTC)

provides != conflicts

nns commented on 2023-02-24 06:57 (UTC)

ImperatorStorm: I don't think so? The EE and non-EE variants are different, and both can be installed at the same time and switched via archlinux-java, just like with other Java runtimes. The two are not conflicting in any way as far as I can see.