Package Details: ganttproject 3.3.3300-1

Git Clone URL: https://aur.archlinux.org/ganttproject.git (read-only, click to copy)
Package Base: ganttproject
Description: A project scheduling application featuring gantt chart, resource management, calendaring.
Upstream URL: https://www.ganttproject.biz/
Keywords: gantt planning project
Licenses: GPL
Submitter: None
Maintainer: SanskritFritz (lightspot21)
Last Packager: SanskritFritz
Votes: 141
Popularity: 0.44
First Submitted: 2006-03-22 19:20 (UTC)
Last Updated: 2024-01-27 15:17 (UTC)

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.

Latest Comments

1 2 3 4 5 6 Next › Last »

ValHue commented on 2023-12-06 08:35 (UTC)

Please update the java runtime version.

From Gantt's own website:

"GanttProject 3.3.3295 may work with newer Java versions, such as Java 18 or Java 19, however, we do not test it and recommend using Java 17."

MichaelARCH commented on 2023-05-08 10:59 (UTC)

I'm facing the same issue as @silent described: java11-openjfx seems no longer supported. I'd appreciate a new option. Thank you for maintaining GANTTproject!

silent commented on 2023-04-23 06:11 (UTC)

Hi, unfortunately java11-openjfx in now in AUR and broken, and it seems that it may not be maintained any longer. Is there any chance that you could switch to GanttProject 3.3 Beta, for which JAVA 17 is the recommended dependency?

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.

zertyz commented on 2023-03-14 15:24 (UTC)

To the maintainer:

The fix from @ulyssesrr totally solved the issue with this package. Why not make a patch with that change to the original (and wrong) files?

Or even better: gantt project, when starting, says there is version .3247 available (from last october).

Possibly the new version have that fixed and no patching might be needed.

ulyssesrr commented on 2023-01-19 14:45 (UTC) (edited on 2023-01-19 14:47 (UTC) by ulyssesrr)

Error: The program states "GanttProject requires Java Runtime with JavaFX. You are using Oracle Corporation OpenJDK 64-Bit Server VM 11.0.17+1. JavaFX is available in BellSoft Liberica or Azul Zulu Java Runtime." and exits.

Fix: Last line of /opt/ganttproject/ganttproject is not using $JFX_ARGS Should be:

"$JAVA_COMMAND" -Xmx1024m $JFX_ARGS $JAVA_EXPORTS -Duser.dir="$(pwd)" $DEBUG_ARGS $BOOT_CLASS \
  --app net.sourceforge.ganttproject.GanttProject \
  --version-dirs "$GP_HOME"/plugins:~/.ganttproject.d/updates \
  -log true -log_file "$LOG_FILE" "${APP_ARGS[@]}"

archer1337 commented on 2022-11-26 02:54 (UTC)

I ran into the same problem as @oscar.0 . A possible fix could be to make liberica-jre-11-full-bin (AUR package) the JRE dependency instead of OpenJDK?

oscar.0 commented on 2022-11-09 18:31 (UTC)

The program states "GanttProject requires Java Runtime with JavaFX. You are using Oracle Corporation OpenJDK 64-Bit Server VM 11.0.17+1. JavaFX is available in BellSoft Liberica or Azul Zulu Java Runtime." and exits.

furai commented on 2022-05-22 14:43 (UTC) (edited on 2022-05-22 14:44 (UTC) by furai)

The patch in previous comment assumes that latest Java is 17 and that one uses it as default Java version. I've amended it so it works regardless of default Java set and use version 17 explicitly.

diff --git a/PKGBUILD b/PKGBUILD
index 0cae84c..14322c6 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=3240
 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=('jre17-openjdk' 'java17-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/java-17-openjdk/lib/javafx.base.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.controls.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.graphics.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx-swt.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.fxml.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.media.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.swing.jar:/usr/lib/jvm/java-17-openjdk/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=('38dbddaf4c55ff7731e3a061dde9a8b38236789409ee3b5ab8228d96688748bd'
+           '5772f09f449c2e46bb130e861f3492b55e29b388391917af5dbccb813bd91e8d')
diff --git a/ganttproject.desktop b/ganttproject.desktop
index e6110e3..7e65245 100644
--- a/ganttproject.desktop
+++ b/ganttproject.desktop
@@ -2,7 +2,7 @@
 Name=Ganttproject
 Comment=GanttProject is a project scheduling application featuring gantt chart, resource management, calendaring
 Icon=ganttproject
-Exec=/opt/ganttproject/ganttproject %F
+Exec=/opt/ganttproject/ganttproject -j /usr/lib/jvm/java-17-openjdk %F
 Terminal=false
 Type=Application
 Categories=Application;Office;