ChangeLog

# ChangeLog for dev-util/codeblocks
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.13 2008/06/01 00:12:46 jurek Exp $

*codeblocks-8.02 (01 Jun 2008)

01 Jun 2008; Jurek Bartuszek +files/8.02-version.patch,
+codeblocks-8.02.ebuild:
Version bump (bug #211865)

30 Jan 2008; Jurek Bartuszek
codeblocks-1.0_pre20071215.ebuild:
Minor fixes and changes (bug #199843)

22 Dec 2007; Jurek Bartuszek
-codeblocks-1.0_pre20070124.ebuild, -codeblocks-1.0_pre20070404.ebuild,
-codeblocks-1.0_pre20070511.ebuild:
Remove older versions

*codeblocks-1.0_pre20071215 (15 Dec 2007)

15 Dec 2007; Jurek Bartuszek
+codeblocks-1.0_pre20071215.ebuild:
Version bump

22 Sep 2007; Jurek Bartuszek
codeblocks-1.0_pre20070124.ebuild, codeblocks-1.0_pre20070404.ebuild,
codeblocks-1.0_pre20070511.ebuild, codeblocks-1.0_pre20070618.ebuild:
Added app-arch/zip dependency (bug #190851)

*codeblocks-1.0_pre20070618 (18 Jun 2007)

18 Jun 2007; Jurek Bartuszek
+codeblocks-1.0_pre20070618.ebuild:
Version bump

14 May 2007; Thilo Bangert metadata.xml:
add no-herd

*codeblocks-1.0_pre20070511 (12 May 2007)

12 May 2007; Jurek Bartuszek
+codeblocks-1.0_pre20070511.ebuild:
Version bump

*codeblocks-1.0_pre20070404 (04 Apr 2007)

04 Apr 2007; Jurek Bartuszek +codeblocks-1.0_pre20070404.ebuild:
Version bump (fixing bug #172932)

04 Apr 2007; Peter Weller
codeblocks-1.0_pre20070124.ebuild:
Keyworded ~x86-fbsd

18 Feb 2007; nixnut codeblocks-1.0_pre20070124.ebuild:
Added ~ppc wrt bug 167048

17 Feb 2007; Jurek Bartuszek
codeblocks-1.0_pre20070124.ebuild:
Added ~amd64 keyword (bug #167048)

*codeblocks-1.0_pre20070124 (15 Feb 2007)

15 Feb 2007; Jurek Bartuszek +metadata.xml,
+codeblocks-1.0_pre20070124.ebuild:
Initial build using snapshot from svn repository. Fixing bug #89533

Manifest

AUX 8.02-version.patch 345 RMD160 4e871fb354dc3d68cac84c7791facbc1cd0c8ea9 SHA1 e89bfc45b1d831dcbc4fc5f18d2a8219daf66c55 SHA256 cd7d28a0ec35f8013103feacdc29b5a82f36f7af24793e764eb26fa998d45c8d
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-8.02-src.tar.bz2 6839711 RMD160 88451f42ac4de2b98d57416a3cea1a0647344b30 SHA1 078932cfd4fee2066ec931cb6dfa8079235c1237 SHA256 5a6e9184b5edc991b59dadbf87bf4584ed6c30e7097c572149cc1b2085b3080f
EBUILD codeblocks-1.0_pre20070618.ebuild 1406 RMD160 91154cbd3ad7e54405cfa84dafb9734f3ace9624 SHA1 4a92005750f94f73a372c2669bc1fe2ddcae51d8 SHA256 790bd4cc353a7789b4c6fe5e08185b3a3fc8756d30c95dbcfb8dee79c25ff482
EBUILD codeblocks-1.0_pre20071215.ebuild 1330 RMD160 07338a657af0c90ae040ad7008d3817449ec7d45 SHA1 0b835234ac2e3e5b373f82b16345f4f7eaf6f90e SHA256 ae1739a2b81fa5c8d7b71ec81245e39072c7cb771e86787d5b04b6ea19e3ce63
EBUILD codeblocks-8.02.ebuild 2226 RMD160 b1c787960b356a04036b6dc1565e842c9c3069b5 SHA1 6d43053295f6ad5e7ee0076e3a1f81c3e0496cba SHA256 000f395ff4ff4245e8b2397139d2fbe75bb8a6d9d6148554af12e663e02cb7fb
MISC ChangeLog 2186 RMD160 8371c1fd38dab9709d068745ab1f02e91b03ab28 SHA1 907b90395c38cc1ca350ef506102095414514c2e SHA256 2eed70d0ac36bc7f1bc8e15f1923892e3ef5905dbd72c343266764f1b9066271
MISC metadata.xml 252 RMD160 5cd1f38c2efdf065fae7c68866353773f92b8ed5 SHA1 284619f278d070e2ab3f2162a6954e0fa24db922 SHA256 2d0cddc15f5f67a41bd3ce36b2c17461e42e2c8a7edf9c510a5facae0d3632c5

codeblocks-1.0_pre20070618.ebuild

# Copyright 1999-2007 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.2 2007/09/22 21:59:21 jurek Exp $

#
# WARNING:
# If you are using gtk2.8 you need to upgrade to wxGTK-2.6.2
#

inherit eutils autotools 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"
}

codeblocks-1.0_pre20071215.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-1.0_pre20071215.ebuild,v 1.2 2008/01/30 23:39:21 jurek Exp $

#needed for wxwidgets.eclass
WX_GTK_VER="2.8"

inherit eutils autotools wxwidgets

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="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"
}

codeblocks-8.02.ebuild

# Copyright 1999-2008 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.2 2008/06/01 03:34:09 mr_bones_ 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}/${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"
}

files

metadata.xml




no-herd

jurek@gentoo.org
Jurek Bartuszek