As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
# nano /etc/apt/sources.listdeb-src http://debian.cse.msu.edu/debian/ sid mainmkdir -p ~/devel/deb_source_libscd ~/devel/deb_source_libsapt-get source wxwidgets2.8suapt-get install libgl1-mesa-dev apt-get install libglu1-mesa-devapt-get build-dep wxwidgets2.8exitcd /home/stahta01/devel/deb_source_libs/wxwidgets2.8-2.8.12.1+dfsg2dpkg-buildpackage -rfakeroot -uccd ~/devel/deb_source_libssu# Needed before installing wxGTK debsapt-get install wx-common# Needed to run Code::Blocksdpkg -i libwxbase2.8-0_2.8.12.1+dfsg2-2_amd64.debdpkg -i libwxgtk2.8-0_2.8.12.1+dfsg2-2_amd64.deb# Needed to build Code::Blocks SVN using Code::Blocksdpkg -i wx2.8-headers_2.8.12.1+dfsg2-2_amd64.debdpkg -i libwxbase2.8-dev_2.8.12.1+dfsg2-2_amd64.debdpkg -i libwxgtk2.8-dev_2.8.12.1+dfsg2-2_amd64.debexit
# Steps to build Code::Blocks recent nightly linked with wxGTK2.8 under Debian 8.0 "Jessie" using jenslody repo.# I am doing this to learn how to build deb files# If you just want to build Code::Blocks; the bootstrap, configure, and make method is better.# But, this way does have the advantage of being able to install the deb files.# Add Code::Blocks source location needed for "apt-get source codeblocks"su# edit the file /etc/apt/sources.listnano /etc/apt/sources.list# add the next two lines using the editordeb https://apt.jenslody.de/stable stable maindeb-src https://apt.jenslody.de/stable stable main# Installs the https protocal for apt needed when using jenslody repo.apt-get install apt-transport-httpsapt-get update# Installing jens-lody-debian-keyring results in less future warningsapt-get install jens-lody-debian-keyringexitmkdir -p ~/devel/deb_source_libscd ~/devel/deb_source_libsapt-get source codeblocks# You can now comment out the two lines added to /etc/apt/sources.list# Verify that wxWidgets (wxGTK) 2.8 is in the listwx-config --list# Change to wxGTK 2.8; the build currently errors out using wxGTK 3.0update-alternatives --config wx-configcd ~/devel/deb_source_libs/codeblocks-13.12svn10234fakeroot debian/rules clean fakeroot debian/rules buildfakeroot debian/rules binarycd ~cd ./devel/deb_source_libssu# I do NOT like xterm so; I remove it very often; so, I need to add it back to install one of the deb files.apt-get install xterm xbitmapsdpkg -i codeblocks-common_13.12svn10234-1_all.debdpkg -i codeblocks-additional-common_13.12svn10234-1_all.debdpkg -i codeblocks-contrib-common_13.12svn10234-1_all.debdpkg -i libcodeblocks0_13.12svn10234-1_amd64.deb dpkg -i codeblocks_13.12svn10234-1_amd64.deb# The next line installs two debs at once since they depend on each otherdpkg -i codeblocks-headers_13.12svn10234-1_all.deb codeblocks-dev_13.12svn10234-1_amd64.debdpkg -i libwxsmithlib0_13.12svn10234-1_amd64.debdpkg -i wxsmith-dev_13.12svn10234-1_amd64.debdpkg -i libwxsmithlib0-dev_13.12svn10234-1_amd64.debdpkg -i wxsmith-headers_13.12svn10234-1_all.deb # wxsmith-headers depends on wxsmith-devdpkg -i codeblocks-libwxcontrib0_13.12svn10234-1_amd64.debdpkg -i codeblocks-contrib_13.12svn10234-1_amd64.debdpkg -i codeblocks-dbg_13.12svn10234-1_amd64.debdpkg -i codeblocks-contrib-dbg_13.12svn10234-1_amd64.debdpkg -i codeblocks-wxcontrib-dev_13.12svn10234-1_amd64.debdpkg -i codeblocks-wxcontrib-headers_13.12svn10234-1_all.deb # codeblocks-wxcontrib-headers depends on codeblocks-wxcontrib-devdpkg -i codeblocks-additional_13.12svn10234-1_amd64.debdpkg -i codeblocks-additional-dbg_13.12svn10234-1_amd64.debexit# Information notes Only BelowI got the below message during the clean step.src/plugins/headerguard/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Now Code::Blocks is in the new testing repo(strech)~! And is compiled using wx3.0.Everyone can install codeblocks using apt-get install codeblocks(may need sudo or su root), after get testing update sources into sources.list`!