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.113167
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

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

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

SanskritFritz commented on 2021-02-21 15:49 (UTC)

Thanks guys for helping out with this!

lightspot21 commented on 2021-02-20 22:47 (UTC)

@mynacol I'd like to, but what stops me from going to Java 15 or later is that the app as it currently stands needs to have $JAVA_HOME/lib passed in the module path, along with the JavaFX module names. But passing the aforementioned path in the module path and attempting to run results in a LayerInstantiationError, which I found that it's caused due to passing $JAVA_HOME/lib in the first place. If you can help with this, I'm happy to do the necessary changes.

mynacol commented on 2021-02-20 11:23 (UTC)

Thanks, @lightspot21 for the patch supporting the new version. Before updating, please consider changing the java dependencies to more generic ones. According to the official website, Java Runtime 11+ is needed. So no hard dependency on java 11. In summary you could change: jre11-openjdk -> java-runtime>=11 java-openjfx=11 -> java-openjfx>=11

SanskritFritz commented on 2021-02-16 11:08 (UTC)

Could you please do it, I don't use this software. Maybe I should orphan it, but I want to keep it in shape for others. Now this change is beyond my knowledge, so if you don't mind I added you as a co-maintainer.