Package Details: prismlauncher 8.3-1

Git Clone URL: https://aur.archlinux.org/prismlauncher.git (read-only, click to copy)
Package Base: prismlauncher
Description: Minecraft launcher with ability to manage multiple instances.
Upstream URL: https://prismlauncher.org
Licenses: GPL3
Submitter: Scrumplex
Maintainer: Scrumplex (txtsd, g3tchoo)
Last Packager: g3tchoo
Votes: 150
Popularity: 9.78
First Submitted: 2022-10-18 06:42 (UTC)
Last Updated: 2024-04-23 18:37 (UTC)

Dependencies (23)

Required by (2)

Sources (1)

Pinned Comments

Scrumplex commented on 2023-12-02 12:39 (UTC)

Options like -j $(nproc) are supposed to be set by your local makepkg.conf.

Please read https://wiki.archlinux.org/title/Makepkg#Parallel_compilation

g3tchoo commented on 2023-11-06 16:38 (UTC) (edited on 2023-11-06 16:38 (UTC) by g3tchoo)

following some feedback and reports of issues, i think we're going to stick with jdk17-openjdk for now. while user choice is important, i believe there needs to be a balance between that and reliably building this package without manual intervention. this is also why the depends array will still contain java-runtime rather than any specific jdk - since unlike building prism, we don't need to know the path of the jdk to ensure things work as expected.

to ensure you don't still have jdk17-openjdk after building (and you don't use it), you can tell makepkg to remove unneeded makedepends when it's done:

# with paru or yay
$ paru/yay -S --removemake prismlauncher
# with aurutils
$ aur sync -r prismlauncher
# with only makepkg
$ makepkg -sri

if you have already built prismlauncher, you can also run one of the following commands:

# with paru
$ paru -c
# with yay
$ yay -Yc
# on any system
$ pacman -Qdtq | sudo pacman -Rns -

for those facing further issues with dependencies in the future, i would also recommend using chroot builds. these allow aur packages to build in isolated and more reproducible environments, which can commonly fix these types of issues. the devtools package provides a script named extra-x86_64-build that can be used in place of makepkg to do this easily. building prismlauncher with this can be done like so:

$ git clone https://aur.archlinux.org/prismlauncher.git
$ cd prismlauncher
$ extra-x86_64-build

Latest Comments

1 2 3 4 5 Next › Last »

UnknownUser commented on 2024-04-24 14:13 (UTC) (edited on 2024-04-24 15:01 (UTC) by UnknownUser)

I cannot build this.

warning: [options] bootstrap class path is not set in conjunction with -source 7
  not setting the bootstrap class path may lead to class files that cannot run on JDK 8
    --release 7 is recommended instead of -source 7 -target 7 because it sets the bootstrap class path automatically
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
make[2]: *** [libraries/launcher/CMakeFiles/NewLaunch.dir/build.make:94: libraries/launcher/CMakeFiles/NewLaunch.dir/java_compiled_NewLaunch] Error 2
make[1]: *** [CMakeFiles/Makefile2:1460: libraries/launcher/CMakeFiles/NewLaunch.dir/all] Error 2

This is acknowledged upstream here and here.

A workaround is to change both libraries/launcher/CMakeLists.txt and libraries/launcher/CMakeLists.txt so that they check for Java 8.

Gentoo does this too, although they do it depending on the installed JRE.

Edit: This was too annoying, because it requires to unpack the tar, change the values, pack the tar, and then update the sha256. Adding sed -i "s/7/8/g" libraries/{launcher,javacheck}/CMakeLists.txt to prepare() is significantly easier.

chrrybmb commented on 2024-04-24 08:11 (UTC)

Minecraft 1.20.5 is now out and it requires Java 21.

betseg commented on 2024-04-04 09:08 (UTC)

24w14a requires Java 21, the package requires java-runtime=17

That1Calculator commented on 2024-03-08 16:33 (UTC)

Currently getting this error:

CMake Error at CMakeLists.txt:299 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.

Scrumplex commented on 2024-02-16 07:07 (UTC)

If you are facing issues with cmark, please rebuild the package.

Most AUR helpers have a flag for this (i.e. --rebuild for yay and paru)

trainzkid commented on 2024-02-16 02:51 (UTC) (edited on 2024-02-16 02:51 (UTC) by trainzkid)

Fails to run, mad about missing a shared library for cmark, even though cmark is installed:

prismlauncher: error while loading shared libraries: libcmark.so.0.30.3: cannot open shared object file: No such file or directory

ENV:

prismlauncher 8.0-1
cmark 0.31.0-2
linux-zen 6.7.4.zen1-1

Runs just fine with cmark 0.30.3-1.

Xefreh commented on 2023-12-11 07:00 (UTC)

Hi, could you update this package please, apparently some links in Qt and the code has to be recompiled from this issue. https://github.com/PrismLauncher/PrismLauncher/issues/1903 the prompted error when trying to launch prism is:

prismlauncher: symbol lookup error: prismlauncher: undefined symbol: _ZN14QReadWriteLock16destroyRecursiveEP21QReadWriteLockPrivate, version Qt_6_PRIVATE_API