Be sure to set your java runtime to a jre8, either system wide (https://wiki.archlinux.org/index.php/Java#Switching_between_JVM), or just for FTBApp (https://github.com/FTBTeam/FTB-App/issues/264#issuecomment-700919667)
Search Criteria
Package Details: ftba 202101041428_54016a89dc_release-1
Git Clone URL: | https://aur.archlinux.org/ftba.git (read-only, click to copy) |
---|---|
Package Base: | ftba |
Description: | Offers many different styles of Minecraft modpacks to the community. |
Upstream URL: | None |
Keywords: | feed-the-beast feedthebeast |
Licenses: | |
Submitter: | willyb |
Maintainer: | willyb (cobaltspace) |
Last Packager: | cobaltspace |
Votes: | 1 |
Popularity: | 0.59 |
First Submitted: | 2020-08-11 18:03 |
Last Updated: | 2021-01-12 22:20 |
Dependencies (2)
- java-runtime=11 (jdk5, tuxjdk, jre7-openjdk-infinality, java-8-openjdk-shenandoah, jre8-openjdk-infinality, java-gcj-compat, jdk9, jre9, jdk-devel, jre10, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, jdk8-openjdk-dcevm, jdk11-graalvm-ee-bin, server-jre, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jre8-openjdk-jetbrains, jre8-openjdk-shenandoah, jdk10-openj9-bin, jdk14-openj9-bin, sapmachine-jdk-bin, jdk7, jre7, jdk8-j9-bin, jre14, java-openjdk-bin, jre, jdk-openj9-bin, jdk-arm, jdk-adoptopenjdk, jdk11-adoptopenjdk, liberica-jdk-full-bin, jdk8-jetbrains, zulu-embedded-jdk8, amazon-corretto-11, liberica-jdk-8-full-bin, liberica-jdk-11-bin, liberica-jdk-11-full-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, liberica-jre-11-full-bin, liberica-jre-8-full-bin, amazon-corretto-8, jdk8, jre11, jdk8-graalvm-bin, jdk11-graalvm-bin, zulu-embedded-jdk, jdk7r1-j9-bin, jdk7-j9-bin, zulu-15-bin, zulu-14-bin, zulu-13-bin, jre8, jre8-adoptopenjdk, zulu-embedded-jdk11, jdk-bcl, jre-bcl, jdk8-openj9-bin, zulu-11-bin, zulu-8-bin, amazon-corretto-15, jre-openj9, jre-jetbrains, java-openjdk-ea-bin, java-openjdk-loom-ea-bin, jdk-jetbrains, jdk11-openj9-bin, jre11-jetbrains-imfix, jre-openjdk, jre11-openjdk, jre7-openjdk, jre8-openjdk)
- java-runtime=8 (jdk5, tuxjdk, jre7-openjdk-infinality, java-8-openjdk-shenandoah, jre8-openjdk-infinality, java-gcj-compat, jdk9, jre9, jdk-devel, jre10, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, jdk8-openjdk-dcevm, jdk11-graalvm-ee-bin, server-jre, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jre8-openjdk-jetbrains, jre8-openjdk-shenandoah, jdk10-openj9-bin, jdk14-openj9-bin, sapmachine-jdk-bin, jdk7, jre7, jdk8-j9-bin, jre14, java-openjdk-bin, jre, jdk-openj9-bin, jdk-arm, jdk-adoptopenjdk, jdk11-adoptopenjdk, liberica-jdk-full-bin, jdk8-jetbrains, zulu-embedded-jdk8, amazon-corretto-11, liberica-jdk-8-full-bin, liberica-jdk-11-bin, liberica-jdk-11-full-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, liberica-jre-11-full-bin, liberica-jre-8-full-bin, amazon-corretto-8, jdk8, jre11, jdk8-graalvm-bin, jdk11-graalvm-bin, zulu-embedded-jdk, jdk7r1-j9-bin, jdk7-j9-bin, zulu-15-bin, zulu-14-bin, zulu-13-bin, jre8, jre8-adoptopenjdk, zulu-embedded-jdk11, jdk-bcl, jre-bcl, jdk8-openj9-bin, zulu-11-bin, zulu-8-bin, amazon-corretto-15, jre-openj9, jre-jetbrains, java-openjdk-ea-bin, java-openjdk-loom-ea-bin, jdk-jetbrains, jdk11-openj9-bin, jre11-jetbrains-imfix, jre-openjdk, jre11-openjdk, jre7-openjdk, jre8-openjdk)
Required by (0)
Sources (2)
Latest Comments
cobaltspace commented on 2021-01-12 22:18
willyb commented on 2020-12-16 05:14
PKGBUILD has more or less (pretty much all of it, really) been changed to the suggestions of @cobaltspace. Thanks. To users that already had the package installed, be sure to delete all (except instances) from ~/.local/share/FTBA
. New users don't have to do anything.
cobaltspace commented on 2020-12-07 21:47
There are many issues with this package:
java-runtime=8
is a dependency for playing modded minecraftsha256sums
are preferred tomd5sums
. See https://wiki.archlinux.org/index.php/PKGBUILD#Integrity- instead of having
_version
as another variable to maintain, use${pkgver//_/-}
. See https://wiki.archlinux.org/index.php/PKGBUILD#pkgver noextract
is unnecessarydata.tar.gz
can be extracted directly into$pkgdir
- files for other Operating Systems can be removed to reduce package size
- included jre can be removed and
java-runtime=11
can be added todepends
run-ftb.sh
should not exist as it is. It can be replaced with a symbolic link or small wrapper script. Packages should not copy themselves into user directories. (Also, if for some reason you want to reference$HOME/.local/share
in a script, use$XDG_DATA_HOME
and fallback to$HOME/.local/share
instead. See https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Shell-Parameter-Expansion)$pkgdir/opt/FTBA/bin/ftb-app
needs to be marked as executable
This is my rough draft fix:
# Maintainer: William Brown <glowinthedarkcia at horsefucker dot org>
# Contributor: Cobalt Space <cobaltspace at protonmail dot com>
pkgname=ftba
pkgver=202011261605_2be2c6a678_release
pkgrel=3
arch=("any")
pkgdesc="Offers many different styles of Minecraft modpacks to the community."
source=("https://apps.modpacks.ch/FTBApp/release/${pkgver//_/-}/FTBA_linux_${pkgver//_/-}.deb" "ftbapp.desktop")
sha256sums=('647a46aad94840dddf35e110317cf0504061eadc553e8d84a1758c61bccf28ce'
'd7dd2ecae636bce07af3df299003283fbeef49b2da13a28b1f34b19469f93b1d')
license=("LGPL2")
depends=("java-runtime=8" "java-runtime=11")
package() {
tar -C $pkgdir -xf $srcdir/data.tar.gz
mkdir -p $pkgdir/usr/{bin,/share/applications}
cp "$srcdir/ftbapp.desktop" $pkgdir/usr/share/applications
chmod +x $pkgdir/opt/FTBA/bin/ftb-app
rm -r $pkgdir/opt/FTBA/{jre,bin/{ftbapp.app,{,**/}*.{exe,dll}}}
ln -s ../../opt/FTBA/FTBApp $pkgdir/usr/bin
}
With these changes, users should remove ~/.local/share/FTBA
. If user's instance directory is in there, they should remove everything but the instances.
Floppie commented on 2020-11-08 19:00
Edit the PKGBUILD
before installing and change the last md5sum (0775efb989c973eb7a080e6dae2f9e8d
) to caa125e287ab8287587aff53626db48a
The correct fix is that the actual committed PKGBUILD
needs to be updated. ftbapp.desktop
had a fix committed 9 days ago but the PKGBUILD
was not updated with the new hash.
ahuston-0 commented on 2020-11-06 17:11
Does anyone have any fix for ftbapp.desktop not passing the validity check?
stevendoesstuffs commented on 2020-10-22 14:53
For me, the icon for the app is located at /opt/FTBA/.install4j/FTBApp.png
, but the .desktop file links to /opt/FTBApp/.install4j/FTBApp.png
.
Also, please add StartupWMClass=ftb-app
to the .desktop file, it fixes the issue where the open app doesn't have the proper icon.
lsdaniel commented on 2020-08-22 23:49
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 11.0.5 and at most 11.0.999.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
Based off of this, shouldn't the java-runtime dependency be java-runtime=11?
Pinned Comments
cobaltspace commented on 2021-01-12 22:18
Be sure to set your java runtime to a jre8, either system wide (https://wiki.archlinux.org/index.php/Java#Switching_between_JVM), or just for FTBApp (https://github.com/FTBTeam/FTB-App/issues/264#issuecomment-700919667)
willyb commented on 2020-12-16 05:14
PKGBUILD has more or less (pretty much all of it, really) been changed to the suggestions of @cobaltspace. Thanks. To users that already had the package installed, be sure to delete all (except instances) from
~/.local/share/FTBA
. New users don't have to do anything.