commit: 04ccd546f0e94e09c786fe95c85c525d7a4d841d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 1 07:13:25 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 1 08:03:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ccd546
app-emulation/wine-proton: update winemenubuilder revert
Valve (partially) reverted this in 8.0.4, they now build
winemenubuilder but do not seem to run the service.
Somehow the patch was still applying and in and 8.0.9999 it causes a
build failure due to a misinsertion. It was wrong for 8.0.4 too but
was not doing any harm.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../wine-proton/files/wine-proton-8.0.4-restore-menubuilder.patch | 8 ++++++++
app-emulation/wine-proton/wine-proton-8.0.4.ebuild | 2 +-
app-emulation/wine-proton/wine-proton-8.0.9999.ebuild | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git
a/app-emulation/wine-proton/files/wine-proton-8.0.4-restore-menubuilder.patch
b/app-emulation/wine-proton/files/wine-proton-8.0.4-restore-menubuilder.patch
new file mode 100644
index 000000000000..f278a2cbc264
--- /dev/null
+++
b/app-emulation/wine-proton/files/wine-proton-8.0.4-restore-menubuilder.patch
@@ -0,0 +1,8 @@
+Without Steam there is no launcher by default, users with more custom
+setups may not need this but others will want access to desktop entries.
+--- a/loader/wine.inf.in
++++ b/loader/wine.inf.in
+@@ -5630,2 +5630,3 @@
+ [Services]
++HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe
-a -r"
+ HKLM,"System\CurrentControlSet\Services\Eventlog\Application",,16
diff --git a/app-emulation/wine-proton/wine-proton-8.0.4.ebuild
b/app-emulation/wine-proton/wine-proton-8.0.4.ebuild
index f021e06e5682..a276fcd47066 100644
--- a/app-emulation/wine-proton/wine-proton-8.0.4.ebuild
+++ b/app-emulation/wine-proton/wine-proton-8.0.4.ebuild
@@ -115,8 +115,8 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC
-Wl,-z,notext
PATCHES=(
"${FILESDIR}"/${PN}-7.0.4-musl.patch
"${FILESDIR}"/${PN}-7.0.4-noexecstack.patch
- "${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch
"${FILESDIR}"/${PN}-8.0.1c-unwind.patch
+ "${FILESDIR}"/${PN}-8.0.4-restore-menubuilder.patch
)
pkg_pretend() {
diff --git a/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild
b/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild
index 6741b1c2726b..c1f1e47064f1 100644
--- a/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild
+++ b/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild
@@ -116,8 +116,8 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC
-Wl,-z,notext
PATCHES=(
"${FILESDIR}"/${PN}-7.0.4-musl.patch
"${FILESDIR}"/${PN}-7.0.4-noexecstack.patch
- "${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch
"${FILESDIR}"/${PN}-8.0.1c-unwind.patch
+ "${FILESDIR}"/${PN}-8.0.4-restore-menubuilder.patch
)
pkg_pretend() {