Package Details: ganttproject 3.3.3316-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.000093
First Submitted: 2006-03-22 19:20 (UTC)
Last Updated: 2025-03-15 18:06 (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

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

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;

troytjh commented on 2022-02-26 07:02 (UTC) (edited on 2022-02-26 07:06 (UTC) by troytjh)

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')

aromaparanoia commented on 2021-10-15 21:35 (UTC)

Version 3.1.3100 also fails for me. A java process is launched, but there is no UI displayed. Version 3.0.3000 appears to work.

birnenwerfer commented on 2021-08-12 20:34 (UTC)

Hey guys, the program doesn’t start at all after updating everything. If I start it from the terminal I only get some messages about skipped directories, mostly heading to font directories. Do anyone have an idea what the problem is? I also tried modifying the build files as @mynacol described in his post from February.

lightspot21 commented on 2021-06-02 09:58 (UTC)

@riazufila Try again now, I have pushed a new version.

riazufila commented on 2021-05-01 12:16 (UTC) (edited on 2021-05-01 12:19 (UTC) by riazufila)

Why when I try to open a .gan file from an existing GanttProject window, the window to Open Project (Project > Open > Open Other Project) is literally blank white? Anyone know?

gok commented on 2021-02-22 10:41 (UTC)

Thanks @lightspot21 & @SanskritFritz for maintaining this PKGBUILD. For security reasons, would you consider switching to HTTPS in the source field, and to SHA256 for integrity check? (as MD5 and SHA1 are not considered secure algorithms anymore, and upstream does not seem to provide any official checksums anyway) Thanks :-)