Skip to content

Commit 15f044f

Browse files
protonfixes: add protonfixes
1 parent 761c978 commit 15f044f

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

.gitmodules

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[submodule "wine"]
22
path = wine
3-
url = ../wine
3+
url = https://github.com/ValveSoftware/wine
44
[submodule "dxvk"]
55
path = dxvk
6-
url = ../dxvk
6+
url = https://github.com/ValveSoftware/dxvk
77
[submodule "openvr"]
88
path = openvr
99
url = https://github.com/ValveSoftware/openvr
@@ -55,3 +55,6 @@
5555
[submodule "glslang"]
5656
path = glslang
5757
url = https://github.com/KhronosGroup/glslang
58+
[submodule "protonfixes"]
59+
path = protonfixes
60+
url = https://github.com/Open-Wine-Components/ULWGL-protonfixes

Makefile.in

+13-5
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,12 @@ $(PROTON37_TRACKED_FILES_TARGET): $(addprefix $(SRCDIR)/,proton_3.7_tracked_file
10901090
USER_SETTINGS_PY_TARGET := $(addprefix $(DST_BASE)/,user_settings.sample.py)
10911091
$(USER_SETTINGS_PY_TARGET): $(addprefix $(SRCDIR)/,user_settings.sample.py)
10921092

1093+
PROTONFIXES_TARGET := $(addprefix $(DST_BASE)/,protonfixes)
1094+
$(PROTONFIXES_TARGET): $(addprefix $(SRCDIR)/,protonfixes)
1095+
10931096
DIST_COPY_TARGETS := $(FILELOCK_TARGET) $(PROTON_PY_TARGET) \
1094-
$(PROTON37_TRACKED_FILES_TARGET) $(USER_SETTINGS_PY_TARGET)
1097+
$(PROTON37_TRACKED_FILES_TARGET) $(USER_SETTINGS_PY_TARGET) \
1098+
$(PROTONFIXES_TARGET)
10951099

10961100
$(DIST_COPY_TARGETS): | $(DST_DIR)
10971101
cp -a $(SRCDIR)/$(notdir $@) $@
@@ -1121,10 +1125,14 @@ deploy: all
11211125
.PHONY: redist
11221126
redist: all
11231127
mkdir -p $(REDIST_DIR)
1124-
rsync --delete --exclude dist -arx $(DST_BASE)/ $(REDIST_DIR)
1125-
tar -C $(DST_DIR) -c . | gzip -c -1 > $(REDIST_DIR)/proton_dist.tar.gz
1126-
@echo "Created redistribution tarball at "$(REDIST_DIR)"/proton_dist.tar.gz"
1127-
1128+
rsync --delete -arx $(DST_BASE)/ $(REDIST_DIR)
1129+
cp $(PROTONFIXES_TARGET)/cabextract $(REDIST_DIR)/dist/bin/
1130+
cp $(PROTONFIXES_TARGET)/libmspack.so.0 $(REDIST_DIR)/dist/lib64/
1131+
cp $(PROTONFIXES_TARGET)/libmspack.so.0.1.0 $(REDIST_DIR)/dist/lib64/
1132+
mv $(REDIST_DIR) $(BUILD_NAME)
1133+
tar -cvzf $(BUILD_NAME).tar.gz $(BUILD_NAME)
1134+
sha512sum $(BUILD_NAME).tar.gz > $(BUILD_NAME).sha512sum
1135+
@echo "Proton build available at $(BUILD_NAME).tar.gz"
11281136

11291137
##
11301138
## make module=$dllname module[32,64]

proton

+6-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ from random import randrange
4040
#To enable debug logging, copy "user_settings.sample.py" to "user_settings.py"
4141
#and edit it if needed.
4242

43-
CURRENT_PREFIX_VERSION="8.0-103"
43+
CURRENT_PREFIX_VERSION="ULWGL-Proton-8.0-103"
4444

4545
PFX="Proton: "
4646
ld_path_var = "LD_LIBRARY_PATH"
@@ -1727,11 +1727,16 @@ if __name__ == "__main__":
17271727

17281728
g_session.init_wine()
17291729

1730+
# This is needed for protonfixes
1731+
os.environ["PROTON_DLL_COPY"] = "*"
1732+
17301733
if g_proton.missing_default_prefix():
17311734
g_proton.make_default_prefix()
17321735

17331736
g_session.init_session(sys.argv[1] != "runinprefix")
17341737

1738+
import protonfixes
1739+
17351740
#determine mode
17361741
rc = 0
17371742
if sys.argv[1] == "run":

protonfixes

Submodule protonfixes added at de88691

0 commit comments

Comments
 (0)