<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daniel2000</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daniel2000"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Daniel2000"/>
	<updated>2026-04-09T02:28:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5918</id>
		<title>Installing Code::Blocks nightly build on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5918"/>
		<updated>2009-03-18T22:12:01Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nearly weekly updated packages for openSUSE 10.3 and newer, Factory and Fedora Core 9 and 10 (i586 and x84_64) against wxgtk 2.8 are available: &lt;br /&gt;
* Where to find the packages and .repo files: http://download.opensuse.org/repositories/devel:/tools:/ide/ + distribution name&lt;br /&gt;
* Howto install packages from this repository: http://en.opensuse.org/Build_Service/User&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks&amp;diff=5277</id>
		<title>Installing Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks&amp;diff=5277"/>
		<updated>2008-01-14T00:49:51Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* RPM based distributions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
[[Compiled packages of Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing the latest official version of Code::Blocks on Windows]]&lt;br /&gt;
* [[Installing Code::Blocks nightly build on Windows]]&lt;br /&gt;
* [[Installing Code::Blocks from source on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Linux]] (applies to all distros)&lt;br /&gt;
* [[Installing Code::Blocks before SVN 3893 from source on Linux]] (applies to all distros)&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks nightly build on Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
:* [http://jens.lody.name/debian/ Installing Code::Blocks nightly build on Debian]&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks nightly build on Fedora]]&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks from source on Gentoo]]&lt;br /&gt;
&lt;br /&gt;
=== RPM based distributions ===&lt;br /&gt;
&lt;br /&gt;
Such as: Red Hat Linux, Yellow Dog Linux, Fedora Core, CentOS, etc. etc.&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks nightly build on RPM based distributions]]&lt;br /&gt;
:* [[Installing Code::Blocks from source on RPM based distributions]]&lt;br /&gt;
&lt;br /&gt;
== BSD ==&lt;br /&gt;
&lt;br /&gt;
=== FreeBSD ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks from source on FreeBSD]]&lt;br /&gt;
&lt;br /&gt;
== Solaris ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Solaris]]&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks nightly build on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Mac OS X]]&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_on_RPM_based_distributions&amp;diff=5276</id>
		<title>Installing Code::Blocks on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_on_RPM_based_distributions&amp;diff=5276"/>
		<updated>2008-01-14T00:48:59Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Installing Code::Blocks on RPM based distributions moved to Installing Code::Blocks nightly build on RPM based distributions: using title like the other pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Installing Code::Blocks nightly build on RPM based distributions]]&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5275</id>
		<title>Installing Code::Blocks nightly build on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5275"/>
		<updated>2008-01-14T00:48:59Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Installing Code::Blocks on RPM based distributions moved to Installing Code::Blocks nightly build on RPM based distributions: using title like the other pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nearly weekly updated packages for openSUSE 10.1, 10.2, 10.3, Factory and Fedora Core 8 (i586 and x84_64) against wxgtk 2.8 are available: &lt;br /&gt;
* Where to find the packages and .repo files: http://software.opensuse.org/home:/TheTuxKeeper/ + distribution name&lt;br /&gt;
* Howto install packages from my repository: http://en.opensuse.org/Build_Service/User&lt;br /&gt;
* Where to get the right wxWidgets package (only for 10.2 and below): Mirror from ftp://packman.links2linux.de/pub/packman/MIRRORS + &amp;quot;suse/&amp;quot; + suse version&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5274</id>
		<title>Installing Code::Blocks nightly build on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_RPM_based_distributions&amp;diff=5274"/>
		<updated>2008-01-14T00:46:32Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: New page: Nearly weekly updated packages for openSUSE 10.1, 10.2, 10.3, Factory and Fedora Core 8 (i586 and x84_64) against wxgtk 2.8 are available:  * Where to find the packages and .repo files: ht...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nearly weekly updated packages for openSUSE 10.1, 10.2, 10.3, Factory and Fedora Core 8 (i586 and x84_64) against wxgtk 2.8 are available: &lt;br /&gt;
* Where to find the packages and .repo files: http://software.opensuse.org/home:/TheTuxKeeper/ + distribution name&lt;br /&gt;
* Howto install packages from my repository: http://en.opensuse.org/Build_Service/User&lt;br /&gt;
* Where to get the right wxWidgets package (only for 10.2 and below): Mirror from ftp://packman.links2linux.de/pub/packman/MIRRORS + &amp;quot;suse/&amp;quot; + suse version&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks&amp;diff=5273</id>
		<title>Installing Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks&amp;diff=5273"/>
		<updated>2008-01-14T00:40:24Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* RPM based distributions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
[[Compiled packages of Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing the latest official version of Code::Blocks on Windows]]&lt;br /&gt;
* [[Installing Code::Blocks nightly build on Windows]]&lt;br /&gt;
* [[Installing Code::Blocks from source on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Linux]] (applies to all distros)&lt;br /&gt;
* [[Installing Code::Blocks before SVN 3893 from source on Linux]] (applies to all distros)&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks nightly build on Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
:* [http://jens.lody.name/debian/ Installing Code::Blocks nightly build on Debian]&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks nightly build on Fedora]]&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks from source on Gentoo]]&lt;br /&gt;
&lt;br /&gt;
=== RPM based distributions ===&lt;br /&gt;
&lt;br /&gt;
Such as: Red Hat Linux, Yellow Dog Linux, Fedora Core, CentOS, etc. etc.&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks on RPM based distributions]]&lt;br /&gt;
:* [[Installing Code::Blocks from source on RPM based distributions]]&lt;br /&gt;
&lt;br /&gt;
== BSD ==&lt;br /&gt;
&lt;br /&gt;
=== FreeBSD ===&lt;br /&gt;
&lt;br /&gt;
:* [[Installing Code::Blocks from source on FreeBSD]]&lt;br /&gt;
&lt;br /&gt;
== Solaris ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Solaris]]&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks nightly build on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
* [[Installing Code::Blocks from source on Mac OS X]]&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=4449</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=4449"/>
		<updated>2007-02-11T18:16:16Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Non-root rpmbuild environment (recommended) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks from source]]&lt;br /&gt;
