Package Details: recaf-git r2275.ca07fc05-1

Git Clone URL: (read-only, click to copy)
Package Base: recaf-git
Description: A modern Java bytecode editor
Upstream URL:
Keywords: agent asm bytecode bytecode-engineering bytecode-manipulation decompile decompiler java javafx javafx-application jvm-bytecode reverse-engineering static-analysis
Licenses: MIT
Conflicts: recaf, recaf-bin
Provides: recaf
Replaces: recaf
Submitter: dreamscached
Maintainer: dreamscached
Last Packager: dreamscached
Votes: 2
Popularity: 0.015992
First Submitted: 2021-12-18 09:02 (UTC)
Last Updated: 2023-03-03 08:38 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

dreamscached commented on 2023-03-03 08:39 (UTC)

Thank you. I apologize for such a delay, I have introduced the changes you have proposed.

Score_Under commented on 2022-11-21 18:54 (UTC)

Sorry to keep pestering, but it still isn't building as-is; I've added this to my copy of the PKGBUILD to get it working for now:

build() {
    cd "$srcdir/$_pkgname"
    MAVEN_USER_HOME="$srcdir/$_pkgname/.m2" ./mvnw -gs "$srcdir/settings.xml" clean package

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk

note that the only difference in the overridden build function is the ../ is removed. jdk11 is used because maven runs tests at the end and recaf doesn't support jdk19. I haven't checked if it works on jdk17 or not, but that's LTS too so it has a fair chance.

Score_Under commented on 2022-11-05 14:58 (UTC)

I think it's almost there, but it's still referring to the settings.xml outside of the srcdir which isn't as reliably accessible when building in a chroot

dreamscached commented on 2022-11-04 21:33 (UTC) (edited on 2022-11-04 22:01 (UTC) by dreamscached)

Noted, I'll roll out a fix this weekend or today if I'll have time.

Score_Under commented on 2022-11-04 11:23 (UTC)

Also after adding java-environment to makedepends, seems to fail on settings.xml because the PKGBUILD assumes that the srcdir is exactly one directory below the pkgbuild directory. When building with makechrootpkg, the srcdir is /build/recaf-git/src and the PKGBUILD is in /startdir. The provided settings.xml should be added to the sources array.

Score_Under commented on 2022-11-03 18:12 (UTC) (edited on 2022-11-03 18:12 (UTC) by Score_Under)

This needs java-environment in makedepends, because it builds with maven