Now there is a package java-openjfx-nowebkit
.
Search Criteria
Package Details: java-openjfx-doc 22.0.2.u4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/java-openjfx.git (read-only, click to copy) |
---|---|
Package Base: | java-openjfx |
Description: | Java OpenJFX client application platform (open-source implementation of JavaFX) - latest version |
Upstream URL: | https://wiki.openjdk.java.net/display/OpenJFX/Main |
Keywords: | javafx openjfx |
Licenses: | GPL-2.0-only WITH Classpath-exception-2.0 |
Submitter: | freswa |
Maintainer: | AutoUpdateBot |
Last Packager: | Freso |
Votes: | 11 |
Popularity: | 0.68 |
First Submitted: | 2023-10-08 20:20 (UTC) |
Last Updated: | 2024-08-15 13:14 (UTC) |
Dependencies (25)
- alsa-lib (make)
- ant (ant-gitAUR) (make)
- cairo (cairo-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- ffmpeg4.4 (make)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gradle (gradle7) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, 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-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jdk-android-studioAUR, jdk21-jetbrains-binAUR, java-openjdk-binAUR, jdk21-temurinAUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd) (make)
- libx11 (libx11-gitAUR) (make)
- libxtst (make)
- libxxf86vm (make)
- pango (pango-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- Show 5 more dependencies...
Required by (1)
- java-openjfx-nowebkit (optional)
Sources (3)
dreieck commented on 2024-07-23 15:34 (UTC)
dreieck commented on 2024-07-23 14:48 (UTC)
The -src
and -doc
package have their license symlinked from the main package, but do not depend on it. This can result in missing license (broken symlink).
Maybe add a java-openjfx-license
package and make all the other packages depend on that?
dreieck commented on 2024-07-23 14:41 (UTC)
Please remove the ,
s after the optdepends
entries.
dreieck commented on 2024-07-23 14:31 (UTC)
Ahoj @Freso,
what about uploading a package java-openjfx-no-webkit
, with provides=("java-openjfx=${pkgver%%.*}")
and an adapted $pkgdesc
saying "without WebKit"?, so that we at least have a working java-openjfx
available?
jghodd commented on 2024-06-29 21:10 (UTC)
@dreieck - you were close. Had to add an additional linker fix...
_FIXWERROR="-Wno-error=incompatible-pointer-types"
CFLAGS+=" ${_FIXWERROR}"
CXXFLAGS+=" ${_FIXWERROR}"
export CFLAGS
export CXXFLAGS
# Suppress errors with lld >= 17 due to undefined symbols.
_FIXLDERROR="-Wl,--undefined-version"
LDFLAGS+=" ${_FIXLDERROR}"
export LDFLAGS
jghodd commented on 2024-06-29 00:38 (UTC)
@Freso - add the build() fix offered by @dreieck below. Seems to be working.
dreieck commented on 2024-06-02 18:10 (UTC)
Can you add java22-openjfx=${pkgver}
to the provides
array, so that the conflict with java-openjfx-bin
can be resolved correctly?
Regards!
dreieck commented on 2024-06-02 16:01 (UTC) (edited on 2024-06-02 16:02 (UTC) by dreieck)
Please add to build()
_FIXWERROR="-Wno-error=incompatible-pointer-types"
CFLAGS+=" ${_FIXWERROR}"
CXXFLAGS+=" ${_FIXWERROR}"
export CFLAGS
export CXXFLAGS
(or similar),
otherwise build fails with GCC 14.x with
/var/cache/makepkg/build/java-openjfx/src/jfx22u-22.0.1-7/modules/javafx.graphics/src/main/native-font/freetype.c: In function ‘checkSize’:
/var/cache/makepkg/build/java-openjfx/src/jfx22u-22.0.1-7/modules/javafx.graphics/src/main/native-font/freetype.c:523:33: error: initialization of ‘jbyte *’ {aka ‘signed char *’} from incompatible pointer type ‘jfloat *’ {aka ‘float *’} [-Wincompatible-pointer-types]
523 | jbyte* newPointCoords = (jfloat*)realloc(info->pointCoords, info->lenCoords * sizeof(jfloat));
| ^
/var/cache/makepkg/build/java-openjfx/src/jfx22u-22.0.1-7/modules/javafx.graphics/src/main/native-font/freetype.c:525:27: error: assignment to ‘jfloat *’ {aka ‘float *’} from incompatible pointer type ‘jbyte *’ {aka ‘signed char *’} [-Wincompatible-pointer-types]
525 | info->pointCoords = newPointCoords;
| ^
> Task :graphics:ccLinuxFontFreetype FAILED
FAILURE: Build failed with an exception.
Regards and thanks for maintaining!
Pinned Comments
Freso commented on 2024-04-17 10:17 (UTC)
@aubin Just use the java21-openjfx package?
For everyone else, disabling the building of WebKit seems to unbreak the build (for me at least). 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/java-openjfx-no-webkit
Freso commented on 2024-03-31 22:35 (UTC)
Patches etc. are very welcome at https://gitlab.archlinux.org/freso/java-openjfx if you have any suggestions for how to fix the package. :)