Remove macOS support

This commit is contained in:
Andrew Eikum 2018-10-05 10:51:21 -05:00
parent aef98f1e7d
commit a84120449d
10 changed files with 4 additions and 157 deletions

15
.gitmodules vendored
View File

@ -4,24 +4,9 @@
[submodule "dxvk"] [submodule "dxvk"]
path = dxvk path = dxvk
url = https://github.com/ValveSoftware/dxvk/ url = https://github.com/ValveSoftware/dxvk/
[submodule "freetype2"]
path = freetype2
url = https://git.savannah.nongnu.org/r/freetype/freetype2.git/
[submodule "libpng"]
path = libpng
url = https://github.com/glennrp/libpng.git
[submodule "libjpeg-turbo"]
path = libjpeg-turbo
url = https://github.com/libjpeg-turbo/libjpeg-turbo.git
[submodule "SDL-mirror"]
path = SDL-mirror
url = https://github.com/spurious/SDL-mirror.git
[submodule "openal-soft"] [submodule "openal-soft"]
path = openal-soft path = openal-soft
url = https://github.com/kcat/openal-soft.git url = https://github.com/kcat/openal-soft.git
[submodule "MoltenVK"]
path = MoltenVK
url = https://github.com/KhronosGroup/MoltenVK.git
[submodule "ffmpeg"] [submodule "ffmpeg"]
path = ffmpeg path = ffmpeg
url = https://git.ffmpeg.org/ffmpeg.git url = https://git.ffmpeg.org/ffmpeg.git

@ -1 +0,0 @@
Subproject commit 8d9ee9b5184ab2df1f339d8413475b8168b868b3

View File

@ -2,8 +2,8 @@
Introduction Introduction
--- ---
Proton is a tool for use with the Steam client which allows games which are Proton is a tool for use with the Steam client which allows games which are
exclusive to Windows to run on Linux and macOS operating systems. It uses Wine exclusive to Windows to run on the Linux operating system. It uses Wine to
to facilitate this. facilitate this.
Most users will prefer to use Proton provided by the Steam client itself. The Most users will prefer to use Proton provided by the Steam client itself. The
source code is provided to enable advanced users the ability to alter source code is provided to enable advanced users the ability to alter
@ -39,9 +39,6 @@ After cloning the Proton git repository, the next step will be to
obtain the various submodules that go into building Proton: obtain the various submodules that go into building Proton:
cd proton cd proton
#for linux:
git submodule update --init wine dxvk ffmpeg openal-soft openvr
#for macos:
git submodule update --init git submodule update --init
If you wish to change any subcomponent, now is the time to do so. If you wish to change any subcomponent, now is the time to do so.
@ -49,7 +46,7 @@ For example, if you wish make changes to Wine, you would apply those
changes to the <tt>wine/</tt> directory. changes to the <tt>wine/</tt> directory.
--- ---
Building for Linux Building
--- ---
To build Proton for Linux, set up a Debian machine with the Steam runtime and To build Proton for Linux, set up a Debian machine with the Steam runtime and
chroots as documented in the Steam Runtime repository: chroots as documented in the Steam Runtime repository:
@ -133,24 +130,6 @@ chroot. However, dxvk will not build in that environment, so the build_proton.s
script will build it on your local system. This will require you to be able to script will build it on your local system. This will require you to be able to
build dxvk on your local system; refer to [the dxvk README.md](https://github.com/ValveSoftware/dxvk/blob/master/README.md) for more details. build dxvk on your local system; refer to [the dxvk README.md](https://github.com/ValveSoftware/dxvk/blob/master/README.md) for more details.
---
Building for macOS
---
To build Proton for macOS, install the latest Xcode command line tools, as
well as cmake (for openal-soft), a recent nasm (for libjpeg-turbo), libtool, and automake. You can
use a packager like [Homebrew](https://brew.sh/) to find these packages.
brew install cmake nasm libtool automake
Then run:
./build_proton.sh
TODO - Surely there are other dependencies we have not listed there.
It is important to examine the output near the end of
<tt>build/wine.win{64,32}/config.log</tt> to ensure that you have all of the
relevant libraries required to build Wine properly.
--- ---
Deploying Deploying

@ -1 +0,0 @@
Subproject commit 14531cf0fcdac6939d1d511d478c795a05cea34f

View File

@ -1,112 +0,0 @@
Copyright (c) 2018, Valve Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Browse the source code for more information
https://github.com/ValveSoftware/Proton/
---- ---- ---- ----
This software contains Wine licensed under the LGPL 2.1. Wine is
Copyright (c) 1993-2018 the Wine project authors
Browse the source code for more information
https://github.com/ValveSoftware/wine/
---- ---- ---- ----
This software contains DXVK licensed under the zlib/libpng license. DXVK is
Copyright (c) 2017 Philip Rebohle
Visit DXVK at
https://github.com/doitsujin/dxvk/
---- ---- ---- ----
This software contains libSDL2 licensed under the zlib license. Visit libSDL at
https://libsdl.org/
---- ---- ---- ----
This software contains FreeType2 licensed under the FreeType License.
Portions of this software are copyright © 2018 The FreeType Project
(www.freetype.org). All rights reserved.
---- ---- ---- ----
This software is based in part on the work of the Independent JPEG Group.
Visit the libjpeg-turbo homepage at
https://libjpeg-turbo.org/
---- ---- ---- ----
This software is based in part on the work of the libpng authors.
Visit the libpng homepage at
http://libpng.org/pub/png/libpng.html
---- ---- ---- ----
Parts of this software are based on the OpenVR SDK, which is
Copyright (c) 2015, Valve Corporation
Visit OpenVR at
https://github.com/ValveSoftware/openvr/
---- ---- ---- ----
This software contains FFmpeg licensed under the LGPL 2.1.
Visit FFmpeg at
https://ffmpeg.org/
---- ---- ---- ----
This software contains openal-soft licensed under the LGPL 2.
Visit openal-soft at
https://github.com/kcat/openal-soft/
---- ---- ---- ----
Parts of this software are based on the AMD AGS library, which is
Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.

@ -1 +0,0 @@
Subproject commit 67a42aa8879697c2bd190d213f873f0e9712589f

@ -1 +0,0 @@
Subproject commit bf6c774305c9feb30cff7b99e1a475df61bfa008

1
libpng

@ -1 +0,0 @@
Subproject commit b78804f9a2568b270ebd30eca954ef7447ba92f7

View File

@ -1,4 +1,4 @@
#!/usr/bin/env @PYTHON_NAME@ #!/usr/bin/env python3
#script to launch Wine with the correct environment #script to launch Wine with the correct environment