Portage is a package management system used by Gentoo Linux
# 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.30 2007/12/28 22:40:13 george Exp $
28 Dec 2007; George Shapovalov
gtkada-2.8.0.ebuild, gtkada-2.10.0.ebuild:
changed virtual/gnat to virtualada in DEPEND
24 Sep 2007; George Shapovalov
gtkada-2.8.0.ebuild, gtkada-2.10.0.ebuild:
adjusted ebuilds in line with eclass changes (gnat_src_unpack was factored out)
10 Sep 2007; George Shapovalov
gtkada-2.10.0.ebuild:
fixed the ADA_INCLUDE_PATH to point to correct dir. Thanks to Maxim Reznik
for spotting this
28 May 2007; George Shapovalov
backported some enhancements from 2.10.0
*gtkada-2.10.0 (28 May 2007)
28 May 2007; George Shapovalov
+gtkada-2.10.0.ebuild:
added new version
27 May 2007; George Shapovalov
fixed prestripping libs, added ~ppc to KEYWORDS as previous version
was already keyworded
*gtkada-2.8.0 (27 May 2007)
27 May 2007; George Shapovalov
new version (#174307)
08 Apr 2007; Joseph Jezak
Marked ~ppc for bug #172416.
26 Jan 2007; Marius Mauch
gtkada-2.2.1.ebuild, gtkada-2.2.1-r1.ebuild, gtkada-2.4.0.ebuild:
Replacing einfo with elog
18 Nov 2006; George Shapovalov
corrected SRC_URI to use the right mirror:// syntax
13 Nov 2006; George Shapovalov
-gtkada-2.4.0-r1.ebuild, gtkada-2.4.0-r2.ebuild:
removed pkg_postinst (a standard one is in the gnat.eclass) and the -r1
revision
*gtkada-2.4.0-r2 (12 Jun 2006)
12 Jun 2006; George Shapovalov
+gtkada-2.4.0-r2.ebuild:
added LDPATH as per discussion in #111340
some cosmetic touches + removed debug einfo's
*gtkada-2.4.0-r1 (25 May 2006)
25 May 2006; George Shapovalov
+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
gtkada-2.2.1.ebuild, gtkada-2.2.1-r1.ebuild, gtkada-2.4.0.ebuild:
removed inherit gnat until adapted for new eclass
18 Jan 2006; Luis Medinas
Added ~amd64 keyword.
*gtkada-2.4.0 (28 Dec 2004)
28 Dec 2004; David Holm
Version bump. Ebuild submitted by Bobby D. Bryant
*gtkada-2.2.1-r1 (02 Aug 2004)
02 Aug 2004; David Holm
+gtkada-2.2.1-r1.ebuild:
Fixed so that it compiles with GNAT-3.41.
29 Jun 2004; Aron Griffis
gtkada-2.2.1.ebuild, gtkada-2.2.1_pre20031005.ebuild:
add sed-4 dep
*gtkada-2.2.1 (21 Nov 2003)
21 Nov 2003; David Holm
Time for a version bump.
28 Oct 2003; David Holm
gtkada-2.2.1_pre20031005.ebuild:
Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH.
*gtkada-2.2.1_pre20031005 (06 Oct 2003)
06 Oct 2003; David Holm
gtkada-2.2.0.ebuild, gtkada-2.2.1_pre20031005.ebuild:
Added 2.2.0-r1 to stable on x86. Added a snapshot of the coming GtkAda-2.2.1.
06 Oct 2003; David Holm
Added to ~ppc.
17 Aug 2003; David Holm
Added
*gtkada-2.2.0-r1 (14 Aug 2003)
14 Aug 2003; David Holm
The shared libraries are now linked into /usr/lib so that applications linked
against them will find them. The gtkada-config script has been fixed (it
previously returned invalid paths).
*gtkada-2.2.0.ebuild (14 Jul 2003)
14 Jul 2003; George Shapovalov
initial release (#11292)
Gtk+ bindings to the Ada language
ebuild submitted by Mikko Ala-Fossi
AUX gtkada-2.4.0.patch 485 RMD160 bb1254a48b364381f3dca4a4ffbdc12b2d5ade79 SHA1 0676c9fdd7a668737171fb40dcdbf3c59f04619c SHA256 0722618837e0e6ea7056c551c43685e570108a9d9cbb5a499167344b85cefb72
DIST GtkAda-2.4.0.tgz 3235169 RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 SHA1 9296accadd55ce9d635cc248713cd7684ecffa46 SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e
DIST GtkAda-gpl-2.10.0.tgz 5519438 RMD160 92c3dea906582c13bb6750e9dc9a2fd849062861 SHA1 8414c25b7fd7eed6936d12919e061994518c1496 SHA256 f5a1a4efecaf99ce7cdaecfa4df7b6935be03692c9b68d8c746a58cca1137a30
DIST GtkAda-gpl-2.8.0.tgz 2833063 RMD160 cccd5ca43eb3814422ddca3677cc0d5e9ec86cab SHA1 4d87bbb830864cf8fb5feaa1dbb18af93bc321ee SHA256 e1ab10d87f26daf7846ca4b1eefb8532f43a74b40348a2545b7046291b113fb0
EBUILD gtkada-2.10.0.ebuild 3158 RMD160 f8b799ff815ebef40ec706a943d472a393120d8e SHA1 56a1915ff2b7e2550c131cc2e647ae7d7b521a0d SHA256 2409657d4096ac4fed54cf404820c14a0676932c324384646a3c5c1a74f17a17
EBUILD gtkada-2.4.0-r2.ebuild 2483 RMD160 7d2b9985ddacf2876038353178b6ae4bb57670c1 SHA1 fc4124fcd1bd583fb97a9c8ec96a5241c2ab50af SHA256 491f8bfff57a88903a296357faf89bb7b0991152c4cae1b7f28f89b1cee04ea9
EBUILD gtkada-2.8.0.ebuild 3103 RMD160 0c433bfd8c9abbde1e0d89f6c04af9f018a5a234 SHA1 3e99818157bd0600d1b440fe9117565af17f54af SHA256 aa05697f566612b3c26c33013d5916eba4512c465279c3b6269fc4fb4125c601
MISC ChangeLog 4516 RMD160 6b26d6019fade1a019d1f03a9fb932cbaa930c85 SHA1 0862b65429b6d010ea29c63d4657348a7883f24c SHA256 952d5e4f67dc335daeb9582c90360a1583f6c7e8c4a600159025ca235e09b1a9
MISC metadata.xml 556 RMD160 87ad2ce5aeff5d74ab9a1ed9c237d4f3194fefe2 SHA1 824fdfe3ec66d5eceadd15155d73467185b8fd68 SHA256 e9da50c22ca8ea4f4d56c81402717d177f569275ab67a765254cb34ef0527469
# 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.10.0.ebuild,v 1.5 2007/12/28 22:40:13 george Exp $
inherit eutils gnat versionator
Name="GtkAda-gpl"
MajorPV=$(get_version_component_range 1-2)
DESCRIPTION="Gtk+ bindings to the Ada language"
HOMEPAGE="https://libre.adacore.com/GtkAda/"
SRC_URI="mirror://gentoo/${Name}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="nls opengl"
DEPEND="virtual/ada
>=x11-libs/cairo-1.2.6
>=dev-libs/glib-2.12.4
>=x11-libs/pango-1.14.9
>=dev-libs/atk-1.12.1
>=x11-libs/gtk+-2.10.9
>=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-${MajorPV}.so.0"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s:-aI\$prefix/include/gtkada:-aI${AdalibSpecsDir}/gtkada:" \
src/tools/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 "s: strip \$(LIBNAME)::" src/Makefile.common.in
}
lib_compile() {
# some profile specific fixes first
sed -i -e "s:\$prefix/lib\(/gtkada\)*:${AdalibLibTop}/$1/gtkada:" \
src/tools/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}"
mv src/lib-obj/* src/*/obj/* src/tools/gtkada-config "${DL}"
rm "${DL}"/*.o
chmod 0444 "${DL}"/*.ali
chmod 0755 "${DL}"/gtkada-config
}
src_install() {
#set up environment
echo "PATH=%DL%" > ${LibEnv}
echo "LDPATH=%DL%" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
gnat_src_install
#specs
cd "${S}"/src
dodir "${AdalibSpecsDir}/${PN}"
insinto "${AdalibSpecsDir}/${PN}"
doins *.ad? glade/*.ad? gnome/*.ad? opengl/*.{ad?,c,h}
#docs
cd "${S}"
dodoc ANNOUNCE AUTHORS README
cp -dPr examples/ testgtk/ "${D}/usr/share/doc/${PF}"
cd "${S}"/docs
doinfo gtkada_ug/gtkada_ug.info
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"
}
# 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.4.0-r2.ebuild,v 1.6 2007/12/28 22:40:13 george Exp $
inherit eutils gnat
Name="GtkAda"
DESCRIPTION="Gtk+ bindings to the Ada language"
HOMEPAGE="https://libre2.adacore.com/GtkAda/"
SRC_URI="mirror://gentoo/${Name}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls opengl"
DEPEND="virtual/ada
>=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() {
unpack ${A}
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
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
# 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() {
#set up environment
echo "PATH=%DL%/bin" > ${LibEnv}
echo "LDPATH=%DL%/adalib" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%/adalib" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=%DL%/adainclude:/usr/lib/ada/adainclude/${PN}" >> ${LibEnv}
gnat_src_install
#specs
cd "${CommonInst}"
dodir "${AdalibSpecsDir}/${PN}"
insinto "${AdalibSpecsDir}/${PN}"
doins "${CommonInst}"/adainclude/*
#docs
cd "${S}"
dodoc ANNOUNCE AUTHORS README
cd "${CommonInst}"
cp -dPr doc/${Name}/* share/${PN}/examples/ "${D}/usr/share/doc/${PF}"
}
# 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.9 2007/12/28 22:40:13 george Exp $
inherit eutils gnat versionator
Name="GtkAda-gpl"
MajorPV=$(get_version_component_range 1-2)
DESCRIPTION="Gtk+ bindings to the Ada language"
HOMEPAGE="https://libre.adacore.com/GtkAda/"
SRC_URI="mirror://gentoo/${Name}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="nls opengl"
DEPEND="virtual/ada
>=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-${MajorPV}.so.0"
src_unpack() {
unpack ${A}
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
find src/ -name Makefile.in -exec sed -i -e "/strip/d" {} \;
}
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=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
gnat_src_install
#specs
cd "${S}"/src
dodir "${AdalibSpecsDir}/${PN}"
insinto "${AdalibSpecsDir}/${PN}"
doins *.ad? glade/*.ad? gnome/*.ad? opengl/*.{ad?,c,h}
#docs
cd "${S}"
dodoc ANNOUNCE AUTHORS README
cp -dPr examples/ testgtk/ "${D}/usr/share/doc/${PF}"
cd "${S}"/docs
doinfo gtkada_ug/gtkada_ug.info
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"
}