diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2007-09-13 17:01:07 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2007-09-13 17:01:07 +0000 |
commit | 90d70abb6e6ef65d47487a875fc67127c56e7433 (patch) | |
tree | 486a355b90e190c4a14c5a33d9a84d8084a018b7 | |
parent | stable x86, security bug 190104 (diff) | |
download | historical-90d70abb6e6ef65d47487a875fc67127c56e7433.tar.gz historical-90d70abb6e6ef65d47487a875fc67127c56e7433.tar.bz2 historical-90d70abb6e6ef65d47487a875fc67127c56e7433.zip |
Version bump
Package-Manager: portage-2.1.3.9
-rw-r--r-- | dev-lang/fpc-ide/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/fpc-ide/files/digest-fpc-ide-2.2.0 | 3 | ||||
-rw-r--r-- | dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild | 30 | ||||
-rw-r--r-- | dev-lang/fpc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/fpc/files/digest-fpc-2.2.0 | 18 | ||||
-rw-r--r-- | dev-lang/fpc/fpc-2.2.0.ebuild | 150 |
6 files changed, 213 insertions, 2 deletions
diff --git a/dev-lang/fpc-ide/ChangeLog b/dev-lang/fpc-ide/ChangeLog index 92cc9be46b13..1de01d12ff14 100644 --- a/dev-lang/fpc-ide/ChangeLog +++ b/dev-lang/fpc-ide/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/fpc-ide # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/ChangeLog,v 1.9 2007/02/21 23:58:57 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/ChangeLog,v 1.10 2007/09/13 17:01:07 truedfx Exp $ + +*fpc-ide-2.2.0 (13 Sep 2007) + + 13 Sep 2007; Harald van Dijk <truedfx@gentoo.org> +fpc-ide-2.2.0.ebuild: + Version bump 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/dev-lang/fpc-ide/files/digest-fpc-ide-2.2.0 b/dev-lang/fpc-ide/files/digest-fpc-ide-2.2.0 new file mode 100644 index 000000000000..fa2705534855 --- /dev/null +++ b/dev-lang/fpc-ide/files/digest-fpc-ide-2.2.0 @@ -0,0 +1,3 @@ +MD5 0869cfd07d012b702ff08c0a4196624b fpcbuild-2.2.0.tar.gz 35801603 +RMD160 d27530092aac60758b37265dfa3200333b7b677c fpcbuild-2.2.0.tar.gz 35801603 +SHA256 55c6fe8df0a09b15c1bc5cbf6c7df12ee955f86933fdf624f26fda59636d7a5f fpcbuild-2.2.0.tar.gz 35801603 diff --git a/dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild b/dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild new file mode 100644 index 000000000000..1eaac0523f50 --- /dev/null +++ b/dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild,v 1.1 2007/09/13 17:01:07 truedfx Exp $ + +S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide" + +HOMEPAGE="http://www.freepascal.org/" +DESCRIPTION="Free Pascal Compiler Integrated Development Environment" +SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="~dev-lang/fpc-${PV}" + +src_unpack() { + unpack ${A} || die "Unpacking ${A} failed!" + + find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die +} + +src_compile() { + emake -j1 || die "make failed" +} + +src_install() { + emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed" +} diff --git a/dev-lang/fpc/ChangeLog b/dev-lang/fpc/ChangeLog index 9c209e0637c1..4b6dd5d1b8b1 100644 --- a/dev-lang/fpc/ChangeLog +++ b/dev-lang/fpc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/fpc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.37 2007/06/30 09:23:04 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.38 2007/09/13 17:00:19 truedfx Exp $ + +*fpc-2.2.0 (13 Sep 2007) + + 13 Sep 2007; Harald van Dijk <truedfx@gentoo.org> +fpc-2.2.0.ebuild: + Version bump 30 Jun 2007; Harald van Dijk <truedfx@gentoo.org> fpc-2.0.4.ebuild: Add RESTRICT=strip, #183604 diff --git a/dev-lang/fpc/files/digest-fpc-2.2.0 b/dev-lang/fpc/files/digest-fpc-2.2.0 new file mode 100644 index 000000000000..87837520221e --- /dev/null +++ b/dev-lang/fpc/files/digest-fpc-2.2.0 @@ -0,0 +1,18 @@ +MD5 dd8925ce8ce93309456c3072e6e4d14d fpc-2.0.0.sparc-linux.tar 22272000 +RMD160 4dfc0da46b3d8c67671ddcb1aeb46f0b4fda3e7c fpc-2.0.0.sparc-linux.tar 22272000 +SHA256 a6929aea5e5c962a874beaba23f17b52b82001d1c5d6b384e51d92d5b27cbd41 fpc-2.0.0.sparc-linux.tar 22272000 +MD5 6143da8ae881a9ecab6a0462e918d935 fpc-2.2.0-doc-pdf.tar.gz 7284104 +RMD160 965f71056c05f478a1d657b4bcff325df22687f9 fpc-2.2.0-doc-pdf.tar.gz 7284104 +SHA256 f9f20f68a37de75b4a02a0fef40f669409a903f8e8b970b121c98540eafc6b64 fpc-2.2.0-doc-pdf.tar.gz 7284104 +MD5 e22881f0595e50ac98e7cea368c18b53 fpc-2.2.0.i386-linux.tar 31037440 +RMD160 a8e332b06514a962eeaa132f9379cf7c7dadb0c3 fpc-2.2.0.i386-linux.tar 31037440 +SHA256 6c5eb2ad9925cf35cd670f17eeb6e79af23b46dade2624f9c2235579ad56d75f fpc-2.2.0.i386-linux.tar 31037440 +MD5 d03b3975e67f559d120324849fa6fc98 fpc-2.2.0.powerpc-linux.tar 28856320 +RMD160 bdd2e89ec77b8bfee56ff256b6352841469596fc fpc-2.2.0.powerpc-linux.tar 28856320 +SHA256 958384425dcf11b4b00e71a225179e7202ecf8c29c34df801cdb5b825c7f1728 fpc-2.2.0.powerpc-linux.tar 28856320 +MD5 78e9f134ddae56d80d57417a5cd61f5c fpc-2.2.0.x86_64-linux.tar 27064320 +RMD160 c4b456afbebbc9ccf5b49a1b8c84c24dc2efa77d fpc-2.2.0.x86_64-linux.tar 27064320 +SHA256 0615a5b54b871eb33ef2791069f16ee280bbc4042c46aaf5c64f685f02c60437 fpc-2.2.0.x86_64-linux.tar 27064320 +MD5 0869cfd07d012b702ff08c0a4196624b fpcbuild-2.2.0.tar.gz 35801603 +RMD160 d27530092aac60758b37265dfa3200333b7b677c fpcbuild-2.2.0.tar.gz 35801603 +SHA256 55c6fe8df0a09b15c1bc5cbf6c7df12ee955f86933fdf624f26fda59636d7a5f fpcbuild-2.2.0.tar.gz 35801603 diff --git a/dev-lang/fpc/fpc-2.2.0.ebuild b/dev-lang/fpc/fpc-2.2.0.ebuild new file mode 100644 index 000000000000..5fdc6f358a2f --- /dev/null +++ b/dev-lang/fpc/fpc-2.2.0.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.2.0.ebuild,v 1.1 2007/09/13 17:00:19 truedfx Exp $ + +inherit eutils + +# bug #183604 +RESTRICT="strip" + +PV_BIN="2.2.0" +S="${WORKDIR}/fpcbuild-${PV}/fpcsrc" + +HOMEPAGE="http://www.freepascal.org/" +DESCRIPTION="Free Pascal Compiler" +SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz + x86? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.i386-linux.tar ) + sparc? ( mirror://sourceforge/freepascal/fpc-2.0.0.sparc-linux.tar ) + ppc? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.powerpc-linux.tar ) + amd64? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.x86_64-linux.tar ) + doc? ( mirror://sourceforge/freepascal/fpc-${PV}-doc-pdf.tar.gz )" + +SLOT="0" +LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc source" + +DEPEND="!dev-lang/fpc-bin + !dev-lang/fpc-source" +# doc? ( virtual/tetex ) + +src_unpack() { + case ${ARCH} in + x86) FPC_ARCH="i386" ;; + ppc) FPC_ARCH="powerpc" ;; + amd64) FPC_ARCH="x86_64" ;; + sparc) FPC_ARCH="sparc" ;; + *) die "This ebuild doesn't support ${ARCH}." ;; + esac + + unpack ${A} || die "Unpacking ${A} failed!" + + tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!" + tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!" +} + +set_pp() { + case ${ARCH} in + x86) FPC_ARCH="386" ;; + ppc) FPC_ARCH="ppc" ;; + amd64) FPC_ARCH="x64" ;; + sparc) FPC_ARCH="sparc" ;; + *) die "This ebuild doesn't support ${ARCH}." ;; + esac + + case ${1} in + bootstrap) pp=${WORKDIR}/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;; + new) pp=${S}/compiler/ppc${FPC_ARCH} ;; + *) die "set_pp: unknown argument: ${1}" ;; + esac +} + +src_compile() { + local pp + + # Using the bootstrap compiler. + set_pp bootstrap + + emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!" + + # Save new compiler from cleaning... + cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new + + # ...rebuild with current version... + emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!" + + # ..and clean up afterwards + rm "${S}"/ppc${FPC_ARCH}.new + + # Using the new compiler. + set_pp new + + emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed" + + emake -j1 PP="${pp}" rtl packages_base_all packages_fcl_all fv_all \ + packages_extra_all utils || die "make failed" + + # Use pregenerated docs to avoid sandbox violations (#146804) + #if use doc ; then + # cd "${S}"/../fpcdocs + # emake -j1 pdf || die "make pdf failed!" + #fi +} + +src_install() { + local pp + set_pp new + + set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \ + INSTALL_PREFIX="${D}"usr \ + INSTALL_DOCDIR="${D}"usr/share/doc/${P} \ + INSTALL_MANDIR="${D}"usr/share/man \ + INSTALL_SOURCEDIR="${D}"/usr/lib/fpc/${PV}/source + + emake -j1 "$@" compiler_install rtl_install packages_install \ + fv_install utils_install || die "make install failed!" + + dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH} + + if ! has nodoc ${FEATURES} ; then + cd "${S}"/../install/doc + emake -j1 "$@" installdoc || die "make installdoc failed!" + fi + + if ! has noman ${FEATURES} ; then + cd "${S}"/../install/man + emake -j1 "$@" installman || die "make installman failed!" + fi + + if ! has nodoc ${FEATURES} && use doc ; then + insinto /usr/share/doc/${PF} + doins "${WORKDIR}"/share/doc/fpdocs-${PV}/*.pdf + #cd "${S}"/../fpcdocs + #emake -j1 "$@" pdfinstall || die "make pdfinstall failed" + fi + + if use source ; then + cd "${S}" + shift + emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!" + fi + + "${D}"usr/lib/fpc/${PV}/samplecfg /usr/lib/fpc/${PV} "${D}"etc + + rm -rf "${D}"usr/lib/fpc/lexyacc +} + +pkg_postinst() { + # Using ewarn - it is really important for other ebuilds (e.g. Lazarus) + if [ -e /etc/._cfg0000_fpc.cfg ]; then + echo + ewarn "Make sure you etc-update /etc/fpc.cfg" + ewarn "Otherwise FPC will not work correctly." + echo + ebeep + fi + + ewarn "The default configuration for fpc strips executables. This" + ewarn "will cause QA notices in ebuilds for software using fpc." + ewarn "You can remove -Xs from /etc/fpc.cfg to avoid this." +} |