summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-09-08 13:35:24 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-09-08 13:35:24 +0000
commitdf5a7ed570adf29f8bc1ac23d362301e0994caa6 (patch)
treeb3e607b47c2b144dcc71d8a4601d83b9edb2c63d /dev-ada
parentStable on amd64 per bug #146793 (diff)
downloadhistorical-df5a7ed570adf29f8bc1ac23d362301e0994caa6.tar.gz
historical-df5a7ed570adf29f8bc1ac23d362301e0994caa6.tar.bz2
historical-df5a7ed570adf29f8bc1ac23d362301e0994caa6.zip
added new version to go with gnat-gcc-3.4.6.2006. Removed ppc from KEYWORDS of 3.15p
Package-Manager: portage-2.1.1_rc1-r4
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/asis/ChangeLog11
-rw-r--r--dev-ada/asis/Manifest34
-rw-r--r--dev-ada/asis/asis-3.15p.ebuild4
-rw-r--r--dev-ada/asis/asis-3.4.6.2006.ebuild133
-rw-r--r--dev-ada/asis/files/digest-asis-3.4.6.20063
5 files changed, 169 insertions, 16 deletions
diff --git a/dev-ada/asis/ChangeLog b/dev-ada/asis/ChangeLog
index 0c90b20c4b49..23358e863c5c 100644
--- a/dev-ada/asis/ChangeLog
+++ b/dev-ada/asis/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-ada/asis
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/ChangeLog,v 1.19 2006/05/13 21:26:23 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/ChangeLog,v 1.20 2006/09/08 13:35:24 george Exp $
+
+*asis-3.4.6.2006 (08 Sep 2006)
+
+ 08 Sep 2006; George Shapovalov <george@gentoo.org>
+ +asis-3.4.6.2006.ebuild, asis-3.15p.ebuild:
+ added new version to go with gnat-gcc-3.4.6.2006. Installs into gnat's dirs,
+ extending the compiler (as it is supposed). See #111340 for details
+ Removed ppc from KEYWORDS of 3.15p as gnat-3.15p is masked in ppc profile
+ (and will soon be pulled anyways).
13 May 2006; George Shapovalov <george@gentoo.org> asis-3.15p.ebuild,
asis-3.44.ebuild:
diff --git a/dev-ada/asis/Manifest b/dev-ada/asis/Manifest
index 1f0ab450ad3b..30a7f0a472e8 100644
--- a/dev-ada/asis/Manifest
+++ b/dev-ada/asis/Manifest
@@ -1,28 +1,36 @@
-AUX asis-3.15p.diff 1558 RMD160 8767b02119a122ca53a23c02aba16204b8c538e1 SHA1 e89d7c1a3e0d46e7b6b0e1a2d03283cfd95d8553 SHA256 3518f6213d7e8be35be074a1529bb2a0b020f7667c8dcced51cac05678ccbfab size 1558
+AUX asis-3.15p.diff 1558 RMD160 8767b02119a122ca53a23c02aba16204b8c538e1 SHA1 e89d7c1a3e0d46e7b6b0e1a2d03283cfd95d8553 SHA256 3518f6213d7e8be35be074a1529bb2a0b020f7667c8dcced51cac05678ccbfab
MD5 69d5c644b8ab42132401a32d66174a32 files/asis-3.15p.diff 1558
RMD160 8767b02119a122ca53a23c02aba16204b8c538e1 files/asis-3.15p.diff 1558
SHA256 3518f6213d7e8be35be074a1529bb2a0b020f7667c8dcced51cac05678ccbfab files/asis-3.15p.diff 1558
-DIST asis-3.15p-src.tgz 1401350 size 1401350
-DIST asis-3_4_4-20041123.src.tar.gz 3538230 RMD160 13fc07c1ffdaa2f32455f559d092c0f69fa2e65e SHA256 2a96be349342d1452fef34ad13f7aefce0e3b0dbca52106b99253e6a1b6ec47d size 3538230
-EBUILD asis-3.15p.ebuild 2970 RMD160 9db06b350d164a03601bfdff7665841317a5e6db SHA1 f631fd8941ef490276f877fd112889fb56e3edda SHA256 8db6e1556fc6de2b58426df2470244559c3fb1c11961f115bf374ddd5280ddc8 size 2970
-MD5 ee324f65a6d234cdcea779e5ae72b7c6 asis-3.15p.ebuild 2970
-RMD160 9db06b350d164a03601bfdff7665841317a5e6db asis-3.15p.ebuild 2970
-SHA256 8db6e1556fc6de2b58426df2470244559c3fb1c11961f115bf374ddd5280ddc8 asis-3.15p.ebuild 2970
-EBUILD asis-3.44.ebuild 3486 RMD160 a317cbfcb6eb15e1b05c24a1e84ffc67ac3bdd97 SHA1 35af8b42e16b8c5a5b8a2c5f4581869b169556c8 SHA256 e0faf35f549bd5dca5125cfa5f0043e9ac14d483baa12bf35e985231a092a916 size 3486
+DIST asis-3.15p-src.tgz 1401350
+DIST asis-3_4_4-20041123.src.tar.gz 3538230 RMD160 13fc07c1ffdaa2f32455f559d092c0f69fa2e65e SHA256 2a96be349342d1452fef34ad13f7aefce0e3b0dbca52106b99253e6a1b6ec47d
+DIST asis-gpl-2006-src.tgz 2118559 RMD160 e1ea4792f2a1ff34762f5362054f9560528d9629 SHA1 0e1b290fa6065cbb87d71b2a4e1a206e765f66e8 SHA256 61838a94b19bd8a132c6053ee691ab51b39a54fd1bd10c98d9a10efd63663e2d
+EBUILD asis-3.15p.ebuild 2966 RMD160 80dbe5371880f40d9b9647dea9f45e0494870250 SHA1 eabec8946f02ec99957734f42e9718112ba28eb0 SHA256 2011683c910ab70152498fe6b93952eb3231caa52900005bb2e4f98dc670fa2f
+MD5 c8356886261b78e511b42b58f2fd3650 asis-3.15p.ebuild 2966
+RMD160 80dbe5371880f40d9b9647dea9f45e0494870250 asis-3.15p.ebuild 2966
+SHA256 2011683c910ab70152498fe6b93952eb3231caa52900005bb2e4f98dc670fa2f asis-3.15p.ebuild 2966
+EBUILD asis-3.4.6.2006.ebuild 3688 RMD160 d6d37ed13a3da828a960a4ec867b85780be562ef SHA1 53819ce4187a72397267c734101ba3ea1e6486ce SHA256 6d6ac16ce0d4598fac6cf4ddceb68500ab073a952ef747cc12117b190037c47e
+MD5 aef036a243e2057785720db5f87824f1 asis-3.4.6.2006.ebuild 3688
+RMD160 d6d37ed13a3da828a960a4ec867b85780be562ef asis-3.4.6.2006.ebuild 3688
+SHA256 6d6ac16ce0d4598fac6cf4ddceb68500ab073a952ef747cc12117b190037c47e asis-3.4.6.2006.ebuild 3688
+EBUILD asis-3.44.ebuild 3486 RMD160 a317cbfcb6eb15e1b05c24a1e84ffc67ac3bdd97 SHA1 35af8b42e16b8c5a5b8a2c5f4581869b169556c8 SHA256 e0faf35f549bd5dca5125cfa5f0043e9ac14d483baa12bf35e985231a092a916
MD5 8c27264b6c7dcc213596aa8f81986698 asis-3.44.ebuild 3486
RMD160 a317cbfcb6eb15e1b05c24a1e84ffc67ac3bdd97 asis-3.44.ebuild 3486
SHA256 e0faf35f549bd5dca5125cfa5f0043e9ac14d483baa12bf35e985231a092a916 asis-3.44.ebuild 3486
-MISC ChangeLog 2661 RMD160 0013e53b6a352c95f536de54c98ca0df14789ba6 SHA1 09e69517b656c94bb97f6a8dc3f2b47198afe2dc SHA256 08589d08b1949ff9024183980623a7368e567a7ec530f16a94bdf619ea5076a5 size 2661
-MD5 50e38873d8bc26ea7c32b1e1d0dc1639 ChangeLog 2661
-RMD160 0013e53b6a352c95f536de54c98ca0df14789ba6 ChangeLog 2661
-SHA256 08589d08b1949ff9024183980623a7368e567a7ec530f16a94bdf619ea5076a5 ChangeLog 2661
-MISC metadata.xml 598 RMD160 b82487ff514ca323ee57a15a0294b080c27f7b9c SHA1 30f217811a04e04864d93875a3eb26513c272e7f SHA256 f03c69e689b212b787e27a7bac12bbeeb37fe252be75eff4366f86027aeb4e14 size 598
+MISC ChangeLog 3056 RMD160 cb06f1fd29da49e2eba719cdd4abb5f5ace7dea1 SHA1 6f48912fbd23f32e0ef14e8005289d0f852b6de1 SHA256 095cef7f5e88b5cc5b9e6069897b292211054b081f55d2462fe7d95b68b3abb4
+MD5 9f06c2c5ea1e3df6f161dc1e1d5e8224 ChangeLog 3056
+RMD160 cb06f1fd29da49e2eba719cdd4abb5f5ace7dea1 ChangeLog 3056
+SHA256 095cef7f5e88b5cc5b9e6069897b292211054b081f55d2462fe7d95b68b3abb4 ChangeLog 3056
+MISC metadata.xml 598 RMD160 b82487ff514ca323ee57a15a0294b080c27f7b9c SHA1 30f217811a04e04864d93875a3eb26513c272e7f SHA256 f03c69e689b212b787e27a7bac12bbeeb37fe252be75eff4366f86027aeb4e14
MD5 fd7e5cf25ef3dec8ef610126f059f680 metadata.xml 598
RMD160 b82487ff514ca323ee57a15a0294b080c27f7b9c metadata.xml 598
SHA256 f03c69e689b212b787e27a7bac12bbeeb37fe252be75eff4366f86027aeb4e14 metadata.xml 598
MD5 0d239a4e8d4fd1134f91a1f28f0bdd47 files/digest-asis-3.15p 64
RMD160 e1aea5c78adb99281479e9f89b5df4a5bfcf9913 files/digest-asis-3.15p 64
SHA256 fcbc46c823920ec6a5023ef5680fbf1c6f9e5d17f7e1451fdc138ae477fde371 files/digest-asis-3.15p 64
+MD5 0aa12f35149939dc601cbf3ea3eb884d files/digest-asis-3.4.6.2006 247
+RMD160 27aef3ce7d444261743136fb566f2545c92f4b16 files/digest-asis-3.4.6.2006 247
+SHA256 7dde94a939e2c6329a5e79ef17ccb59d396e1e0edb200bf7e6248ee37d79ff5d files/digest-asis-3.4.6.2006 247
MD5 e4ed0ce41f3aeb7e5b55cc532a7be07a files/digest-asis-3.44 274
RMD160 5702e653af9cd3e20ac569ff6191f5cd526e9853 files/digest-asis-3.44 274
SHA256 c971ec408a3eb3df3bb0bbf1291cc6442aa249a1482d97c350708cdb4e310de3 files/digest-asis-3.44 274
diff --git a/dev-ada/asis/asis-3.15p.ebuild b/dev-ada/asis/asis-3.15p.ebuild
index e85885358f4f..6abce8a145c0 100644
--- a/dev-ada/asis/asis-3.15p.ebuild
+++ b/dev-ada/asis/asis-3.15p.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.15p.ebuild,v 1.16 2006/05/13 21:26:23 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.15p.ebuild,v 1.17 2006/09/08 13:35:24 george Exp $
inherit eutils
@@ -14,7 +14,7 @@ DEPEND="=dev-lang/gnat-3.15p*"
RDEPEND=""
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="x86"
IUSE=""
src_unpack() {
diff --git a/dev-ada/asis/asis-3.4.6.2006.ebuild b/dev-ada/asis/asis-3.4.6.2006.ebuild
new file mode 100644
index 000000000000..7583337572e7
--- /dev/null
+++ b/dev-ada/asis/asis-3.4.6.2006.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.4.6.2006.ebuild,v 1.1 2006/09/08 13:35:24 george Exp $
+
+inherit eutils flag-o-matic gnatbuild
+
+ACT_Ver=$(get_version_component_range 4)
+Gnat_Name="gnat-gpl"
+
+S="${WORKDIR}/asis-${ACT_Ver}-src"
+DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
+SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
+
+HOMEPAGE="https://libre2.adacore.com/"
+
+LICENSE="GPL-2"
+
+IUSE="doc"
+RDEPEND="=dev-lang/gnat-gpl-${PV}*"
+DEPEND="${RDEPEND}
+ doc? ( virtual/tetex
+ app-text/texi2html )"
+
+# saving slot as defined in gnatbuild.eclass
+eSLOT=${SLOT}
+# To avoid having two packages we combine both te name indication and the slot
+# from gnatbuild.eclass in ASIS' SLOT
+# eSLOT depends only on PV, so it is really static
+SLOT="ACT-${eSLOT}"
+
+KEYWORDS="~amd64 ~x86"
+#IUSE="doc"
+
+# it may be even better to force plain -O2 -pipe -ftracer here
+replace-flags -O3 -O2
+
+
+pkg_setup() {
+ currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
+ if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${eSLOT}" ]]; then
+ echo
+ eerror "The active gnat profile does not correspond to the selected"
+ eerror "version of asis! Please install the appropriate gnat (if you"
+ eerror "did not so yet) and run:"
+ einfo "eselect gnat set ${CTARGET}-${Gnat_Name}-${eSLOT}"
+ eerror "and then emerge =dev-ada/asis-${PV} again.."
+ echo
+ die
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ sed -i -e "s:\"gcc\":\"gnatgcc\":" asis/a4g-contt.adb
+ sed -i -e "s:\"gcc\":\"gnatgcc\":" \
+ -e "s:environment settings for gcc:environment for gnatgcc:" \
+ asis/a4g-gnat_int.adb
+ sed -i -e "s:\"gcc#\":\"gnatgcc#\":" gnat/snames.adb
+}
+
+
+src_compile() {
+ # Build the shared library first, we need -fPIC here
+ gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
+ || die "building libasis.a failed"
+ gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
+ -o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
+ || die "building libasis.so failed"
+
+ # build tools
+ for fn in tools/*; do
+ pushd ${fn}
+ gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
+ popd
+ done
+
+ # common stuff is just docs in this case
+ if use doc; then
+ emake -C documentation all || die "Failed while compiling documentation"
+ fi
+}
+
+
+src_install () {
+ # we need to adjust some vars defined in gnatbuild.eclass so that they use
+ # gnat-gpl instead of asis
+ LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
+ BINPATH=${BINPATH/${PN}/${Gnat_Name}}
+ DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
+
+ # install the lib
+ mkdir -p ${D}${LIBPATH}/adalib
+ chmod 0755 obj/libasis-${ACT_Ver}.so
+ cp obj/libasis-${ACT_Ver}.so ${D}${LIBPATH}/adalib
+ insinto ${LIBPATH}/adalib
+ doins obj/*.ali
+ chmod 0644 lib/libasis.a
+ newins lib/libasis.a libasis-${ACT_Ver}.a
+ # make appropriate symlinks
+ cd ${D}${LIBPATH}/adalib
+ ln -s libasis-${ACT_Ver}.so libasis.so
+ ln -s libasis-${ACT_Ver}.a libasis.a
+ cd ${S}
+ # sources
+ insinto ${LIBPATH}/adainclude
+ doins gnat/*.ad[sb]
+ doins asis/*.ad[sb]
+
+ # tools
+ mkdir -p ${D}${BINPATH}
+ for fn in tools/{asistant,gnat*}; do
+ cp ${fn}/${fn:6} ${D}${BINPATH}
+ done
+
+ # docs and examples
+ dodoc documentation/*.txt
+ dohtml documentation/*.html
+ # info's should go into gnat-gpl dirs
+ insinto ${DATAPATH}/info/
+ doins documentation/*.info
+
+ insinto /usr/share/doc/${PF}
+ doins -r documentation/*.pdf examples/ tutorial/ templates/
+}
+
+pkg_postinst() {
+ echo
+ einfo "The ASIS is installed for the active gnat compiler at gnat's location."
+ einfo "No further configuration is necessary. Enjoy."
+ echo
+}
diff --git a/dev-ada/asis/files/digest-asis-3.4.6.2006 b/dev-ada/asis/files/digest-asis-3.4.6.2006
new file mode 100644
index 000000000000..b133ac0d47ab
--- /dev/null
+++ b/dev-ada/asis/files/digest-asis-3.4.6.2006
@@ -0,0 +1,3 @@
+MD5 f415da57e567ee77e55ba192bf40a954 asis-gpl-2006-src.tgz 2118559
+RMD160 e1ea4792f2a1ff34762f5362054f9560528d9629 asis-gpl-2006-src.tgz 2118559
+SHA256 61838a94b19bd8a132c6053ee691ab51b39a54fd1bd10c98d9a10efd63663e2d asis-gpl-2006-src.tgz 2118559