Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
840 stars 148 forks source link

[proton-tkg] Patches no longer appropriate for vr_client on Valve 9.0 #1133

Closed mikeserv-git closed 4 months ago

mikeserv-git commented 4 months ago

I looked at vrclient_main.c and it looks like they are no longer necessary (it doesn't include wine/library.h and looks like it already uses dlopen now)

So... line 173 in proton-tkg.sh, I just commented out the patches for now to get through my build. It's going to need another elif

if [[ "$_proton_branch" = *6.* ]] || [[ "$_proton_branch" = *7.* ]] || [[ "$_proton_branch" = *8.* ]]; then
    WINEMAKERFLAGS+=" -ldl"
  elif [ "$_standard_dlopen" = "true" ] && [[ "$_proton_branch" != *5.13 ]]; then
    #patch -Np1 < "$_nowhere/proton_template/vrclient-remove-library.h-dep.patch" || exit 1
    #patch -Np1 < "$_nowhere/proton_template/vrclient-use_standard_dlopen_instead_of_the_libwine_wrappers.patch" || exit 1
    WINEMAKERFLAGS+=" -ldl"
  elif [[ "$_proton_branch" = *5.13 ]]; then
    patch -Np1 < "$_nowhere/proton_template/vrclient-remove-library.h-dep.patch" || exit 1
    WINEMAKERFLAGS+=" -ldl"
  fi

P.S. I don't have a VR headset, so I can't actually test the vr_client.