Difference between revisions of "Source Code"

From WineHQ Wiki
Jump to: navigation, search
(Create Obsolete section for docs.git)
(→‎Alternative Repositories: archive at budgetdedicated.com is not WineHQ's)
Line 48: Line 48:
 
* (Via FTP) You can find (bzip compressed) copies of all Wine releases, either as complete code or incremental diffs, in the [http://ftp.winehq.org/pub/wine/source/ source folder of WineHQ's FTP site].
 
* (Via FTP) You can find (bzip compressed) copies of all Wine releases, either as complete code or incremental diffs, in the [http://ftp.winehq.org/pub/wine/source/ source folder of WineHQ's FTP site].
 
* (ibiblio.org) Starting with v1.7, there are also source tarballs of Wine releases at [http://mirrors.ibiblio.org/wine/source/ ibiblio.org].
 
* (ibiblio.org) Starting with v1.7, there are also source tarballs of Wine releases at [http://mirrors.ibiblio.org/wine/source/ ibiblio.org].
* (Great for RegressionTesting) There are .deb packages (originally built by the Ubuntu Wine Team) of many releases going back to at least v1.2 at [http://wine.budgetdedicated.com/archive/index.html Wine's budgetdedicated archive].
+
* (Great for RegressionTesting) There are .deb packages (originally built by the Ubuntu Wine Team) of many releases going back to at least v1.2 at [http://wine.budgetdedicated.com/archive/index.html the former Ubuntu maintainer's budgetdedicated archive].
 
* (Github Fans) The WineHQ git repo also has an [https://github.com/mirrors/wine official mirror on Github].
 
* (Github Fans) The WineHQ git repo also has an [https://github.com/mirrors/wine official mirror on Github].
 
* (Sundry Forks and Hacks) [[JanZerebecki]] maintains an up-to-date mirror of [http://repo.or.cz/w/wine.git Wine at repo.or.cz], along with several branches that developers have created over the years to test ideas.
 
* (Sundry Forks and Hacks) [[JanZerebecki]] maintains an up-to-date mirror of [http://repo.or.cz/w/wine.git Wine at repo.or.cz], along with several branches that developers have created over the years to test ideas.

Revision as of 09:45, 4 March 2016

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 CVS commit in 1993) at the online git browser. 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, but any one of the repositories on the main source tree can be cloned with the command

git clone git://source.winehq.org/git/repository destination
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
website.git The WineHQ website code
wine.git The source for the actual Wine program

Dialog-warning.svg Any code specific to our wiki has not yet been added to the WineHQ git repository, but should appear there in the near future.

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-compholio/wine-staging

Sourceforge

The wine-gecko source code is hosted on Sourceforge.

wine-gecko https://sourceforge.net/p/wine/wine-gecko/ci/master/tree/

The Wine repository at Sourceforge also contains bzip-compressed copies of source code for all Wine releases. Note, however, that WineHQ is transitioning away from Sourceforge. The official download site is http://dl.winehq.org.

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).