diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | 0001-AUR-Pkgbuild-changes.patch | 211 | ||||
-rw-r--r-- | 0002-AUR-Do-not-update-cargo-crates.patch | 8 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | PKGBUILD.testing | 39 |
5 files changed, 161 insertions, 164 deletions
@@ -1,7 +1,7 @@ pkgbase = proton-ge-custom pkgdesc = Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build - pkgver = GE.Proton7.55 - pkgrel = 2 + pkgver = GE.Proton8.1 + pkgrel = 1 epoch = 2 url = https://github.com/GloriousEggroll/proton-ge-custom install = proton-ge-custom.install @@ -37,10 +37,6 @@ pkgbase = proton-ge-custom makedepends = lib32-libxcomposite makedepends = libxxf86vm makedepends = lib32-libxxf86vm - makedepends = libldap - makedepends = lib32-libldap - makedepends = openal - makedepends = lib32-openal makedepends = v4l-utils makedepends = lib32-v4l-utils makedepends = alsa-lib @@ -137,12 +133,8 @@ pkgbase = proton-ge-custom depends = cabextract optdepends = giflib optdepends = lib32-giflib - optdepends = libldap - optdepends = lib32-libldap optdepends = gnutls optdepends = lib32-gnutls - optdepends = openal - optdepends = lib32-openal optdepends = v4l-utils optdepends = lib32-v4l-utils optdepends = libpulse @@ -168,11 +160,11 @@ pkgbase = proton-ge-custom provides = proton noextract = wine-gecko-2.47.3-x86.tar.xz noextract = wine-gecko-2.47.3-x86_64.tar.xz - noextract = wine-mono-7.4.0-x86.tar.xz + noextract = wine-mono-7.4.1-x86.tar.xz options = !staticlibs options = !lto options = emptydirs - source = proton-ge-custom::git+https://github.com/gloriouseggroll/proton-ge-custom.git#commit=7628200383849c0efc1418c0c1327f7de757355e + source = proton-ge-custom::git+https://github.com/gloriouseggroll/proton-ge-custom.git#commit=60c0506d01b6a26c6685713c36ccbe904d378b13 source = wine-valve::git+https://github.com/ValveSoftware/wine.git source = dxvk::git+https://github.com/doitsujin/dxvk.git source = openvr::git+https://github.com/ValveSoftware/openvr.git @@ -202,7 +194,7 @@ pkgbase = proton-ge-custom source = gst-plugins-ugly::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86.tar.xz source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86_64.tar.xz - source = https://github.com/madewokherd/wine-mono/releases/download/wine-mono-7.4.0/wine-mono-7.4.0-x86.tar.xz + source = https://github.com/madewokherd/wine-mono/releases/download/wine-mono-7.4.1/wine-mono-7.4.1-x86.tar.xz source = 0001-AUR-Pkgbuild-changes.patch source = 0002-AUR-Do-not-update-cargo-crates.patch sha256sums = SKIP @@ -235,8 +227,8 @@ pkgbase = proton-ge-custom sha256sums = SKIP sha256sums = 08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3 sha256sums = 0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75 - sha256sums = 9249ece664bcf2fecb1308ea1d2542c72923df9fe3df891986f137b2266a9ba3 - sha256sums = a74cc66059dd925985994c5946dd47c448d52466e64556f14a69d79e510e52c1 - sha256sums = f41ffcf4f876d049b8474321662ff1ed15a7990ba54eeca73ffeeae80cf1fec1 + sha256sums = 1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622 + sha256sums = a7c82094e1ca3101a0e63c73d01728630f1333ddade38088fadc3bdc9527e0cd + sha256sums = 6db2946f8125c5b3216f4fc6493ef090eb84311f889ee3225c2c7178af989b69 pkgname = proton-ge-custom diff --git a/0001-AUR-Pkgbuild-changes.patch b/0001-AUR-Pkgbuild-changes.patch index 31b544c68c58..3456b6bd998a 100644 --- a/0001-AUR-Pkgbuild-changes.patch +++ b/0001-AUR-Pkgbuild-changes.patch @@ -1,44 +1,36 @@ -From 168d74b20d205333ac482297d5d9db9fb49d3f02 Mon Sep 17 00:00:00 2001 +From 5bba6921f77f08de4c4c17fc74718cc1ae7b7bf8 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas <loathingkernel@gmail.com> Date: Tue, 7 Feb 2023 22:00:48 +0200 Subject: [PATCH 1/2] AUR Pkgbuild changes --- - Makefile.in | 76 +++++++++++++++++++++++++++++----- + Makefile.in | 78 +++++++++++++++++++++++++++------- compatibilitytool.vdf.template | 2 +- configure.sh | 2 + make/rules-autoconf.mk | 4 +- make/rules-cargo.mk | 4 +- make/rules-cmake.mk | 4 +- - make/rules-common.mk | 18 ++++---- + make/rules-common.mk | 18 +++++--- make/rules-configure.mk | 4 +- make/rules-meson.mk | 3 +- make/rules-winemaker.mk | 2 +- proton | 6 +-- - 11 files changed, 93 insertions(+), 32 deletions(-) + toolmanifest_runtime.vdf | 3 -- + 12 files changed, 90 insertions(+), 40 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 528dcf6f..431cbf56 100644 +index 7ee81fe9..bc5d0131 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -63,7 +63,6 @@ ifeq ($(ENABLE_CCACHE),1) - export CCACHE_DIR := $(if $(CCACHE_DIR),$(CCACHE_DIR),$(HOME)/.ccache) - override DOCKER_OPTS := -v $(CCACHE_DIR):$(CCACHE_DIR)$(CONTAINER_MOUNT_OPTS) $(CCACHE_ENV) -e CCACHE_DIR=$(CCACHE_DIR) $(DOCKER_OPTS) - else -- export CCACHE_DISABLE := 1 - override DOCKER_OPTS := $(CCACHE_ENV) -e CCACHE_DISABLE=1 $(DOCKER_OPTS) - endif - -@@ -125,7 +124,7 @@ container-build: - all32 $(MAKECMDGOALS32): container-build - all64 $(MAKECMDGOALS64): container-build - else --J = $(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS))) -+J = $(patsubst -j%,%,$(SUBJOBS)) - endif +@@ -24,7 +24,6 @@ SHELL := /bin/bash + # BUILD_NAME - Name of the build for manifests etc. + # STEAMRT_IMAGE - Name of the docker image to use for building +-STEAMRT_IMAGE ?= registry.gitlab.steamos.cloud/proton/sniper/sdk:0.20221017.1-1 -@@ -175,13 +174,28 @@ else + ifeq ($(SRCDIR),) + foo := $(error SRCDIR not set, do not include Makefile.in directly, run ./configure.sh to generate Makefile) +@@ -50,14 +49,23 @@ else endif CROSSLDFLAGS += -Wl,--file-alignment,4096 @@ -46,41 +38,34 @@ index 528dcf6f..431cbf56 100644 +CFLAGS ?= -O2 -march=nocona -mtune=core-avx2 +OPTIMIZE_FLAGS := $(CFLAGS) -mfpmath=sse SANITY_FLAGS := -fwrapv -fno-strict-aliasing - DEBUG_FLAGS := -gdwarf-2 -gstrict-dwarf + DEBUG_FLAGS := -ggdb -ffunction-sections -fdata-sections -fno-omit-frame-pointer COMMON_FLAGS = $(DEBUG_FLAGS) $(OPTIMIZE_FLAGS) $(SANITY_FLAGS) -ffile-prefix-map=$(CCACHE_BASEDIR)=. -COMMON_FLAGS32 := -mstackrealign +COMMON_FLAGS32 := -mstackrealign -mno-avx + COMMON_FLAGS64 := -mcmodel=small CARGO_BUILD_ARG := --release +ifneq ($(USE_LTO), 1) +GST_LTO := +FFMPEG_LTO := -+ifneq (,$(findstring -O3,$(CFLAGS))) -+FFMPEG_LTO_OPTS32 := --disable-inline-asm -+else -+FFMPEG_LTO_OPTS32 := -+endif +else +GST_LTO := -Db_lto=true +FFMPEG_LTO := --enable-lto -+FFMPEG_LTO_OPTS32 := --disable-inline-asm +endif + - ## - ## Target configs - ## -@@ -372,8 +386,8 @@ ALL_TARGETS += dist - GOAL_TARGETS += dist + $(DST_DIR): + mkdir -p $@ - dist_prefix: wine gst_good gst_libav gst_plugins_rs -- find $(DST_LIBDIR32)/wine -type f -execdir chmod a-w '{}' '+' -- find $(DST_LIBDIR64)/wine -type f -execdir chmod a-w '{}' '+' -+ find $(DST_LIBDIR32)/wine -type f -execdir chmod go-w '{}' '+' -+ find $(DST_LIBDIR64)/wine -type f -execdir chmod go-w '{}' '+' - rm -rf $(abspath $(DIST_PREFIX)) - python3 $(SRCDIR)/default_pfx.py $(abspath $(DIST_PREFIX)) $(abspath $(DST_DIR)) $(STEAM_RUNTIME_RUNSH) +@@ -68,7 +76,7 @@ all: all-dist | $(DST_DIR) + all-dist: | $(DST_DIR) + dist: all + +-J = $(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS))) ++J = $(patsubst -j%,%,$(SUBJOBS)) -@@ -443,6 +457,7 @@ $(eval $(call rules-meson,dav1d,64)) + include $(SRC)/make/utility.mk + include $(SRC)/make/rules-source.mk +@@ -99,6 +107,7 @@ $(eval $(call rules-meson,dav1d,64)) ## GST_ORC_MESON_ARGS := \ @@ -88,7 +73,7 @@ index 528dcf6f..431cbf56 100644 -Dorc-test=disabled \ -Dexamples=disabled \ -Dtests=disabled \ -@@ -458,10 +473,14 @@ $(eval $(call rules-meson,gst_orc,64)) +@@ -114,10 +123,14 @@ $(eval $(call rules-meson,gst_orc,64)) ## GSTREAMER_MESON_ARGS := \ @@ -103,7 +88,7 @@ index 528dcf6f..431cbf56 100644 -Dexamples=disabled \ -Dtests=disabled \ -Dintrospection=disabled \ -@@ -482,6 +501,11 @@ $(eval $(call rules-meson,gstreamer,64)) +@@ -138,6 +151,11 @@ $(eval $(call rules-meson,gstreamer,64)) ## graphene ## @@ -115,7 +100,7 @@ index 528dcf6f..431cbf56 100644 $(eval $(call rules-source,graphene,$(SRCDIR)/graphene)) $(eval $(call rules-meson,graphene,32)) $(eval $(call rules-meson,graphene,64)) -@@ -492,6 +516,9 @@ $(eval $(call rules-meson,graphene,64)) +@@ -148,6 +166,9 @@ $(eval $(call rules-meson,graphene,64)) ## GST_BASE_MESON_ARGS := \ @@ -125,7 +110,7 @@ index 528dcf6f..431cbf56 100644 -Dalsa=disabled \ -Daudiomixer=disabled \ -Daudiorate=disabled \ -@@ -536,6 +563,8 @@ $(eval $(call rules-meson,gst_base,64)) +@@ -192,6 +213,8 @@ $(eval $(call rules-meson,gst_base,64)) ## GST_GOOD_MESON_ARGS := \ @@ -134,7 +119,7 @@ index 528dcf6f..431cbf56 100644 -Daalib=disabled \ -Dalpha=disabled \ -Dapetag=disabled \ -@@ -610,6 +639,7 @@ $(eval $(call rules-meson,gst_good,64)) +@@ -266,6 +289,7 @@ $(eval $(call rules-meson,gst_good,64)) FFMPEG_CONFIGURE_ARGS := \ --enable-shared \ @@ -142,17 +127,19 @@ index 528dcf6f..431cbf56 100644 --disable-static \ --disable-everything \ --disable-programs \ -@@ -633,6 +663,9 @@ FFMPEG_CONFIGURE_ARGS := \ +@@ -289,6 +313,11 @@ FFMPEG_CONFIGURE_ARGS := \ --enable-decoder=aac \ --enable-demuxer=xwma -+FFMPEG_CONFIGURE_ARGS64 = --optflags="$(COMMON_FLAGS) $(COMMON_FLAGS64)" ++FFMPEG_LTO_OPTS64 := --disable-inline-asm ++FFMPEG_LTO_OPTS32 := --disable-inline-asm ++FFMPEG_CONFIGURE_ARGS64 = --optflags="$(COMMON_FLAGS) $(COMMON_FLAGS64)" $(FFMPEG_LTO_OPTS64) +FFMPEG_CONFIGURE_ARGS32 = --optflags="$(COMMON_FLAGS) $(COMMON_FLAGS32)" $(FFMPEG_LTO_OPTS32) + $(eval $(call rules-source,ffmpeg,$(SRCDIR)/FFmpeg)) $(eval $(call rules-configure,ffmpeg,32)) $(eval $(call rules-configure,ffmpeg,64)) -@@ -677,6 +710,8 @@ $(OBJ)/.gst_plugins_rs-post-build32: +@@ -333,6 +362,8 @@ $(OBJ)/.gst_plugins_rs-post-build32: ## GST_BAD_MESON_ARGS := \ @@ -161,7 +148,7 @@ index 528dcf6f..431cbf56 100644 -Dfbdev=disabled \ -Ddecklink=disabled \ -Dcurl=disabled \ -@@ -696,7 +731,12 @@ GST_BAD_MESON_ARGS := \ +@@ -352,7 +383,12 @@ GST_BAD_MESON_ARGS := \ -Dvoamrwbenc=disabled \ -Dnvcodec=disabled \ -Dx265=disabled \ @@ -174,7 +161,7 @@ index 528dcf6f..431cbf56 100644 -Dgobject-cast-checks=disabled \ -Dglib-asserts=disabled \ -Dglib-checks=disabled \ -@@ -714,6 +754,7 @@ $(eval $(call rules-meson,gst_bad,64)) +@@ -370,6 +406,7 @@ $(eval $(call rules-meson,gst_bad,64)) ## GST_UGLY_MESON_ARGS := \ @@ -182,8 +169,8 @@ index 528dcf6f..431cbf56 100644 -Ddoc='disabled' \ -Dtests=disabled \ -Dgobject-cast-checks=disabled \ -@@ -889,7 +930,11 @@ WINE_SOURCE_ARGS = \ - --exclude include/config.h.in \ +@@ -530,7 +567,11 @@ WINE_SOURCE_ARGS = \ + --exclude dlls/winevulkan/winevulkan.spec WINE_CONFIGURE_ARGS = \ + --with-x \ @@ -193,8 +180,8 @@ index 528dcf6f..431cbf56 100644 + --disable-win16 \ --disable-tests - WINE_CONFIGURE_ARGS64 = --enable-win64 -@@ -953,6 +998,9 @@ DXVK_MESON_ARGS32 = --bindir=$(DXVK_DST32)/lib/wine/dxvk + WINE_CONFIGURE_ARGS32 = \ +@@ -600,6 +641,9 @@ DXVK_MESON_ARGS32 = --bindir=$(DXVK_DST32)/lib/wine/dxvk DXVK_MESON_ARGS64 = --bindir=$(DXVK_DST64)/lib64/wine/dxvk DXVK_DEPENDS = glslang @@ -204,7 +191,7 @@ index 528dcf6f..431cbf56 100644 $(eval $(call rules-source,dxvk,$(SRCDIR)/dxvk)) $(eval $(call rules-meson,dxvk,32,CROSS)) $(eval $(call rules-meson,dxvk,64,CROSS)) -@@ -975,6 +1023,9 @@ $(OBJ)/.dxvk-post-build32: +@@ -622,6 +666,9 @@ $(OBJ)/.dxvk-post-build32: DXVK_NVAPI_MESON_ARGS32 = --bindir=$(DXVK_NVAPI_DST32)/lib/wine/nvapi DXVK_NVAPI_MESON_ARGS64 = --bindir=$(DXVK_NVAPI_DST64)/lib64/wine/nvapi @@ -214,7 +201,7 @@ index 528dcf6f..431cbf56 100644 $(eval $(call rules-source,dxvk-nvapi,$(SRCDIR)/dxvk-nvapi)) $(eval $(call rules-meson,dxvk-nvapi,32,CROSS)) $(eval $(call rules-meson,dxvk-nvapi,64,CROSS)) -@@ -1042,6 +1093,9 @@ VKD3D_PROTON_MESON_ARGS32 = --bindir=$(VKD3D_PROTON_DST32)/lib/wine/vkd3d-proton +@@ -692,6 +739,9 @@ VKD3D_PROTON_MESON_ARGS32 = --bindir=$(VKD3D_PROTON_DST32)/lib/wine/vkd3d-proton VKD3D_PROTON_MESON_ARGS64 = --bindir=$(VKD3D_PROTON_DST64)/lib64/wine/vkd3d-proton VKD3D_PROTON_DEPENDS = glslang @@ -224,7 +211,7 @@ index 528dcf6f..431cbf56 100644 $(eval $(call rules-source,vkd3d-proton,$(SRCDIR)/vkd3d-proton)) $(eval $(call rules-meson,vkd3d-proton,32,CROSS)) $(eval $(call rules-meson,vkd3d-proton,64,CROSS)) -@@ -1284,14 +1338,14 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONT) $$(%.ttf_FEATURES) $$(%.ttf_SEQ +@@ -947,14 +997,14 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONT) $$(%.ttf_FEATURES) $$(%.ttf_SEQ mkdir -p $(FONTS_OBJ)/source-han # Do not immediately create the target file, so that make is interrupted # it will restart again @@ -242,12 +229,15 @@ index 528dcf6f..431cbf56 100644 mv $@.tmp $@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) -@@ -1301,10 +1355,10 @@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) +@@ -964,12 +1014,12 @@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) ttx -o $@ -m $($(notdir $@)_FONT) $(FONTS_OBJ)/ume-gothic/$(notdir $(basename $($(notdir $@)_NAMETABLE_PATCH))).ttx $(simsun.ttc): $(simsun.ttf) $(nsimsun.ttf) -- afdko otf2otc -o $@ $^ -+ otf2otc -o $@ $^ +- afdko otf2otc -o $@.tmp $^ +- afdko otf2ttf -o $@ $@.tmp ++ otf2otc -o $@.tmp $^ ++ otf2ttf -o $@ $@.tmp + rm $@.tmp $(msgothic.ttc): $(msgothic.ttf) $(mspgothic.ttf) $(msuigothic.ttf) - afdko otf2otc -o $@ $^ @@ -255,6 +245,35 @@ index 528dcf6f..431cbf56 100644 $(micross.ttf): $(FONTS)/scripts/merge.py $(noto_sans.ttf) $(noto_sans_arabic.ttf) $(noto_sans_armenian.ttf) $(noto_sans_bengali.ttf) $(noto_sans_coptic.ttf) \ $(noto_sans_georgian.ttf) $(noto_sans_gujarati.ttf) $(noto_sans_hebrew.ttf) $(noto_sans_khmer.ttf) $(noto_sans_tamil.ttf) \ +@@ -1095,8 +1145,8 @@ all-dist: $(DIST_OVR32) $(DIST_OVR64) + ## + + default_pfx: wine gst_good gst_libav gst_plugins_rs lsteamclient steamexe vrclient wineopenxr dxvk dxvk-nvapi vkd3d-proton +- find $(DST_LIBDIR32)/wine -type f -execdir chmod a-w '{}' '+' +- find $(DST_LIBDIR64)/wine -type f -execdir chmod a-w '{}' '+' ++ find $(DST_LIBDIR32)/wine -type f -execdir chmod go-w '{}' '+' ++ find $(DST_LIBDIR64)/wine -type f -execdir chmod go-w '{}' '+' + rm -rf $(abspath $(DIST_PREFIX)) + python3 $(SRCDIR)/default_pfx.py $(abspath $(DIST_PREFIX)) $(abspath $(DST_DIR)) + +@@ -1238,7 +1288,6 @@ ifeq ($(ENABLE_CCACHE),1) + export CCACHE_DIR := $(if $(CCACHE_DIR),$(CCACHE_DIR),$(HOME)/.ccache) + override DOCKER_OPTS := -v $(CCACHE_DIR):$(CCACHE_DIR)$(CONTAINER_MOUNT_OPTS) $(CCACHE_ENV) -e CCACHE_DIR=$(CCACHE_DIR) $(DOCKER_OPTS) + else +- export CCACHE_DISABLE := 1 + override DOCKER_OPTS := $(CCACHE_ENV) -e CCACHE_DISABLE=1 $(DOCKER_OPTS) + endif + +@@ -1253,9 +1302,6 @@ ifeq ($(CONTAINER_ENGINE),) + CONTAINER_ENGINE := docker + endif + +-DOCKER_BASE = $(CONTAINER_ENGINE) run --rm -v $(SRC):$(SRC)$(CONTAINER_MOUNT_OPTS) -v $(OBJ):$(OBJ)$(CONTAINER_MOUNT_OPTS) \ +- -w $(OBJ) -e MAKEFLAGS \ +- $(DOCKER_OPTS) $(STEAMRT_IMAGE) + + .PHONY: dist deploy redist + .DEFAULT dist deploy redist: diff --git a/compatibilitytool.vdf.template b/compatibilitytool.vdf.template index 5ac60e8b..e580cd20 100644 --- a/compatibilitytool.vdf.template @@ -269,18 +288,18 @@ index 5ac60e8b..e580cd20 100644 "from_oslist" "windows" "to_oslist" "linux" diff --git a/configure.sh b/configure.sh -index 70d45204..00ae3407 100755 +index bc3ccc65..faa4d6e3 100755 --- a/configure.sh +++ b/configure.sh -@@ -126,6 +126,7 @@ function configure() { +@@ -128,6 +128,7 @@ function configure() { CONTAINER_MOUNT_OPTS=:Z fi + if [ "$arg_container_engine" != "none" ]; then if [[ -n "$arg_container_engine" ]]; then - check_container_engine "$arg_container_engine" || die "Specified container engine \"$arg_container_engine\" doesn't work" + check_container_engine "$arg_container_engine" "$steamrt_image" || die "Specified container engine \"$arg_container_engine\" doesn't work" else -@@ -138,6 +139,7 @@ function configure() { +@@ -140,6 +141,7 @@ function configure() { die "${arg_container_engine:-Container engine discovery} has failed. Please fix your setup." fi fi @@ -289,10 +308,10 @@ index 70d45204..00ae3407 100755 stat "Using $arg_container_engine." diff --git a/make/rules-autoconf.mk b/make/rules-autoconf.mk -index 0827caa9..4e6d19f2 100644 +index ad04eeb8..53eda5bc 100644 --- a/make/rules-autoconf.mk +++ b/make/rules-autoconf.mk -@@ -31,9 +31,9 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure +@@ -32,9 +32,9 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ @@ -302,13 +321,13 @@ index 0827caa9..4e6d19f2 100644 - $$(MAKE) install + $$(MAKE) -j$$(SUBJOBS) install touch $$@ - endif endef + diff --git a/make/rules-cargo.mk b/make/rules-cargo.mk -index b2af34ca..5ebcf009 100644 +index ea76678b..45bd7381 100644 --- a/make/rules-cargo.mk +++ b/make/rules-cargo.mk -@@ -14,8 +14,10 @@ $$(OBJ)/.$(1)-configure$(3): +@@ -13,8 +13,10 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \ @@ -321,7 +340,7 @@ index b2af34ca..5ebcf009 100644 --target-dir $$($(2)_OBJ$(3)) \ $$(CARGO_BUILD_ARG) \ diff --git a/make/rules-cmake.mk b/make/rules-cmake.mk -index c70751a2..1096dc19 100644 +index 520d88ac..ab898810 100644 --- a/make/rules-cmake.mk +++ b/make/rules-cmake.mk @@ -28,9 +28,9 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/CMakeLists.txt @@ -334,13 +353,13 @@ index c70751a2..1096dc19 100644 - $$(MAKE) install + $$(MAKE) -j$$(SUBJOBS) install touch $$@ - endif endef + diff --git a/make/rules-common.mk b/make/rules-common.mk -index 115c2b03..c6bf0ef6 100644 +index b057bb72..fc995910 100644 --- a/make/rules-common.mk +++ b/make/rules-common.mk -@@ -113,7 +113,11 @@ $(2)_LIBFLAGS$(3) = $$(foreach d,$$($(2)_DEPS$(3)),-L$$($$(d)_LIBDIR$(3))) \ +@@ -104,7 +104,11 @@ $(2)_LIBFLAGS$(3) = $$(foreach d,$$($(2)_DEPS$(3)),-L$$($$(d)_LIBDIR$(3))) \ # native version doesn't exist. $(2)_ENV$(3) = \ @@ -352,7 +371,7 @@ index 115c2b03..c6bf0ef6 100644 CCACHE_BASEDIR="$$(CCACHE_BASEDIR)" \ STRIP="$$(STRIP)" \ AR="$$(TARGET_$(4)$(3))-ar" \ -@@ -127,7 +131,7 @@ $(2)_ENV$(3) = \ +@@ -118,7 +122,7 @@ $(2)_ENV$(3) = \ PATH="$$(call list-join,:,$$(foreach d,$$($(2)_DEPS$(3)),$$($$(d)_BINDIR$(3))),,:):$$$$PATH" \ LD_LIBRARY_PATH="$$(call list-join,:,$$(foreach d,$$($(2)_DEPS$(3)),$$($$(d)_LIBDIR$(3))),,:)$$$$LD_LIBRARY_PATH" \ PKG_CONFIG_PATH="$$(call list-join,:,$$(foreach d,$$($(2)_DEPS$(3)),$$($$(d)_LIBDIR$(3))/pkgconfig))" \ @@ -361,7 +380,7 @@ index 115c2b03..c6bf0ef6 100644 CFLAGS="$$($(2)_INCFLAGS$(3)) $$($(2)_CFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))" \ CPPFLAGS="$$($(2)_INCFLAGS$(3)) $$($(2)_CPPFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))" \ CXXFLAGS="$$($(2)_INCFLAGS$(3)) $$($(2)_CXXFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3)) -std=c++17" \ -@@ -151,7 +155,7 @@ $(2)_ENV$(3) += \ +@@ -142,7 +146,7 @@ $(2)_ENV$(3) += \ CROSSCPPFLAGS="$$($(2)_INCFLAGS$(3)) $$($(2)_CPPFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))" \ CROSSCXXFLAGS="$$($(2)_INCFLAGS$(3)) $$($(2)_CXXFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3)) -std=c++17" \ CROSSLDFLAGS="$$($(2)_LIBFLAGS$(3)) $$($(2)_LDFLAGS$(3)) $$($(2)_LDFLAGS) $$(CROSSLDFLAGS)" \ @@ -370,7 +389,7 @@ index 115c2b03..c6bf0ef6 100644 endif -@@ -164,14 +168,14 @@ else +@@ -155,14 +159,14 @@ else install-strip = objcopy --file-alignment=4096 --strip-debug $(1) $(2)/$(notdir $(1)) && rm -f $(2)/$(notdir $(1)).debug endif @@ -391,10 +410,10 @@ index 115c2b03..c6bf0ef6 100644 LIBDIR_WINE_32 := wine/i386-unix diff --git a/make/rules-configure.mk b/make/rules-configure.mk -index d04a3c53..18ac684e 100644 +index 29eee132..642c6d70 100644 --- a/make/rules-configure.mk +++ b/make/rules-configure.mk -@@ -26,9 +26,9 @@ $$(OBJ)/.$(1)-configure$(3): +@@ -25,9 +25,9 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ @@ -404,13 +423,13 @@ index d04a3c53..18ac684e 100644 - $$(MAKE) install + $$(MAKE) -j$$(SUBJOBS) install touch $$@ - endif endef + diff --git a/make/rules-meson.mk b/make/rules-meson.mk -index d603bfde..3fd3d47f 100644 +index 2bf2db8c..0fbf9912 100644 --- a/make/rules-meson.mk +++ b/make/rules-meson.mk -@@ -47,6 +47,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/meson.build +@@ -48,6 +48,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/meson.build env $$($(2)_ENV$(3)) \ meson "$$($(2)_OBJ$(3))" "$$($(2)_SRC)" \ @@ -418,20 +437,20 @@ index d603bfde..3fd3d47f 100644 --prefix="$$($(2)_DST$(3))" \ --libdir="lib$(subst 32,,$(3))" \ --buildtype=plain \ -@@ -60,7 +61,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/meson.build +@@ -61,7 +62,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/meson.build $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 env $$($(2)_ENV$(3)) \ - ninja $$(filter -j%,$$(MAKEFLAGS)) -C "$$($(2)_OBJ$(3))" install $(-v?) + ninja -j$$(SUBJOBS) -C "$$($(2)_OBJ$(3))" install $(-v?) touch $$@ - endif endef + diff --git a/make/rules-winemaker.mk b/make/rules-winemaker.mk -index 69688a03..1c0d1d3b 100644 +index 5c3b59a3..ed6589e0 100644 --- a/make/rules-winemaker.mk +++ b/make/rules-winemaker.mk -@@ -29,7 +29,7 @@ $$(OBJ)/.$(1)-build$(3): +@@ -28,7 +28,7 @@ $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 rsync -arx "$$($(2)_SRC)/" "$$($(2)_OBJ$(3))/" env $$($(2)_ENV$(3)) \ @@ -441,7 +460,7 @@ index 69688a03..1c0d1d3b 100644 winebuild --$(lastword $(subst ., ,$(4))) --fake-module -E "$(basename $(4)).spec" -o "$(4).fake" mkdir -p $$($(2)_LIBDIR$(3))/$(LIBDIR_WINE_$(3)) diff --git a/proton b/proton -index 3ec0429e..547f10d5 100755 +index 9b4a92b0..4908dc48 100755 --- a/proton +++ b/proton @@ -423,7 +423,6 @@ class Proton: @@ -452,7 +471,7 @@ index 3ec0429e..547f10d5 100755 def path(self, d): return self.base_dir + d -@@ -1807,8 +1806,6 @@ if __name__ == "__main__": +@@ -1798,8 +1797,6 @@ if __name__ == "__main__": g_proton = Proton(os.path.dirname(sys.argv[0])) @@ -461,7 +480,7 @@ index 3ec0429e..547f10d5 100755 g_compatdata = CompatData(os.environ["STEAM_COMPAT_DATA_PATH"]) -@@ -1817,7 +1814,8 @@ if __name__ == "__main__": +@@ -1808,7 +1805,8 @@ if __name__ == "__main__": g_session.init_wine() if g_proton.missing_default_prefix(): @@ -471,6 +490,18 @@ index 3ec0429e..547f10d5 100755 g_session.init_session(sys.argv[1] != "runinprefix") +diff --git a/toolmanifest_runtime.vdf b/toolmanifest_runtime.vdf +index beddcbbb..b6f36788 100644 +--- a/toolmanifest_runtime.vdf ++++ b/toolmanifest_runtime.vdf +@@ -2,7 +2,4 @@ + { + "version" "2" + "commandline" "/proton %verb%" +- "require_tool_appid" "1628350" +- "use_sessions" "1" +- "compatmanager_layer_name" "proton" + } -- -2.40.0 +2.40.1 diff --git a/0002-AUR-Do-not-update-cargo-crates.patch b/0002-AUR-Do-not-update-cargo-crates.patch index af5c37b425ad..14875d2f14ba 100644 --- a/0002-AUR-Do-not-update-cargo-crates.patch +++ b/0002-AUR-Do-not-update-cargo-crates.patch @@ -1,4 +1,4 @@ -From 7d191eb4bb1355eb36bc5b415596e7969c338b28 Mon Sep 17 00:00:00 2001 +From a8506047216baa6f0000ffa67fd2e52247c147be Mon Sep 17 00:00:00 2001 From: Stelios Tsampas <loathingkernel@gmail.com> Date: Sun, 19 Mar 2023 10:56:59 +0200 Subject: [PATCH 2/2] AUR Do not update cargo crates @@ -8,10 +8,10 @@ Subject: [PATCH 2/2] AUR Do not update cargo crates 1 file changed, 2 deletions(-) diff --git a/make/rules-cargo.mk b/make/rules-cargo.mk -index 5ebcf009..4f5c3162 100644 +index 45bd7381..11e36c1d 100644 --- a/make/rules-cargo.mk +++ b/make/rules-cargo.mk -@@ -14,8 +14,6 @@ $$(OBJ)/.$(1)-configure$(3): +@@ -13,8 +13,6 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \ @@ -21,5 +21,5 @@ index 5ebcf009..4f5c3162 100644 -j$$(SUBJOBS) --locked --offline --verbose \ --target "$$(CARGO_TARGET_$(3))" \ -- -2.40.0 +2.40.1 @@ -1,12 +1,12 @@ # Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com> pkgname=proton-ge-custom -_srctag=GE-Proton7-55 -_commit=7628200383849c0efc1418c0c1327f7de757355e +_srctag=GE-Proton8-1 +_commit=60c0506d01b6a26c6685713c36ccbe904d378b13 pkgver=${_srctag//-/.} _geckover=2.47.3 -_monover=7.4.0 -pkgrel=2 +_monover=7.4.1 +pkgrel=1 epoch=2 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build" url="https://github.com/GloriousEggroll/proton-ge-custom" @@ -46,8 +46,6 @@ makedepends=(autoconf bison perl flex mingw-w64-gcc libxinerama lib32-libxinerama libxcomposite lib32-libxcomposite libxxf86vm lib32-libxxf86vm - libldap lib32-libldap - openal lib32-openal v4l-utils lib32-v4l-utils alsa-lib lib32-alsa-lib libxcomposite lib32-libxcomposite @@ -66,9 +64,7 @@ makedepends=(autoconf bison perl flex mingw-w64-gcc optdepends=( giflib lib32-giflib - libldap lib32-libldap gnutls lib32-gnutls - openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins @@ -165,15 +161,14 @@ prepare() { rm -rf wrappers && mkdir wrappers _make_wrappers - [ ! -d gecko ] && mkdir gecko - mv wine-gecko-${_geckover}-x86{,_64}.tar.xz gecko/ - - [ ! -d mono ] && mkdir mono - mv wine-mono-${_monover}-x86.tar.xz mono/ - [ ! -d build ] && mkdir build + cd proton-ge-custom + [ ! -d contrib ] && mkdir -p contrib + mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/ + mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/ + _submodules=( wine-valve::wine dxvk @@ -249,13 +244,6 @@ prepare() { ./patches/protonprep-valve-staging.sh - pushd wine - # From Arch Wine - sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure* - # Fix openldap 2.5+ detection - sed 's/-lldap_r/-lldap/' -i configure - popd - patch -p1 -i "$srcdir"/0001-AUR-Pkgbuild-changes.patch patch -p1 -i "$srcdir"/0002-AUR-Do-not-update-cargo-crates.patch @@ -266,6 +254,7 @@ prepare() { rm -rf "$srcdir"/dxil-spirv rm -rf "$srcdir"/Vulkan-Headers rm -rf "$srcdir"/SPIRV-Headers + rm -rf "$srcdir"/libdisplay-info-dxvk } build() { @@ -276,8 +265,6 @@ build() { ../proton-ge-custom/configure.sh \ --container-engine="none" \ --proton-sdk-image="" \ - --steam-runtime=native \ - --no-proton-sdk \ --build-name="${pkgname}" # By default export FLAGS used by proton and ignore makepkg @@ -316,8 +303,8 @@ package() { cd build local _compatdir="$pkgdir/usr/share/steam/compatibilitytools.d" - mkdir -p "$_compatdir" - cp -rf --no-dereference --preserve=mode,links dist "$_compatdir/${pkgname}" + mkdir -p "$_compatdir/${pkgname}" + rsync --delete -arx dist/* "$_compatdir/${pkgname}" mkdir -p "$pkgdir/usr/share/licenses/${pkgname}" mv "$_compatdir/${pkgname}"/LICENSE{,.OFL} \ @@ -376,9 +363,9 @@ sha256sums=('SKIP' 'SKIP' '08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3' '0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75' - '9249ece664bcf2fecb1308ea1d2542c72923df9fe3df891986f137b2266a9ba3' - 'a74cc66059dd925985994c5946dd47c448d52466e64556f14a69d79e510e52c1' - 'f41ffcf4f876d049b8474321662ff1ed15a7990ba54eeca73ffeeae80cf1fec1') + '1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622' + 'a7c82094e1ca3101a0e63c73d01728630f1333ddade38088fadc3bdc9527e0cd' + '6db2946f8125c5b3216f4fc6493ef090eb84311f889ee3225c2c7178af989b69') # Optional patches sha256sums+=( ) diff --git a/PKGBUILD.testing b/PKGBUILD.testing index 1b1e9a00a266..a6f22f1b029b 100644 --- a/PKGBUILD.testing +++ b/PKGBUILD.testing @@ -1,12 +1,12 @@ # Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com> pkgname=proton-ge-custom -_srctag=GE-Proton7-55 -_commit=7628200383849c0efc1418c0c1327f7de757355e +_srctag=GE-Proton8-1 +_commit=60c0506d01b6a26c6685713c36ccbe904d378b13 pkgver=${_srctag//-/.} _geckover=2.47.3 -_monover=7.4.0 -pkgrel=2 +_monover=7.4.1 +pkgrel=1 epoch=2 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build" url="https://github.com/GloriousEggroll/proton-ge-custom" @@ -46,8 +46,6 @@ makedepends=(autoconf bison perl flex mingw-w64-gcc libxinerama lib32-libxinerama libxcomposite lib32-libxcomposite libxxf86vm lib32-libxxf86vm - libldap lib32-libldap - openal lib32-openal v4l-utils lib32-v4l-utils alsa-lib lib32-alsa-lib libxcomposite lib32-libxcomposite @@ -66,9 +64,7 @@ makedepends=(autoconf bison perl flex mingw-w64-gcc optdepends=( giflib lib32-giflib - libldap lib32-libldap gnutls lib32-gnutls - openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins @@ -165,15 +161,14 @@ prepare() { rm -rf wrappers && mkdir wrappers _make_wrappers - [ ! -d gecko ] && mkdir gecko - mv wine-gecko-${_geckover}-x86{,_64}.tar.xz gecko/ - - [ ! -d mono ] && mkdir mono - mv wine-mono-${_monover}-x86.tar.xz mono/ - [ ! -d build ] && mkdir build + cd proton-ge-custom + [ ! -d contrib ] && mkdir -p contrib + mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/ + mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/ + _submodules=( wine-valve::wine dxvk @@ -249,13 +244,6 @@ prepare() { ./patches/protonprep-valve-staging.sh - pushd wine - # From Arch Wine - sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure* - # Fix openldap 2.5+ detection - sed 's/-lldap_r/-lldap/' -i configure - popd - patch -p1 -i "$srcdir"/0001-AUR-Pkgbuild-changes.patch patch -p1 -i "$srcdir"/0002-AUR-Do-not-update-cargo-crates.patch @@ -266,6 +254,7 @@ prepare() { rm -rf "$srcdir"/dxil-spirv rm -rf "$srcdir"/Vulkan-Headers rm -rf "$srcdir"/SPIRV-Headers + rm -rf "$srcdir"/libdisplay-info-dxvk } build() { @@ -276,8 +265,6 @@ build() { ../proton-ge-custom/configure.sh \ --container-engine="none" \ --proton-sdk-image="" \ - --steam-runtime=native \ - --no-proton-sdk \ --build-name="${pkgname}" # By default export FLAGS used by proton and ignore makepkg @@ -316,8 +303,8 @@ package() { cd build local _compatdir="$pkgdir/usr/share/steam/compatibilitytools.d" - mkdir -p "$_compatdir" - cp -rf --no-dereference --preserve=mode,links dist "$_compatdir/${pkgname}" + mkdir -p "$_compatdir/${pkgname}" + rsync --delete -arx dist/* "$_compatdir/${pkgname}" mkdir -p "$pkgdir/usr/share/licenses/${pkgname}" mv "$_compatdir/${pkgname}"/LICENSE{,.OFL} \ @@ -379,7 +366,7 @@ sha256sums=('SKIP' 'SKIP' '08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3' '0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75' - '9249ece664bcf2fecb1308ea1d2542c72923df9fe3df891986f137b2266a9ba3' + '1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622' 'SKIP' 'SKIP') # Optional patches |