ChangeLog

# ChangeLog for dev-embedded/sdcc
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.41 2008/08/06 18:04:19 calchan Exp $

06 Aug 2008; Denis Dupeyron metadata.xml,
sdcc-2.8.0.ebuild:
Changed the boehmgc USE flag into boehm-gc, see bug #224653.

05 Aug 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

*sdcc-2.8.0 (20 Apr 2008)

20 Apr 2008; Denis Dupeyron
+files/sdcc-2.8.0-flags.patch, +sdcc-2.8.0.ebuild:
Version bump, thanks to Karl Hiramoto (bug #218007).

*sdcc-2.7.0 (01 Sep 2007)

01 Sep 2007; Denis Dupeyron +sdcc-2.7.0.ebuild:
Version bump, thanks to Nicolas Boichat and Marco (bug #190585).

27 Feb 2007; Piotr JaroszyƄski
sdcc-2.5.0_p20060502.ebuild:
Fix incomplete dev-embedded/sdcc-cvs -> dev-embedded/sdcc-svn move.

21 Feb 2007; Denis Dupeyron Manifest:
Transition to Manifest2.

02 Sep 2006; Denis Dupeyron -sdcc-2.5.0.ebuild:
Getting rid of sdcc-2.5.0 now that the 20060502 snapshot has been marked
stable for all arches. This closes bugs #132239 and #141682.

02 Sep 2006; sdcc-2.5.0_p20060502.ebuild:
stable on amd64

11 Aug 2006; Joshua Jackson
sdcc-2.5.0_p20060502.ebuild:
Stable x86; bug #141774

*sdcc-2.6.0 (02 Aug 2006)

02 Aug 2006; Denis Dupeyron +sdcc-2.6.0.ebuild:
Version bump, bug #142378.

28 Jul 2006; Tobias Scherbaum
sdcc-2.5.0_p20060502.ebuild:
ppc stable, bug #141774

06 May 2006; Denis Dupeyron -sdcc-2.4.0.ebuild,
sdcc-2.5.0.ebuild, -sdcc-2.5.0_p20060423.ebuild:
Remove stale ebuilds. Add dev-embedded/sdcc-svn block.

*sdcc-2.5.0_p20060502 (03 May 2006)

03 May 2006; Denis Dupeyron
+sdcc-2.5.0_p20060502.ebuild:
Revision bump due to the doc tarball of previous revision being lost.
Additional fixes : doc installation, linking with --as-needed.

02 May 2006; Daniel Black
sdcc-2.5.0_p20060423.ebuild:
disabled USE=doc as the tarball was not mirrored

*sdcc-2.5.0_p20060423 (27 Apr 2006)

27 Apr 2006; Denis Dupeyron
+sdcc-2.5.0_p20060423.ebuild:
Closing bug #85467. New snapshot (Microchip PIC support), cleanups, use of
boehm-gc, documentation fix.

03 Sep 2005; Daniel Black sdcc-2.5.0.ebuild:
qa fixes

28 Jul 2005; Daniel Black
-sdcc-2.4.0_p20041215.ebuild, sdcc-2.5.0.ebuild,
-sdcc-2.5.0_p20050522.ebuild:
x86 stable and old version removal

*sdcc-2.5.0_p20050522 (23 May 2005)
*sdcc-2.5.0 (23 May 2005)

23 May 2005; Daniel Black
-sdcc-2.4.0_p20040927.ebuild, +sdcc-2.5.0.ebuild,
+sdcc-2.5.0_p20050522.ebuild:
Version bumps

21 Apr 2005; Simon Stelling
sdcc-2.4.0_p20040927.ebuild:
stable on amd64

*sdcc-2.4.0_p20041215 (16 Dec 2004)

16 Dec 2004; Daniel Black
-sdcc-2.4.0_p20040716.ebuild, sdcc-2.4.0_p20040927.ebuild,
+sdcc-2.4.0_p20041215.ebuild:
changed make DESTDIR=${D} to make... install which kinda helps. Thanks for bug
#74611 by Stefan Nickl for bringing it to my
attention

*sdcc-2.4.0_p20040927 (28 Sep 2004)

28 Sep 2004; Daniel Black sdcc-2.4.0.ebuild,
-sdcc-2.4.0_p20040606.ebuild, sdcc-2.4.0_p20040716.ebuild,
sdcc-2.4.0_p20040908.ebuild, -sdcc-2.4.0_p20040908.ebuild:
Version bump/cleanout. added RDEPEND=!dev-embedded/sdcc-cvs. Changed einstall
to make DESTDIR=${D}

*sdcc-2.4.0_p20040908 (12 Sep 2004)

12 Sep 2004; Daniel Black
sdcc-2.4.0_p20040716.ebuild, +sdcc-2.4.0_p20040908.ebuild:
version bump, x86 stable

*sdcc-2.4.0_p20040716 (18 Jul 2004)

18 Jul 2004; Daniel Black
-sdcc-2.4.0_p20040331.ebuild, -sdcc-2.4.0_p20040507.ebuild,
sdcc-2.4.0_p20040606.ebuild, +sdcc-2.4.0_p20040716.ebuild:
version bump. Old version cleanout

*sdcc-2.4.0_p20040606 (07 Jun 2004)

07 Jun 2004; Daniel Black
-sdcc-2.4.0_p20040304.ebuild, sdcc-2.4.0_p20040507.ebuild,
+sdcc-2.4.0_p20040606.ebuild:
x86 stable, version bump

18 May 2004; Mamoru KOMACHI sdcc-2.4.0.ebuild,
sdcc-2.4.0_p20040304.ebuild, sdcc-2.4.0_p20040331.ebuild,
sdcc-2.4.0_p20040507.ebuild:
Changed app-text/tetex to virtual/tetex.

10 May 2004; Daniel Black
sdcc-2.4.0_p20040304.ebuild, sdcc-2.4.0_p20040331.ebuild:
x86 stable

*sdcc-2.4.0_p20040507 (07 May 2004)

07 May 2004; Daniel Black sdcc-2.4.0.ebuild,
+sdcc-2.4.0_p20040507.ebuild:
Version 2.4.0 x86 Keyword. Version bump to 2.4.0_p20040507

15 Apr 2004; Danny van Dyk sdcc-2.4.0_p20040331.ebuild:
marked ~amd64

15 Apr 2004; Daniel Black sdcc-2.4.0.ebuild,
sdcc-2.4.0_p20040304.ebuild:
Remasked due to lyx being masked - thanks to mr bones

14 Apr 2004; Daniel Black sdcc-2.4.0.ebuild,
sdcc-2.4.0_p20040304.ebuild:
Marked stable x86 & ppc

04 Apr 2004; Michael Sterrett
sdcc-2.4.0_p20040304.ebuild, sdcc-2.4.0_p20040331.ebuild:
balance parens

*sdcc-2.4.0_p20040331 (03 Apr 2004)

03 Apr 2004; Daniel Black sdcc-2.4.0.ebuild,
sdcc-2.4.0_p20040304.ebuild, sdcc-2.4.0_p20040331.ebuild:
Fixed lyx depend to version 1.3.4. Version bump to 20040331

30 Mar 2004; Daniel Black sdcc-2.4.0.ebuild,
sdcc-2.4.0_p20040304.ebuild:
added RDEPEND to fix bug #44817. Thanks Spider

05 Mar 2004; David Holm sdcc-2.4.0_p20040304.ebuild:
Added to ~ppc.

*sdcc-2.4.0 (05 Mar 2004)
*sdcc-2.4.0_p20040304 (05 Mar 2004)

05 Mar 2004; Daniel Black metadata.xml,
sdcc-2.4.0.ebuild, sdcc-2.4.0_p20040304.ebuild, sdcc-20040218.ebuild:
Version bump to stable version 2.4.0 - Thanks to Laurence Withers
for the ebuild in bug #43040. Added version
sdcc-2.4.0_p20040304 too. Removed sdcc-20040218.ebuild due to old
naming scheme.

19 Feb 2004; Daniel Black :
Initial import. bug #38473 thanks to Simon Smith supersi2000@hotmail.com

Manifest

AUX sdcc-2.8.0-flags.patch 2103 RMD160 35f207ff98855e9c347e751f272e9f7fc9392315 SHA1 9ea13dc7501a7a8ca10c290dda897e954f1cfe18 SHA256 bc578efacde9ebf65f49c2d209854a7ada18f337da894ed37414fde0dd1bc046
DIST sdcc-doc-2.6.0.tar.gz 1026186 RMD160 bec50c8a4ca1263dd4cd533bf2802cfe17cc8f6c SHA1 7689d13886d2cf9b1e346ec2d86595046b08ef1b SHA256 fca8592706f76ed7063652dafa8c18c79070a1b31c12b8834b7feffbcb945817
DIST sdcc-doc-2.7.0.tar.bz2 1211113 RMD160 5eb71415084561db980bdc81d104427e647277a4 SHA1 d2dd4318b308372fea36a9093b597127dd258e1c SHA256 3a70654c9c0a0f86d9632d85f94eed946c9faf946c266fceadc5f60f590c0b70
DIST sdcc-doc-2.8.0.tar.bz2 1363271 RMD160 845993157869fd7b5dc889141c1d07c2873f671a SHA1 a6d3154f7a54e341597e88acb723fed1e41c1938 SHA256 b40fd15e69d89872c2982fe8a9ed2cc0415d05d0e830b4969714e0af8db21f6d
DIST sdcc-doc-20060502.tar.gz 1027650 RMD160 4c4d1b4f2f5b72c7fe61aff2c354e4f1b7a035d4 SHA1 b9800ca1421443f006881ae9bd11b039269d0123 SHA256 b2663f2a9a195d94990fe6a958b7f1b1b96f5f11e12a7b738613ca762f927407
DIST sdcc-src-2.6.0.tar.gz 4229518 RMD160 2ae5904913e6f106da75df641cbcad9c3a202bdb SHA1 ec30089a879ea15f68dc3f86d0b4cc6b1d60bbb1 SHA256 6534450fef981502d5e540464fe0d4332e0f47704548354b59af90eaf290cf93
DIST sdcc-src-2.7.0.tar.bz2 3405687 RMD160 8056b35c87a55cffa7e313fb0f180f464725f7a9 SHA1 f1bc9eda688216187d5a4c1ede9dbeb11d0d31e9 SHA256 315caf8b239dfe4f922f090f33d24e822eb49a1b443d4be020056c91277ffd95
DIST sdcc-src-2.8.0.tar.bz2 3460693 RMD160 b91d6ca5642011f0e735c63e0ed4bc6b33128b9f SHA1 487a9c576130bb1bfb225fe36984f485aac0f513 SHA256 cbb035699d8910c7ca2fa360a773504b44165e98042ed8c208fea2fe47a96557
DIST sdcc-src-20060502.tar.gz 4145716 RMD160 9d66bba6c0f7712473b8d36ea6ee4b314a846230 SHA1 10638665cf27e5f63830723d7b7e5c736341e81c SHA256 4433dbafdf9dcc3b3528c9dbbcc1eb4c572c1ff2179286010c56fe529f90799e
EBUILD sdcc-2.5.0_p20060502.ebuild 1685 RMD160 6a10a5fe2d41bb4d66ff23a5efd3b91db326129f SHA1 ccbc121042ce925aa7872b896d404e66c302cf26 SHA256 0e76f2a1e0b3d57622646497674f998cf52c22e2c7ded443d465e7156bd58830
EBUILD sdcc-2.6.0.ebuild 1577 RMD160 d329f21aaf869396f263553e38141858feb27983 SHA1 cea82a4b7f296c6b61ba5564a3bdc13c25018e4f SHA256 3bb6b398a01cb89a9cce2cc9999e1660fd751bbe26cff7391f8f6df4d5e644a4
EBUILD sdcc-2.7.0.ebuild 1579 RMD160 1a780dc6032104b25ca836ef3eb41938795b5b2f SHA1 296dc07d261ddc7d04fedf43de5a4d38f6c648db SHA256 23bc7739153df1455245842f525137acdc9192d83b7a3fda85bf263942d26383
EBUILD sdcc-2.8.0.ebuild 2050 RMD160 df32c9e62f5cc002576027176907a591749b1362 SHA1 57d93988752562667c82f170a39f761d5d649a9c SHA256 80b4b25722daa6a593d1f1c5783c728191db3b073add7acc4e0162db2f4c2438
MISC ChangeLog 6523 RMD160 e52e0835cd9006d2fe99921aa906a544454d0192 SHA1 d7eef3f440a582d0d141038f575ed03738b56e18 SHA256 a7b4353599e9e18c300ab4ad3bc707691910f38588380316eda2db071a2f3380
MISC metadata.xml 371 RMD160 a7669f3a27e2ef27e4c28e775c094c76e17d7e92 SHA1 1c3f3979c3437b7f77b38f7e697fdc99719c4967 SHA256 436922a2a0e576d911c70892a4fefd75dcf8d1a41f6a4a7b47aa4d816a39a79e

files

metadata.xml




dev-embedded
Small device C compiler (for various microprocessors)

Enable Hans Boehm's garbage collector
(dev-libs/boehm-gc)


sdcc-2.5.0_p20060502.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild,v 1.6 2008/08/06 18:04:19 calchan Exp $

inherit eutils

MY_PV=${PV/*_p/}
DESCRIPTION="Small device C compiler (for various microprocessors)."
HOMEPAGE="http://sdcc.sourceforge.net/"
SRC_URI="http://sdcc.sourceforge.net/snapshots/sdcc-src/${PN}-src-${MY_PV}.tar.gz
doc? ( http://sdcc.sourceforge.net/snapshots/docs/${PN}-doc-${MY_PV}.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc"

DEPEND=">=dev-embedded/gputils-0.13.2
dev-libs/boehm-gc"
RDEPEND="!dev-embedded/sdcc-svn
!dev-embedded/sdcc-svn"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

# Fix conflicting variable names between Gentoo and sdcc
find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \; || die "sed failed"
find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \; || die "sed failed"
find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \; || die "sed failed"

# --as-needed fix :
sed -i -e "s/= @CURSES_LIBS@ @LIBS@/= @CURSES_LIBS@ @LIBS@ -lcurses/" sim/ucsim/gui.src/serio.src/Makefile.in || die "sed failed"
}

src_compile() {
econf --enable-libgc docdir=/usr/share/doc/${PF} || die "configure failed"
emake || die "emake failed"
}

src_install() {
make DESTDIR="${D}" install || die "Install failed"
dodoc ChangeLog
if use doc ; then
cp -pPR "${WORKDIR}"/doc/* "${D}"/usr/share/doc/${PF}/
fi
find "${D}"/usr/share/doc/${PF}/ -name *.txt -exec gzip -f -9 {} \;
find "${D}"/usr/share/doc/${PF}/ -name */*.txt -exec gzip -f -9 {} \;
}

sdcc-2.6.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.6.0.ebuild,v 1.2 2008/08/06 18:04:19 calchan Exp $

DESCRIPTION="Small device C compiler (for various microprocessors)."
HOMEPAGE="http://sdcc.sourceforge.net/"
SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.gz
doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND=">=dev-embedded/gputils-0.13.2
dev-libs/boehm-gc"
RDEPEND="!dev-embedded/sdcc-svn"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

# Fix conflicting variable names between Gentoo and sdcc
find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \; || die "sed failed"
find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \; || die "sed failed"
find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \; || die "sed failed"

# --as-needed fix :
sed -i -e "s/= @CURSES_LIBS@ @LIBS@/= @CURSES_LIBS@ @LIBS@ -lcurses/" sim/ucsim/gui.src/serio.src/Makefile.in || die "sed failed"
}

src_compile() {
econf --enable-libgc docdir=/usr/share/doc/${PF} || die "configure failed"
emake || die "emake failed"
}

src_install() {
make DESTDIR="${D}" install || die "Install failed"
dodoc ChangeLog
if use doc ; then
cp -pPR "${WORKDIR}"/doc/* "${D}"/usr/share/doc/${PF}/
fi
find "${D}"/usr/share/doc/${PF}/ -name *.txt -exec gzip -f -9 {} \;
find "${D}"/usr/share/doc/${PF}/ -name */*.txt -exec gzip -f -9 {} \;
}

sdcc-2.7.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.7.0.ebuild,v 1.2 2008/08/06 18:04:19 calchan Exp $

DESCRIPTION="Small device C compiler (for various microprocessors)."
HOMEPAGE="http://sdcc.sourceforge.net/"
SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND=">=dev-embedded/gputils-0.13.2
dev-libs/boehm-gc"
RDEPEND="!dev-embedded/sdcc-svn"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

# Fix conflicting variable names between Gentoo and sdcc
find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \; || die "sed failed"
find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \; || die "sed failed"
find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \; || die "sed failed"

# --as-needed fix :
sed -i -e "s/= @CURSES_LIBS@ @LIBS@/= @CURSES_LIBS@ @LIBS@ -lcurses/" sim/ucsim/gui.src/serio.src/Makefile.in || die "sed failed"
}

