@air_guidear: It seems you need to overwrite the files with pacman.
sudo pacman -U --overwrite \* /path/to/dolphin-package
Might work with AUR helpers as well.
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Package Base: | dolphin-emu-git |
Description: | A Gamecube / Wii emulator - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL-2.0-or-later |
Conflicts: | dolphin-emu |
Provides: | dolphin-emu |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 122 |
Popularity: | 0.46 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2024-09-17 18:04 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 56 Next › Last »
@air_guidear: It seems you need to overwrite the files with pacman.
sudo pacman -U --overwrite \* /path/to/dolphin-package
Might work with AUR helpers as well.
@dpeukert
I do have the flatpak beta version installed at the same time, but I've never had them conflict before.
Running the pacman command you listed outputs:
error: No package owns /usr/share/locale/sr/LC_MESSAGES/dolphin-emu.mo
I've re-ran the install again, still getting this:
... (there's a lot more, fills the entire terminal output)
dolphin-emu-git: /usr/share/locale/zh_CN/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/locale/zh_TW/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/man/man6/dolphin-emu.6.gz exists in filesystem
Errors occurred, no packages were upgraded.
@air_guidear: I wasn't able to reproduce either problem.
Doesn't load: Is there an output in the console when running dolphin-emu
?
Filesystem conflicts: Is it possible you installed dolphin manually before? What's the output of pacman -Qo /usr/share/locale/sr/LC_MESSAGES/dolphin-emu.mo
?
Broken. On attempting to run, spins and doesn't load. On reinstall now ends up with 'x exists in filesystem'
ex:
dolphin-emu-git: /usr/share/locale/sr/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/locale/sv/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/locale/tr/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/locale/zh_CN/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/locale/zh_TW/LC_MESSAGES/dolphin-emu.mo exists in filesystem
dolphin-emu-git: /usr/share/man/man6/dolphin-emu.6.gz exists in filesystem
Errors occurred, no packages were upgraded.
Last working version was 2407-113. Recent commits have no relevant change that would be causing this. PKGBUILD on 7/28 probably related.
@Jano161, @rubin55: This should now be fixed.
Great, your check() function is broken too:
Expected version string: Dolphin.*2407-103 ($_checkversion)
Received version string: Dolphin 2407-103-dirty ($_checkoutput)
This _checkversion
works:
_checkversion="${_projectname^} $(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')-dirty"
I added this in my patch below.
It has to do with the fact that CmakeLists.txt
looks for minizip pkgconfig, not for minizip-ng. I've patched the PKGBUILD
as follows (I also fixed your check block, see comment above):
diff --git a/PKGBUILD b/PKGBUILD
index 284b720..cacb722 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@ _noguipkgname="$_projectname-emu-nogui"
_toolpkgname="$_projectname-emu-tool"
pkgbase="$_mainpkgname-git"
pkgname=("$pkgbase" "$_noguipkgname-git" "$_toolpkgname-git")
-pkgver='5.0.r21785.gf49659fbfc'
-pkgrel='1'
+pkgver=2407.r103.g87b7009c12
+pkgrel=1
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
@@ -36,6 +36,7 @@ source=(
"$pkgbase-tinygltf::git+https://github.com/syoyo/tinygltf.git"
"$pkgbase-vh::git+https://github.com/KhronosGroup/Vulkan-Headers.git"
"$pkgbase-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
+ use-minizip-ng.patch
)
b2sums=('SKIP'
'SKIP'
@@ -43,6 +44,7 @@ b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'SKIP')
_sourcedirectory="$pkgbase"
@@ -76,8 +78,12 @@ pkgver() {
}
build() {
+ cp use-minizip-ng.patch "$srcdir/$_sourcedirectory/"
cd "$srcdir/$_sourcedirectory/"
+ # Patch CmakeLists.txt to reference minizip-ng.
+ cat use-minizip-ng.patch | patch -p0
+
# Consider symbols in dependencies of directly specified dynamic libraries as available to fix the build
export LDFLAGS="-Wl,--copy-dt-needed-entries"
@@ -98,7 +104,7 @@ build() {
check() {
# Get git version to compare
cd "$srcdir/$_sourcedirectory/"
- _checkversion="${_projectname^}.*$(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')"
+ _checkversion="${_projectname^} $(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')-dirty"
# Run tests
cd "$srcdir/$_sourcedirectory/build/"
@@ -106,7 +112,8 @@ check() {
# Verify that the basic functionality works
_checkoutput="$(QT_QPA_PLATFORM='offscreen' "$srcdir/$_sourcedirectory/build/Binaries/$_noguipkgname" --version)"
- printf '%s\n' "$_checkoutput"
+ printf 'Expected version string: %s\n' "$_checkversion"
+ printf 'Received version string: %s\n' "$_checkoutput"
printf '%s\n' "$_checkoutput" | grep -q "^$_checkversion$"
}
@Jano161, @dpeukert, the package lists minizip-ng as a dependency, the version of minizip-ng is 4.0.7, cmake tests for version of at least 4.0.4. Thanks for the tip, but I don't want to install minizip-git if I don't absolutely have to, and if I do, the dependency needs to change.
@rubin55 had the same problem. After installing the "minizip-git" package it worked for me.
I'm getting this after attempting build this morning:
-- Checking for one of the modules 'minizip>=4.0.4'
CMake Error at CMake/DolphinLibraryTools.cmake:84 (message):
No system MINIZIP was found. Please install it or set USE_SYSTEM_MINIZIP
to AUTO or OFF.
Call Stack (most recent call first):
CMakeLists.txt:679 (dolphin_find_optional_system_library_pkgconfig)
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git