Any chance to make the Microsoft login work in this package? It only works in the prebuilt one (multimc-bin) atm.
See related GitHub issue.
Git Clone URL: | https://aur.archlinux.org/multimc5.git (read-only, click to copy) |
---|---|
Package Base: | multimc5 |
Description: | Minecraft launcher with ability to manage multiple instances. |
Upstream URL: | https://multimc.org/ |
Keywords: | launcher minecraft |
Licenses: | Apache |
Conflicts: | multimc |
Provides: | multimc |
Submitter: | vorpalblade |
Maintainer: | None |
Last Packager: | g3tchoo |
Votes: | 128 |
Popularity: | 0.027445 |
First Submitted: | 2015-06-06 11:37 (UTC) |
Last Updated: | 2023-02-06 06:15 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 20 Next › Last »
Any chance to make the Microsoft login work in this package? It only works in the prebuilt one (multimc-bin) atm.
See related GitHub issue.
@gameslayer: You probably have jre-openjdk, jre8-openjdk and jdk8-openjdk installed but not jdk-openjdk. It builds fine with jdk-openjdk 16.0.2.u7-1
had to set my java version to java-8-openjdk to make it build successfully otherwise I ran into this issue
Preparing...
Cloning multimc5 build files...
Checking multimc5 dependencies...
Checking brave-bin dependencies...
Synchronizing package databases...
Warning: manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-9)
Resolving dependencies...
Checking inter-conflicts...
Building multimc5...
==> Making package: multimc5 0.6.13-1 (Fri 10 Sep 2021 14:58:31)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found multimc5-0.6.13.tar.gz
-> Found multimc-0.6.1.tar.gz
-> Found multimc-3.tar.gz
-> Found quazip-fix-build-with-qt-511.patch
-> Found modern-java.patch
==> Validating source files with sha512sums...
multimc5-0.6.13.tar.gz ... Passed
multimc-0.6.1.tar.gz ... Passed
multimc-3.tar.gz ... Passed
quazip-fix-build-with-qt-511.patch ... Passed
modern-java.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting multimc5-0.6.13.tar.gz with bsdtar
-> Extracting multimc-0.6.1.tar.gz with bsdtar
-> Extracting multimc-3.tar.gz with bsdtar
==> Starting prepare()...
patching file libraries/javacheck/CMakeLists.txt
patching file libraries/launcher/CMakeLists.txt
patching file CMakeLists.txt
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Git commit: e0ec5ef3944095cc331082cc52c0726c5e7191fc
-- Git refspec: refs/heads/master
-- Compiling for linux system with share/multimc and MULTIMC_LINUX_DATADIR
Using override nbt++ name: MultiMC_nbt++
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
/var/tmp/pamac-build-corey/multimc5/src/MultiMC5-0.6.13/cmake
CMake Error at libraries/launcher/CMakeLists.txt:2 (project):
No CMAKE_Java_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "JAVA_COMPILER" or the CMake cache entry CMAKE_Java_COMPILER to
the full path to the compiler, or to the compiler name if it is in the
PATH.
-- Configuring incomplete, errors occurred!
See also "/var/tmp/pamac-build-corey/multimc5/src/MultiMC5-0.6.13/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
@ISSOtm: thanks, I never come across such problems because I always build in clean chroots. I ended up using symlinks instead, you might have to remove the leftover directories once (or just use makepkg -C
).
The package does not support building on top of an already-built repo; this patch fixes it.
diff --git a/PKGBUILD b/PKGBUILD
index f8f31a0..2f8c981 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -45,8 +45,8 @@ prepare() {
patch -p1 < "${srcdir}/add-limits-header.patch"
patch -p1 < "${srcdir}/konamicode-fix-type-mismatch.patch"
- rmdir "libraries/libnbtplusplus"
- rmdir "libraries/quazip"
+ rm -rf "libraries/libnbtplusplus"
+ rm -rf "libraries/quazip"
cp --recursive "${srcdir}/libnbtplusplus-${__pkgver_libnbtplusplus}/" \
"libraries/libnbtplusplus"
cp --recursive "${srcdir}/quazip-${__pkgver_quazip}/" \
just in case. fails to build with java-15-openjdk
.
archlinux-java set java-11-openjdk
and back to 15 after install
@katt: many thanks for the patch and sorry for the wait.
Needs this patch applied now that GCC 11 is in core: https://github.com/MultiMC/MultiMC5/pull/3747
This gets it to 80%, then it needs this applied as well: https://github.com/MultiMC/MultiMC5/commit/3a1abb555b844c79a80615727b11019403767ce7.patch
diff --git a/PKGBUILD b/PKGBUILD
index b12c385..fef52c2 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=multimc5
pkgver=0.6.12
-pkgrel=1
+pkgrel=2
__pkgver_libnbtplusplus=multimc-0.6.1
__pkgver_quazip=multimc-3
pkgdesc="Minecraft launcher with ability to manage multiple instances."
@@ -26,16 +26,22 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/MultiMC/MultiMC5/archive/${
"https://github.com/MultiMC/quazip/archive/${__pkgver_quazip}.tar.gz"
"quazip-fix-build-with-qt-511.patch"
"modern-java.patch"
+ "multimc5-add-limits-header.patch::https://github.com/MultiMC/MultiMC5/commit/c2fd714f8d77db3223c5cb1a2d7f902d3e3e73fd.patch"
+ "multimc5-konamicode.patch::https://github.com/MultiMC/MultiMC5/commit/3a1abb555b844c79a80615727b11019403767ce7.patch"
)
sha512sums=('334b0996b7b49a0f4a46a3e5b08d50d5f7aa398b8d5871772c751c1f98438d9584ffcdaf27ad6d2e84b2776415bd38910dffb8e746c4b343916c6849df2146da'
'81a1640a069d88df7ba0abf72089aecbe1e9d791c88acaaa7e70c8f0bcd0512cf8698178342657e363524ce8488dd072368a0aa8cc091a24912d6f8b6b0f4f2d'
'2e9074203c67bc7ad98621c551047e5367f06e54cacfecc755a5bf2c9f99266eab42ad972f86ae28ed7e1507f6d27d8d2680a87ce9fd5b1e93a18bcb627ec3f0'
'ca7a350bdeecf65dbca7de8d6912c935c6ba603edcddcd4ffe71d8997e50e4046335dde6d1d7c629d35025073d18be4d112a960d43a8801de979687bc26e46d4'
- 'ede87db7e1ce67184409123720b48f65d35884bac5dfff34cc099c5d7520fd9173be00997df82ad29da4640928134a7199ffdd1cbaa83a72101dbed72736508b')
+ 'ede87db7e1ce67184409123720b48f65d35884bac5dfff34cc099c5d7520fd9173be00997df82ad29da4640928134a7199ffdd1cbaa83a72101dbed72736508b'
+ 'e58cc72194b69999f96f08585a41470c0d1c074bc03992a9b41ac3d1bf3f676e526c2b42191e4d0c511281467445b13c1da82a26aeed271e05eb79efad30459e'
+ '44354df2fafcc9c08901a94d3d3eb8fe0a818d493b438799bdb75339c3fd9db91ccf9be2073271c1381496789819d74daf9353b28ab7e6a381db0d4f5ee41939')
prepare() {
cd "${srcdir}/MultiMC5-${pkgver}"
patch -p1 < "${srcdir}/modern-java.patch"
+ patch -p1 < "${srcdir}/multimc5-add-limits-header.patch"
+ patch -p1 < "${srcdir}/multimc5-konamicode.patch"
rmdir "libraries/libnbtplusplus"
rmdir "libraries/quazip"
Tested and works
Pinned Comments
g3tchoo commented on 2023-02-06 04:26 (UTC) (edited on 2023-02-06 04:45 (UTC) by g3tchoo)
multimc is no longer using stable releases, which obsoletes this package (see this commit)
please consider switching to prismlauncher for continued support. you can find a migration guide here
edit: multimc-git was previously recommended, but has not been updated for more than a year and does not build off develop currently, so it has been removed. multimc-bin may also not be viable for the same reasons as this package, so the only alternative i am comfortable recommending is prismlauncher.
g3tchoo commented on 2021-12-18 18:53 (UTC) (edited on 2021-12-18 18:53 (UTC) by g3tchoo)
Leaving this as a permanent disclaimer:
It is illegal to redistribute any binaries created with this script because of the upstream project's licensing.