src_compile() {
econf --enable-libgc docdir=/usr/share/doc/${PF} || die "configure failed"
emake || die "emake failed"
}

src_install() {
make DESTDIR="${D}" install || die "Install failed"
dodoc ChangeLog
if use doc ; then
cp -pPR "${WORKDIR}"/doc/* "${D}"/usr/share/doc/${PF}/
fi
find "${D}"/usr/share/doc/${PF}/ -name *.txt -exec gzip -f -9 {} \;
find "${D}"/usr/share/doc/${PF}/ -name */*.txt -exec gzip -f -9 {} \;
}

sdcc-2.8.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.8.0.ebuild,v 1.2 2008/08/06 18:04:19 calchan Exp $

inherit eutils autotools

DESCRIPTION="Small device C compiler (for various microprocessors)."
HOMEPAGE="http://sdcc.sourceforge.net/"
SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="boehm-gc doc"

DEPEND=">=dev-embedded/gputils-0.13.2
boehm-gc? ( dev-libs/boehm-gc )"
RDEPEND="!dev-embedded/sdcc-svn"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

# Fix conflicting variable names between Gentoo and sdcc
find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \; || die "sed failed"
find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \; || die "sed failed"
find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \; || die "sed failed"

# Fix automagic C{,XX}FLAGS
epatch "${FILESDIR}"/${P}-flags.patch

# We'll install doc manually
sed -i -e '/SDCC_DOC/d' Makefile.in || die "sed failed"
sed -i -e 's/all install-doc/all/' as/Makefile.in || die "sed failed"
sed -i -e 's/ doc//' sim/ucsim/packages_in.mk || die "sed failed"

eautoreconf
}

src_compile() {
econf \
$(use_enable boehm-gc libgc) \
--disable-doc \
|| die "configure failed"
emake || die "emake failed"
}

src_install() {
make DESTDIR="${D}" install || die "Install failed"

insinto /usr/share/doc/${PF}
if use doc ; then
cd "${WORKDIR}"/doc
dohtml -r *.html ucsim
rm -rf *.html ucsim
dohtml as/asxhtm.html
rm -f as/asxhtm.html
rm -f INSTALL.txt
else
dohtml as/doc/asxhtm.html
rm -f as/doc/asxhtm.html
mv as/doc as/as || die "Failed to rename as/doc"
doins -r as/as
mv sim/ucsim/doc sim/ucsim/ucsim || die "Failed to rename sim/ucsim/doc"
dohtml -r sim/ucsim/ucsim
rm -f INSTALL.txt Makefile* *.mk
cd doc
fi
doins -r *
prepalldocs
}