## Trying the Latest
-[Downloading Safari Technology Preview](https://webkit.org/downloads/) to test the latest version of WebKit.
+On macOS, [download Safari Technology Preview](https://webkit.org/downloads/) to test the latest version of WebKit. On Linux, download [Epiphany Technology Preview](https://webkitgtk.org/epiphany-tech-preview). On Windows, you'll have to build it yourself.
## Reporting Bugs
### Checking out the Subversion Repository
-Run the following command to check out WebKit's subversion repository:
+If you don't want to use Git, run the following command to check out WebKit's Subversion repository:
```
svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit
## Building WebKit
-### Building Mac Port
+### Building macOS Port
Install Xcode and its command line tools if you haven't done so already:
### Using Xcode
-You can open `WebKit.xcworkspace` to build and debug WebKit within WebKit.
+You can open `WebKit.xcworkspace` to build and debug WebKit within Xcode.
If you don't use a custom build location in Xcode preferences, you have to update the workspace settings to use `WebKitBuild` directory. In menu bar, choose File > Workspace Settings, then click the Advanced button, select "Custom", "Relative to Workspace", and enter `WebKitBuild` for both Products and Intermediates.
The first time after you install a new Xcode, you will need to run the following command to enable Xcode to build command line tools for iOS Simulator:
```
- sudo Tools/Scripts/configure-xcode-for-ios-development
+sudo Tools/Scripts/configure-xcode-for-ios-development
```
Without this step, you will see the error message: "`target specifies product type ‘com.apple.product-type.tool’, but there’s no such product type for the ‘iphonesimulator’ platform.`" when building target `JSCLLIntOffsetsExtractor` of project `JavaScriptCore`.
Tools/Scripts/build-webkit --debug --ios-simulator.
```
-### Building GTK+ Port
+### Building the GTK+ Port
+
+For production builds:
-Install the dependencies by running the following command:
```
-Tools/gtk/install-dependencies
+cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
+ninja
+sudo ninja install
```
-Then run the following command to build additional dependencies:
+For development builds:
+
```
+Tools/gtk/install-dependencies
Tools/Scripts/update-webkitgtk-libs
+Tools/Scripts/build-webkit --gtk --debug
```
-Run the following command to build WebKit with debugging symbols for GTK+ port:
+For more information on building WebKitGTK+, see the [wiki page](https://trac.webkit.org/wiki/BuildingGtk).
+
+### Building the WPE Port
+
+For production builds:
```
-Tools/Scripts/build-webkit --debug --gtk.
+cmake -DPORT=WPE -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
+ninja
+sudo ninja install
```
-Note that the procedure for building a release tarball is different.
-For more information, see the [wiki page](https://trac.webkit.org/wiki/BuildingGtk).
+For development builds:
+
+```
+Tools/wpe/install-dependencies
+Tools/Scripts/update-webkitwpe-libs
+Tools/Scripts/build-webkit --wpe --debug
+```
### Building Windows Port
In both cases, if you have built release builds instead, use `--release` instead of `--debug`.
+### Linux Ports
+
+If you have a development build, you can use the run-minibrowser script, e.g.:
+
+```
+run-minibrowser --debug --wpe
+```
+
+Pass one of `--gtk`, `--jsc-only`, or `--wpe` to indicate the port to use.
+
## Contribute
Congratulations! You’re up and running. Now you can begin coding in WebKit and contribute your fixes and new features to the project. For details on submitting your code to the project, read [Contributing Code](https://webkit.org/contributing-code/).