Source Code

From WineHQ Wiki
Revision as of 06:21, 26 July 2022 by Julliard (talk | contribs) (Small updates)
Jump to: navigation, search


The source code for Wine, all Wine websites, and supplementary web tools can be found online. You can explore the project's main source tree and commit history (all the way back to the first version in 1993) at the Wine git tree. You can also use the Wine cross-reference, although this only goes back to Wine v1.0.

If you are interested in downloading the Wine source code, you can clone portions of the source tree to your computer with Git. There is a tutorial on how to use Git with the Wine program source. The repositories are hosted on the WineHQ Gitlab:

Current Repositories
appdb.git Code for the AppDB site and database
bugzilla.git Code for Wine's bugzilla site and database
fontforge.git A custom version of the FontForge editor for Wine fonts
tools.git The various webtools used to maintain parts of the Wine site
vkd3d.git 3D graphics library with an API similar to Direct3D 12 but a Vulkan backend
website.git The WineHQ website code
wine.git The source for the actual Wine program
wine-gecko.git The source code for the Wine Gecko engine
Obsolete Repositories
docs.git Contains the SGML files formerly used for the Wine User's, Winelib User's, and Wine Developer's guides. These documents have been ported to the wiki and the SGML files will not be updated.

GitHub

The wine-staging and wine-mono source code and WineHQ packaging scripts are hosted on GitHub.

wine-mono https://github.com/madewokherd/wine-mono
wine-packaging https://github.com/wine-compholio/wine-packaging
wine-staging https://github.com/wine-staging/wine-staging

This Wiki

Whenever we use an existing framework in WineHQ, we try to keep the imported code as close to upstream as possible. This is particularly true of the Wine Wiki, which is a vanilla MediaWiki installation running our freshest Bootstrap-based theme for WineHQ. All CSS or javascript should come from one of those two sources (possibly including MediaWiki extensions or standard JS libraries like jquery).

Alternative Repositories

There are actually several other repositories for Wine scattered around the internet, and in some situations, these alternative repos can be very useful. However, if you want to submit patches to the official upstream version of Wine, remember you must go through the mailing list (as described in Submitting Patches).