&lt;br /&gt;
== Install Requirements ==&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks requires GTK+ 2.x. Older distributions might only support GTK+ 1.x.&lt;br /&gt;
&lt;br /&gt;
=== Install Development Tools ===&lt;br /&gt;
&lt;br /&gt;
This has to be installed before starting:&lt;br /&gt;
* zip&lt;br /&gt;
* update-desktop-files (only on SUSE)&lt;br /&gt;
* make&lt;br /&gt;
* gettext&lt;br /&gt;
* autoconf &amp;gt;= 2.5&lt;br /&gt;
* automake &amp;gt;= 1.7&lt;br /&gt;
* libtool &amp;gt;= 1.4&lt;br /&gt;
* m4&lt;br /&gt;
* intltool&lt;br /&gt;
* gcc-c++&lt;br /&gt;
* libstdc++-devel&lt;br /&gt;
&lt;br /&gt;
In Fedora/CentOS, this can be done with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c 'yum groupinstall &amp;quot;Development Tools&amp;quot;'&lt;br /&gt;
su -c 'yum install intltool'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install newer autotools versions (if needed) ====&lt;br /&gt;
&lt;br /&gt;
If you have CentOS 3 or RHEL 3, you will need to rebuild &amp;quot;automake17&amp;quot; to use instead of automake-1.6:&lt;br /&gt;
* ftp://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os/i386/SRPMS/automake17-1.7.9-5.src.rpm&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rpmbuild --rebuild automake17-1.7.9-5.src.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you need to invoke bootstrap like this, both on the commandline and in codeblocks.spec:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
AUTOMAKE=automake-1.7 ACLOCAL=aclocal-1.7 ACLOCAL_FLAGS=&amp;quot;-I /usr/share/aclocal&amp;quot; ./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And edit the BuildRequires in codeblocks.spec, from &amp;quot;automake &amp;gt;= 1.7&amp;quot; to &amp;quot;automake17&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
=== Setup RPM environment ===&lt;br /&gt;
&lt;br /&gt;
This has to be installed before starting:&lt;br /&gt;
* rpm-build&lt;br /&gt;
&lt;br /&gt;
The top work directory for RPM varies between distributions and setups, but you can find your RPM top dir by setting a variable like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RPM_TOPDIR=`rpm --eval %{_topdir}`&lt;br /&gt;
echo $RPM_TOPDIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Non-root rpmbuild environment (recommended) ====&lt;br /&gt;
&lt;br /&gt;
It is recommended that you don't use the root account to build packages, here is how you set up a minimal user build environment:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
echo &amp;quot;%_topdir $HOME/rpm&amp;quot; &amp;gt;&amp;gt; .rpmmacros&lt;br /&gt;
echo &amp;quot;%_tmppath /tmp/$USER/rpm&amp;quot; &amp;gt;&amp;gt; .rpmmacros&lt;br /&gt;
mkdir rpm&lt;br /&gt;
cd rpm&lt;br /&gt;
mkdir SPECS SOURCES BUILD RPMS SRPMS&lt;br /&gt;
RPM_TOPDIR=`rpm --eval %{_topdir}`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now build packages without being root (assuming that the spec files are correct). You will still need root access to install.&lt;br /&gt;
&lt;br /&gt;
=== Install wxWidgets 2.6.x ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK &amp;gt;= 2.6.0 and its devel package (see [http://wxwidgets.org wxwidgets.org])&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
In later Fedora, this can be done with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c 'yum install wxGTK-devel'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build the wxGTK RPM from source (if needed) ====&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
* http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.6.3.tar.gz&lt;br /&gt;
* ftp://biolpc22.york.ac.uk/pub/2.6.3/wxWidgets-2.6.3-Patch-2.tar.gz&lt;br /&gt;
* http://www.algonet.se/~afb/wx/wxGTK.spec&lt;br /&gt;
&lt;br /&gt;
RPMS&lt;br /&gt;
&lt;br /&gt;
* wx-base-unicode-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-base-unicode-devel-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-devel-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-gl-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-contrib-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-contrib-devel-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-gtk2-unicode-debuginfo-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
* wx-i18n-2.6.3.0.2-1.i386.rpm&lt;br /&gt;
&lt;br /&gt;
=== Install Subversion client ===&lt;br /&gt;
&lt;br /&gt;
This has to be installed before starting:&lt;br /&gt;
* subversion &amp;gt;= 1.4.0, (see [http://subversion.tigris.org subversion.tigris.org])&lt;br /&gt;
&lt;br /&gt;
Binary packages for Red Hat Linux 9, Fedora Core 1, CentOS 3, CentOS 4 at:&lt;br /&gt;
&lt;br /&gt;
http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/&lt;br /&gt;
&lt;br /&gt;
In later Fedora, this can be done with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c 'yum install subversion'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build Subversion RPM from source (if needed) ====&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/downloads/subversion-1.4.2.tar.gz&lt;br /&gt;
* packages/rpm/rhel-3/subversion.spec (CentOS 3)&lt;br /&gt;
* packages/rpm/rhel-4/subversion.spec (CentOS 4)&lt;br /&gt;
&lt;br /&gt;
RPMS&lt;br /&gt;
&lt;br /&gt;
* subversion-1.4.2-1.i386.rpm&lt;br /&gt;
* subversion-devel-1.4.2-1.i386.rpm&lt;br /&gt;
* subversion-perl-1.4.2-1.i386.rpm&lt;br /&gt;
* subversion-python-1.4.2-1.i386.rpm&lt;br /&gt;
* subversion-tools-1.4.2-1.i386.rpm&lt;br /&gt;
* subversion-debuginfo-1.4.2-1.i386.rpm&lt;br /&gt;
&lt;br /&gt;
== Install Code::Blocks ==&lt;br /&gt;
&lt;br /&gt;
=== Download the Source RPM ===&lt;br /&gt;
&lt;br /&gt;
1. Download the Source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
==== Prepare SRPM package from SVN (if needed) ====&lt;br /&gt;
&lt;br /&gt;
1. You need to get the latest sources from SVN [https://www.codeblocks.org/source_code.shtml www.codeblocks.org/source_code.shtml]&lt;br /&gt;
&lt;br /&gt;
2. go into ''trunk'', if you haven't already done it.&lt;br /&gt;
&lt;br /&gt;
3. run these three commands in this order&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
 ./configure --enable-contrib&lt;br /&gt;
 make dist&lt;br /&gt;
the last one will create a .tar.gz archive that contains the sources.&lt;br /&gt;
&lt;br /&gt;
4. copy the archive to the directory $RPM_TOPDIR/SOURCES &lt;br /&gt;
 sudo mv codeblocks-trunk-r$REVISION.tar.gz $RPM_TOPDIR/SOURCES&lt;br /&gt;
&lt;br /&gt;
5. build the source RPM, or copy spec to $RPM_TOPDIR/SPECS&lt;br /&gt;
 rpmbuild -bs codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
This will create a source package in the directory $RPM_TOPDIR/SRPMS/.&lt;br /&gt;
&lt;br /&gt;
=== Build the RPM package ===&lt;br /&gt;
&lt;br /&gt;
1. Build the binary package&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0*.src.rpm&lt;br /&gt;
&lt;br /&gt;
This will create several packages in one of the architecture specific subdirectories (i386, x86_64, ppc, ...) of $RPM_TOPDIR/RPMS/.&lt;br /&gt;
&lt;br /&gt;
These are:&lt;br /&gt;
* codeblocks: main package&lt;br /&gt;
* codeblocks-contrib: contrib plugins&lt;br /&gt;
* codeblocks-devel: SDK headers&lt;br /&gt;
* codeblocks-debuginfo: stripped debug information&lt;br /&gt;
&lt;br /&gt;
=== Install the RPM package ===&lt;br /&gt;
&lt;br /&gt;
Install as root the packages you want (usually codeblocks and codeblocks-contrib) and enjoy Code::Blocks!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora&amp;diff=3827</id>
		<title>Installing Code::Blocks nightly build on Fedora</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora&amp;diff=3827"/>
		<updated>2006-09-15T09:02:52Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Manual Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks nightly build]]&lt;br /&gt;
&lt;br /&gt;
This is a stub, help Code::Blocks by expanding this article! &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Manual Install ==&lt;br /&gt;
&lt;br /&gt;
Binary packages are available for Fedora Core 4 and Fedora Core 5&lt;br /&gt;
&lt;br /&gt;
# Get the latest nightly build of Code::Blocks from the [/index.php?board=20.0 nightly builds forum].&lt;br /&gt;
# On FC4 you need an additional repository to get wxGTK 2.6 ([https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora#wxGTK_for_Fedora_Core_4 see here how to add it])&lt;br /&gt;
# Install Code::Blocks.&lt;br /&gt;
 sudo yum localinstall &amp;lt;Name_Of_Daily_Build.rpm&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fedora Extras ==&lt;br /&gt;
&lt;br /&gt;
Basicly installation on FC5 should be something along the lines:&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
First, find the package name:&amp;lt;BR&amp;gt;&lt;br /&gt;
 yum list 'codeblocks*'&lt;br /&gt;
it should return: codeblocks, codeblocks-contrib, codeblocks-devel&amp;lt;BR&amp;gt;&lt;br /&gt;
 su -&lt;br /&gt;
 &amp;lt;password&amp;gt;&lt;br /&gt;
 yum install codeblocks codeblocks-contrib&lt;br /&gt;
You will need to have the 'extras' repository enabled. This means that you should&lt;br /&gt;
have enabled=1 in /etc/yum.repos.d/fedora-extras.repo&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;P&amp;gt;&lt;br /&gt;
TODO: &amp;lt;BR&amp;gt;&lt;br /&gt;
* Maybe add a howto using yumex?&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== wxGTK for Fedora Core 4 ==&lt;br /&gt;
There is no official wxGTK 2.6 package for FC4, so you need to add a new repository to install it.&lt;br /&gt;
Create as root a new file /etc/yum.repos.d/freshrpms.repo with this content&lt;br /&gt;
 [freshrpms]&lt;br /&gt;
 name=Fedora Linux $releasever - $basearch - freshrpms&lt;br /&gt;
 baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms&lt;br /&gt;
 enabled=1&lt;br /&gt;
 gpgcheck=0&lt;br /&gt;
The next time you use yum, it will use this repository, too.&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora&amp;diff=3826</id>
		<title>Installing Code::Blocks nightly build on Fedora</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora&amp;diff=3826"/>
		<updated>2006-09-15T09:01:56Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Added instructions for FC4&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks nightly build]]&lt;br /&gt;
&lt;br /&gt;
This is a stub, help Code::Blocks by expanding this article! &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Manual Install ==&lt;br /&gt;
&lt;br /&gt;
Binary packages are available for Fedora Core 4 and Fedora Core 5&lt;br /&gt;
&lt;br /&gt;
# Get the latest nightly build of Code::Blocks from the [/index.php?board=20.0 nightly builds forum].&lt;br /&gt;
# On FC4 you need an additional repository to get wxGTK ([https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Fedora#wxGTK_for_Fedora_Core_4 see here how to add it])&lt;br /&gt;
# Install Code::Blocks.&lt;br /&gt;
 sudo yum localinstall &amp;lt;Name_Of_Daily_Build.rpm&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fedora Extras ==&lt;br /&gt;
&lt;br /&gt;
Basicly installation on FC5 should be something along the lines:&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
First, find the package name:&amp;lt;BR&amp;gt;&lt;br /&gt;
 yum list 'codeblocks*'&lt;br /&gt;
it should return: codeblocks, codeblocks-contrib, codeblocks-devel&amp;lt;BR&amp;gt;&lt;br /&gt;
 su -&lt;br /&gt;
 &amp;lt;password&amp;gt;&lt;br /&gt;
 yum install codeblocks codeblocks-contrib&lt;br /&gt;
You will need to have the 'extras' repository enabled. This means that you should&lt;br /&gt;
have enabled=1 in /etc/yum.repos.d/fedora-extras.repo&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;P&amp;gt;&lt;br /&gt;
TODO: &amp;lt;BR&amp;gt;&lt;br /&gt;
* Maybe add a howto using yumex?&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== wxGTK for Fedora Core 4 ==&lt;br /&gt;
There is no official wxGTK 2.6 package for FC4, so you need to add a new repository to install it.&lt;br /&gt;
Create as root a new file /etc/yum.repos.d/freshrpms.repo with this content&lt;br /&gt;
 [freshrpms]&lt;br /&gt;
 name=Fedora Linux $releasever - $basearch - freshrpms&lt;br /&gt;
 baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms&lt;br /&gt;
 enabled=1&lt;br /&gt;
 gpgcheck=0&lt;br /&gt;
The next time you use yum, it will use this repository, too.&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3683</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3683"/>
		<updated>2006-08-03T11:57:03Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Rewrite and reorder of the whole article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks from source]]&lt;br /&gt;
=== Compiling the SVN version ===&lt;br /&gt;
&lt;br /&gt;
This has to be installed before starting:&lt;br /&gt;
* wxGTK &amp;gt;= 2.6.0 and its devel package,&lt;br /&gt;
* zip, &lt;br /&gt;
* subversion, &lt;br /&gt;
* update-desktop-files,&lt;br /&gt;
* make,&lt;br /&gt;
* gettext,&lt;br /&gt;
* autoconf &amp;gt;= 2.5,&lt;br /&gt;
* automake &amp;gt;= 1.7,&lt;br /&gt;
* libtool &amp;gt;= 1.4,&lt;br /&gt;
* m4,&lt;br /&gt;
* intltool,&lt;br /&gt;
* gcc-c++ and&lt;br /&gt;
* libstdc++-devel&lt;br /&gt;
&lt;br /&gt;
1. You need to get the latest sources from SVN (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]])&lt;br /&gt;
&lt;br /&gt;
2. go into ''trunk'', if you haven't already done it.&lt;br /&gt;
&lt;br /&gt;
3. run these three commands in this order&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
 ./configure --enable-contrib&lt;br /&gt;
 make dist&lt;br /&gt;
the last one will create a .tar.gz archive that contains the sources.&lt;br /&gt;
&lt;br /&gt;
4. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
 sudo mv codeblocks-trunk-r$REVISION.tar.gz /usr/src/packages/SOURCES&lt;br /&gt;
&lt;br /&gt;
5. build the binary packages as root with&lt;br /&gt;
 sudo rpmbuild -bb codeblocks.spec&lt;br /&gt;
This will create several packages in one of the architecture specific subdirectories (i586, x86_64, ...) of /usr/src/packages/RPMS/.&lt;br /&gt;
These are:&lt;br /&gt;
&lt;br /&gt;
* codeblocks: main package&lt;br /&gt;
* codeblocks-contrib: contrib plugins&lt;br /&gt;
* codeblocks-devel: SDK headers&lt;br /&gt;
* codeblocks-debuginfo: stripped debug information&lt;br /&gt;
&lt;br /&gt;
6. Install the packages you want (usually codeblocks and codeblocks-contrib) and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3007</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3007"/>
		<updated>2006-06-09T20:04:42Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */  spec file:  _fedora&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/fedora-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/redhat-release)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3001</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=3001"/>
		<updated>2006-06-07T17:30:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ spec file cleaned&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/redhat-release)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2949</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2949"/>
		<updated>2006-05-26T14:48:19Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* SVN */ added new suse 10.0 build&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also - Might have a problem with encoding related error messages, this is solved by editing the generated .desktop file i n /usr/share/applications/ and comment out ;encoding=UTF-8&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 3&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| SRPMS compatible with wxGTK-2.4 is also [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.src.rpm available].&lt;br /&gt;
