diff options
author | George Shapovalov <george@gentoo.org> | 2007-05-27 18:25:01 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2007-05-27 18:25:01 +0000 |
commit | 08f9676fb5465f8b30e0ea53038c955be5478d03 (patch) | |
tree | 17077e8fea0cb90c1eef5bd50297610f94cfcc87 /dev-ada | |
parent | Stable on x86 wrt bug #178693 (diff) | |
download | historical-08f9676fb5465f8b30e0ea53038c955be5478d03.tar.gz historical-08f9676fb5465f8b30e0ea53038c955be5478d03.tar.bz2 historical-08f9676fb5465f8b30e0ea53038c955be5478d03.zip |
new version
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/gtkada/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ada/gtkada/Manifest | 26 | ||||
-rw-r--r-- | dev-ada/gtkada/files/digest-gtkada-2.8.0 | 3 | ||||
-rw-r--r-- | dev-ada/gtkada/gtkada-2.8.0.ebuild | 111 |
4 files changed, 132 insertions, 15 deletions
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog index e6351a186750..e2e6daf209f3 100644 --- a/dev-ada/gtkada/ChangeLog +++ b/dev-ada/gtkada/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ada/gtkada # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.21 2007/04/08 00:59:12 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.22 2007/05/27 18:25:01 george Exp $ + +*gtkada-2.8.0 (27 May 2007) + + 27 May 2007; George Shapovalov <george@gentoo.org> +gtkada-2.8.0.ebuild: + new version 08 Apr 2007; Joseph Jezak <josejx@gentoo.org> gtkada-2.4.0-r2.ebuild: Marked ~ppc for bug #172416. diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest index c3ebdfa134ab..500713770c3b 100644 --- a/dev-ada/gtkada/Manifest +++ b/dev-ada/gtkada/Manifest @@ -1,19 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - 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.4.0.tgz 3235169 RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 SHA1 9296accadd55ce9d635cc248713cd7684ecffa46 SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e +DIST GtkAda-gpl-2.8.0.tgz 2833063 RMD160 cccd5ca43eb3814422ddca3677cc0d5e9ec86cab SHA1 4d87bbb830864cf8fb5feaa1dbb18af93bc321ee SHA256 e1ab10d87f26daf7846ca4b1eefb8532f43a74b40348a2545b7046291b113fb0 EBUILD gtkada-2.4.0-r2.ebuild 2490 RMD160 e2756b0f0a8ef8098d46d17276b623f4ed07a024 SHA1 3065b0d3d3aebbdd509cbdead4121ec047f0ad61 SHA256 231ba089a96315048f8e4d3f176997eed1f6e63ce9a4c4e7ef3f010e593d3547 MD5 d14389590f7b200b8245de562f6c4448 gtkada-2.4.0-r2.ebuild 2490 RMD160 e2756b0f0a8ef8098d46d17276b623f4ed07a024 gtkada-2.4.0-r2.ebuild 2490 SHA256 231ba089a96315048f8e4d3f176997eed1f6e63ce9a4c4e7ef3f010e593d3547 gtkada-2.4.0-r2.ebuild 2490 -MISC ChangeLog 3378 RMD160 631d108dc61fe194bd57d480d8bd481f6b7097b5 SHA1 120cbb37bd670a4b7c002c84506e2f5359c49bfb SHA256 5c61cfd74365671b43e6ec19d40512c28d74f3fe9329b705dc3d48539916013b -MD5 3524cb5d1b718146eca3fb227fee25db ChangeLog 3378 -RMD160 631d108dc61fe194bd57d480d8bd481f6b7097b5 ChangeLog 3378 -SHA256 5c61cfd74365671b43e6ec19d40512c28d74f3fe9329b705dc3d48539916013b ChangeLog 3378 +EBUILD gtkada-2.8.0.ebuild 3064 RMD160 34637a7609e8f220b8ad9d52490e9afa4c2b6463 SHA1 934b7529c6b847bad6ba8bff99758214475e3e07 SHA256 4caf23bf54fe03a3a94f6a39acdb2df33b07ba5b1e1df377b9ee2ddf199be274 +MD5 6ea8d034a31c9405459a49aaaf569cfe gtkada-2.8.0.ebuild 3064 +RMD160 34637a7609e8f220b8ad9d52490e9afa4c2b6463 gtkada-2.8.0.ebuild 3064 +SHA256 4caf23bf54fe03a3a94f6a39acdb2df33b07ba5b1e1df377b9ee2ddf199be274 gtkada-2.8.0.ebuild 3064 +MISC ChangeLog 3497 RMD160 4fc514ace5eddb06dfac9db1101ce4e517db4fd7 SHA1 865c72686105b511a4e47e8a3d0f71b54427d4aa SHA256 9418823b12a99be0e5af6d4db7272c3dd45d3455a64656651bac9638476394af +MD5 ef240c5b27bfc0416f8f3f0574ac520d ChangeLog 3497 +RMD160 4fc514ace5eddb06dfac9db1101ce4e517db4fd7 ChangeLog 3497 +SHA256 9418823b12a99be0e5af6d4db7272c3dd45d3455a64656651bac9638476394af ChangeLog 3497 MISC metadata.xml 556 RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 SHA1 824fdfe3ec66d5eceadd15155d73467185b8fd68 SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469 MD5 406df42dba8304e0bfa98dd1a79452b7 metadata.xml 556 RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 metadata.xml 556 @@ -21,10 +23,6 @@ SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469 metadata MD5 1ff586c94c381d79b5018885627397fa files/digest-gtkada-2.4.0-r2 232 RMD160 07b98891338f45df9bbf4386192395be4f836ddd files/digest-gtkada-2.4.0-r2 232 SHA256 f92cae57ea9203f4a82286b65df9c0e25c23093d60a9229c96cf87e8a51736c9 files/digest-gtkada-2.4.0-r2 232 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) - -iD8DBQFGGD5TcsIHjyDViGQRAg5pAKDmVwOmWDdMmWcpjd+DJFH1oy9EOwCcCEjM -vzCKPcd4J8ujZu2vznmJrOU= -=juee ------END PGP SIGNATURE----- +MD5 63e30046ba88fc20fc7a23cd0d08e980 files/digest-gtkada-2.8.0 244 +RMD160 6d09d2f8207f58c490b1e143edbb3c7d53ee5eff files/digest-gtkada-2.8.0 244 +SHA256 83a5e3858d88a08720dda873e2fb9ca9b1001096f33f9666d5903ac91b24ec7a files/digest-gtkada-2.8.0 244 diff --git a/dev-ada/gtkada/files/digest-gtkada-2.8.0 b/dev-ada/gtkada/files/digest-gtkada-2.8.0 new file mode 100644 index 000000000000..3905bfe176c4 --- /dev/null +++ b/dev-ada/gtkada/files/digest-gtkada-2.8.0 @@ -0,0 +1,3 @@ +MD5 e8ae05f6c3122b0c17555741688d47ed GtkAda-gpl-2.8.0.tgz 2833063 +RMD160 cccd5ca43eb3814422ddca3677cc0d5e9ec86cab GtkAda-gpl-2.8.0.tgz 2833063 +SHA256 e1ab10d87f26daf7846ca4b1eefb8532f43a74b40348a2545b7046291b113fb0 GtkAda-gpl-2.8.0.tgz 2833063 diff --git a/dev-ada/gtkada/gtkada-2.8.0.ebuild b/dev-ada/gtkada/gtkada-2.8.0.ebuild new file mode 100644 index 000000000000..cd8321a94571 --- /dev/null +++ b/dev-ada/gtkada/gtkada-2.8.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.8.0.ebuild,v 1.1 2007/05/27 18:25:01 george Exp $ + +inherit eutils gnat + +Name="GtkAda-gpl" +DESCRIPTION="Gtk+ bindings to the Ada language" +HOMEPAGE="https://libre2.adacore.com/GtkAda/" +SRC_URI="http://dev.gentoo.org/~george/src/${Name}-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="nls opengl" + +DEPEND="virtual/gnat + >=dev-libs/glib-2.8.0 + >=x11-libs/pango-1.10.0 + >=dev-libs/atk-1.10.0 + >=x11-libs/gtk+-2.8.13 + >=sys-apps/sed-4" +RDEPEND="" + +S="${WORKDIR}/${Name}-${PV}" + + +# only needed for gcc-3.x based gnat profiles, but matching them individually +# would be insane +QA_EXECSTACK="${AdalibLibTop:1}/*/gtkada/libgtkada-2.8.so.0" + +# 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:-aI\$prefix/include/gtkada:-aI${AdalibSpecsDir}/gtkada:" \ + src/gtkada-config.in + + # disable building tests to avoid waisting time while building for every + # profile. The tests are nonetheless installed under doc dir. + sed -i -e "/testgtk_dir/d" Makefile.in + + # remove lib stripping + sed -i -e "/strip/d" src/Makefile.in +} + +lib_compile() { + # some profile specific fixes first + sed -i -e "s:\$prefix/lib\(/gtkada\)*:${AdalibLibTop}/$1/gtkada:" \ + src/gtkada-config.in + + 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 install misses all the .so and .a files and otherwise creates more + # problems than it's worth. Will do everything manually + mkdir -p ${DL} + cp src/*.ali src/gtkada-config ${DL} + find -iname "*.a" -exec mv {} ${DL} \; + find -iname "*.so*" -exec mv {} ${DL} \; +} + +src_install() { + #set up environment + echo "PATH=%DL%" > ${LibEnv} + echo "LDPATH=%DL%" >> ${LibEnv} + echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} + echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" >> ${LibEnv} + + gnat_src_install + + cd ${S} + #specs + dodir "${AdalibSpecsDir}/${PN}" + insinto "${AdalibSpecsDir}/${PN}" + doins src/*.ad? + + #docs + dodoc ANNOUNCE AUTHORS COPYING README + cp -dPr examples/ testgtk/ "${D}/usr/share/doc/${PF}" + cd docs + ps2pdf gtkada_ug/gtkada_ug.ps + ps2pdf gtkada_rm/gtkada_rm.ps + cp gtkada_ug.pdf gtkada_rm.pdf "${D}/usr/share/doc/${PF}" + dohtml -r gtkada_ug/{gtkada_ug.html,boxes.gif,hierarchy.jpg} + cp -dPr gtkada_rm/gtkada_rm/ "${D}/usr/share/doc/${PF}/html" + + # utility stuff + cd ${S} + dodir "${AdalibDataDir}/${PN}" + insinto "${AdalibDataDir}/${PN}" + doins -r xml/gtkada.xml projects/ +} + +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" +} + |