Package Details: shattered-pixel-dungeon 1.3.2.REL-1

Git Clone URL: https://aur.archlinux.org/shattered-pixel-dungeon.git (read-only, click to copy)
Package Base: shattered-pixel-dungeon
Description: Shattered fork of the popular rogue-like game
Upstream URL: https://shatteredpixel.com/
Licenses: GPL3
Conflicts: shattered-pixel-dungeon-git
Submitter: petercxy
Maintainer: petercxy (lilac)
Last Packager: lilac
Votes: 15
Popularity: 0.052167
First Submitted: 2018-05-11 11:51 (UTC)
Last Updated: 2022-07-27 22:25 (UTC)

Latest Comments

1 2 3 Next › Last »

kraftwerk28 commented on 2022-03-15 14:40 (UTC)

I had to replace /usr/lib/jvm/java-11-openjdk/jre/bin with /usr/lib/jvm/java-11-openjdk/bin and add export JAVA_HOME="/usr/lib/jvm/java11-openjdk" inside build() function.

patlefort commented on 2021-12-23 09:24 (UTC)

I think there is a small error: the path /usr/lib/jvm/java-11-openjdk/jre/bin should be /usr/lib/jvm/java-11-openjdk/bin as the former doesn't exists.

petercxy commented on 2021-10-10 15:23 (UTC)

@noel09 Strangely it seems to be working fine here. I think there might be some missing dependencies (that happens to be installed on most people's deployment but not yours) -- let me check later what that is.

noel09 commented on 2021-10-10 15:21 (UTC)

I'm having trouble running this package.

Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "main"

In an attempt to take a peek at whats going on ive tried:

dir=/tmp/unpack
jar=$(pacman -Qql shattered-pixel-dungeon | grep jar$)
main=com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher  # as specified in META-INF/MANIFEST.MF

# mkdir "$dir" && cd "$dir" && jar --extract --file "$jar" || exit
jdb -sourcepath "$dir" -classpath "$jar" "$main"

This yielded an UnsatisfiedLinkError from one of the included libraries

Initializing jdb ...
> run
run com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
>
VM Started:
Exception occurred: java.lang.UnsatisfiedLinkError (uncaught)"thread=main", org.lwjgl.system.Library.loadSystem(), line=126 bci=346

main[1] where
[1] org.lwjgl.system.Library.loadSystem (Library.java:126)
[2] org.lwjgl.system.Library.loadSystem (Library.java:62)
[3] org.lwjgl.system.Library.<clinit> (Library.java:50)
[4] org.lwjgl.system.MemoryUtil.<clinit> (MemoryUtil.java:97)
[5] org.lwjgl.system.Pointer$Default.<clinit> (Pointer.java:67)
[6] org.lwjgl.system.Callback.<clinit> (Callback.java:41)
[7] com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.initializeGlfw (Lwjgl3Application.java:81)
[8] com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init> (Lwjgl3Application.java:91)
[9] com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher.main (DesktopLauncher.java:160)
main[1]

petercxy commented on 2021-09-08 11:51 (UTC)

@reclusivesage I should probably hard-code JAVA_HOME path for gradle as well in a future release.

reclusivesage commented on 2021-09-06 22:21 (UTC)

@twintowers Thank you, it worked. (I tried uninstalling java-8-openjdk or something like that to no avail.)

twintowers commented on 2021-09-06 21:06 (UTC)

@reclusivesage "archlinux-java status" should list available Java environments. "sudo archlinux-java set java-11-openjdk" will change it to Java 11 if installed.

reclusivesage commented on 2021-09-05 04:27 (UTC) (edited on 2021-09-05 04:28 (UTC) by reclusivesage)

I think I've been having the same issue for the past 4 versions that users rich-o and anwait described.

How do I either change the JAVA_HOME environment variable or change org.gradle.java.home in gradle.properties?

==> Starting build()...

Welcome to Gradle 7.2!

Here are the highlights of this release:
 - Toolchain support for Scala
 - More cache hits when Java source files have platform-specific line endings
 - More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Build file '/home/uSER/AUR/shattered-pixel-dungeon/src/shattered-pixel-dungeon-1.0.3/android/build.gradle' line: 1

* What went wrong:
A problem occurred evaluating project ':android'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     You can try some of the following options:
       - changing the IDE settings.
       - changing the JAVA_HOME environment variable.
       - changing `org.gradle.java.home` in `gradle.properties`.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 34s
==> ERROR: A failure occurred in build().
    Aborting...

petercxy commented on 2021-08-28 11:43 (UTC)

@grawlinson It's a hack to make the upstream versioning scheme (X.X.X -> X.X.X.a -> X.X.X.b) work with pacman's version comparing algorithm.