summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-05-25 17:32:38 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-05-25 17:32:38 +0000
commit23392d8d5938934d1e8dee81f494b289b63bbadd (patch)
treeb3b37cc95b30518ccbefbfd68cb9db3a57b7bf81 /dev-ada
parentAdded ~ppc keyword. Bug 134327 (diff)
downloadhistorical-23392d8d5938934d1e8dee81f494b289b63bbadd.tar.gz
historical-23392d8d5938934d1e8dee81f494b289b63bbadd.tar.bz2
historical-23392d8d5938934d1e8dee81f494b289b63bbadd.zip
moved gtkada to new eclass, first release suppporting split compilers.
Package-Manager: portage-2.1_rc2-r2
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/ChangeLog8
-rw-r--r--dev-ada/gtkada/Manifest45
-rw-r--r--dev-ada/gtkada/files/digest-gtkada-2.4.02
-rw-r--r--dev-ada/gtkada/files/digest-gtkada-2.4.0-r13
-rw-r--r--dev-ada/gtkada/files/gtkada-2.4.0.patch11
-rw-r--r--dev-ada/gtkada/gtkada-2.4.0-r1.ebuild110
6 files changed, 161 insertions, 18 deletions
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog
index bbf0270b26d9..c20f7ef905f5 100644
--- a/dev-ada/gtkada/ChangeLog
+++ b/dev-ada/gtkada/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/gtkada
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.15 2006/05/13 21:01:51 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.16 2006/05/25 17:32:38 george Exp $
+
+*gtkada-2.4.0-r1 (25 May 2006)
+
+ 25 May 2006; George Shapovalov <george@gentoo.org>
+ +files/gtkada-2.4.0.patch, +gtkada-2.4.0-r1.ebuild:
+ moved gtkada to new eclass, first release suppporting split compilers.
13 May 2006; George Shapovalov <george@gentoo.org> gtkada-2.2.0-r1.ebuild,
gtkada-2.2.1.ebuild, gtkada-2.2.1-r1.ebuild, gtkada-2.4.0.ebuild:
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest
index a4f4e11d9850..afd57e1d0fda 100644
--- a/dev-ada/gtkada/Manifest
+++ b/dev-ada/gtkada/Manifest
@@ -1,35 +1,43 @@
-AUX gtkada-2.2.0-gentoo.patch 541 RMD160 57c164631c56140928013c5622152eb7e956f7e3 SHA1 9f8a7b2b3bd840afc58902748b220d7b91aea6a8 SHA256 1f6ff8e1d98e77ca8e793d5043cba3a40ec4a7f99d2c2e3852b0a94f991635be size 541
+AUX gtkada-2.2.0-gentoo.patch 541 RMD160 57c164631c56140928013c5622152eb7e956f7e3 SHA1 9f8a7b2b3bd840afc58902748b220d7b91aea6a8 SHA256 1f6ff8e1d98e77ca8e793d5043cba3a40ec4a7f99d2c2e3852b0a94f991635be
MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
RMD160 57c164631c56140928013c5622152eb7e956f7e3 files/gtkada-2.2.0-gentoo.patch 541
SHA256 1f6ff8e1d98e77ca8e793d5043cba3a40ec4a7f99d2c2e3852b0a94f991635be files/gtkada-2.2.0-gentoo.patch 541
-AUX gtkada-2.2.1-gentoo.patch 5568 RMD160 4faf5479a548906920a07887c10e18a48f441023 SHA1 4f3e8a07df65b0756b0a693d7e96a9ac2130d179 SHA256 f5e4542eef7e59c8dd5a7aac8572b1c65036e654e29b262bdc0afbffd6d8804f size 5568
+AUX gtkada-2.2.1-gentoo.patch 5568 RMD160 4faf5479a548906920a07887c10e18a48f441023 SHA1 4f3e8a07df65b0756b0a693d7e96a9ac2130d179 SHA256 f5e4542eef7e59c8dd5a7aac8572b1c65036e654e29b262bdc0afbffd6d8804f
MD5 19a7546682940bfcc7e516a523963a1a files/gtkada-2.2.1-gentoo.patch 5568
RMD160 4faf5479a548906920a07887c10e18a48f441023 files/gtkada-2.2.1-gentoo.patch 5568
SHA256 f5e4542eef7e59c8dd5a7aac8572b1c65036e654e29b262bdc0afbffd6d8804f files/gtkada-2.2.1-gentoo.patch 5568
-DIST GtkAda-2.2.0.tgz 3186068 size 3186068
-DIST GtkAda-2.2.1.tgz 3183988 size 3183988
-DIST GtkAda-2.4.0.tgz 3235169 size 3235169
-EBUILD gtkada-2.2.0-r1.ebuild 2461 RMD160 534212a855420743864756c9f56b2293890077a0 SHA1 bc89d8b4dd2d6984cc0ebe71a51e550dadac8c7d SHA256 afc626c7d9415b031c720bb87a8201b47903b4895c9c13d2abd24000d7684818 size 2461
+AUX gtkada-2.4.0.patch 485 RMD160 bb1254a48b364381f3dca4a4ffbdc12b2d5ade79 SHA1 0676c9fdd7a668737171fb40dcdbf3c59f04619c SHA256 0722618837e0e6ea7056c551c43685e570108a9d9cbb5a499167344b85cefb72
+MD5 826232afeb7b8ce67b6674b236e7804e files/gtkada-2.4.0.patch 485
+RMD160 bb1254a48b364381f3dca4a4ffbdc12b2d5ade79 files/gtkada-2.4.0.patch 485
+SHA256 0722618837e0e6ea7056c551c43685e570108a9d9cbb5a499167344b85cefb72 files/gtkada-2.4.0.patch 485
+DIST GtkAda-2.2.0.tgz 3186068
+DIST GtkAda-2.2.1.tgz 3183988
+DIST GtkAda-2.4.0.tgz 3235169 RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 SHA1 9296accadd55ce9d635cc248713cd7684ecffa46 SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e
+EBUILD gtkada-2.2.0-r1.ebuild 2461 RMD160 534212a855420743864756c9f56b2293890077a0 SHA1 bc89d8b4dd2d6984cc0ebe71a51e550dadac8c7d SHA256 afc626c7d9415b031c720bb87a8201b47903b4895c9c13d2abd24000d7684818
MD5 a36deaf533e4e65a7a137f3ade0cc720 gtkada-2.2.0-r1.ebuild 2461
RMD160 534212a855420743864756c9f56b2293890077a0 gtkada-2.2.0-r1.ebuild 2461
SHA256 afc626c7d9415b031c720bb87a8201b47903b4895c9c13d2abd24000d7684818 gtkada-2.2.0-r1.ebuild 2461
-EBUILD gtkada-2.2.1-r1.ebuild 2460 RMD160 afab1634b4c138cc62b7717f860912e29edb7f31 SHA1 45e18f7af90280e886a604558a4c81a6539503da SHA256 cb47d358f2f6708305ddb352d0d1cbc29891452a46b3f69c840378ff26352788 size 2460
+EBUILD gtkada-2.2.1-r1.ebuild 2460 RMD160 afab1634b4c138cc62b7717f860912e29edb7f31 SHA1 45e18f7af90280e886a604558a4c81a6539503da SHA256 cb47d358f2f6708305ddb352d0d1cbc29891452a46b3f69c840378ff26352788
MD5 e984d33606bcbcce854cc82f3b6ec0a4 gtkada-2.2.1-r1.ebuild 2460
RMD160 afab1634b4c138cc62b7717f860912e29edb7f31 gtkada-2.2.1-r1.ebuild 2460
SHA256 cb47d358f2f6708305ddb352d0d1cbc29891452a46b3f69c840378ff26352788 gtkada-2.2.1-r1.ebuild 2460
-EBUILD gtkada-2.2.1.ebuild 2464 RMD160 304d0f08951096067a8c23d46877244e6d013c8b SHA1 ad36206eac78731d568cb7c0768dd5f5242064db SHA256 e1a274e3e220a9ea156ff299583809f7ed367779dde81a0b2e34d69ecb54f717 size 2464
+EBUILD gtkada-2.2.1.ebuild 2464 RMD160 304d0f08951096067a8c23d46877244e6d013c8b SHA1 ad36206eac78731d568cb7c0768dd5f5242064db SHA256 e1a274e3e220a9ea156ff299583809f7ed367779dde81a0b2e34d69ecb54f717
MD5 f3bc1cf5585eb7d940957ea0dc852b24 gtkada-2.2.1.ebuild 2464
RMD160 304d0f08951096067a8c23d46877244e6d013c8b gtkada-2.2.1.ebuild 2464
SHA256 e1a274e3e220a9ea156ff299583809f7ed367779dde81a0b2e34d69ecb54f717 gtkada-2.2.1.ebuild 2464
-EBUILD gtkada-2.4.0.ebuild 2489 RMD160 eb217c8210c89c407acf8a39ce5b0c8de88c147f SHA1 cbb2f057579cda593f9f44283342108a73f8fe07 SHA256 583599f2bf251889fb73099534508e5e8dfbd04e5da84c55bf50bfd81c35d18a size 2489
+EBUILD gtkada-2.4.0-r1.ebuild 3001 RMD160 244e574667cad45302c489b746d2e6fc6465862c SHA1 a1a8402ca008dfe51c68ca7606cf3cfc0eef83f6 SHA256 774d3cb70dc20f52911f488efa5a7a04897967f00d4d20a08316af20e0373288
+MD5 3022e4fa8477c7535b73ad1a35053d14 gtkada-2.4.0-r1.ebuild 3001
+RMD160 244e574667cad45302c489b746d2e6fc6465862c gtkada-2.4.0-r1.ebuild 3001
+SHA256 774d3cb70dc20f52911f488efa5a7a04897967f00d4d20a08316af20e0373288 gtkada-2.4.0-r1.ebuild 3001
+EBUILD gtkada-2.4.0.ebuild 2489 RMD160 eb217c8210c89c407acf8a39ce5b0c8de88c147f SHA1 cbb2f057579cda593f9f44283342108a73f8fe07 SHA256 583599f2bf251889fb73099534508e5e8dfbd04e5da84c55bf50bfd81c35d18a
MD5 0bc4d23968a22ac4a868334e8cbc278d gtkada-2.4.0.ebuild 2489
RMD160 eb217c8210c89c407acf8a39ce5b0c8de88c147f gtkada-2.4.0.ebuild 2489
SHA256 583599f2bf251889fb73099534508e5e8dfbd04e5da84c55bf50bfd81c35d18a gtkada-2.4.0.ebuild 2489
-MISC ChangeLog 2365 RMD160 6b6af0a8187cd648a9f55a2d24069ad105bb1715 SHA1 0f842f63020a826b07dbb0f3f431fbc899d00580 SHA256 d8d00a81ca979acb844703e61c88e30b9ec683f185ff7feb19dde959a32d164b size 2365
-MD5 ae95bbff5b24540b237002a8a3dac638 ChangeLog 2365
-RMD160 6b6af0a8187cd648a9f55a2d24069ad105bb1715 ChangeLog 2365
-SHA256 d8d00a81ca979acb844703e61c88e30b9ec683f185ff7feb19dde959a32d164b ChangeLog 2365
-MISC metadata.xml 556 RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 SHA1 824fdfe3ec66d5eceadd15155d73467185b8fd68 SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469 size 556
+MISC ChangeLog 2578 RMD160 95d8680dc264d6d99461516bdafb6d589ce2feeb SHA1 28c76e850d9d242c8719d231f8866649197f5365 SHA256 4321cf6ffe878d59e11923373471addb520126baee619bc19b115e98debf5b9f
+MD5 7ca73804f86a9b1eb8e537985a64170c ChangeLog 2578
+RMD160 95d8680dc264d6d99461516bdafb6d589ce2feeb ChangeLog 2578
+SHA256 4321cf6ffe878d59e11923373471addb520126baee619bc19b115e98debf5b9f ChangeLog 2578
+MISC metadata.xml 556 RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 SHA1 824fdfe3ec66d5eceadd15155d73467185b8fd68 SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469
MD5 406df42dba8304e0bfa98dd1a79452b7 metadata.xml 556
RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 metadata.xml 556
SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469 metadata.xml 556
@@ -42,6 +50,9 @@ SHA256 eedddf27425d31f04b64023acfd8aea53d23fc1a2aad5bfb0b39157e91ef1b58 files/di
MD5 67a1b0d6cd1202e37a89427fbdecb948 files/digest-gtkada-2.2.1-r1 62
RMD160 4d450895213c0ecdea5bfa86dc855dc4bb90af28 files/digest-gtkada-2.2.1-r1 62
SHA256 eedddf27425d31f04b64023acfd8aea53d23fc1a2aad5bfb0b39157e91ef1b58 files/digest-gtkada-2.2.1-r1 62
-MD5 580460b67415373c0212e8f788319b64 files/digest-gtkada-2.4.0 62
-RMD160 46435f0d38a1868644902953e0d528db6ddba096 files/digest-gtkada-2.4.0 62
-SHA256 97e0d1cfb1529fd33221a6da937535c74ab5b1aa0fb827e7855aa78df1e46c47 files/digest-gtkada-2.4.0 62
+MD5 1ff586c94c381d79b5018885627397fa files/digest-gtkada-2.4.0 232
+RMD160 07b98891338f45df9bbf4386192395be4f836ddd files/digest-gtkada-2.4.0 232
+SHA256 f92cae57ea9203f4a82286b65df9c0e25c23093d60a9229c96cf87e8a51736c9 files/digest-gtkada-2.4.0 232
+MD5 1ff586c94c381d79b5018885627397fa files/digest-gtkada-2.4.0-r1 232
+RMD160 07b98891338f45df9bbf4386192395be4f836ddd files/digest-gtkada-2.4.0-r1 232
+SHA256 f92cae57ea9203f4a82286b65df9c0e25c23093d60a9229c96cf87e8a51736c9 files/digest-gtkada-2.4.0-r1 232
diff --git a/dev-ada/gtkada/files/digest-gtkada-2.4.0 b/dev-ada/gtkada/files/digest-gtkada-2.4.0
index 0afca8eea816..2ead661b975f 100644
--- a/dev-ada/gtkada/files/digest-gtkada-2.4.0
+++ b/dev-ada/gtkada/files/digest-gtkada-2.4.0
@@ -1 +1,3 @@
MD5 31232d695ca40c3fb346fb34bc93ed3d GtkAda-2.4.0.tgz 3235169
+RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 GtkAda-2.4.0.tgz 3235169
+SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e GtkAda-2.4.0.tgz 3235169
diff --git a/dev-ada/gtkada/files/digest-gtkada-2.4.0-r1 b/dev-ada/gtkada/files/digest-gtkada-2.4.0-r1
new file mode 100644
index 000000000000..2ead661b975f
--- /dev/null
+++ b/dev-ada/gtkada/files/digest-gtkada-2.4.0-r1
@@ -0,0 +1,3 @@
+MD5 31232d695ca40c3fb346fb34bc93ed3d GtkAda-2.4.0.tgz 3235169
+RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 GtkAda-2.4.0.tgz 3235169
+SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e GtkAda-2.4.0.tgz 3235169
diff --git a/dev-ada/gtkada/files/gtkada-2.4.0.patch b/dev-ada/gtkada/files/gtkada-2.4.0.patch
new file mode 100644
index 000000000000..063507f4a09b
--- /dev/null
+++ b/dev-ada/gtkada/files/gtkada-2.4.0.patch
@@ -0,0 +1,11 @@
+diff -ru GtkAda-2.4.0-orig/src/gtkada-mdi.adb GtkAda-2.4.0/src/gtkada-mdi.adb
+--- GtkAda-2.4.0-orig/src/gtkada-mdi.adb 2004-11-09 09:35:57.000000000 +0100
++++ GtkAda-2.4.0/src/gtkada-mdi.adb 2006-05-18 23:15:13.917488750 +0200
+@@ -4778,6 +4778,7 @@
+ when Top | Bottom =>
+ Widths (Side) := 0;
+ Heights (Side) := Get_Allocation_Height (MDI.Docks (Side));
++ when None => Null;
+ end case;
+
+ -- If not allocated yet
diff --git a/dev-ada/gtkada/gtkada-2.4.0-r1.ebuild b/dev-ada/gtkada/gtkada-2.4.0-r1.ebuild
new file mode 100644
index 000000000000..2de4800afcda
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2.4.0-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.4.0-r1.ebuild,v 1.1 2006/05/25 17:32:38 george Exp $
+
+inherit eutils gnat
+
+Name="GtkAda"
+DESCRIPTION="Gtk+ bindings to the Ada language"
+HOMEPAGE="https://libre2.adacore.com/GtkAda/"
+SRC_URI="https://libre2.adacore.com/${Name}/${Name}-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls opengl"
+
+DEPEND="virtual/gnat
+ >=x11-libs/gtk+-2.2.0
+ >=sys-apps/sed-4"
+RDEPEND=""
+
+S="${WORKDIR}/${Name}-${PV}"
+
+# a location to temporarily keep common stuff installed by make install
+CommonInst="${WORKDIR}/common-install"
+
+src_unpack() {
+ gnat_src_unpack
+
+ cd ${S}
+ sed -i -e "s|-I\$prefix/include|-I${AdalibSpecsDir}|" \
+ src/gtkada-config.in
+
+}
+
+lib_compile() {
+ # some profile specific fixes first
+ sed -i -e "s|-L\$prefix/include|-L${AdalibLibTop}/$1|" \
+ src/gtkada-config.in
+
+ # ATTN! Check if this is fixed when new version comes out!
+ # this one fails on 4.1 without and 3.4 with..
+ if [[ $(get_gnat_SLOT $1) > 3.4 ]] ; then
+ epatch ${FILESDIR}/${P}.patch
+ fi
+
+ # gtkada does not like to see itself installed..
+# export ADA_INCLUDE_PATH=$(filter_env_var ADA_INCLUDE_PATH)
+# export ADA_OBJECTS_PATH=$(filter_env_var ADA_OBJECTS_PATH)
+ einfo "ADA_INCLUDE_PATH=${ADA_INCLUDE_PATH}"
+
+ local myconf
+ use opengl && myconf="--with-GL=auto" || myconf="--with-GL=no"
+
+ econf ${myconf} $(use_enable nls) || die "./configure failed"
+
+ make GNATFLAGS="${ADACFLAGS}" || die
+}
+
+lib_install() {
+ make prefix=${DL} \
+ incdir=${DL}/adainclude \
+ libdir=${DL}/adalib \
+ alidir=${DL}/adalib \
+ install || die
+
+ #set up environment
+ echo "PATH=%DL%/bin" > ${LibEnv}
+ echo "ADA_OBJECTS_PATH=%DL%/adalib" >> ${LibEnv}
+ echo "ADA_INCLUDE_PATH=%DL%/adainclude:/usr/lib/ada/adainclude/${PN}" >> ${LibEnv}
+
+ # move common stuff out of $DL
+ if [[ -d "${CommonInst}" ]] ; then
+ # we need only one copy, its all identical
+ mv "${DL}"/adainclude/gtkada-mdi.adb "${DL}"
+ rm -rf "${DL}"/{adainclude/*,doc,projects,share}
+ mv "${DL}"/gtkada-mdi.adb "${DL}"/adainclude/
+ else
+ mkdir "${CommonInst}"
+ mv ${DL}/{adainclude,doc,projects,share} "${CommonInst}"
+ # one .adb file has profile-specific fixes..
+ mkdir "${DL}"/adainclude
+ mv "${CommonInst}"/adainclude/gtkada-mdi.adb "${DL}"/adainclude/
+ fi
+}
+
+src_install() {
+ gnat_src_install
+
+ #specs
+ cd "${CommonInst}"
+ dodir "${AdalibSpecsDir}/${PN}"
+ insinto "${AdalibSpecsDir}/${PN}"
+ doins "${CommonInst}"/adainclude/*
+
+ #docs
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS COPYING README
+ cd "${CommonInst}"
+ cp -dPr doc/${Name}/* share/${PN}/examples/ "${D}/usr/share/doc/${PF}"
+}
+
+pkg_postinst() {
+ eselect gnat update
+ einfo "The environment has been set up to make gnat automatically find files for"
+ einfo "GtkAda. In order to immediately activate these settings please do:"
+ einfo " env-update && source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
+}
+