<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cajunfiend</id>
	<title>Unvanquished - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cajunfiend"/>
	<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/wiki/Special:Contributions/Cajunfiend"/>
	<updated>2026-04-04T19:58:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=3773</id>
		<title>Getting the source</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=3773"/>
		<updated>2015-04-08T16:21:49Z</updated>

		<summary type="html">&lt;p&gt;Cajunfiend: /* Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [https://github.com/Unvanquished/Unvanquished Unvanquished source code] is hosted on GitHub. You can either download a snapshot of the source code in [https://github.com/Unvanquished/Unvanquished/zipball/master ZIP archive form], or you can use Git to clone the repository.&lt;br /&gt;
&lt;br /&gt;
==Installing Git==&lt;br /&gt;
&lt;br /&gt;
If you already have Git installed, you can skip this step.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
Windows users can acquire Git from the [http://code.google.com/p/msysgit/ MSysGit project]. If you would prefer a graphical front-end, there is [http://code.google.com/p/tortoisegit/ TortoiseGit], but MSysGit must be installed regardless.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
Apple has included Git with Xcode since version 4. You may download [https://developer.apple.com/xcode/ Xcode] from  Apple's developer website. Please note that while XCode 4 was available for a very brief time for 32-bit and Snow Leopard users for a small price ($5 from the Mac App Store), this is no longer the case; it is now free, but available only to 64-bit Lion users. Snow Leopard (10.6) users and prior may now only use XCode 3, which does not include Git. If you are one of these users, you may [http://git-scm.com/download/mac acquire a copy of Git] from its site. A [http://git-scm.com/download/gui/mac selection of GUIs for Git] is also available.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
====Debian &amp;amp; Ubuntu====&lt;br /&gt;
&lt;br /&gt;
Install Git using the package manager:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install git&lt;br /&gt;
&lt;br /&gt;
====Gentoo====&lt;br /&gt;
&lt;br /&gt;
The ebuilds for Unvanquished (games-fps/unvanquished) and the assets (games-fps/unvanquished-data) are available from the [https://github.com/hasufell/hasufell-overlay ''hasufell''] overlay.&lt;br /&gt;
If you don't have layman installed, you can install it with&lt;br /&gt;
&lt;br /&gt;
 $ emerge layman&lt;br /&gt;
&lt;br /&gt;
Then, adding the overlay and installing should be trivial.&lt;br /&gt;
&lt;br /&gt;
 $ layman -a games-overlay&lt;br /&gt;
 $ emerge unvanquished&lt;br /&gt;
&lt;br /&gt;
See [https://bugs.gentoo.org/show_bug.cgi?id=419421 the entry on bugs.gentoo.org] for additional comments about the ebuilds.&lt;br /&gt;
&lt;br /&gt;
==Downloading the source==&lt;br /&gt;
&lt;br /&gt;
===Command line===&lt;br /&gt;
&lt;br /&gt;
The following commands will work on any platform.&lt;br /&gt;
&lt;br /&gt;
 $ git clone https://github.com/Unvanquished/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
This will create a directory called ''Unvanquished''.&lt;br /&gt;
&lt;br /&gt;
If you would like to get the source for a particular version, [http://git-scm.com/docs/git-checkout check out] the associated [http://git-scm.com/book/en/Git-Basics-Tagging tag]:&lt;br /&gt;
&lt;br /&gt;
 $ git checkout {{CurrentVersion|Tag}}&lt;br /&gt;
&lt;br /&gt;
To see the list of tags (versions) available to check out,&lt;br /&gt;
&lt;br /&gt;
 $ git tag&lt;br /&gt;
&lt;br /&gt;
will produce a list.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
Please see the [[#Command_line|command line]] instructions.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
&lt;br /&gt;
Open a Terminal (&amp;lt;code&amp;gt;/Applications/Utilities/Terminal&amp;lt;/code&amp;gt;) and follow the [[#Command_line|command line]] instructions.&lt;br /&gt;
&lt;br /&gt;
====Xcode 4====&lt;br /&gt;
&lt;br /&gt;
# Start Xcode.&lt;br /&gt;
# Open the Organizer window (Window &amp;amp;rarr; Organizer or {{Hotkey|Shift}}{{Hotkey|MacCommand}}{{Hotkey|2}})&lt;br /&gt;
# Hit the &amp;quot;Repositories&amp;quot; button on the top bar.&lt;br /&gt;
# Hit the &amp;quot;+&amp;quot; button in the lower-left corner, and choose &amp;quot;Checkout or Clone Repository&amp;amp;hellip;&amp;quot;.&lt;br /&gt;
# In the rollout sheet that appears, enter &amp;lt;code&amp;gt;https://github.com/Unvanquished/Unvanquished.git&amp;lt;/code&amp;gt; into the &amp;quot;Location&amp;quot; field, and hit &amp;quot;Next&amp;quot;.&lt;br /&gt;
# Enter &amp;quot;Unvanquished&amp;quot; into the &amp;quot;Name&amp;quot; field, ensure that the &amp;quot;Type&amp;quot; combo box is set to &amp;quot;Git&amp;quot;, and hit &amp;quot;Clone&amp;quot;.&lt;br /&gt;
# You will be prompted where to save the repository. Choose a location and hit &amp;quot;Clone&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
====TortoiseGIT====&lt;br /&gt;
&lt;br /&gt;
# Make and enter a new folder to store the source code in&lt;br /&gt;
# Right click the inside of the folder &amp;amp;rarr; Git Clone...&lt;br /&gt;
# In the Url textbox enter: &amp;lt;code&amp;gt;https://github.com/Unvanquished/Unvanquished.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Hit OK.&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
&lt;br /&gt;
Open the MsysGit terminal and and follow the [[#Command_line|command line]] instructions.&lt;br /&gt;
&lt;br /&gt;
==Keeping your copy of the source up-to-date==&lt;br /&gt;
&lt;br /&gt;
For more information on using git, an excellent resource is the official [http://git-scm.com/book git book], available to read online for free.&lt;br /&gt;
&lt;br /&gt;
===TortoiseGit===&lt;br /&gt;
&lt;br /&gt;
# Right-click somewhere in the source directory, and choose &amp;quot;Git Sync&amp;quot;. &amp;lt;!-- TODO: finish instructions --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Command-line (All platforms)===&lt;br /&gt;
&lt;br /&gt;
{{Note|content=&lt;br /&gt;
If you have checked out a particular commit or tag (e.g., &amp;lt;code&amp;gt;{{CurrentVersion|Tag}}&amp;lt;/code&amp;gt;), git will inform you afterwards that you are in what it refers to as a &amp;quot;detached head&amp;quot; state. Before you update your copy of the source, you should check out the master branch first:&lt;br /&gt;
&lt;br /&gt;
 $ git checkout master&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To pull (i.e., fetch and merge) changes made since you checked out the source&amp;amp;mdash;that is, to update your working copy to match the current state of the official repository&amp;amp;mdash;you (typically) need only run one command:&lt;br /&gt;
&lt;br /&gt;
 $ git pull origin master&lt;br /&gt;
&lt;br /&gt;
==Compiling==&lt;br /&gt;
&lt;br /&gt;
After getting the source code, you can [[Compiling the source|compile]] it.&lt;/div&gt;</summary>
		<author><name>Cajunfiend</name></author>
	</entry>
</feed>