Another small change: Can you please add --no-daemon
to your gradle command? We generally don't want to daemonize gradle when building packages.
Search Criteria
Package Details: java21-openjfx-src 21.0.4.u0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/java21-openjfx.git (read-only, click to copy) |
---|---|
Package Base: | java21-openjfx |
Description: | Java OpenJFX client application platform (open-source implementation of JavaFX) - latest version |
Upstream URL: | https://wiki.openjdk.java.net/display/OpenJFX/Main |
Licenses: | GPL-2.0-only WITH Classpath-exception-2.0 |
Submitter: | Freso |
Maintainer: | Freso (AutoUpdateBot) |
Last Packager: | Freso |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2024-04-05 23:59 (UTC) |
Last Updated: | 2024-04-21 11:56 (UTC) |
Dependencies (24)
- alsa-lib (make)
- ant (ant-gitAUR) (make)
- cairo (cairo-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- ffmpeg4.4 (make)
- freetype2 (freetype2-gitAUR, freetype2-qdoledAUR, freetype2-macosAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gradle7 (make)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR, gtk2-maemoAUR) (make)
- gtk3 (gtk3-ubuntuAUR, gtk3-no_deadkeys_underlineAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR, gtk3-classicAUR) (make)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, jdk-android-studioAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk19-openjdkAUR, jdk11-openjdk-dcevmAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-15-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, jdk17-openj9-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk17-jetbrains-binAUR, jdk21-jetbrains-binAUR, jdk-openjdk-wakefieldAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk-temurinAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- libgl (nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd-gitAUR, libglvnd) (make)
- libx11 (libx11-gitAUR) (make)
- libxtst (make)
- pango (pango-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python32AUR, python37AUR, python311AUR, python310AUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- Show 4 more dependencies...
Required by (0)
Sources (4)
Latest Comments
patlefort commented on 2024-04-21 17:35 (UTC)
Freso commented on 2024-04-21 11:59 (UTC)
Patches etc. are very welcome at https://gitlab.archlinux.org/freso/java-openjfx (java21-openjfx
branch) if you have any suggestions for how to fix the package. :)
Disabling the building of WebKit seems to unbreak the build. I’m not sure how essential the WebKit parts are to JavaFX overall, so a bit wary about changing this part of the PKGBUILD here. For anyone who wants to try it out, you can grab the package from this branch: https://gitlab.archlinux.org/freso/java-openjfx/-/tree/java21-openjfx-no-webkit
patlefort commented on 2024-04-17 13:41 (UTC)
Patch to fix issues:
- Fix wrong provides.
- Add LDFLAGS work around, it won't compile without it.
- Move conflicting files with java-openjfx package.
- Disable webkit, it doesn't compile, same problem as
java-openjfx
.
Also, can you please bump pkgrel instead of adding a .u to pkgver? That's what pkgrel is for.
diff --git a/PKGBUILD b/PKGBUILD
index b445826..f71b730 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,7 +54,7 @@ source=(
java-openjfx-no-xlocale.patch
)
b2sums=('e569482a6b89f541e0349772f4bc91c2f2fa97073da9a894c73d9d1107dc074b84d6ab004a259519bdaf03b6abf7fbf84cccd1e23234847f20627592050f2e5d'
- 'a77fd8814a5978827de01a652f7b945f3439df04606434ced8998c8d77a82985292490e6965299aeb52f9da3d8069b4091d75519bd4ec8a15f70bc6d28b13498'
+ '0c023ef99e7ee600710c54dad0ad59070620595109ca42c5057fa2ab74ef6d244631745f5cd4c1bea9c0321ee69f1e1efaab820ff124ad1d4f453121e77fd14f'
'609ffbc0938922f00ccebab6d1e9ab0d54b84f088f75c10c0eb4211ff1b33438481d76092eae8811a5e9f53dfc3ff422f7aa4e98abd8fc27fb73f1c3d4661c41'
'13216615c01b8d48d17889ffa22668c38568870d83ab30c542eb5b5620db305f02efb1acb99d9b5e89eb0a73a134bb336cb301f4de4e8855cae50efb099e384e')
@@ -77,6 +77,9 @@ build() {
# build against ffmpeg4.4
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
+
+ # Workaround for situation where the linker treats whitespace as arguments
+ export LDFLAGS="${LDFLAGS//+([[:space:]]|[[:blank:]])/ }"
gradle zips
}
@@ -94,14 +97,14 @@ package_java21-openjfx() {
'gtk3: GTK3 support',
'webkit2gtk: Web support'
)
- provides=(java21-openjfx=${pkgver%%.*})
+ provides=(java-openjfx=${pkgver%%.*})
cd $_jfxdir
install -dm 755 "${pkgdir}"/usr/{lib/jvm/java-${pkgver%%.*}-openjdk,share/licenses}
cp -dr --no-preserve=ownership build/sdk/lib "${pkgdir}"/usr/lib/jvm/java-${pkgver%%.*}-openjdk/
cp -dr --no-preserve=ownership build/jmods "${pkgdir}"/usr/lib/jvm/java-${pkgver%%.*}-openjdk/
- cp -dr --no-preserve=ownership build/sdk/legal "${pkgdir}"/usr/share/licenses/java-openjfx
+ cp -dr --no-preserve=ownership build/sdk/legal "${pkgdir}"/usr/share/licenses/java-${pkgver%%.*}-openjfx
}
package_java21-openjfx-doc() {
@@ -109,8 +112,8 @@ package_java21-openjfx-doc() {
cd $_jfxdir
install -dm 755 "${pkgdir}"/usr/share/{doc,licenses}
- cp -dr --no-preserve=ownership build/javadoc "${pkgdir}"/usr/share/doc/java-openjfx
- ln -s java-openjfx "${pkgdir}"/usr/share/licenses/java-openjfx-doc
+ cp -dr --no-preserve=ownership build/javadoc "${pkgdir}"/usr/share/doc/java-${pkgver%%.*}-openjfx
+ ln -s java-${pkgver%%.*}-openjfx "${pkgdir}"/usr/share/licenses/java-${pkgver%%.*}-openjfx-doc
}
package_java21-openjfx-src() {
@@ -119,7 +122,7 @@ package_java21-openjfx-src() {
install -dm 755 "${pkgdir}"/usr/{lib/jvm/java-${pkgver%%.*}-openjdk,share/licenses}
install -m 644 build/sdk/src.zip "${pkgdir}"/usr/lib/jvm/java-${pkgver%%.*}-openjdk/javafx-src.zip
- ln -s java-openjfx "${pkgdir}"/usr/share/licenses/java-openjfx-src
+ ln -s java-${pkgver%%.*}-openjfx "${pkgdir}"/usr/share/licenses/java-${pkgver%%.*}-openjfx-src
}
# vim: ts=2 sw=2 et:
diff --git a/gradle.properties b/gradle.properties
index 56d4684..eaf8704 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,3 +1,3 @@
COMPILE_MEDIA = true
-COMPILE_WEBKIT = true
+COMPILE_WEBKIT = false
CONF = Release
Narwhal commented on 2024-04-10 08:08 (UTC)
The checksum for java-openjfx-21.0.3+1.tar.gz
seems incorrect. Validation fails.
Pinned Comments
Freso commented on 2024-04-21 11:59 (UTC)
Patches etc. are very welcome at https://gitlab.archlinux.org/freso/java-openjfx (
java21-openjfx
branch) if you have any suggestions for how to fix the package. :)Disabling the building of WebKit seems to unbreak the build. I’m not sure how essential the WebKit parts are to JavaFX overall, so a bit wary about changing this part of the PKGBUILD here. For anyone who wants to try it out, you can grab the package from this branch: https://gitlab.archlinux.org/freso/java-openjfx/-/tree/java21-openjfx-no-webkit