| [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.fc3.i386.rpm Download]&lt;br /&gt;
| Requires wxGTK-2.4 ([http://dag.wieers.com/packages/wxGTK/ Dag repository])&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| not available any more&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i586&lt;br /&gt;
| Binary&lt;br /&gt;
| rev2509 with all contrib plugins except wxsmith&lt;br /&gt;
| [http://www.savefile.com/files.php?fid=5856206 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Bundled with wxMac 2.6 inside the app bundle&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4/5&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| Fedora Core 4 requires wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2913</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2913"/>
		<updated>2006-05-10T17:05:04Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/redhat-release)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2912</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2912"/>
		<updated>2006-05-10T16:53:01Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */  spec file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/redhat-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2911</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2911"/>
		<updated>2006-05-10T16:48:47Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */  spec file-fedora to redhat&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/fedora-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2910</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2910"/>
		<updated>2006-05-10T16:44:37Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: spec file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/fedora-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc+rh&lt;br /&gt;
 %define _distribution       %(cat /etc/fedora-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2844</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2844"/>
		<updated>2006-04-19T14:55:27Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* SVN */ changed Fedora and Ubuntu download link to nightly forum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also - Might have a problem with encoding related error messages, this is solved by editing the generated .desktop file i n /usr/share/applications/ and comment out ;encoding=UTF-8&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 3&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| SRPMS compatible with wxGTK-2.4 is also [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.src.rpm available].&lt;br /&gt;
| [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.fc3.i386.rpm Download]&lt;br /&gt;
| Requires wxGTK-2.4 ([http://dag.wieers.com/packages/wxGTK/ Dag repository])&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| not available any more&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Bundled with wxMac 2.6 inside the app bundle&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4/5&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| Fedora Core 4 requires wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2843</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2843"/>
		<updated>2006-04-19T09:47:30Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0_0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/fedora-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0_0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc4+5&lt;br /&gt;
 %define _distribution       %(cat /etc/fedora-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2842</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2842"/>
		<updated>2006-04-19T09:43:44Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ changed spec file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation\Build Instructions]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or SVN with:&lt;br /&gt;
 svn info codeblocks/ | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0.svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _fedora         %(if [ -f /etc/fedora-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _version        1.0.svn.%{_svnrev}&lt;br /&gt;
 %define _rel            0&lt;br /&gt;
 %define _release        %{_rel}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 %define _suse_version   %(grep VERSION /etc/SuSE-release|cut -f3 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _suse_vernum    %(echo &amp;quot;%_suse_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release        %{_rel}.suse%{_suse_vernum}&lt;br /&gt;
 %define _distribution   SuSE Linux %_suse_version&lt;br /&gt;
 %define _sysconfdir     /etc%{_prefix}&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_mandriva&lt;br /&gt;
 %define _mandriva_version   %(cat /etc/mandriva-release|cut -f4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %define _mandriva_vernum    %(echo &amp;quot;%_mandriva_version&amp;quot;|tr -d '.')&lt;br /&gt;
 %define _release            %{_rel}.mdk%{_mandriva_vernum}&lt;br /&gt;
 %define _distribution       %(cat /etc/mandriva-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 %if %_fedora&lt;br /&gt;
 %define _release            %{_rel}.fc4+5&lt;br /&gt;
 %define _distribution       %(cat /etc/fedora-release|cut -f1-4 -d&amp;quot; &amp;quot;)&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                %{_version}&lt;br /&gt;
 Release:                %{_release}&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 conflicts:              wxGTK = 2.6.2-0.3.1.daniel2000.fc4&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 %{?_distribution:Distribution:%_distribution}&lt;br /&gt;
 %define pkgdata         %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   CFLAGS=&amp;quot;${CFLAGS:-%optflags}&amp;quot; ; export CFLAGS ; \&lt;br /&gt;
   CXXFLAGS=&amp;quot;${CXXFLAGS:-%optflags}&amp;quot; ; export CXXFLAGS ; \&lt;br /&gt;
   FFLAGS=&amp;quot;${FFLAGS:-%optflags}&amp;quot; ; export FFLAGS ; \&lt;br /&gt;
   ./configure \&lt;br /&gt;
   '--prefix=%{_prefix}' \&lt;br /&gt;
   '--exec-prefix=%{_exec_prefix}' \&lt;br /&gt;
   '--bindir=%{_bindir}' \&lt;br /&gt;
   '--sbindir=%{_sbindir}' \&lt;br /&gt;
   '--sysconfdir=/etc' \&lt;br /&gt;
   '--datadir=%{_datadir}' \&lt;br /&gt;
   '--includedir=%{_includedir}' \&lt;br /&gt;
   '--libdir=%{_libdir}' \&lt;br /&gt;
   '--libexecdir=%{_libexecdir}' \&lt;br /&gt;
   '--localstatedir=/var' \&lt;br /&gt;
   '--sharedstatedir=%{_sharedstatedir}' \&lt;br /&gt;
   '--mandir=%{_mandir}' \&lt;br /&gt;
   '--infodir=%{_infodir}' \&lt;br /&gt;
   '--enable-contrib'&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
     /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Mar 25 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - changed release tag setting&lt;br /&gt;
 - replaced configure macro with configure script call and complete list of arguments/compilerflags&lt;br /&gt;
 * Sun Mar  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - rewrite of release tag setting&lt;br /&gt;
 * Mon Jan  5 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2006 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2530</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2530"/>
		<updated>2006-03-25T18:38:03Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* 1.0 RC2 */ added not available remark to fedora package&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| not available any more&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://carapax.wiener.crema.unimi.it/users/max/codeblocks_200206ubuntu_i386.deb Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Bundled with wxMac 2.6 inside the app bundle&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Requires original Fedora wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2529</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2529"/>
		<updated>2006-03-25T18:33:26Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* 1.0 RC2 */ removed wrong fedora entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://carapax.wiener.crema.unimi.it/users/max/codeblocks_200206ubuntu_i386.deb Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Bundled with wxMac 2.6 inside the app bundle&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Requires original Fedora wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2513</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=2513"/>
		<updated>2006-03-05T16:51:45Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Downloads */  added svn fedora package&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=2479.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://carapax.wiener.crema.unimi.it/users/max/codeblocks_200206ubuntu_i386.deb Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Requires original Fedora wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2512</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2512"/>
		<updated>2006-03-04T18:55:34Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ changes in spec file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
   make DESTDIR=$RPM_BUILD_ROOT install&lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=2510</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=2510"/>
		<updated>2006-03-03T20:41:04Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.6.1 or later) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
You do not need to Compile wxWidgets if your distribution has wxGTK 2.6 and wxGTK 2.6-dev package available.  A quick search for &amp;quot;wxGTK&amp;quot; through your respective package manager should show bring up the needed packages.  After you have installed successfully you can moving on the the Installing Code::Blocks portion.  If you are using Ubuntu and have installed the wxGTK package, you must also have the dev version as well as the &amp;quot;wx-common&amp;quot; package in order to successfully compile Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.6.2 installation===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Getting wxGTK-2.6.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.6.2.tar.gz (or wxGTK-2.6.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.6.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.6.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.2 build====&lt;br /&gt;
&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the SVN repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0rc2 source code (tarball)&amp;quot; codeblocks-1.0rc2.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0rc2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0rc2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0rc2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from SVN=====&lt;br /&gt;
'''IMPORTANT NOTICE: The Sourceforge CVS is no longer used although it still exists'''&lt;br /&gt;
&lt;br /&gt;
Enter your development directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then checkout the source using one of [https://www.codeblocks.org/source_code.shtml these] methods.&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;trunk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd trunk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and SVN====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the svn trunk versions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from svn).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom SVN), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&amp;lt;br&amp;gt;&lt;br /&gt;
Or, instead of downloading from CVS, you might consider using the little command line tool dos2unix, which normally comes with most distributions. //lizzarddude060103&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-svn&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-svn&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=2509</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=2509"/>
		<updated>2006-03-03T20:37:43Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Building Code::Blocks RC2 and SVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.6.1 or later) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
You do not need to Compile wxWidgets if your distribution has wxGTK 2.6 and wxGTK 2.6-dev package available.  A quick search for &amp;quot;wxGTK&amp;quot; through your respective package manager should show bring up the needed packages.  After you have installed successfully you can moving on the the Installing Code::Blocks portion.  If you are using Ubuntu and have installed the wxGTK package, you must also have the dev version as well as the &amp;quot;wx-common&amp;quot; package in order to successfully compile Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.6.2 installation===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Getting wxGTK-2.6.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.6.2.tar.gz (or wxGTK-2.6.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.6.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.6.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.2 build====&lt;br /&gt;
&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the SVN repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0rc2 source code (tarball)&amp;quot; codeblocks-1.0rc2.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0rc2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0rc2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0rc2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from SVN=====&lt;br /&gt;
'''IMPORTANT NOTICE: The Sourceforge CVS is no longer used although it still exists'''&lt;br /&gt;
&lt;br /&gt;
Enter your development directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then checkout the source using one of [https://www.codeblocks.org/source_code.shtml these] methods.&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;trunk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd trunk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and SVN====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the svn trunk versions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from svn).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix=`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom SVN), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&amp;lt;br&amp;gt;&lt;br /&gt;
Or, instead of downloading from CVS, you might consider using the little command line tool dos2unix, which normally comes with most distributions. //lizzarddude060103&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-svn&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-svn&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2492</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2492"/>
		<updated>2006-03-02T19:27:39Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/*&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2364</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2364"/>
		<updated>2006-02-19T20:32:52Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add the SVN revision number behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2363</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2363"/>
		<updated>2006-02-19T20:26:27Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]], but don't cd into the directory trunk), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Rename the directory ''trunk'' to ''codeblocks''. Stay in the directory above ''codeblocks''.&lt;br /&gt;
&lt;br /&gt;
3. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
4. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
5. copy the archive as root to the directory /usr/src/packages/SOURCES &lt;br /&gt;
&lt;br /&gt;
6. copy the Specfile beneath, add SVN revision behind &amp;quot;_svnrev&amp;quot; (between &amp;quot;_svnrev&amp;quot; and the number has to be at least one space character) in the first line and save it as root to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
7. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
8. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
9. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2362</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2362"/>
		<updated>2006-02-19T20:00:57Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Build Intructions]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version (described here [[Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)#Getting_the_latest_sources_from_SVN]]), no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
3. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
4. copy the archive as root to the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
5. Add SVN revision behind &amp;quot;_svnrev&amp;quot; in the first line.&lt;br /&gt;
&lt;br /&gt;
6. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
7. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
8. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Current_events&amp;diff=2162</id>
		<title>Current events</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Current_events&amp;diff=2162"/>
		<updated>2006-01-09T12:29:27Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: deleted spam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Help:Contents&amp;diff=2161</id>
		<title>Help:Contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Help:Contents&amp;diff=2161"/>
		<updated>2006-01-09T12:20:40Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Okay, as of now, the un-official Code::Blocks IRC channel is #CodeBlocks [irc.freenode.net] I shall relenquish ownership of the channel if/when Code::Blocks developers would like the IRC channel &lt;br /&gt;
&lt;br /&gt;
robert_&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Please save questions/inquiries for the IRC channel.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Here are instructions on using MediaWiki: http://meta.wikimedia.org/wiki/Help:Contents&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Help:Contents&amp;diff=2160</id>
		<title>Help:Contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Help:Contents&amp;diff=2160"/>
		<updated>2006-01-09T12:18:50Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Okay, as of now, the un-official Code::Blocks IRC channel is #CodeBlocks [irc.freenode.net] I shall relenquish ownership of the channel if/when Code::Blocks developers would like the IRC channel &lt;br /&gt;
&lt;br /&gt;
robert_&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Please save questions/inquiries for the IRC channel.&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2156</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2156"/>
		<updated>2006-01-07T15:26:36Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ added svn revision number&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. Get SVN revision number. You can see it in the last line after checking out (the number after &amp;quot;Revision:&amp;quot;) or when you are in the root directory of the SVN with:&lt;br /&gt;
 svn info | grep Revision | cut -c 11-&lt;br /&gt;
&lt;br /&gt;
3. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.$SVNREVISION.tgz (replace $SVNREVISION with the number you got)&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.$SVNREVISION.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
4. copy the archive as root to the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec (you can name the specfile however you want)&lt;br /&gt;
&lt;br /&gt;
5. Add SVN revision behind &amp;quot;_svnrev&amp;quot; in the first line.&lt;br /&gt;
&lt;br /&gt;
6. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
7. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
8. Install it and enjoy Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
 %define _svnrev         &lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 %if %_svnrev&lt;br /&gt;
 Release:                0.svn.%{_svnrev}&lt;br /&gt;
 %else&lt;br /&gt;
 Release:                0.svn&lt;br /&gt;
 %endif&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Sat Jan  7 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added svn revision macro&lt;br /&gt;
 * Thu Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=2154</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=2154"/>
		<updated>2006-01-05T22:52:51Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compile the Code */ typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= NOTE: THIS INFORMATION IS ANTIQUATED! =&lt;br /&gt;
&lt;br /&gt;
== Code::Blocks now works fine with Unicode and wx2.6, and the build system has changed ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Help_talk:Contents&amp;diff=2153</id>
		<title>Help talk:Contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Help_talk:Contents&amp;diff=2153"/>
		<updated>2006-01-05T22:06:01Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Removed invisible spam? linklist&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Help_talk:Contents&amp;diff=2152</id>
		<title>Help talk:Contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Help_talk:Contents&amp;diff=2152"/>
		<updated>2006-01-05T22:05:56Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Removed invisible spam? linklist&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;zuenwa5013&amp;quot; style=&amp;quot;overflow: auto; height: 1px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://myblog.de/phentermine-buy buy phentermine]&lt;br /&gt;
[http://myblog.de/phentermine-online phentermine online]&lt;br /&gt;
[http://www.weblog.ro/underwear-on underwear]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/20386/ Rolex Replica]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?watches rolex replica watches]&lt;br /&gt;
[http://h1.ripway.com/watches/ Replica Watch]&lt;br /&gt;
[http://h1.ripway.com/watches/buy-replica Fake Rolex Watch]&lt;br /&gt;
[http://watchess.rantweb.com Replica Watches]&lt;br /&gt;
[http://www.chaosmagic.com/weblog/watches/ Replica Watches]&lt;br /&gt;
[http://watches.chaosmagic.com rolex daytona replica]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3?id=24208 swiss replica]&lt;br /&gt;
[http://www.gaestebuch4u.de/gb/watchessss.html rolex daytona replica]&lt;br /&gt;
[http://lol.to/bbs.php?bbs=johnson rolex replica]&lt;br /&gt;
[http://watches.blog.hr man replica rolex watch]&lt;br /&gt;
[http://isaak.jislaaik.com Rolex Watch Replicas]&lt;br /&gt;
[http://watchess.satanicwebsites.com rolex replica watch]&lt;br /&gt;
[http://watches.wiccawebsites.com replica watch]&lt;br /&gt;
[http://watches-online.chaosmagic.com fake rolex watch]&lt;br /&gt;
[http://watches-cheap.electrical-contractor.net replica watch]&lt;br /&gt;
[http://www.weblog.ro/pipka penis enlargement pill]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?pipka penis enlargement pump]&lt;br /&gt;
[http://h1.ripway.com/pipka penis enlargement exercise]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24249/ top bid penis enlargement pill]&lt;br /&gt;
[http://lol.to/bbs.php?bbs=pipka free penis enlargement]&lt;br /&gt;
[http://pepelaz.blog.hr/ penis enlargement pill]&lt;br /&gt;
[http://www.weblog.ro/spyware-1 spyware and adware]&lt;br /&gt;
[http://www.weblog.ro/ramadol buy tramadol]&lt;br /&gt;
[http://www.weblog.ro/secunds buy cialis]&lt;br /&gt;
[http://www.weblog.ro/vacation vacation rentals]&lt;br /&gt;
[http://www.weblog.ro/rental car rental]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24267 cartier replica watch]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3?id=24268 replica jacob watch]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24269 fake watch]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24270 cheap replica watch]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24271 cheap rolex replica watch]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?rolex11 rolex replica watch]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?facecartier fake cartier watch]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?nitric nitric oxide]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?pressure high blood pressure]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?obesity obesity]&lt;br /&gt;
[http://sildenafil-citrate-lithium.classicbroncos.com cheap sildenafil citrate lithium]&lt;br /&gt;
[http://buy-sildenafil-citrate-lithium.classicbroncos.com buy sildenafil citrate lithium]&lt;br /&gt;
[http://buy-cheap-sildenafil-citrate-lithium.classicbroncos.com sildenafil citrate lithium]&lt;br /&gt;
[http://generic-sildenafil-citrate.classicbroncos.com Generic Sildenafil Citrate]&lt;br /&gt;
[http://h1.ripway.com/watches-replica Replica Watch]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/replica Replica Rolex Watch]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/replica/fake-rolex-watch.html fake rolex watch]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/replica/swiss-watch-replica.html Swiss Watch Replica]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/replica/swiss-replica.html swiss replica]&lt;br /&gt;
[http://h1.ripway.com/fedor/bmw/ Christmas Decoration]&lt;br /&gt;
[http://h1.ripway.com/fedor/bmw/outdoor-christmas-decoration.html Outdoor Christmas Decoration]&lt;br /&gt;
[http://h1.ripway.com/fedor/bmw/christmas-shopping.html Christmas shopping]&lt;br /&gt;
[http://h1.ripway.com/fedor/bmw/blank-media.html Blank Media]&lt;br /&gt;
[http://h1.ripway.com/fedor/bmw/career-search.html Career Search]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/penis-enlargement penis enlargement]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/penis-enlargement/penis-enlargement-pills.html penis enlargement pills]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/penis-enlargement/penis-enlargement-program.html penis enlargement program]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/penis-enlargement/penis-enlargement-product.html penis enlargement product]&lt;br /&gt;
[http://h1.ripway.com/watches-replica/penis-enlargement/penis-enlargement-technique.html penis enlargement technique]&lt;br /&gt;
[http://h1.ripway.com/fedor/ buy viagra]&lt;br /&gt;
[http://h1.ripway.com/fedor/viagra.html viagra]&lt;br /&gt;
[http://h1.ripway.com/fedor/cheap-viagra.html cheap viagra]&lt;br /&gt;
[http://h1.ripway.com/fedor/viagra-alternative.html viagra alternative]&lt;br /&gt;
[http://h1.ripway.com/fedor/cheap-viagra-online.html Cheap Viagra Online]&lt;br /&gt;
[http://fedor.home.ph/ Christmas Gift]&lt;br /&gt;
[http://fedor.home.ph/christmas-gift-idea.html Christmas Gift Idea]&lt;br /&gt;
[http://fedor.home.ph/internet-access.html Internet Access]&lt;br /&gt;
[http://fedor.home.ph/cheap-internet-access.html Cheap Internet Access]&lt;br /&gt;
[http://fedor.home.ph/internet-service-provider.html Internet Service Provider]&lt;br /&gt;
[http://www.gaestebuch4u.de/gb/Arel.html cheap viagra]&lt;br /&gt;
[http://www.freehost.ag/vasek/index.html football pick]&lt;br /&gt;
[http://www.u-blog.net/vasilij iwc]&lt;br /&gt;
[http://www.weblog.ro/replicas replica rolex watch]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?lorazepamm buy lorazepam online]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?levitrass buy levitra online]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?levitrasss buy cialis]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?valiums buy valium online]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?ultrams buy ultram]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine15 phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=replicawatch replica watches]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?nemecc acyclovir]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?yapona hydrocodone]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?mumubla nursing bra]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?ilushka Creed Perfume]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?ilushkasuka herpes]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine15 buy phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=replicawatch replica watch]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?pukpuk cheap viagra]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?drlektorhelp replica swiss watch]&lt;br /&gt;
[http://www.20six.co.uk/phentermines phentermine]&lt;br /&gt;
[http://hk852.to/casinoinsuronlinephenterminespyware15 casino insur online phentermine spyware]&lt;br /&gt;
[http://h1.ripway.com/lobok/ Bmw Accessory]&lt;br /&gt;
[http://h1.ripway.com/klushka/ car insurance]&lt;br /&gt;
[http://www.zip.dk/gaeste/bog.php3/24559/ phentermine]&lt;br /&gt;
[http://hk852.to/phentermine47 phentermine]&lt;br /&gt;
[http://hk852.to/buyphentermineandxenicalonline55 buy phentermine and xenical online]&lt;br /&gt;
[http://hk852.to/buybuybuycodcodonlinephenterminephentermin20 buy buy buy cod cod online phentermine phentermine umaxppc]&lt;br /&gt;
[http://hk852.to/addbuylinkphenterminesuggest47 add buy link phentermine suggest]&lt;br /&gt;
[http://hk852.to/4buyphenterminesource35 4 buy phentermine source]&lt;br /&gt;
[http://hk852.to/americanbuyexpressphentermine33 american buy express phentermine]&lt;br /&gt;
[http://hk852.to/buyphentermineqoclick buy phentermine qoclick]&lt;br /&gt;
[http://hk852.to/buyhrefonlinesnaptophentermine buy href online.snap.to phentermine]&lt;br /&gt;
[http://hk852.to/buyonlinemyphenterminesitewifiinfo49 buy online.my phentermine site wifi.info]&lt;br /&gt;
[http://hk852.to/buylinkonlinerultdephentermine61 buy link online.rult.de phentermine]&lt;br /&gt;
[http://hk852.to/bestcablenubuyonlinephenterminesite23 best.cable.nu buy online phentermine site]&lt;br /&gt;
[http://hk852.to/buygenericonlinephentermine87 buy generic online phentermine]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=2151</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=2151"/>
		<updated>2006-01-05T22:04:25Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Removed invisible spam? linklist&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- wiki user guide at [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] --&amp;gt;&lt;br /&gt;
= Welcome to the official site for Code::Blocks =&lt;br /&gt;
[https://www.codeblocks.org Code::Blocks] is an open-source, cross-platform IDE (Integrated Development Environment). Using a plugin architecture, its capabilities and features are defined by the provided plugins. Currently, [https://www.codeblocks.org Code::Blocks] is oriented towards C/C++. At the time of this writing, the following compilers are supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC] (Linux)&lt;br /&gt;
* [http://www.mingw.org MinGW GCC] (Win32)&lt;br /&gt;
* [http://msdn.microsoft.com/visualc/vctoolkit2003 Microsoft's Visual C++ Free Toolkit 2003] (Win32)&lt;br /&gt;
* [http://www.borland.com/products/downloads/download_cbuilder.html Borland's C++ Compiler 5.5] (Win32)&lt;br /&gt;
* [http://www.digitalmars.com/ DigitalMars] (Win32)&lt;br /&gt;
* [http://store.scitechsoft.com/product_info.php?products_id=37/ OpenWatcom] (Win32)&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/219754.htm Intel C++ compiler] ('''WARNING: [[Installing_a_supported_compiler#Configuring_CodeBlocks_to_use_the_Intel_C.2B.2B_Compiler|requires manual configuration]]''')&lt;br /&gt;
* [[Installing_Fortran_Compiler|Installing the GNU G77 Fortran compiler]]&lt;br /&gt;
&lt;br /&gt;
This site does not hold much information yet but, with the help of the [https://www.codeblocks.org Code::Blocks] users, we hope it will soon be filled with articles, tutorials, FAQs, etc.&lt;br /&gt;
&lt;br /&gt;
== Table of contents ==&lt;br /&gt;
* [[Articles]]&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Developing for Code::Blocks]]&lt;br /&gt;
* [[Announcement for plugins/patches]] or similar ('''NEW!''')&lt;br /&gt;
* [[Code::Blocks Interface]]&lt;br /&gt;
* [[FAQ]]&lt;br /&gt;
* [[Tips'n'Tricks]]&lt;br /&gt;
&lt;br /&gt;
The [https://www.codeblocks.org/about.shtml Code::Blocks Team].&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2150</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2150"/>
		<updated>2006-01-05T21:52:03Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ change in the specfile&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.tgz&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 %define _mandriva       %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 Release:                svn&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 %if ! %_mandriva&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %else&lt;br /&gt;
 Requires:               wxGTK2.6 &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK2.6 &amp;gt;= %{req_wxgtk}, wxgtku-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 %endif&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Mon Jan  5 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - had to add Mandriva specific requires&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2141</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2141"/>
		<updated>2006-01-02T00:24:01Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */ little changes in specfile&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.tgz&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 Release:                svn&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. &lt;br /&gt;
 It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 - added ldconfig in post&lt;br /&gt;
 - added --enable-contrib to configure&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific requires and buildrequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2140</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2140"/>
		<updated>2006-01-02T00:14:45Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS/SVN version */  added building contrib&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.tgz&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 Release:                svn&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure --enable-contrib&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2139</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=2139"/>
		<updated>2006-01-02T00:08:20Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: simplified the specfile&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the source RPM are set to a minimum. So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS/SVN version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS/SVN version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tgz archive named codeblocks-1.0-svn.tgz&lt;br /&gt;
 tar -czf codeblocks-1.0-svn.tgz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as specfile:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 %define req_wxgtk       2.6.0&lt;br /&gt;
 %define _suse           %(if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi)&lt;br /&gt;
 &lt;br /&gt;
 Name:                   codeblocks&lt;br /&gt;
 Version:                1.0&lt;br /&gt;
 Release:                svn&lt;br /&gt;
 Summary:                OpenSource Cross Platform Free C++ IDE&lt;br /&gt;
 Group:                  Development/Tools/IDE&lt;br /&gt;
 License:                GPL&lt;br /&gt;
 URL:                    https://www.codeblocks.org/&lt;br /&gt;
 Packager:               Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 Source:                 %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:               codeblocks&lt;br /&gt;
 Requires:               libgcc, libstdc++&lt;br /&gt;
 Requires:               wxGTK &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          wxGTK &amp;gt;= %{req_wxgtk}, wxGTK-devel &amp;gt;= %{req_wxgtk}&lt;br /&gt;
 BuildRequires:          intltool, gcc-c++, make, gettext, autoconf, automake, libtool&lt;br /&gt;
 BuildRequires:          libstdc++, libstdc++-devel&lt;br /&gt;
 BuildRequires:          zip&lt;br /&gt;
 BuildRequires:          dos2unix&lt;br /&gt;
 &lt;br /&gt;
 %if %_suse&lt;br /&gt;
 BuildRequires:          update-desktop-files&lt;br /&gt;
 %endif&lt;br /&gt;
 &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
   %{?suse_update_libdir:%{suse_update_libdir}}&lt;br /&gt;
   %{?suse_update_config:%{suse_update_config -f}}&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %post&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
           /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
   test -x /sbin/ldconfig &amp;amp;&amp;amp; /sbin/ldconfig&lt;br /&gt;
 &lt;br /&gt;
 %preun&lt;br /&gt;
   if [ -x /usr/bin/update-mime-database ]; then&lt;br /&gt;
      /usr/bin/update-mime-database &amp;quot;%{_datadir}/mime&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; %__rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 %{pkgdata}/*&lt;br /&gt;
 &lt;br /&gt;
 %changelog&lt;br /&gt;
 * Mon Jan  2 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - simplified the changes made before&lt;br /&gt;
 * Sun Jan  1 2005 Daniel Orb &amp;lt;danielorb2000@googlemail.com&amp;gt;&lt;br /&gt;
 - added distribution check (SuSE, Fedora, Mandriva/Mandrake)&lt;br /&gt;
 - added distribution specific Requires and BuildRequires&lt;br /&gt;
 - added run of update-mime-database if installed&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=336</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=336"/>
		<updated>2005-11-13T22:31:05Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Getting the latest sources from CVS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.4.2) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.4.2 installation===&lt;br /&gt;
====Getting wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.4.2.tar.gz (or wxGTK-2.4.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.4.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.4.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Patching wxGTK=====&lt;br /&gt;
&lt;br /&gt;
Most newer distros provide gtk2.4.x. Although wxGTK will compile using this gtk version, applications using this wxGTK will not compile succesfully. This happens because some internal function names were changed in later gtk versions and wxGTK-2.4.2, at the time of its release, did not account for these changes.&lt;br /&gt;
If your distro uses this gtk version, you will need to patch the wxGTK sources before the build process.&lt;br /&gt;
You can get the required patch from here (TODO: add link), or create a new file and put the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;//sgl/devel/grimoire/x11-toolkits/wxGTK/gtk-2.4-fix.patch#1 - add change 30747 (text)&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/menu.cpp wxGTK-2.4.2-fix/src/gtk/menu.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/menu.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/menu.cpp	2004-03-29 14:53:34.000000000 +0200&lt;br /&gt;
@@ -30,13 +30,13 @@&lt;br /&gt;
 #ifdef __WXGTK20__&lt;br /&gt;
     #include &amp;lt;glib-object.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
-    #define gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g), (o))&lt;br /&gt;
-    #define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g), (o))&lt;br /&gt;
+    #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group((o), (g))&lt;br /&gt;
+    #define gtk_accel_group_detach(g, o) gtk_window_remove_accel_group((o), (g))&lt;br /&gt;
     #define gtk_menu_ensure_uline_accel_group(m) gtk_menu_get_accel_group(m)&lt;br /&gt;
 &lt;br /&gt;
-    #define ACCEL_OBJECT        GObject&lt;br /&gt;
+    #define ACCEL_OBJECT        GtkWindow&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;acceleratables&lt;br /&gt;
-    #define ACCEL_OBJ_CAST(obj) G_OBJECT(obj)&lt;br /&gt;
+    #define ACCEL_OBJ_CAST(obj) GTK_WINDOW(obj)&lt;br /&gt;
 #else // GTK+ 1.x&lt;br /&gt;
     #define ACCEL_OBJECT        GtkObject&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;attach_objects&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/settings.cpp wxGTK-2.4.2-fix/src/gtk/settings.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/settings.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/settings.cpp	2004-03-29 15:15:35.000000000 +0200&lt;br /&gt;
@@ -340,8 +340,8 @@&lt;br /&gt;
                 }  &lt;br /&gt;
                 else  &lt;br /&gt;
                 {  &lt;br /&gt;
-                    const gchar *font_name =&lt;br /&gt;
-                        _gtk_rc_context_get_default_font_name(gtk_settings_get_default());&lt;br /&gt;
+                    gchar *font_name;&lt;br /&gt;
+                    g_object_get(gtk_settings_get_default(), &amp;quot;gtk-font-name&amp;quot;, &amp;amp;font_name, NULL);&lt;br /&gt;
                     g_systemFont = new wxFont(wxString::FromAscii(font_name));&lt;br /&gt;
                 }  &lt;br /&gt;
                 gtk_widget_destroy( widget );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;(''Patch copied from http://www.flamerobin.org/dokuwiki/doku.php?id=wiki:wxgtkpatch.'')&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as &amp;lt;tt&amp;gt;~/devel/gtk-2.4-fix.patch&amp;lt;/tt&amp;gt; and apply it by issuing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
patch -Np0 -i gtk-2.4-fix.patch&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can build wxGTK!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Issue the following commands to build wxGTK-2.4.2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel/wxGTK-2.4.2&lt;br /&gt;
./configure --enable-gtk2&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If something fails when you run the configure command, some wxGTK prerequisite is probably missing. Read through the output and figure out what's missing.&lt;br /&gt;
If all's gone well, after 10 to 30 minutes (depending on your machine), the wxGTK library should be ready. Time to install it, system-wide:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will ask you for the root's password (you &amp;lt;u&amp;gt;are&amp;lt;/u&amp;gt; working as a regular user, aren't you?) and then it will install the library and the needed development files in your system.&lt;br /&gt;
&lt;br /&gt;
The next step is to build STC: the wxWidgets wrapper for Scintilla (the editor). This is located in the contrib subdir hierarchy. To do this, issue the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd contrib/src/stc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you 're done, STC will have been installed too. All that's left, is the XRC library which is used to load XML resources. Type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ../xrc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTE:&amp;lt;/u&amp;gt; ''The Fedora Core 3 installation I tested this procedure, did not have /usr/local/lib in the library search path. I had to manually add /usr/local/lib in /etc/ld.so.conf as root and then issue ldconfig, as root again.''&lt;br /&gt;
&lt;br /&gt;
That's it! If you reached here, congratulations! You 've built and installed wxGTK in your system.&lt;br /&gt;
You 're now ready to download and build Code::Blocks - i.e. the easy part :)&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.1 build====&lt;br /&gt;
&lt;br /&gt;
In case you want to use wxGTK 2.6.1 instead.&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the CVS repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0rc2 source code (tarball)&amp;quot; codeblocks-1.0rc2.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0rc2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0rc2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0rc2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from CVS=====&lt;br /&gt;
&lt;br /&gt;
For the following to work, you need to have the &amp;lt;tt&amp;gt;cvs&amp;lt;/tt&amp;gt; command line client installed on your system.&lt;br /&gt;
First you need to login to the CVS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for a password, press enter.&lt;br /&gt;
Now, just checkout (i.e. download) the sources from the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co codeblocks&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;codeblocks&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and CVS====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the cvs HEAD verions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from cvs).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom CVS), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-cvs&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-cvs&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=310</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=310"/>
		<updated>2005-11-13T22:29:46Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Downloading the latest source package */ Corrected finalbeta to RC2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.4.2) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.4.2 installation===&lt;br /&gt;
====Getting wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.4.2.tar.gz (or wxGTK-2.4.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.4.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.4.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Patching wxGTK=====&lt;br /&gt;
&lt;br /&gt;
Most newer distros provide gtk2.4.x. Although wxGTK will compile using this gtk version, applications using this wxGTK will not compile succesfully. This happens because some internal function names were changed in later gtk versions and wxGTK-2.4.2, at the time of its release, did not account for these changes.&lt;br /&gt;
If your distro uses this gtk version, you will need to patch the wxGTK sources before the build process.&lt;br /&gt;
You can get the required patch from here (TODO: add link), or create a new file and put the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;//sgl/devel/grimoire/x11-toolkits/wxGTK/gtk-2.4-fix.patch#1 - add change 30747 (text)&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/menu.cpp wxGTK-2.4.2-fix/src/gtk/menu.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/menu.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/menu.cpp	2004-03-29 14:53:34.000000000 +0200&lt;br /&gt;
@@ -30,13 +30,13 @@&lt;br /&gt;
 #ifdef __WXGTK20__&lt;br /&gt;
     #include &amp;lt;glib-object.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
-    #define gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g), (o))&lt;br /&gt;
-    #define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g), (o))&lt;br /&gt;
+    #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group((o), (g))&lt;br /&gt;
+    #define gtk_accel_group_detach(g, o) gtk_window_remove_accel_group((o), (g))&lt;br /&gt;
     #define gtk_menu_ensure_uline_accel_group(m) gtk_menu_get_accel_group(m)&lt;br /&gt;
 &lt;br /&gt;
-    #define ACCEL_OBJECT        GObject&lt;br /&gt;
+    #define ACCEL_OBJECT        GtkWindow&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;acceleratables&lt;br /&gt;
-    #define ACCEL_OBJ_CAST(obj) G_OBJECT(obj)&lt;br /&gt;
+    #define ACCEL_OBJ_CAST(obj) GTK_WINDOW(obj)&lt;br /&gt;
 #else // GTK+ 1.x&lt;br /&gt;
     #define ACCEL_OBJECT        GtkObject&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;attach_objects&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/settings.cpp wxGTK-2.4.2-fix/src/gtk/settings.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/settings.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/settings.cpp	2004-03-29 15:15:35.000000000 +0200&lt;br /&gt;
@@ -340,8 +340,8 @@&lt;br /&gt;
                 }  &lt;br /&gt;
                 else  &lt;br /&gt;
                 {  &lt;br /&gt;
-                    const gchar *font_name =&lt;br /&gt;
-                        _gtk_rc_context_get_default_font_name(gtk_settings_get_default());&lt;br /&gt;
+                    gchar *font_name;&lt;br /&gt;
+                    g_object_get(gtk_settings_get_default(), &amp;quot;gtk-font-name&amp;quot;, &amp;amp;font_name, NULL);&lt;br /&gt;
                     g_systemFont = new wxFont(wxString::FromAscii(font_name));&lt;br /&gt;
                 }  &lt;br /&gt;
                 gtk_widget_destroy( widget );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;(''Patch copied from http://www.flamerobin.org/dokuwiki/doku.php?id=wiki:wxgtkpatch.'')&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as &amp;lt;tt&amp;gt;~/devel/gtk-2.4-fix.patch&amp;lt;/tt&amp;gt; and apply it by issuing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
patch -Np0 -i gtk-2.4-fix.patch&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can build wxGTK!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Issue the following commands to build wxGTK-2.4.2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel/wxGTK-2.4.2&lt;br /&gt;
./configure --enable-gtk2&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If something fails when you run the configure command, some wxGTK prerequisite is probably missing. Read through the output and figure out what's missing.&lt;br /&gt;
If all's gone well, after 10 to 30 minutes (depending on your machine), the wxGTK library should be ready. Time to install it, system-wide:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will ask you for the root's password (you &amp;lt;u&amp;gt;are&amp;lt;/u&amp;gt; working as a regular user, aren't you?) and then it will install the library and the needed development files in your system.&lt;br /&gt;
&lt;br /&gt;
The next step is to build STC: the wxWidgets wrapper for Scintilla (the editor). This is located in the contrib subdir hierarchy. To do this, issue the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd contrib/src/stc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you 're done, STC will have been installed too. All that's left, is the XRC library which is used to load XML resources. Type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ../xrc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTE:&amp;lt;/u&amp;gt; ''The Fedora Core 3 installation I tested this procedure, did not have /usr/local/lib in the library search path. I had to manually add /usr/local/lib in /etc/ld.so.conf as root and then issue ldconfig, as root again.''&lt;br /&gt;
&lt;br /&gt;
That's it! If you reached here, congratulations! You 've built and installed wxGTK in your system.&lt;br /&gt;
You 're now ready to download and build Code::Blocks - i.e. the easy part :)&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.1 build====&lt;br /&gt;
&lt;br /&gt;
In case you want to use wxGTK 2.6.1 instead.&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the CVS repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0rc2 source code (tarball)&amp;quot; codeblocks-1.0rc2.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0rc2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0rc2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0rc2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from CVS=====&lt;br /&gt;
&lt;br /&gt;
For the following to work, you need to have the &amp;lt;tt&amp;gt;cvs&amp;lt;/tt&amp;gt; command line client installed on your system.&lt;br /&gt;
First you need to login to the CVS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for a password, press enter.&lt;br /&gt;
Now, just checkout (i.e. download) the sources from the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co codeblocks&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;codeblocks&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks/src&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and CVS====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the cvs HEAD verions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from cvs).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom CVS), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-cvs&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-cvs&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=312</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=312"/>
		<updated>2005-11-13T22:21:08Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the specfile and the source RPM are set to a minimum because there are two different names of the wxGTK packages (wxGTK and wxGTK2). So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tar.gz archive named codeblocks-1.0-cvs.tar.gz&lt;br /&gt;
 tar -czf codeblocks-1.0-cvs.tar.gz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as Specfile:'''&lt;br /&gt;
&lt;br /&gt;
 Name:           codeblocks&lt;br /&gt;
 Version:        1.0&lt;br /&gt;
 Release:        cvs&lt;br /&gt;
 Summary:        An open source, cross platform, free C++ IDE.&lt;br /&gt;
 Group:          Development/Tools/IDE&lt;br /&gt;
 License:        GPL&lt;br /&gt;
 URL:            https://www.codeblocks.org/&lt;br /&gt;
 Packager:       Daniel Orb &amp;lt;danielorb2000@yahoo.de&amp;gt;&lt;br /&gt;
 Source:         %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:       codeblocks&lt;br /&gt;
 BuildRequires:  zip&lt;br /&gt;
 BuildRequires:  dos2unix&lt;br /&gt;
  &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the  start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure&lt;br /&gt;
   %__make&lt;br /&gt;
 &lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 &lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %{pkgdata}/*&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=308</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=308"/>
		<updated>2005-11-13T22:11:54Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the specfile and the source RPM are set to a minimum because there are two different names of the wxGTK packages (wxGTK and wxGTK2). So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tar.gz archive named codeblocks-1.0-cvs.tar.gz&lt;br /&gt;
 tar -czf codeblocks-1.0-cvs.tar.gz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as Specfile:'''&lt;br /&gt;
&lt;br /&gt;
 Name:           codeblocks&lt;br /&gt;
 Version:        1.0&lt;br /&gt;
 Release:        cvs&lt;br /&gt;
 Summary:        An open source, cross platform, free C++ IDE.&lt;br /&gt;
 Group:          Development/Tools/IDE&lt;br /&gt;
 License:        GPL&lt;br /&gt;
 URL:            https://www.codeblocks.org/&lt;br /&gt;
 Packager:       Daniel Orb &amp;lt;danielorb2000@yahoo.de&amp;gt;&lt;br /&gt;
 Source:         %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:       codeblocks&lt;br /&gt;
 BuildRequires:  zip&lt;br /&gt;
 BuildRequires:  dos2unix&lt;br /&gt;
  &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the  start, to be extensible and configurable.&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure&lt;br /&gt;
   %__make&lt;br /&gt;
&lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 &lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %{pkgdata}/*&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=307</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=307"/>
		<updated>2005-11-13T22:06:29Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the specfile and the source RPM are set to a minimum because there are two different names of the wxGTK packages (wxGTK and wxGTK2). So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tar.gz archive named codeblocks-1.0-cvs.tar.gz&lt;br /&gt;
 tar -czf codeblocks-1.0-cvs.tar.gz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as Specfile:'''&lt;br /&gt;
&lt;br /&gt;
 Name:           codeblocks&lt;br /&gt;
 Version:        1.0&lt;br /&gt;
 Release:        cvs&lt;br /&gt;
 Summary:        An open source, cross platform, free C++ IDE.&lt;br /&gt;
 Group:          Development/Tools/IDE&lt;br /&gt;
 License:        GPL&lt;br /&gt;
 URL:            https://www.codeblocks.org/&lt;br /&gt;
 Packager:       Daniel Orb &amp;lt;danielorb2000@yahoo.de&amp;gt;&lt;br /&gt;
 Source:         %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:       codeblocks&lt;br /&gt;
 BuildRequires:  zip&lt;br /&gt;
 BuildRequires:  dos2unix&lt;br /&gt;
  &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the  start, to be extensible and configurable.&lt;br /&gt;
 Built around a plugin framework, Code::Blocks can be extended with plugin DLLs. It includes a plugin wizard so you can compile your  own plugins!&lt;br /&gt;
 &lt;br /&gt;
 Features:&lt;br /&gt;
 &lt;br /&gt;
        Highlights:&lt;br /&gt;
 &lt;br /&gt;
            * Open Source! GPL2, no hidden costs.&lt;br /&gt;
            * Cross-platform. Runs on Linux or Windows (uses wxWidgets).&lt;br /&gt;
            * Made in GNU C++. No interpreted languages or proprietary libs needed.&lt;br /&gt;
            * Comes in two presentations: Standalone, and MinGW bundle&lt;br /&gt;
            * Devpack support (optional)&lt;br /&gt;
            * Extensible thru plugins (SDK available in the downloads section)&lt;br /&gt;
 &lt;br /&gt;
        Compiler-related features:&lt;br /&gt;
 &lt;br /&gt;
            * Multiple compiler support:&lt;br /&gt;
                  o GCC (MingW / Linux GCC)&lt;br /&gt;
                  o MSVC++&lt;br /&gt;
                  o Digital Mars&lt;br /&gt;
                  o Borland C++ 5.5&lt;br /&gt;
                  o Open Watcom&lt;br /&gt;
            * Compiles directly or with makefiles&lt;br /&gt;
            * Predefined project templates&lt;br /&gt;
            * Custom template support&lt;br /&gt;
            * Uses XML format for project files.&lt;br /&gt;
            * Multi-target projects&lt;br /&gt;
            * Workspaces support&lt;br /&gt;
            * Imports MSVC projects and workspaces&lt;br /&gt;
                 (NOTE: assembly code and inter-project dependencies not supported yet)&lt;br /&gt;
            * Imports Dev-C++ projects&lt;br /&gt;
            * Integrates with GDB for debugging&lt;br /&gt;
 &lt;br /&gt;
        Interface Features:&lt;br /&gt;
 &lt;br /&gt;
            * Syntax highlighting, customizable and extensible&lt;br /&gt;
            * Code folding for C++ and XML files.&lt;br /&gt;
            * Tabbed interface&lt;br /&gt;
            * Code completion plugin&lt;br /&gt;
            * Class Browser&lt;br /&gt;
            * Smart indent&lt;br /&gt;
            * One-key swap between .h and .c/.cpp files&lt;br /&gt;
            * Open files list for quick switching between files (optional)&lt;br /&gt;
            * External customizable &amp;quot;Tools&amp;quot;&lt;br /&gt;
            * To-do list management with different users&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
 %build&lt;br /&gt;
   ./bootstrap&lt;br /&gt;
   %configure&lt;br /&gt;
   %__make&lt;br /&gt;
&lt;br /&gt;
 %install&lt;br /&gt;
   %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 &lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %{pkgdata}/*&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=306</id>
		<title>Installing Code::Blocks from source on RPM based distributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions&amp;diff=306"/>
		<updated>2005-11-13T22:04:27Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Compiling the CVS version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== General instructions ===&lt;br /&gt;
&lt;br /&gt;
The build requirements in the specfile and the source RPM are set to a minimum because there are two different names of the wxGTK packages (wxGTK and wxGTK2). So it isn't checked whether wxGTK is installed or not. So you have to take a look at it yourself.&lt;br /&gt;
&lt;br /&gt;
This has to be installed:&lt;br /&gt;
# wxGTK and its devel package&lt;br /&gt;
# wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Release Candidate 2 ===&lt;br /&gt;
&lt;br /&gt;
1. Download the source RPM from [https://www.codeblocks.org/downloads.shtml www.codeblocks.org/downloads.shtml]&lt;br /&gt;
&lt;br /&gt;
2. Build the binary package as root&lt;br /&gt;
 rpmbuild --rebuild codeblocks-1.0-rc2.src.rpm&lt;br /&gt;
&lt;br /&gt;
3. The binary RPM should be in one of the subdirectories of /usr/src/packages/RPMS&lt;br /&gt;
&lt;br /&gt;
=== Compiling the CVS version ===&lt;br /&gt;
&lt;br /&gt;
1. You need a fresh CVS version, no ./bootstrap or anything else should be done before in this directory !&lt;br /&gt;
&lt;br /&gt;
2. add the directory codeblocks to an tar.gz archive named codeblocks-1.0-cvs.tar.gz&lt;br /&gt;
 tar -czf codeblocks-1.0-cvs.tar.gz codeblocks&lt;br /&gt;
&lt;br /&gt;
3. copy the archive in the directory /usr/src/packages/SOURCES and the Specfile to /usr/src/packages/SPECS/codeblocks.spec &lt;br /&gt;
&lt;br /&gt;
4. build the binary package as root with&lt;br /&gt;
 rpmbuild -bb /usr/src/packages/SPECS/codeblocks.spec&lt;br /&gt;
&lt;br /&gt;
5. the package will be in one of the subdirectories of /usr/src/packages/RPMS/&lt;br /&gt;
&lt;br /&gt;
6. Install it and enjoy !&lt;br /&gt;
&lt;br /&gt;
'''Use this as Specfile:'''&lt;br /&gt;
&lt;br /&gt;
 Name:           codeblocks&lt;br /&gt;
 Version:        1.0&lt;br /&gt;
 Release:        cvs&lt;br /&gt;
 Summary:        An open source, cross platform, free C++ IDE.&lt;br /&gt;
 Group:          Development/Tools/IDE&lt;br /&gt;
 License:        GPL&lt;br /&gt;
 URL:            https://www.codeblocks.org/&lt;br /&gt;
 Packager:       Daniel Orb &amp;lt;danielorb2000@yahoo.de&amp;gt;&lt;br /&gt;
 Source:         %{name}-%{version}-%{release}.tgz&lt;br /&gt;
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot&lt;br /&gt;
 Provides:       codeblocks&lt;br /&gt;
 BuildRequires:  zip&lt;br /&gt;
 BuildRequires:  dos2unix&lt;br /&gt;
  &lt;br /&gt;
 %define pkgdata %{_datadir}/%{name}&lt;br /&gt;
 &lt;br /&gt;
 %description&lt;br /&gt;
 Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users. It was designed, right from the  start, to be extensible and configurable.&lt;br /&gt;
 Built around a plugin framework, Code::Blocks can be extended with plugin DLLs. It includes a plugin wizard so you can compile your  own plugins!&lt;br /&gt;
 &lt;br /&gt;
 Features:&lt;br /&gt;
 &lt;br /&gt;
        Highlights:&lt;br /&gt;
 &lt;br /&gt;
            * Open Source! GPL2, no hidden costs.&lt;br /&gt;
            * Cross-platform. Runs on Linux or Windows (uses wxWidgets).&lt;br /&gt;
            * Made in GNU C++. No interpreted languages or proprietary libs needed.&lt;br /&gt;
            * Comes in two presentations: Standalone, and MinGW bundle&lt;br /&gt;
            * Devpack support (optional)&lt;br /&gt;
            * Extensible thru plugins (SDK available in the downloads section)&lt;br /&gt;
 &lt;br /&gt;
        Compiler-related features:&lt;br /&gt;
 &lt;br /&gt;
            * Multiple compiler support:&lt;br /&gt;
                  o GCC (MingW / Linux GCC)&lt;br /&gt;
                  o MSVC++&lt;br /&gt;
                  o Digital Mars&lt;br /&gt;
                  o Borland C++ 5.5&lt;br /&gt;
                  o Open Watcom&lt;br /&gt;
            * Compiles directly or with makefiles&lt;br /&gt;
            * Predefined project templates&lt;br /&gt;
            * Custom template support&lt;br /&gt;
            * Uses XML format for project files.&lt;br /&gt;
            * Multi-target projects&lt;br /&gt;
            * Workspaces support&lt;br /&gt;
            * Imports MSVC projects and workspaces&lt;br /&gt;
                 (NOTE: assembly code and inter-project dependencies not supported yet)&lt;br /&gt;
            * Imports Dev-C++ projects&lt;br /&gt;
            * Integrates with GDB for debugging&lt;br /&gt;
 &lt;br /&gt;
        Interface Features:&lt;br /&gt;
 &lt;br /&gt;
            * Syntax highlighting, customizable and extensible&lt;br /&gt;
            * Code folding for C++ and XML files.&lt;br /&gt;
            * Tabbed interface&lt;br /&gt;
            * Code completion plugin&lt;br /&gt;
            * Class Browser&lt;br /&gt;
            * Smart indent&lt;br /&gt;
            * One-key swap between .h and .c/.cpp files&lt;br /&gt;
            * Open files list for quick switching between files (optional)&lt;br /&gt;
            * External customizable &amp;quot;Tools&amp;quot;&lt;br /&gt;
            * To-do list management with different users&lt;br /&gt;
 &lt;br /&gt;
 %prep&lt;br /&gt;
 &lt;br /&gt;
 %setup -n codeblocks&lt;br /&gt;
 &lt;br /&gt;
%build&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
  %configure&lt;br /&gt;
  %__make&lt;br /&gt;
&lt;br /&gt;
%install&lt;br /&gt;
  %makeinstall&lt;br /&gt;
 &lt;br /&gt;
 %clean&lt;br /&gt;
   test -n &amp;quot;$RPM_BUILD_ROOT&amp;quot; -a &amp;quot;$RPM_BUILD_ROOT&amp;quot; != &amp;quot;/&amp;quot; &amp;amp;&amp;amp; rm -rf $RPM_BUILD_ROOT&lt;br /&gt;
 &lt;br /&gt;
 %files&lt;br /&gt;
 %defattr(-,root,root)&lt;br /&gt;
 %doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog&lt;br /&gt;
 &lt;br /&gt;
 %{_bindir}/*&lt;br /&gt;
 &lt;br /&gt;
 %{_libdir}/*&lt;br /&gt;
 %{_datadir}/application-registry/codeblocks.applications&lt;br /&gt;
 %{_datadir}/applications/codeblocks.desktop&lt;br /&gt;
 %{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png&lt;br /&gt;
 %{_datadir}/mime-info/*&lt;br /&gt;
 %{_datadir}/mime/packages/codeblocks.xml&lt;br /&gt;
 %{_datadir}/pixmaps/codeblocks.png&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %{pkgdata}/*&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=309</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=309"/>
		<updated>2005-11-06T18:36:19Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: Changed order of the &amp;quot;Building Code::Blocks&amp;quot; parts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.4.2) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.4.2 installation===&lt;br /&gt;
====Getting wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.4.2.tar.gz (or wxGTK-2.4.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.4.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.4.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Patching wxGTK=====&lt;br /&gt;
&lt;br /&gt;
Most newer distros provide gtk2.4.x. Although wxGTK will compile using this gtk version, applications using this wxGTK will not compile succesfully. This happens because some internal function names were changed in later gtk versions and wxGTK-2.4.2, at the time of its release, did not account for these changes.&lt;br /&gt;
If your distro uses this gtk version, you will need to patch the wxGTK sources before the build process.&lt;br /&gt;
You can get the required patch from here (TODO: add link), or create a new file and put the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;//sgl/devel/grimoire/x11-toolkits/wxGTK/gtk-2.4-fix.patch#1 - add change 30747 (text)&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/menu.cpp wxGTK-2.4.2-fix/src/gtk/menu.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/menu.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/menu.cpp	2004-03-29 14:53:34.000000000 +0200&lt;br /&gt;
@@ -30,13 +30,13 @@&lt;br /&gt;
 #ifdef __WXGTK20__&lt;br /&gt;
     #include &amp;lt;glib-object.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
-    #define gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g), (o))&lt;br /&gt;
-    #define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g), (o))&lt;br /&gt;
+    #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group((o), (g))&lt;br /&gt;
+    #define gtk_accel_group_detach(g, o) gtk_window_remove_accel_group((o), (g))&lt;br /&gt;
     #define gtk_menu_ensure_uline_accel_group(m) gtk_menu_get_accel_group(m)&lt;br /&gt;
 &lt;br /&gt;
-    #define ACCEL_OBJECT        GObject&lt;br /&gt;
+    #define ACCEL_OBJECT        GtkWindow&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;acceleratables&lt;br /&gt;
-    #define ACCEL_OBJ_CAST(obj) G_OBJECT(obj)&lt;br /&gt;
+    #define ACCEL_OBJ_CAST(obj) GTK_WINDOW(obj)&lt;br /&gt;
 #else // GTK+ 1.x&lt;br /&gt;
     #define ACCEL_OBJECT        GtkObject&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;attach_objects&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/settings.cpp wxGTK-2.4.2-fix/src/gtk/settings.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/settings.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/settings.cpp	2004-03-29 15:15:35.000000000 +0200&lt;br /&gt;
@@ -340,8 +340,8 @@&lt;br /&gt;
                 }  &lt;br /&gt;
                 else  &lt;br /&gt;
                 {  &lt;br /&gt;
-                    const gchar *font_name =&lt;br /&gt;
-                        _gtk_rc_context_get_default_font_name(gtk_settings_get_default());&lt;br /&gt;
+                    gchar *font_name;&lt;br /&gt;
+                    g_object_get(gtk_settings_get_default(), &amp;quot;gtk-font-name&amp;quot;, &amp;amp;font_name, NULL);&lt;br /&gt;
                     g_systemFont = new wxFont(wxString::FromAscii(font_name));&lt;br /&gt;
                 }  &lt;br /&gt;
                 gtk_widget_destroy( widget );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;(''Patch copied from http://www.flamerobin.org/dokuwiki/doku.php?id=wiki:wxgtkpatch.'')&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as &amp;lt;tt&amp;gt;~/devel/gtk-2.4-fix.patch&amp;lt;/tt&amp;gt; and apply it by issuing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
patch -Np0 -i gtk-2.4-fix.patch&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can build wxGTK!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Issue the following commands to build wxGTK-2.4.2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel/wxGTK-2.4.2&lt;br /&gt;
./configure --enable-gtk2&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If something fails when you run the configure command, some wxGTK prerequisite is probably missing. Read through the output and figure out what's missing.&lt;br /&gt;
If all's gone well, after 10 to 30 minutes (depending on your machine), the wxGTK library should be ready. Time to install it, system-wide:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will ask you for the root's password (you &amp;lt;u&amp;gt;are&amp;lt;/u&amp;gt; working as a regular user, aren't you?) and then it will install the library and the needed development files in your system.&lt;br /&gt;
&lt;br /&gt;
The next step is to build STC: the wxWidgets wrapper for Scintilla (the editor). This is located in the contrib subdir hierarchy. To do this, issue the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd contrib/src/stc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you 're done, STC will have been installed too. All that's left, is the XRC library which is used to load XML resources. Type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ../xrc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTE:&amp;lt;/u&amp;gt; ''The Fedora Core 3 installation I tested this procedure, did not have /usr/local/lib in the library search path. I had to manually add /usr/local/lib in /etc/ld.so.conf as root and then issue ldconfig, as root again.''&lt;br /&gt;
&lt;br /&gt;
That's it! If you reached here, congratulations! You 've built and installed wxGTK in your system.&lt;br /&gt;
You 're now ready to download and build Code::Blocks - i.e. the easy part :)&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.1 build====&lt;br /&gt;
&lt;br /&gt;
In case you want to use wxGTK 2.6.1 instead.&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the CVS repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0-finalbeta source code (tarball)&amp;quot; codeblocks-1.0-finalbeta.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0-finalbeta.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0-finalbeta&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0-finalbeta/src&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from CVS=====&lt;br /&gt;
&lt;br /&gt;
For the following to work, you need to have the &amp;lt;tt&amp;gt;cvs&amp;lt;/tt&amp;gt; command line client installed on your system.&lt;br /&gt;
First you need to login to the CVS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for a password, press enter.&lt;br /&gt;
Now, just checkout (i.e. download) the sources from the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co codeblocks&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;codeblocks&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks/src&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and CVS====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the cvs HEAD verions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from cvs).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom CVS), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-cvs&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-cvs&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=297</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=297"/>
		<updated>2005-11-04T22:23:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel2000: /* Building Code::Blocks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.4.2) cross-platform UI library must be installed. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===wxGTK-2.4.2 installation===&lt;br /&gt;
====Getting wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets] web site. Click on the &amp;quot;Download&amp;quot; button in the sidebar on the left side of the page. You want to download the file named wxGTK-2.4.2.tar.gz (or wxGTK-2.4.2.tar.bz2). Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.4.2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf wxGTK-2.4.2.tar.bz2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
depending on which file you downloaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Patching wxGTK=====&lt;br /&gt;
&lt;br /&gt;
Most newer distros provide gtk2.4.x. Although wxGTK will compile using this gtk version, applications using this wxGTK will not compile succesfully. This happens because some internal function names were changed in later gtk versions and wxGTK-2.4.2, at the time of its release, did not account for these changes.&lt;br /&gt;
If your distro uses this gtk version, you will need to patch the wxGTK sources before the build process.&lt;br /&gt;
You can get the required patch from here (TODO: add link), or create a new file and put the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;//sgl/devel/grimoire/x11-toolkits/wxGTK/gtk-2.4-fix.patch#1 - add change 30747 (text)&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/menu.cpp wxGTK-2.4.2-fix/src/gtk/menu.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/menu.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/menu.cpp	2004-03-29 14:53:34.000000000 +0200&lt;br /&gt;
@@ -30,13 +30,13 @@&lt;br /&gt;
 #ifdef __WXGTK20__&lt;br /&gt;
     #include &amp;lt;glib-object.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
-    #define gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g), (o))&lt;br /&gt;
-    #define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g), (o))&lt;br /&gt;
+    #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group((o), (g))&lt;br /&gt;
+    #define gtk_accel_group_detach(g, o) gtk_window_remove_accel_group((o), (g))&lt;br /&gt;
     #define gtk_menu_ensure_uline_accel_group(m) gtk_menu_get_accel_group(m)&lt;br /&gt;
 &lt;br /&gt;
-    #define ACCEL_OBJECT        GObject&lt;br /&gt;
+    #define ACCEL_OBJECT        GtkWindow&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;acceleratables&lt;br /&gt;
-    #define ACCEL_OBJ_CAST(obj) G_OBJECT(obj)&lt;br /&gt;
+    #define ACCEL_OBJ_CAST(obj) GTK_WINDOW(obj)&lt;br /&gt;
 #else // GTK+ 1.x&lt;br /&gt;
     #define ACCEL_OBJECT        GtkObject&lt;br /&gt;
     #define ACCEL_OBJECTS(a)    (a)-&amp;gt;attach_objects&lt;br /&gt;
diff -Nur wxGTK-2.4.2/src/gtk/settings.cpp wxGTK-2.4.2-fix/src/gtk/settings.cpp&lt;br /&gt;
--- wxGTK-2.4.2/src/gtk/settings.cpp	2003-09-21 13:31:57.000000000 +0200&lt;br /&gt;
+++ wxGTK-2.4.2-fix/src/gtk/settings.cpp	2004-03-29 15:15:35.000000000 +0200&lt;br /&gt;
@@ -340,8 +340,8 @@&lt;br /&gt;
                 }  &lt;br /&gt;
                 else  &lt;br /&gt;
                 {  &lt;br /&gt;
-                    const gchar *font_name =&lt;br /&gt;
-                        _gtk_rc_context_get_default_font_name(gtk_settings_get_default());&lt;br /&gt;
+                    gchar *font_name;&lt;br /&gt;
+                    g_object_get(gtk_settings_get_default(), &amp;quot;gtk-font-name&amp;quot;, &amp;amp;font_name, NULL);&lt;br /&gt;
                     g_systemFont = new wxFont(wxString::FromAscii(font_name));&lt;br /&gt;
                 }  &lt;br /&gt;
                 gtk_widget_destroy( widget );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;(''Patch copied from http://www.flamerobin.org/dokuwiki/doku.php?id=wiki:wxgtkpatch.'')&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as &amp;lt;tt&amp;gt;~/devel/gtk-2.4-fix.patch&amp;lt;/tt&amp;gt; and apply it by issuing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
patch -Np0 -i gtk-2.4-fix.patch&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can build wxGTK!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building wxGTK-2.4.2====&lt;br /&gt;
&lt;br /&gt;
Issue the following commands to build wxGTK-2.4.2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel/wxGTK-2.4.2&lt;br /&gt;
./configure --enable-gtk2&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If something fails when you run the configure command, some wxGTK prerequisite is probably missing. Read through the output and figure out what's missing.&lt;br /&gt;
If all's gone well, after 10 to 30 minutes (depending on your machine), the wxGTK library should be ready. Time to install it, system-wide:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will ask you for the root's password (you &amp;lt;u&amp;gt;are&amp;lt;/u&amp;gt; working as a regular user, aren't you?) and then it will install the library and the needed development files in your system.&lt;br /&gt;
&lt;br /&gt;
The next step is to build STC: the wxWidgets wrapper for Scintilla (the editor). This is located in the contrib subdir hierarchy. To do this, issue the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd contrib/src/stc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you 're done, STC will have been installed too. All that's left, is the XRC library which is used to load XML resources. Type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ../xrc&lt;br /&gt;
make&lt;br /&gt;
su -c &amp;quot;make install&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTE:&amp;lt;/u&amp;gt; ''The Fedora Core 3 installation I tested this procedure, did not have /usr/local/lib in the library search path. I had to manually add /usr/local/lib in /etc/ld.so.conf as root and then issue ldconfig, as root again.''&lt;br /&gt;
&lt;br /&gt;
That's it! If you reached here, congratulations! You 've built and installed wxGTK in your system.&lt;br /&gt;
You 're now ready to download and build Code::Blocks - i.e. the easy part :)&lt;br /&gt;
&lt;br /&gt;
====wxWidgets 2.6.1 build====&lt;br /&gt;
&lt;br /&gt;
In case you want to use wxGTK 2.6.1 instead.&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
(*Note// &lt;br /&gt;
on Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, &lt;br /&gt;
otherwise the PATH changes are not available in a gnome-terminal window. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the CVS repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0-finalbeta source code (tarball)&amp;quot; codeblocks-1.0-finalbeta.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0-finalbeta.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0-finalbeta&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0-finalbeta/src&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from CVS=====&lt;br /&gt;
&lt;br /&gt;
For the following to work, you need to have the &amp;lt;tt&amp;gt;cvs&amp;lt;/tt&amp;gt; command line client installed on your system.&lt;br /&gt;
First you need to login to the CVS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for a password, press enter.&lt;br /&gt;
Now, just checkout (i.e. download) the sources from the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co codeblocks&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;codeblocks&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks/src&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and CVS====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're compiling the cvs HEAD verions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from cvs).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom CVS), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-cvs&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-cvs&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;/div&gt;</summary>
		<author><name>Daniel2000</name></author>
	</entry>
</feed>