This seemed to work for version 3.2
diff --git a/PKGBUILD b/PKGBUILD
index 0cae84c..80b0c02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,23 +6,23 @@
# Original Author: David Fuhr <david.fuhr@web.de>
pkgname=ganttproject
-_version=3.1
-_build=3100
+_version=3.2
+_build=3200
pkgver=$_version.$_build
pkgrel=1
pkgdesc="A project scheduling application featuring gantt chart, resource management, calendaring."
arch=('i686' 'x86_64')
url="https://www.ganttproject.biz/"
license=("GPL")
-depends=('jre11-openjdk' 'java11-openjfx' 'hicolor-icon-theme')
+depends=('jre-openjdk' 'java-openjfx' 'hicolor-icon-theme')
makedepends=('unzip')
source=("https://dl.ganttproject.biz/$pkgname-$pkgver/$pkgname-$pkgver.zip"
"ganttproject.desktop")
prepare() {
# add JavaFX path to startup script
- sed -i '/^BOOT_CLASS/ aJFX_ARGS="--module-path \/usr\/lib\/jvm\/java-11-openjfx\/lib\/ --add-modules=ALL-MODULE-PATH"' $srcdir/ganttproject-$pkgver/ganttproject
- sed -i '/^JAVA_ARGS/ s/$DEBUG_ARGS/$DEBUG_ARGS $JFX_ARGS/' $srcdir/ganttproject-$pkgver/ganttproject
+ sed -i '/^BOOT_CLASS/ aJFX_ARGS="--module-path \/usr\/lib\/jvm\/default\/lib\/javafx.base.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.controls.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.graphics.jar:\/usr\/lib\/jvm\/default\/lib\/javafx-swt.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.fxml.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.media.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.swing.jar:\/usr\/lib\/jvm\/default\/lib\/javafx.web.jar --add-modules=javafx.base,javafx.controls,javafx.graphics,javafx.swt,javafx.fxml,javafx.media,javafx.swing,javafx.web"' $srcdir/ganttproject-$pkgver/ganttproject
+ sed -i '/^\"$JAVA_COMMAND\"/ s/$DEBUG_ARGS/$DEBUG_ARGS $JFX_ARGS/' $srcdir/ganttproject-$pkgver/ganttproject
}
package() {
@@ -36,5 +36,5 @@ package() {
ln -s "/opt/$pkgname/ganttproject" "$pkgdir/usr/bin/ganttproject"
}
-sha256sums=('4e7ea4b8ea50f41afef868b5c080e2ab7cfa28deda890f0a831dfd1717460a6d'
- '7f80539115a2ffa518516671596b7e35659d46c91ac39133cc5accda9dec3862')
\ No newline at end of file
+sha256sums=('2774ff53d5823d72569ac03761edb164cf44d31365eda80cfb17bce3cebc86a7'
+ '7f80539115a2ffa518516671596b7e35659d46c91ac39133cc5accda9dec3862')
Pinned Comments
lightspot21 commented on 2023-03-15 13:15 (UTC) (edited on 2023-03-15 13:18 (UTC) by lightspot21)
Maintainer here. Sorry for the delay in answers, I am currently not using the software actively.
@zertyz I have merged @ulyssesrr's fix for the missing $JFX_ARGS after confirming it works on my machine too, so at least 3.2.3240 should install correctly.
Unfortunately it looks like that the software's author has changed the method of delivering updates, and currently I have no time to update the script to the new method. If anyone is interested in helping with this I am glad to merge their changes/add them as co-maintainer if they can be more active with updates.