<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openclonk.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Caesar</id>
	<title>OpenClonk Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openclonk.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Caesar"/>
	<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/w/Special:Contributions/Caesar"/>
	<updated>2026-04-28T22:41:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Release_Steps&amp;diff=1861</id>
		<title>Release Steps</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Release_Steps&amp;diff=1861"/>
		<updated>2018-04-02T23:39:14Z</updated>

		<summary type="html">&lt;p&gt;Caesar: /* After Release */ Add step for flathub.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page contains all steps to release a new version of OpenClonk and is meant for developers to check whether all steps have been considered.&lt;br /&gt;
&lt;br /&gt;
=== Before Release ===&lt;br /&gt;
&lt;br /&gt;
Steps to do before the release, and after the feature freeze.&lt;br /&gt;
&lt;br /&gt;
* If releasing from a stable branch: make sure all relevant commits have been cherry-picked from master.&lt;br /&gt;
* Fix all bugs related to this release, which can be found in the bugtracker&#039;s [http://bugs.openclonk.org/roadmap_page.php roadmap].&lt;br /&gt;
* Go the [http://londeroth.org/~ck/oc-release/oc-release.cgi release button] and perform a dry release to create a release candidate.&lt;br /&gt;
* Test this release candidate with few simple tests: download, check installer content, run game, play game, play network game.&lt;br /&gt;
&lt;br /&gt;
=== Release ===&lt;br /&gt;
&lt;br /&gt;
If it is made sure that the current [https://git.openclonk.org/openclonk.git master branch] or the current stable branch does not contain any bugs one can initiate the release procedure.&lt;br /&gt;
&lt;br /&gt;
* Optional: Update all Version.txt files and Version= entries in planet/ to the new version number.&lt;br /&gt;
* &#039;&#039;&#039;Update the Version.txt&#039;&#039;&#039; to the new version number and put the extra version in Version.txt to FALSE. Commit and push.&lt;br /&gt;
* Then go to the &#039;&#039;&#039;[http://londeroth.org/~ck/oc-release/oc-release.cgi release button]&#039;&#039;&#039; and release from the correct branch.&lt;br /&gt;
&lt;br /&gt;
=== After Release ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Create a tag&#039;&#039;&#039; for the released changeset with the vX.Y tag (lightweight: git tag vX.Y). &#039;&#039;&#039;Only push&#039;&#039;&#039; the tag if sure the release has worked.&lt;br /&gt;
* &#039;&#039;&#039;Create a stable branch&#039;&#039;&#039; named stable-X for bugfix releases (if not already created).&lt;br /&gt;
* &#039;&#039;&#039;Make announcements&#039;&#039;&#039; in our blog and in our forum.&lt;br /&gt;
* Notify an openclonk.org admin to &#039;&#039;&#039;transfer the [https://git.openclonk.org/openclonk.git/archive/ source package]&#039;&#039;&#039; to www.openclonk.org/builds/release/X.Y/openclonk-X.Y-src.tar.bz2.&lt;br /&gt;
* Notify an openclonk.org admin to &#039;&#039;&#039;mark this version as released in the bugtracker&#039;&#039;&#039; and add the next version to the roadmap.&lt;br /&gt;
* &#039;&#039;&#039;Notify our Linux package maintainers&#039;&#039;&#039; for [https://packages.debian.org/de/sid/openclonk Debian], [https://aur.archlinux.org/packages/openclonk/ Arch], [http://www.freshports.org/games/openclonk/ FreeBSD] and [http://www.openclonk.org/download/ others] that a new version has been released.&lt;br /&gt;
* Update [https://github.com/flathub/org.openclonk.OpenClonk flathub] (Caesar is the main maintainer, Luchs should have write access.)&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Update external websites&#039;&#039;&#039;: [http://gamejolt.com/games/platformer/openclonk/44187/ Game Jolt], [http://en.wikipedia.org/wiki/OpenClonk wikipedia article],[https://www.reddit.com/r/freegames/ reddit/freegames], [https://www.youtube.com/user/OpenClonkProject YouTube].&lt;br /&gt;
* Spread the word! More advertisement!&lt;/div&gt;</summary>
		<author><name>Caesar</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1838</id>
		<title>Building with Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1838"/>
		<updated>2017-08-13T09:57:08Z</updated>

		<summary type="html">&lt;p&gt;Caesar: /* In short */ formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Get the sources =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s just assume you already have the sources :p&lt;br /&gt;
&lt;br /&gt;
= Get it to Compile =&lt;br /&gt;
&lt;br /&gt;
This is nice, but we are interested in seeing the game run, aren&#039;t we? For this, we need a program that will take all those C++ files and make an executable file out of it. Unfortunately, programming is complicated stuff so even setting up the tools and the environment has become a bit of science. But this won&#039;t stop us.&lt;br /&gt;
&lt;br /&gt;
== Get the Compiler Tools ==&lt;br /&gt;
&lt;br /&gt;
Before you can start building an executable, you will need some more tools:&lt;br /&gt;
* make, gcc for building (this may be part of your Linux distribution already)&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Like most big programs, OpenClonk doesn&#039;t stand on its own. Some things (like opening PNG images) were already programmed by other programers far better than we could ever do. Simply get the following packages:&lt;br /&gt;
* libsdl2-dev&lt;br /&gt;
* libopenal-dev&lt;br /&gt;
* libminiupnpc-dev&lt;br /&gt;
* libgl1-mesa-dev (will most likely be already installed after you got libsdl2-dev)&lt;br /&gt;
* libxrandr-dev (will most likely be installed already after you got libsdl2-dev)&lt;br /&gt;
* qtbase5-dev&lt;br /&gt;
* libfreetype6-dev&lt;br /&gt;
* libjpeg-dev&lt;br /&gt;
* libglew-dev&lt;br /&gt;
&lt;br /&gt;
== Get CMake ==&lt;br /&gt;
&lt;br /&gt;
Before all this becomes useful, we still need something that tells the compiler &#039;&#039;how&#039;&#039; all those sources and libraries should be compiled together.&lt;br /&gt;
&lt;br /&gt;
For this you need a project file. But there is none - we have to consult &#039;&#039;another&#039;&#039; program to generate it for us. This might seem confusing - but the point is that there are a lot of build environments, and having all those project files next to each other would become a problem in the long run.&lt;br /&gt;
&lt;br /&gt;
Get the cmake package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation, start the CMake GUI from the start menu. Put the path you cloned the repository into the source code path field.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now click the &amp;quot;Configure&amp;quot; button in the lower left. It will ask what compiler we want to use. Select the compiler you want to use, most likely the &amp;quot;Unix Makefile&amp;quot; will be the one that you need.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake4.png]]&lt;br /&gt;
&lt;br /&gt;
If you get some error messages (in red), you&#039;re probably missing some dependencies. Cmake will tell you which ones are missing, and you just need to install those, too.&lt;br /&gt;
&lt;br /&gt;
Repeat the &amp;quot;Configure&amp;quot; step, until Cmake no longer gives you error messages. It may still show you some missing paths, but that shouldn&#039;t affect you:&lt;br /&gt;
&lt;br /&gt;
The last step is to click the &amp;quot;Generate&amp;quot; button. If you can click &amp;quot;Generate&amp;quot; and you do not get an error message, you&#039;re good.&lt;br /&gt;
&lt;br /&gt;
== Your First Build ==&lt;br /&gt;
&lt;br /&gt;
Okay, now we have everything needed to make OpenClonk run for the first time. Open a terminal in the build directory that you configured in cmake, where the makefiles are located now. Enter the command&lt;br /&gt;
&lt;br /&gt;
make -j$(nproc)&lt;br /&gt;
&lt;br /&gt;
You could simply call make, but it will take a little longer to compile then: Instead, we start $(nproc) parallel jobs, where $(nproc) will be substituted by the amount of threads your processor can handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= In short =&lt;br /&gt;
&lt;br /&gt;
If you prefer doing things on the command line, this is a short alternate path to getting a working build (tested on Ubuntu 16.04, the use of &amp;lt;kbd&amp;gt;ninja&amp;lt;/kbd&amp;gt; is optional):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
# apt install git cmake build-essential libpng-dev libjpeg-dev ninja-build \&lt;br /&gt;
  libfreetype6-dev libglew-dev libreadline-dev libsdl2-dev libqt5widgets5 \&lt;br /&gt;
  qtbase5-dev libsdl2-mixer-dev libdw-dev&lt;br /&gt;
$ git clone git://git.openclonk.org/openclonk &amp;amp;&amp;amp; cd openclonk &amp;amp;&amp;amp; cmake . -GNinja &amp;amp;&amp;amp; ninja openclonk&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caesar</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1837</id>
		<title>Building with Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1837"/>
		<updated>2017-08-13T09:55:26Z</updated>

		<summary type="html">&lt;p&gt;Caesar: /* In short */ Make it a bit clearer that this is orthogonal to the rest of the guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Get the sources =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s just assume you already have the sources :p&lt;br /&gt;
&lt;br /&gt;
= Get it to Compile =&lt;br /&gt;
&lt;br /&gt;
This is nice, but we are interested in seeing the game run, aren&#039;t we? For this, we need a program that will take all those C++ files and make an executable file out of it. Unfortunately, programming is complicated stuff so even setting up the tools and the environment has become a bit of science. But this won&#039;t stop us.&lt;br /&gt;
&lt;br /&gt;
== Get the Compiler Tools ==&lt;br /&gt;
&lt;br /&gt;
Before you can start building an executable, you will need some more tools:&lt;br /&gt;
* make, gcc for building (this may be part of your Linux distribution already)&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Like most big programs, OpenClonk doesn&#039;t stand on its own. Some things (like opening PNG images) were already programmed by other programers far better than we could ever do. Simply get the following packages:&lt;br /&gt;
* libsdl2-dev&lt;br /&gt;
* libopenal-dev&lt;br /&gt;
* libminiupnpc-dev&lt;br /&gt;
* libgl1-mesa-dev (will most likely be already installed after you got libsdl2-dev)&lt;br /&gt;
* libxrandr-dev (will most likely be installed already after you got libsdl2-dev)&lt;br /&gt;
* qtbase5-dev&lt;br /&gt;
* libfreetype6-dev&lt;br /&gt;
* libjpeg-dev&lt;br /&gt;
* libglew-dev&lt;br /&gt;
&lt;br /&gt;
== Get CMake ==&lt;br /&gt;
&lt;br /&gt;
Before all this becomes useful, we still need something that tells the compiler &#039;&#039;how&#039;&#039; all those sources and libraries should be compiled together.&lt;br /&gt;
&lt;br /&gt;
For this you need a project file. But there is none - we have to consult &#039;&#039;another&#039;&#039; program to generate it for us. This might seem confusing - but the point is that there are a lot of build environments, and having all those project files next to each other would become a problem in the long run.&lt;br /&gt;
&lt;br /&gt;
Get the cmake package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation, start the CMake GUI from the start menu. Put the path you cloned the repository into the source code path field.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now click the &amp;quot;Configure&amp;quot; button in the lower left. It will ask what compiler we want to use. Select the compiler you want to use, most likely the &amp;quot;Unix Makefile&amp;quot; will be the one that you need.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake4.png]]&lt;br /&gt;
&lt;br /&gt;
If you get some error messages (in red), you&#039;re probably missing some dependencies. Cmake will tell you which ones are missing, and you just need to install those, too.&lt;br /&gt;
&lt;br /&gt;
Repeat the &amp;quot;Configure&amp;quot; step, until Cmake no longer gives you error messages. It may still show you some missing paths, but that shouldn&#039;t affect you:&lt;br /&gt;
&lt;br /&gt;
The last step is to click the &amp;quot;Generate&amp;quot; button. If you can click &amp;quot;Generate&amp;quot; and you do not get an error message, you&#039;re good.&lt;br /&gt;
&lt;br /&gt;
== Your First Build ==&lt;br /&gt;
&lt;br /&gt;
Okay, now we have everything needed to make OpenClonk run for the first time. Open a terminal in the build directory that you configured in cmake, where the makefiles are located now. Enter the command&lt;br /&gt;
&lt;br /&gt;
make -j$(nproc)&lt;br /&gt;
&lt;br /&gt;
You could simply call make, but it will take a little longer to compile then: Instead, we start $(nproc) parallel jobs, where $(nproc) will be substituted by the amount of threads your processor can handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= In short =&lt;br /&gt;
&lt;br /&gt;
If you prefer doing things on the command line, this is a short alternate path to getting a working build (tested on Ubuntu 16.04, the use of &amp;lt;code&amp;gt;ninja&amp;lt;/code&amp;gt; is optional):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
# apt install git cmake build-essential libpng-dev libjpeg-dev ninja-build \&lt;br /&gt;
  libfreetype6-dev libglew-dev libreadline-dev libsdl2-dev libqt5widgets5 \&lt;br /&gt;
  qtbase5-dev libsdl2-mixer-dev libdw-dev&lt;br /&gt;
