Or at least clean up:
gamescope-git: /usr/bin/di-edid-decode exists in filesystem (owned by libdisplay-info)
From the bundling if built in a clean chroot.
Git Clone URL: | https://aur.archlinux.org/gamescope-git.git (read-only, click to copy) |
---|---|
Package Base: | gamescope-git |
Description: | SteamOS session compositing window manager |
Upstream URL: | https://github.com/ValveSoftware/gamescope |
Keywords: | gamescope session steamcompmgr steamos |
Licenses: | BSD-2-Clause |
Conflicts: | gamescope |
Provides: | gamescope |
Submitter: | Scrumplex |
Maintainer: | Samsagax (bouhaa, alkazar, ruineka, pastaq, Sid127) |
Last Packager: | Samsagax |
Votes: | 24 |
Popularity: | 0.27 |
First Submitted: | 2020-05-20 11:19 (UTC) |
Last Updated: | 2024-11-06 22:16 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
Or at least clean up:
gamescope-git: /usr/bin/di-edid-decode exists in filesystem (owned by libdisplay-info)
From the bundling if built in a clean chroot.
Can we please split out some of these Git dependencies to AUR dependencies instead?
Ah, then it's Chaotic AUR's fault. Building the AUR package myself doesn't conflict.
error: failed to commit transaction (conflicting files)
gamescope-git: /usr/bin/di-edid-decode exists in filesystem (owned by libdisplay-info)
Maybe it only doesn't conflict if the system version of libdisplay-info is installed before building?
Of course it doesn't happen with the default, it happens if I use -DNDEBUG flag which turn off assertions, which should be disabled in release builds and should be the default.
@kode54: I see no conflicts on my end. make sure you have it updated.
@patlefort: I dont see those warnings into errors with the default makepkg configuration. Please check if you dont have it into your own configuration.
Suggestion to allow building with -DNDEBUG (disable debugging assertions):
diff --git a/PKGBUILD b/PKGBUILD
index 8109f1e..d3aaf3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,6 +64,9 @@ prepare() {
# make stb.wrap use our local clone
sed -i "s|https://github.com/nothings/stb.git|$srcdir/stb|" "subprojects/stb.wrap"
meson subprojects download
+
+ sed -i "s/werror=true/werror=false/" 'subprojects/wlroots/meson.build'
+ sed -i "s/werror=true/werror=false/" 'subprojects/libliftoff/meson.build'
}
build() {
It generate harmless warnings for unused variables but werror=true turn them into errors.
This package now conflicts with the AUR package for libdisplay-info.
Please add libxmu to the depends. Otherwise the build is not compiling in a chroot.
This was fixed upstream just now. See https://github.com/Plagman/gamescope/issues/738
Seem like the commit dc6d755ada911dcc02b91a9c3fa6e6da4b544693
accidentally added stb as submodule.
diff --git a/subprojects/stb b/subprojects/stb
new file mode 160000
index 0000000..8b5f1f3
--- /dev/null
+++ b/subprojects/stb
@@ -0,0 +1 @@
+Subproject commit 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55
Add git rm subprojects/stb
just before git submodule init
should fix it for now
PKGBUILD patch
diff --git a/PKGBUILD b/PKGBUILD
index eb894d3..a0bc9eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,6 +51,7 @@ prepare() {
git apply "../$src"
done
+ git rm subprojects/stb
git submodule init
git config submodule.subprojects/wlroots.url "$srcdir/wlroots"
git config submodule.subprojects/libliftoff.url "$srcdir/libliftoff"
Pinned Comments
Scrumplex commented on 2022-06-14 10:44 (UTC)
Please do not flag this package as out-of-date if it still builds fine and isn't missing any dependencies or anything