# ChangeLog for dev-util/codeblocks
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.17 2010/05/06 06:08:10 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.18 2010/07/02 22:04:11 dirtyepic Exp $
+
+*codeblocks-10.05 (02 Jul 2010)
+
+ 02 Jul 2010; Ryan Hill <dirtyepic@gentoo.org>
+ -codeblocks-1.0_pre20070618.ebuild, -codeblocks-8.02.ebuild,
+ +codeblocks-10.05.ebuild:
+ Version bump (bug #322315). Clean up ebuild and remove old.
06 May 2010; Ryan Hill <dirtyepic@gentoo.org> codeblocks-8.02-r1.ebuild,
+files/codeblocks-8.02-gsocket.patch, metadata.xml:
AUX codeblocks-8.02-gcc43.patch 472 RMD160 558a7c577f78159fa82fe86b1af6502c4f62c2ac SHA1 7b5b5af288fc165f9b67aadf9d60f27315fb2b9f SHA256 7326f738027eebdb1a2037a4e5536f52c612e9ab6f82a4d738e295c3239ad293
AUX codeblocks-8.02-gcc44.patch 4372 RMD160 db150c9fa9571f5da338b443a909fda4a8049f05 SHA1 fe55cb17fc0452875762e09cbf92347acdd9d453 SHA256 24ec7c52a63507191abf083a0d69f3a3766dbefbdf0dd352c190f8d9b9748f49
AUX codeblocks-8.02-gsocket.patch 1261 RMD160 161f424a1ac01c48777ee5527e9603dc6c56c294 SHA1 b3378b9c6938c926048e4479eed982cc687c0383 SHA256 e188b1871a208667dfd3fa1df099d5e26d66cc5c82a1dd82e2f66e3ad3cee5f3
-DIST codeblocks-1.0_pre20070618.tar.bz2 8564270 RMD160 643deba773f3a873c19c3b89fbb4866b106ff457 SHA1 4ec7c2cd364b3fe0cb2172bd48e6c2569479e3b5 SHA256 19d54866991ccbfe7a4b9921f85d6289b1c948931040bf2462b92ddf8e2d8db9
DIST codeblocks-1.0_pre20071215.tar.bz2 11131352 RMD160 e8a43ff768512b79072c53d276cbe37badfe07bb SHA1 6760ad7b8688226f455a2bfb40d7e368273df5a2 SHA256 66f42142675ca80f5e50717aa9cb46ba2dc5bd8a1d4e8d1259514a64b9a67e9e
+DIST codeblocks-10.05-src.tar.bz2 7271651 RMD160 a1b4e93f4cc41ae6b7fd955689dae8648f0fd2f9 SHA1 b7697f512de69ad731f0febac4b91bb6c605fa57 SHA256 5143e2ffb3a6780ad3524046a32896bf5430276f3ba636d235c3d09774fa7fc2
DIST codeblocks-8.02-src.tar.bz2 6839711 RMD160 88451f42ac4de2b98d57416a3cea1a0647344b30 SHA1 078932cfd4fee2066ec931cb6dfa8079235c1237 SHA256 5a6e9184b5edc991b59dadbf87bf4584ed6c30e7097c572149cc1b2085b3080f
-EBUILD codeblocks-1.0_pre20070618.ebuild 1322 RMD160 cf02ce1b9bef067b17f2ae64045fa6acc7caa3d6 SHA1 06d4c682adb936d39d3d98dae7e7e7bf2b4bfe72 SHA256 679fb3638f2560f54232d597752e638ebb0f214971047d15fa3bc78b63bcd84f
EBUILD codeblocks-1.0_pre20071215.ebuild 1293 RMD160 37c48b5aff4cba248c30bde2bec76f273e4035e5 SHA1 0b8dc999e8124166e01230188a767ada6928bdbf SHA256 5ce78e25596d7af29e584f68f4824127ca398589901389826cea2fc2c4040819
+EBUILD codeblocks-10.05.ebuild 1054 RMD160 1eed5f2c7335113ecc47cd1194944a8bce8b4da5 SHA1 4ca6eb06cef84e5d6569235eac7c43877a32e718 SHA256 e2cccc067ace72b1e15430ce535da437c01d2f4b78d6ec5cfb30a90aedaea0d6
EBUILD codeblocks-8.02-r1.ebuild 2280 RMD160 4894f97a0674d0a79b6361500cbf04722bd97ea5 SHA1 50aae96e8b9c02fa5fbcefc2d7128c81a0642c82 SHA256 e2fb2d47e9ca4c0becf142c58058d5baeed600eae35c749518de8e15cc410e86
-EBUILD codeblocks-8.02.ebuild 2265 RMD160 67d25e3d672bbd88c815559f54ca3af8941e443e SHA1 594312adf2eef2205dccb4eaee2973db3a99a65c SHA256 4855c536a2c7371e1a1bd1c99e14872fae7a0762a4ae694df2c771d02c4473ef
-MISC ChangeLog 3035 RMD160 6d8fd882098995dea5af7acc05eb4ce0ad38b6d1 SHA1 389d49b8d9de88aeea646dfb1b49e98fd7cb9c61 SHA256 327141d17c2b5e4b6e1642919079c17b23dc9db45c29a6d8139496d58b797401
+MISC ChangeLog 3270 RMD160 bbd5d46a1b51819e25067c68413d4ff1782c60fa SHA1 154b6a215910259e8cbaaee52944c9b3d838753d SHA256 e00b2c417564d33e9dc43e50c5d85e40ce5ec2a88406b82808ecb29bb6aa5531
MISC metadata.xml 349 RMD160 1e3aff8d622e33b681522ae83d9b2ccf4750c746 SHA1 9b7e9a2300e05bf52a1a1f739206b3a30038a2c4 SHA256 205d971ea7fcdbae6e44da8ef478ef43bb0b58d258c6fa45cf027d172852a5d8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkviXYUACgkQiqiDRvmkBmKAkACg6TOAH/Xi3NdgmE9Tk0050K/T
-xIwAniJqblpiV8tkn/FBHRMzx8OGWcjK
-=4ARB
+iEYEARECAAYFAkwuYzkACgkQiqiDRvmkBmKg1gCfe+qnW/iGg0NuOwlCeLrrxZcA
+FmoAniuAwZlamJB7OYV/OlbuuuRWHa5g
+=DrK6
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-1.0_pre20070618.ebuild,v 1.3 2009/10/12 08:00:40 ssuominen Exp $
-
-inherit eutils wxwidgets
-
-#needed for wxwidgets.eclass
-WX_GTK_VER="2.6"
-
-DESCRIPTION="Code::Blocks - a free cross-platform C/C++ IDE"
-HOMEPAGE="http://www.codeblocks.org/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="unicode contrib debug"
-
-RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*"
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.5
- >=sys-devel/automake-1.7
- >=sys-devel/libtool-1.4
- app-arch/zip"
-
-pkg_setup() {
- if use unicode; then
- #check for gtk2-unicode
- need-wxwidgets unicode
- else
- #check for gtk2-ansi
- need-wxwidgets gtk2
- fi
-}
-
-src_compile() {
- export WANT_AUTOCONF=2.5
- export WANT_AUTOMAKE=1.7
-
- local TMP
-
- TMP="/usr/share/aclocal/libtool.m4"
- einfo "Running ./bootstrap"
- if [ -e "$TMP" ]; then
- cp "$TMP" aclocal.m4 || die "cp failed"
- fi
- ./bootstrap || die "boostrap failed"
-
- econf --with-wx-config="${WX_CONFIG}" \
- $(use_enable contrib) \
- $(use_enable debug) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed"
-}
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-10.05.ebuild,v 1.1 2010/07/02 22:04:11 dirtyepic Exp $
+
+EAPI="2"
+WX_GTK_VER="2.8"
+
+inherit wxwidgets flag-o-matic
+
+DESCRIPTION="The open source, cross platform, free C++ IDE."
+HOMEPAGE="http://www.codeblocks.org/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+SRC_URI="mirror://berlios/codeblocks/${P}-src.tar.bz2"
+
+IUSE="contrib debug pch static-libs"
+
+RDEPEND="x11-libs/wxGTK:2.8[X]"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+S=${WORKDIR}/${P}-release
+
+src_configure() {
+ # C::B is picky on CXXFLAG -fomit-frame-pointer
+ # (project-wizard crash, instability ...)
+ filter-flags -fomit-frame-pointer
+ append-flags -fno-strict-aliasing
+
+ econf \
+ --with-wx-config="${WX_CONFIG}" \
+ $(use_enable debug) \
+ $(use_enable pch) \
+ $(use_enable static-libs static) \
+ $(use_with contrib contrib-plugins all)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+}
+++ /dev/null
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-8.02.ebuild,v 1.3 2009/02/12 04:42:37 dirtyepic Exp $
-
-inherit autotools wxwidgets flag-o-matic eutils
-
-WX_GTK_VER="2.8"
-
-DESCRIPTION="free cross-platform C/C++ IDE"
-HOMEPAGE="http://www.codeblocks.org/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-SRC_URI="mirror://sourceforge/codeblocks/${P}-src.tar.bz2"
-
-IUSE="contrib debug pch static unicode"
-
-RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*
- x11-libs/gtk+"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.5.0
- >=sys-devel/automake-1.7
- >=sys-devel/libtool-1.4
- app-arch/zip"
-
-pkg_setup() {
- if use unicode; then
- need-wxwidgets "unicode"
- else
- need-wxwidgets "gtk2"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}/${PV}-version.patch"
- epatch "${FILESDIR}"/${P}-gcc43.patch
- #epatch "${FILESDIR}/${PV}-install-plugins.patch"
- cd "${S}"
- find src/plugins -name Makefile.am -exec \
- sed -i -e 's#^libdir#pluginsdir#' \
- -e 's#^lib_LTLIBRARIES#plugins_LTLIBRARIES#' \
- '{}' \;
- # This one's buggy
- sed -i -e 's#^plugins_LTLIBRARIES#lib_LTLIBRARIES#' \
- src/plugins/contrib/wxSmith/Makefile.am
-
- eautoreconf || die "autoreconf failed"
-# ./bootstrap || die "boostrap failed"
-}
-
-src_compile() {
- # C::B is picky on CXXFLAG -fomit-frame-pointer
- # (project-wizard crash, instability ...)
- filter-flags -fomit-frame-pointer
- append-flags -fno-strict-aliasing
-
- cd "${S}"
- local myconf="$(use_enable pch)"
-# $(use_enable autosave) \
-# $(use_enable class-wizard) \
-# $(use_enable code-completion) \
-# $(use_enable compiler) \
-# $(use_enable debuger) \
-# $(use_enable mime-handler) \
-# $(use_enable open-files-list) \
-#
-# $(use_enable projects-importer) \
-# $(use_enable source-formatter) \
-# $(use_enable todo) \
-# $(use_enable xpmanifest)
-
- if use contrib; then
- myconf="${myconf} --with-contrib-plugins=all"
- fi
- econf --with-wx-config="${WX_CONFIG}" \
- --enable-dependency-tracking \
- $(use_enable unicode) \
- $(use_enable debug) \
- $(use_enable static) \
- ${myconf} || die "Died in action: econf ..."
- emake || die "Died in action: make ..."
-}
-
-src_install() {
- einstall || die "Install failed"
-}