Package Details: pcgen-git 6.09.00_DEV.g13a608a30e-1

Git Clone URL: https://aur.archlinux.org/pcgen-git.git (read-only)
Package Base: pcgen-git
Description: An RPG Character Generator.
Upstream URL: http://pcgen.org
Keywords: java pathfinder RPG
Licenses: LGPL2
Conflicts: pcgen
Provides: pcgen
Submitter: calebj
Maintainer: calebj
Last Packager: calebj
Votes: 6
Popularity: 0.215431
First Submitted: 2015-12-07 05:12
Last Updated: 2019-02-04 00:35

Dependencies (9)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

Magotchi commented on 2019-05-23 22:52

EDIT: The latest builds now work, as of 2019-06-05, but I don't know if it was fixed upstream or some other package I had updated to be compatible.

On two computers, when running this PKGBUILD for the latest revision (via the terminal to see its output), the GUI hangs at "Initializing UI" with 100% progress, and the terminal shows an exception, "java.lang.UnsupportedOperationException: The APP_ABOUT action is not supported on the current platform!".

Are others seeing this, and has anyone been able to get past it?

(In contrast, running "java -jar pcgen.jar" on the pre-built versions works fine, so that's been my workaround.)

Magotchi commented on 2019-04-30 14:32

Thanks for a great, working package. It do have a minor issue, though. Your pkgver() function doesn't generate sequential versions as new commits happen over at GitHub. It takes the version from gradle.properties and tacks on the Git short commit hash, resulting, with the current GitHub commit, in "6.09.00_DEV.g07d47fe53e". The problem there is that it's not sequential. For example, the package version from when you last updated it in the PKGBUILD is "6.09.00_DEV.g13a608a30e", which appears to be a newer version than that actual latest version of "6.09.00_DEV.g07d47fe53e", and that causes AUR helpers to get confused on whether the package needs to be updated.

Please review the wiki section on the pkgver() function for VCS packages. If this were my package, I would probably either use the "most recent un-annotated tag" option, which would result currently in "6.08.00RC3.r681.g07d47fe53e", or maybe use the "number of revisions since beginning of the history" option, combined with that version value you're already using with gradle.properties , which would result in something like "6.09.00_DEV.r25683.g07d47fe53e".

allan_m commented on 2019-02-04 01:28

Thanks so much -- worked perfectly!

calebj commented on 2019-02-04 00:40

Hey @allan_m,

I've updated the PKGBUILD for some upstream changes and to require Java 11 to be installed and enabled. Now it'll abort with an error if you haven't set your Java version to 11. The command you'll need to run is:

sudo archlinux-java set java-11-openjdk

Or replace openjdk with jdk if you're using Oracle's version from the AUR. See https://wiki.archlinux.org/index.php/Java#Switching_between_JVM for more info.

allan_m commented on 2019-02-03 23:41

Thanks so much for offering this build of PCGen -- I have used it on Ubuntu for years and was glad to find this on my migration to Arch.

I am getting the following on build attempts: "FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compileJava'.

    Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'"

I have changed JAVA_HOME to no effect. Searches and reading gradle info yielded possible solutions but nothing that worked, so I'm asking for help. If this is the wrong place for that, my apologies. Thanks very much.

TrefArc commented on 2018-12-14 09:55

@calebj Indeed, on the other computer all the correctly (access). Sorry.

calebj commented on 2018-12-13 23:27

@TrefArc that looks like a temporary outage or another issue on your end. I was able to build it on my end from a fresh clone, and can load the URLs you posted just fine.

TrefArc commented on 2018-12-13 22:45

i have errors: Could not GET 'http://pc-gen.org/librepo/net.sourceforge.pcgen/PCGen-base/1.0.166/ivy-1.0.166.xml'. > Connect to pc-gen.org:80 [pc-gen.org/159.203.101.162] failed: Connection refused

Could not GET 'http://pc-gen.org/librepo/net.sourceforge.pcgen/PCGen-Formula/1.0.186/ivy-1.0.186.xml'. > Connect to pc-gen.org:80 [pc-gen.org/159.203.101.162] failed: Connection refused

calebj commented on 2018-08-17 20:45

@ryosei I haven't had any issues building with java-10. But the libs folder did move again, so I fixed that.

ryosei commented on 2018-05-11 13:57

Small tweak to make the PKGBUILD build the package correctly.

https://hastebin.com/raw/irediniqov

it needs java-9-{jdk,openjdk}. It doesn't compile with java-8 nor java-10.