summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnant Narayanan <anant@gentoo.org>2007-05-20 20:37:11 +0000
committerAnant Narayanan <anant@gentoo.org>2007-05-20 20:37:11 +0000
commit5060f379d240d19a23ac13176e46a1aa43b7f73f (patch)
treecfdfb2378edebcad257fa87fc4a8fab910c26d84 /dev-lang
parentAdd ~alpha wrt #158541 (diff)
downloadhistorical-5060f379d240d19a23ac13176e46a1aa43b7f73f.tar.gz
historical-5060f379d240d19a23ac13176e46a1aa43b7f73f.tar.bz2
historical-5060f379d240d19a23ac13176e46a1aa43b7f73f.zip
vBump to 1.010 and make Phobos compile instead of using the bundled binary.
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/dmd-bin/ChangeLog7
-rw-r--r--dev-lang/dmd-bin/Manifest16
-rw-r--r--dev-lang/dmd-bin/dmd-bin-1.010.ebuild110
-rw-r--r--dev-lang/dmd-bin/files/digest-dmd-bin-1.0103
4 files changed, 131 insertions, 5 deletions
diff --git a/dev-lang/dmd-bin/ChangeLog b/dev-lang/dmd-bin/ChangeLog
index 30ec6a641bdf..d54308777f27 100644
--- a/dev-lang/dmd-bin/ChangeLog
+++ b/dev-lang/dmd-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/dmd-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.3 2007/03/09 21:04:11 anant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.4 2007/05/20 20:37:11 anant Exp $
+
+*dmd-bin-1.010 (21 May 2007)
+
+ 21 May 2007; Anant Narayanan <anant@gentoo.org> +dmd-bin-1.010.ebuild:
+ vBump to 1.010 and make Phobos compile instead of using the bundled binary
08 Mar 2007; Anant Narayanan <anant@gentoo.org> dmd-bin-1.0.0.ebuild:
Change incorrect dependency on libstdc++ and update post-install message.
diff --git a/dev-lang/dmd-bin/Manifest b/dev-lang/dmd-bin/Manifest
index ac5fa1f3fc29..0e5e1b7fff26 100644
--- a/dev-lang/dmd-bin/Manifest
+++ b/dev-lang/dmd-bin/Manifest
@@ -3,14 +3,19 @@ MD5 ce9610602af9ec245759402355292cc6 files/25dmd 40
RMD160 cb1eb838eaf98d9898134384d3aefeec86bdd50a files/25dmd 40
SHA256 40a0ac49424a2ce0a372c66fac3c77b6634138beaacffda0c167f3a81d4a286c files/25dmd 40
DIST dmd.1.00.zip 4664857 RMD160 b7ec04dd75d11d188b6ec2945aabdcfdc84870b2 SHA1 40d85ca8c2e3f4bfe8560d55e62c147e5e9ab107 SHA256 42474b3071268d2b00fcd94ee1fa0be902f6808023efc268c52f9a28063cd823
+DIST dmd.1.010.zip 4778189 RMD160 2e911ca607f2fc586e4377e77bfa4a1c565d0c0d SHA1 ccad7eafaf554c3f16319ee6f68d74d6245488ff SHA256 2500a14d496e512cb4feb6dbda23596b5ceed12f884a8cca0fa8f62aace1e470
EBUILD dmd-bin-1.0.0.ebuild 2691 RMD160 5a9492ffe783d5c2fd2ee10e9215aadc6ea157d1 SHA1 2290f064855157440d769fc0b0c31bcbaeade8f5 SHA256 a8f0cd1c4c1df5cab0448001ec6b6fd8c65d6dbf11443717f8d0234e5b421278
MD5 df7e24452463c2dd7207ce19eb95840f dmd-bin-1.0.0.ebuild 2691
RMD160 5a9492ffe783d5c2fd2ee10e9215aadc6ea157d1 dmd-bin-1.0.0.ebuild 2691
SHA256 a8f0cd1c4c1df5cab0448001ec6b6fd8c65d6dbf11443717f8d0234e5b421278 dmd-bin-1.0.0.ebuild 2691
-MISC ChangeLog 601 RMD160 f2df93d93d9d793cb580a7f92696de05c9fa681d SHA1 448df16ab46a2b506552ecb9c275ae3b85d38ab0 SHA256 3a50d204eefc779a7dd902af268c09c3bd679883e1458b520d18b561b9f1007d
-MD5 d67005505856a7f8e0dd06a72c57dd38 ChangeLog 601
-RMD160 f2df93d93d9d793cb580a7f92696de05c9fa681d ChangeLog 601
-SHA256 3a50d204eefc779a7dd902af268c09c3bd679883e1458b520d18b561b9f1007d ChangeLog 601
+EBUILD dmd-bin-1.010.ebuild 3087 RMD160 a8c23d85850e676069271462af6a8d5b9ad250ab SHA1 c46f54492cdb337d2edd09ebf3a94ad5fb24535e SHA256 d75b1788c04653bd5cd567f45859f20ec7ca8a36757b12a01341bd0074106000
+MD5 2c0931c27ced0ee7845aff51be798263 dmd-bin-1.010.ebuild 3087
+RMD160 a8c23d85850e676069271462af6a8d5b9ad250ab dmd-bin-1.010.ebuild 3087
+SHA256 d75b1788c04653bd5cd567f45859f20ec7ca8a36757b12a01341bd0074106000 dmd-bin-1.010.ebuild 3087
+MISC ChangeLog 782 RMD160 af9d4d5f0a15641421a0c212ca8371b7afc3a71e SHA1 a58c7233fdfefce4ce82139a3379b59220a39919 SHA256 25e9e7d6cfe22428455a08715455605aa59892b4325620f568c4c158ddc0878c
+MD5 c11671cd2c016db5cf01daecf96a1345 ChangeLog 782
+RMD160 af9d4d5f0a15641421a0c212ca8371b7afc3a71e ChangeLog 782
+SHA256 25e9e7d6cfe22428455a08715455605aa59892b4325620f568c4c158ddc0878c ChangeLog 782
MISC metadata.xml 377 RMD160 13a78c943806783fb1fee7aa1e85d172de4d7374 SHA1 bb8415f5926bf8ed23d01a2be2fd3fe41c51b3e1 SHA256 5d3fc7d4a252235ca9ede55a655d65b71d68e7edcacb2ef341589da7e07892e3
MD5 4abe2134e6ee3e0730cfa6fd890c9f15 metadata.xml 377
RMD160 13a78c943806783fb1fee7aa1e85d172de4d7374 metadata.xml 377
@@ -18,3 +23,6 @@ SHA256 5d3fc7d4a252235ca9ede55a655d65b71d68e7edcacb2ef341589da7e07892e3 metadata
MD5 616eddc68f499cd50b1e0de5b84c9451 files/digest-dmd-bin-1.0.0 220
RMD160 9b8155f03b936b99a4bbcde99097939f5b666159 files/digest-dmd-bin-1.0.0 220
SHA256 fda742947f43b1dabe094522df84bcca749909dfb5a7167d6be9d8278547ac86 files/digest-dmd-bin-1.0.0 220
+MD5 36da47d0a526a19a910d023fe3ab5f01 files/digest-dmd-bin-1.010 223
+RMD160 6727bab5beff74ed8a2966672cb1709c0d564bb0 files/digest-dmd-bin-1.010 223
+SHA256 6a7e8dd9b64651f0a87011985d2f782183510e4ddac34d29fe4d628ad7d20b87 files/digest-dmd-bin-1.010 223
diff --git a/dev-lang/dmd-bin/dmd-bin-1.010.ebuild b/dev-lang/dmd-bin/dmd-bin-1.010.ebuild
new file mode 100644
index 000000000000..73b0eb0c13eb
--- /dev/null
+++ b/dev-lang/dmd-bin/dmd-bin-1.010.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.010.ebuild,v 1.1 2007/05/20 20:37:11 anant Exp $
+
+inherit eutils
+
+MY_P=${P/-bin/}
+MY_P=${MY_P/-/.}
+
+DESCRIPTION="Digital Mars D Compiler"
+HOMEPAGE="http://www.digitalmars.com/d/"
+SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip"
+
+LICENSE="DMD"
+RESTRICT="mirror nostrip"
+SLOT="0"
+KEYWORDS="~x86"
+
+LOC="/opt/dmd"
+S="${WORKDIR}"
+
+DEPEND="sys-apps/findutils"
+RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )
+ x86? ( >=virtual/libstdc++-3.3 )"
+
+
+src_unpack() {
+ unpack ${A}
+
+ # Remove unneccessary files
+ mv ${S}/dmd/lib/libphobos.a ${S}/dmd
+ rm -r ${S}/dmd/lib
+ mkdir ${S}/dmd/lib
+ mv ${S}/dmd/libphobos.a ${S}/dmd/lib
+
+ rm -r ${S}/dm
+ rm ${S}/dmd/bin/*.dll ${S}/dmd/bin/*.exe ${S}/dmd/bin/readme.txt
+ rm ${S}/dmd/bin/sc.ini ${S}/dmd/bin/windbg.hlp
+
+ # Cleanup line endings
+ cd ${S}/dmd
+ edos2unix `find . -name '*.c' -type f`
+ edos2unix `find . -name '*.d' -type f`
+ edos2unix `find . -name '*.ddoc' -type f`
+ edos2unix `find . -name '*.h' -type f`
+ edos2unix `find . -name '*.mak' -type f`
+ edos2unix `find . -name '*.txt' -type f`
+ edos2unix `find samples -name '*.html' -type f`
+
+ # Fix permissions
+ fperms guo=r `find . -type f`
+ fperms guo=rx `find . -type d`
+ fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd
+}
+
+src_compile() {
+ cd ${S}/dmd/src/phobos
+ sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak
+ edos2unix linux.mak internal/gc/linux.mak
+ make -f linux.mak
+ cp libphobos.a ${S}/dmd/lib
+
+ # Clean up
+ make -f linux.mak clean
+ rm internal/gc/*.o
+}
+
+src_install() {
+ cd ${S}/dmd
+
+ # Broken dmd.conf
+ # http://d.puremagic.com/issues/show_bug.cgi?id=278
+ mv bin/dmd bin/dmd.bin
+ cat <<END > "bin/dmd"
+#!/bin/sh
+${LOC}/bin/dmd.bin -I${LOC}/src/phobos -L${LOC}/lib/libphobos.a \$*
+END
+ fperms guo=rx bin/dmd bin/dmd.bin
+
+ # Man pages
+ doman man/man1/dmd.1
+ doman man/man1/dumpobj.1
+ doman man/man1/obj2asm.1
+ rm -r man
+
+ # Install
+ mkdir "${D}/opt"
+ mv "${S}/dmd" "${D}/opt/dmd"
+
+ # Set PATH
+ doenvd "${FILESDIR}/25dmd"
+}
+
+pkg_postinst () {
+ ewarn "The DMD Configuration file has been disabled, "
+ ewarn "and will be re-enabled when: "
+ ewarn " "
+ ewarn "http://d.puremagic.com/issues/show_bug.cgi?id=278"
+ ewarn " "
+ ewarn "has been fixed. Meanwhile, please supply all your"
+ ewarn "configuration options in the /opt/dmd/bin/dmd "
+ ewarn "shell script. "
+ ewarn " "
+ ewarn "You may need to run: "
+ ewarn " "
+ ewarn "env-update && source /etc/profile "
+ ewarn " "
+ ewarn "to be able to use the compiler immediately. "
+ ewarn " "
+}
diff --git a/dev-lang/dmd-bin/files/digest-dmd-bin-1.010 b/dev-lang/dmd-bin/files/digest-dmd-bin-1.010
new file mode 100644
index 000000000000..6075cad61d8d
--- /dev/null
+++ b/dev-lang/dmd-bin/files/digest-dmd-bin-1.010
@@ -0,0 +1,3 @@
+MD5 b84310855be9ae1560e35ab4a5d91ed1 dmd.1.010.zip 4778189
+RMD160 2e911ca607f2fc586e4377e77bfa4a1c565d0c0d dmd.1.010.zip 4778189
+SHA256 2500a14d496e512cb4feb6dbda23596b5ceed12f884a8cca0fa8f62aace1e470 dmd.1.010.zip 4778189