$ git clone git://git.openclonk.org/openclonk &amp;amp;&amp;amp; cd openclonk &amp;amp;&amp;amp; cmake . -GNinja &amp;amp;&amp;amp; ninja openclonk&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caesar</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1836</id>
		<title>Building with Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Building_with_Linux&amp;diff=1836"/>
		<updated>2017-08-13T07:19:10Z</updated>

		<summary type="html">&lt;p&gt;Caesar: Add short console version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Get the sources =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s just assume you already have the sources :p&lt;br /&gt;
&lt;br /&gt;
= Get it to Compile =&lt;br /&gt;
&lt;br /&gt;
This is nice, but we are interested in seeing the game run, aren&#039;t we? For this, we need a program that will take all those C++ files and make an executable file out of it. Unfortunately, programming is complicated stuff so even setting up the tools and the environment has become a bit of science. But this won&#039;t stop us.&lt;br /&gt;
&lt;br /&gt;
== Get the Compiler Tools ==&lt;br /&gt;
&lt;br /&gt;
Before you can start building an executable, you will need some more tools:&lt;br /&gt;
* make, gcc for building (this may be part of your Linux distribution already)&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Like most big programs, OpenClonk doesn&#039;t stand on its own. Some things (like opening PNG images) were already programmed by other programers far better than we could ever do. Simply get the following packages:&lt;br /&gt;
* libsdl2-dev&lt;br /&gt;
* libopenal-dev&lt;br /&gt;
* libminiupnpc-dev&lt;br /&gt;
* libgl1-mesa-dev (will most likely be already installed after you got libsdl2-dev)&lt;br /&gt;
* libxrandr-dev (will most likely be installed already after you got libsdl2-dev)&lt;br /&gt;
* qtbase5-dev&lt;br /&gt;
* libfreetype6-dev&lt;br /&gt;
* libjpeg-dev&lt;br /&gt;
* libglew-dev&lt;br /&gt;
&lt;br /&gt;
== Get CMake ==&lt;br /&gt;
&lt;br /&gt;
Before all this becomes useful, we still need something that tells the compiler &#039;&#039;how&#039;&#039; all those sources and libraries should be compiled together.&lt;br /&gt;
&lt;br /&gt;
For this you need a project file. But there is none - we have to consult &#039;&#039;another&#039;&#039; program to generate it for us. This might seem confusing - but the point is that there are a lot of build environments, and having all those project files next to each other would become a problem in the long run.&lt;br /&gt;
&lt;br /&gt;
Get the cmake package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation, start the CMake GUI from the start menu. Put the path you cloned the repository into the source code path field.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now click the &amp;quot;Configure&amp;quot; button in the lower left. It will ask what compiler we want to use. Select the compiler you want to use, most likely the &amp;quot;Unix Makefile&amp;quot; will be the one that you need.&lt;br /&gt;
&lt;br /&gt;
[[File:build_windows_cmake4.png]]&lt;br /&gt;
&lt;br /&gt;
If you get some error messages (in red), you&#039;re probably missing some dependencies. Cmake will tell you which ones are missing, and you just need to install those, too.&lt;br /&gt;
&lt;br /&gt;
Repeat the &amp;quot;Configure&amp;quot; step, until Cmake no longer gives you error messages. It may still show you some missing paths, but that shouldn&#039;t affect you:&lt;br /&gt;
&lt;br /&gt;
The last step is to click the &amp;quot;Generate&amp;quot; button. If you can click &amp;quot;Generate&amp;quot; and you do not get an error message, you&#039;re good.&lt;br /&gt;
&lt;br /&gt;
== Your First Build ==&lt;br /&gt;
&lt;br /&gt;
Okay, now we have everything needed to make OpenClonk run for the first time. Open a terminal in the build directory that you configured in cmake, where the makefiles are located now. Enter the command&lt;br /&gt;
&lt;br /&gt;
make -j$(nproc)&lt;br /&gt;
&lt;br /&gt;
You could simply call make, but it will take a little longer to compile then: Instead, we start $(nproc) parallel jobs, where $(nproc) will be substituted by the amount of threads your processor can handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= In short =&lt;br /&gt;
&lt;br /&gt;
On a stock Ubuntu 16.04, the following was enough to get a working build:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
# apt install git cmake build-essential libpng-dev libjpeg-dev ninja-build \&lt;br /&gt;
  libfreetype6-dev libglew-dev libreadline-dev libsdl2-dev libqt5widgets5 \&lt;br /&gt;
  qtbase5-dev libsdl2-mixer-dev libdw-dev&lt;br /&gt;
$ git clone git://git.openclonk.org/openclonk &amp;amp;&amp;amp; cd openclonk &amp;amp;&amp;amp; cmake . -GNinja &amp;amp;&amp;amp; ninja openclonk&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caesar</name></author>
	</entry>
</feed>