Package Details: forge-gui-desktop 2.0.01-1

Git Clone URL: https://aur.archlinux.org/forge-gui-desktop.git (read-only, click to copy)
Package Base: forge-gui-desktop
Description: Implementation of Magic the Gathering that lets you play against a computer AI
Upstream URL: https://github.com/Card-Forge/forge
Keywords: ccg gathering magic mtg
Licenses: GPL3
Submitter: Thulu
Maintainer: nathanchere
Last Packager: nathanchere
Votes: 5
Popularity: 0.98
First Submitted: 2017-11-06 22:28 (UTC)
Last Updated: 2025-01-28 18:25 (UTC)

Latest Comments

ptrxyz commented on 2025-02-12 21:30 (UTC) (edited on 2025-02-12 21:30 (UTC) by ptrxyz)

A little fix for the PKGBUILD to make it work 2.0.01-1:

in line 22, the version number is hard coded:

...
install -Dm0644 forge-gui-desktop-2.0.00-jar-with-dependencies.jar "$pkgdir"/usr/share/java/$pkgname.jar
...

This should be changed to use $pkgver to always work with the latest release:

...
install -Dm0644 forge-gui-desktop-$pkgver-jar-with-dependencies.jar "$pkgdir"/usr/share/java/$pkgname.jar 
...

nathanchere commented on 2025-01-28 18:25 (UTC)

Thanks @drd and @Fuzzi99 I have taken both suggestions on board in latest pkgbuild

drd commented on 2025-01-23 14:53 (UTC) (edited on 2025-01-23 14:56 (UTC) by drd)

Other than the already mentioned $pkgver bug, there is also a change of dependencies since forge doesn't use Java 8 anymore but Java 17 instead. The dependency should be changed to jre17-openjdk instead of jre8-openjdk or the program will crash at launch with the following message:

Class has been compiled by a more recent version of the Java Environment (class 
file version 52.0), this version of the Java Runtime only recognizes class file 
versions up to 61.0.
...

Fuzzi99 commented on 2025-01-20 04:25 (UTC)

install -Dm0644 forge-gui-desktop-2.0.00-jar-with-dependencies.jar "$pkgdir"/usr/share/java/$pkgname.jar

should be

install -Dm0644 forge-gui-desktop-$pkgver-jar-with-dependencies.jar "$pkgdir"/usr/share/java/$pkgname.jar

nathanchere commented on 2024-12-15 22:35 (UTC)

I've changed the download source from cardforge.org to the Releases for the GitHub repo for 2.0.

kirill_drashiga commented on 2024-11-22 00:29 (UTC) (edited on 2024-11-22 00:29 (UTC) by kirill_drashiga)

I get an issue when trying to run 'forge-gui-desktop.sh':

Exception in thread "main" java.lang.IllegalArgumentException: DSN is required. Use empty string or set enabled to false in SentryOptions to disable SDK.
        at io.sentry.Sentry.initConfigurations(Sentry.java:380)
        at io.sentry.Sentry.init(Sentry.java:230)
        at io.sentry.Sentry.init(Sentry.java:190)
        at forge.view.Main.main(Main.java:37)

Tried googling, but search results were about kotlin and android development (that seems pretty unrelated)

G4Zz0L1 commented on 2024-03-19 23:32 (UTC)

Hi, can you update this package to the last verion? Currently we are on the 1.6.60 https://github.com/Card-Forge/forge/releases/tag/forge-1.6.60 Thanks in advance!

G4Zz0L1 commented on 2022-05-30 08:51 (UTC)

The PKGBUILD timeouts when downloading the AppIcon.png file from the second source.