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: ftb-app-bin 1.26.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ftb-app-bin.git (read-only, click to copy) |
---|---|
Package Base: | ftb-app-bin |
Description: | A new Modpack launcher for FTB and Curse modpacks. |
Upstream URL: | https://feed-the-beast.com/ftb-app |
Keywords: | feed-the-beast feedthebeast ftba ftbapp minecraft |
Licenses: | LGPL-2.1-only |
Conflicts: | ftb-app |
Provides: | ftb-app |
Submitter: | su226 |
Maintainer: | su226 |
Last Packager: | su226 |
Votes: | 3 |
Popularity: | 0.072320 |
First Submitted: | 2024-04-22 12:14 (UTC) |
Last Updated: | 2024-11-19 11:08 (UTC) |
Dependencies (4)
- alsa-lib
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- nss (nss-hgAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk21-jetbrains-binAUR, jre11AUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, jdk-openj9-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional) – Playing Minecraft with system Java.
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2
cobaltspace commented on 2021-01-12 22:18 (UTC)
willyb commented on 2020-12-16 05:14 (UTC)
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 (UTC) (edited on 2020-12-07 21:47 (UTC) by cobaltspace)
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 (UTC)
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 (UTC)
Does anyone have any fix for ftbapp.desktop not passing the validity check?
stevendoesstuffs commented on 2020-10-22 14:53 (UTC) (edited on 2020-10-22 15:02 (UTC) by stevendoesstuffs)
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.
lsevcik commented on 2020-08-22 23:49 (UTC)
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-11-24 01:05 (UTC)
Recommendation: In settings, set your custom arguments to include
-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
.