Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ada/xmlada
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.27 2008/05/06 11:49:35 george Exp $
06 May 2008; George Shapovalov
xmlada-2.2.0-r1.ebuild:
changed DEPEND for texlive transition
*xmlada-2.2.0-r1 (14 Dec 2007)
14 Dec 2007; George Shapovalov
+xmlada-2.2.0-r1.ebuild:
transitioned xmlada to use unified layout (common bin/ for Ada libs, etc)
25 Sep 2007; George Shapovalov
adjusted ebuild to follow eclass reorg, gnat_src_unpack was factored out
26 Jan 2007; Marius Mauch
xmlada-1.0.ebuild:
Replacing einfo with elog
18 Nov 2006; George Shapovalov
AdaCore does not allow undisturbed download (registration is required), and,
at least once, silently updated the source. Mirrored to avoid trouble
*xmlada-2.2.0 (16 Nov 2006)
16 Nov 2006; George Shapovalov
new version (by AdaCore)
13 Nov 2006; George Shapovalov
-xmlada-1.0-r2.ebuild, -xmlada-1.0-r3.ebuild, xmlada-1.0-r4.ebuild:
removed pkg_postinst (in the eclass for a while) and pulled intermediate
(broken) -r's
12 Jun 2006; George Shapovalov
added LDPATH as per discussion in #111340
05 Jun 2006; George Shapovalov
removed LD_RUN_PATH as it is not to be used (#111340)
*xmlada-1.0-r4 (02 Jun 2006)
02 Jun 2006; George Shapovalov
added LD_RUN_PATH to generated config
*xmlada-1.0-r3 (25 May 2006)
25 May 2006; George Shapovalov
fixed env settings (#111340). Thanks to Max Reznik for spotting the problem
*xmlada-1.0-r2 (16 May 2006)
16 May 2006; George Shapovalov
fixed broken Makefile logic (#111340) - shared libs are now installed under proper
names and symlinked as they should. Revbump, as this is affects the result.
*xmlada-1.0-r1 (15 May 2006)
15 May 2006; George Shapovalov
updated xmlada to use new gnat.eclass, including support for new split gnat
compilers..
13 May 2006; George Shapovalov
xmlada-1.0.ebuild:
removed inherit gnat until adapted for new eclass
01 May 2005; Michael Hanselmann
xmlada-0.7.1-r2.ebuild:
Stable on ppc.
29 Jun 2004; Aron Griffis
xmlada-1.0.ebuild:
add sed-4 dep
*xmlada-1.0 (16 Nov 2003)
16 Nov 2003; David Holm
New version of XmlAda.
28 Oct 2003; David Holm
Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH.
06 Oct 2003; David Holm
xmlada-0.7.1-r2.ebuild, xmlada-0.7.1.ebuild:
Moved to stable on x86.
18 Sep 2003; David Holm
Added to ~ppc.
18 Aug 2003; David Holm
Added metadata.xml.
*xmlada-0.7.1-r2 (13 Aug 2003)
13 Aug 2003; David Holm
A small update, this version symlinks the shared libraries into /usr/lib so
that applications using the library will be able to find it. This closes my
own bug #26207.
23 Jul 2003; George Shapovalov
few adjustments suggested in #12081 to make it GNAE compliant, now for real
*xmlada-0.7.1-r1 (22 Nov 2002)
22 Jul 2003; George Shapovalov
made few changes to where the library gets installed, to bring it into
compliance with GNAE.
*xmlada-0.7.1 (20 Nov 2002)
21 Jul 2003; George Shapovalov
cleaned-up and added to the tree (#12081)
"This new library provides Ada95 XML support."
20 Nov 2002; Alexis Muller
First realase of XmlAda ebuild and ChangeLog.
Patch to upgrade the stack size from 64 elements to 128.
DIST XmlAda-1.0.tgz 322079 RMD160 08e23274cab3786527dccbd18c7ae891e37240ba SHA1 4762bcc1abf9d12f74be123c156fdb8929110b69 SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917
DIST xmlada-2.2.0.tar.bz2 591666 RMD160 835c44aca5810a1ebab1840df7fc929012b87ed1 SHA1 1750076fce7dd61e954e15f20e1ee2c8032c4a6d SHA256 3935a1a158a120bb53d5417a518b7283b5d97f478cf3af0f5e02222ae3b5c7b4
EBUILD xmlada-1.0-r4.ebuild 2746 RMD160 a2dfc6a3ef759f8322b5ef3cc153e7878f5a065d SHA1 fdc0b98379d12d74c346708c9ccf8fc50e2708a3 SHA256 6c5a0c80792cf2b33bde4b6ea7aa225925f23c8215611bd456d6e04b0b036406
EBUILD xmlada-2.2.0-r1.ebuild 2624 RMD160 d5dd1986ed753f99b2f5574da81f0660d30187b9 SHA1 d9424e1b64a3aeef3b3d5e7dd131101dbd2e3a0f SHA256 7c8c25ea44d247c34af4c59aeed857c4e87e51cb6b4304d7ee0bc90cfa705429
EBUILD xmlada-2.2.0.ebuild 1900 RMD160 2b47c278ce848d35668b0fb750111328c29ebcdb SHA1 479631c3af3a4cbfd4a65940205eb2a9d03c3e15 SHA256 1372dc924a5ff37ff189200826973819e77011ae3577306506255090bd79818a
MISC ChangeLog 4421 RMD160 abe27a3a2a353faec0cd0d00b4fe7ae58280303e SHA1 4e94e1f254f2305777fd16c9b3915d9f99828c58 SHA256 b9908efc1b6d63f5ed17156b0bb840501b31d6edaddc275abe395b36e333bbeb
MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-1.0-r4.ebuild,v 1.8 2008/01/27 00:23:29 george Exp $
inherit gnat versionator
IUSE=""
Name="XmlAda"
DESCRIPTION="XML library for Ada"
HOMEPAGE="http://libre2.adacore.com/xmlada/"
SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="virtual/gnat
>=sys-apps/sed-4"
RDEPEND=""
src_unpack()
{
unpack ${A}
cd "${S}"
#making .dvi docs is problemmatic. Skip that for now
sed -i -e "s/all: obj test docs/all: obj test/" Makefile.in
#increase stack size
cd sax
sed -i -e "s/Stack_Size : constant Natural := 64;/Stack_Size : constant Natural := 128;/" sax-readers.adb
}
lib_compile()
{
# for some reason shared libs are assigned version numbers from some
# pre-release (possibly when upstream stopped to care about them?)
local MAJOR=$(get_major_version)
local MINOR=$(get_version_component_range 2-)
# force building shared libs and fix broken shared lib versioning
sed -i -e "s:BUILD_SHARED=FALSE:BUILD_SHARED=TRUE:" \
-e "s:libxmlada_\${@\:%_install=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
-e "s:libxmlada_\${@\:%_inst=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
-e "s:FPIC=:FPIC=-fPIC:" Makefile.in
export CFLAGS=$ADACFLAGS
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared \
--host=${CHOST} \
--build=${CHOST} \
--target=${CHOST} \
--with-system-zlib || die
export COMPILER=gnatmake
make || die "make failed"
}
# here we need to use the $1 - passed gnat profile name
lib_install() {
make PREFIX="${DL}" install || die "install failed"
# fix xmlada-config hardsets locations
sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \
-e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}:g" \
"${DL}"/bin/xmlada-config
# now move stuff to proper location and delete extras
mv "${DL}"/bin/xmlada-config "${DL}"/lib/* "${DL}"/include/${PN}/*.ali "${DL}"
rm -rf "${DL}"/bin "${DL}"/include "${DL}"/lib
}
src_install ()
{
cd "${S}"
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad?
#set up environment
echo "PATH=%DL%" > ${LibEnv}
echo "LDPATH=%DL%" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}
gnat_src_install
dodoc AUTHORS README docs/xml.ps
dohtml docs/*.html
doinfo docs/*.info
#need to give a proper name to the info file
cd "${D}"/usr/share/info
mv xml.info.gz ${PN}.info.gz
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild,v 1.5 2008/05/06 11:49:35 george Exp $
inherit gnat versionator
IUSE=""
DESCRIPTION="XML library for Ada"
HOMEPAGE="http://libre.adacore.com/xmlada/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="virtual/ada
virtual/latex-base
sys-apps/texinfo
>=sys-apps/sed-4"
RDEPEND=""
src_unpack()
{
unpack ${A}
cd "${S}"
# adjusting profile independent stuff in project files
# for fn in distrib/*/xmlada*.gpr; do
# sed -i -e "s:../../include/xmlada:${AdalibSpecsDir}/${PN}:" ${fn}
# done
sed -i -e "s:\.\./\.\./include/xmlada:${AdalibSpecsDir}/${PN}:" \
distrib/*/xmlada*.gpr || die "failed to adjust project files"
# fix profile independent stuff in xmlada-config
sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \
xmlada-config.in || die "failed to adjust xmlada-config"
# doinfo changed from gzipping stuff to bzipping, so we better rename the
# file before calling it to guard against other possible changes
mv docs/xml.info docs/${PN}.info
}
lib_compile()
{
econf
emake
}
# NOTE: we are using $1 - the passed gnat profile name
lib_install() {
make PREFIX="${DL}" install || die "install failed"
pushd "${DL}"
# fix xmlada-config hardsets locations and move it to proper location
sed -i -e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}:" \
-e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}:g" \
bin/xmlada-config
mv bin/xmlada-config "${DLbin}"
# sed and organize gpr files
sed -i -e "s:\.\./xmlada:${AdalibLibTop}/$1/${PN}:" "${DL}"/lib/gnat/*.gpr
mv lib/gnat/* "${DLgpr}"
# the library and *.ali
mv lib/${PN}/* .
rm -rf bin include share lib
# fix the .so links
rm *.so
for fn in *.so.* ; do
ln -s ${fn} ${fn%so*}so
done
popd
}
src_install ()
{
cd "${S}"
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? schema/*.ad?
#set up environment
echo "PATH=%DLbin%" > ${LibEnv}
echo "LDPATH=%DL%" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
echo "ADA_PROJECT_PATH=%DLgpr%" >> ${LibEnv}
gnat_src_install
dodoc AUTHORS README TODO features
dohtml docs/*.html
doinfo docs/*.info
insinto /usr/share/doc/${PF}
doins docs/*.pdf distrib/xmlada_gps.py
dodir /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins -r docs/{dom,sax,schema}
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-2.2.0.ebuild,v 1.9 2008/05/06 11:49:35 george Exp $
inherit gnat versionator
IUSE=""
DESCRIPTION="XML library for Ada"
HOMEPAGE="http://libre.adacore.com/xmlada/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="virtual/ada
virtual/latex-base
sys-apps/texinfo
>=sys-apps/sed-4"
RDEPEND=""
lib_compile()
{
econf || die "econf failed"
emake || die "make failed"
}
# NOTE: we are using $1 - the passed gnat profile name
lib_install() {
make PREFIX="${DL}" install || die "install failed"
# fix xmlada-config hardsets locations
sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \
-e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}/lib:" \
-e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}/lib:g" \
"${DL}"/bin/xmlada-config
# now move stuff to proper location and delete extras
# mv "${DL}"/bin/xmlada-config "${DL}"/lib/* "${DL}"/include/${PN}/*.ali "${DL}"
rm -rf "${DL}"/include "${DL}"/share
}
src_install ()
{
cd "${S}"
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? schema/*.ad?
#set up environment
echo "PATH=%DL%/bin" > ${LibEnv}
echo "LDPATH=%DL%/lib" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%/lib" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}
gnat_src_install
dodoc AUTHORS README TODO features
dohtml docs/*.html
doinfo docs/*.info
# give a proper name to the info file
mv "${D}"/usr/share/info/xml.info.gz "${D}"/usr/share/info/${PN}.info.gz
insinto /usr/share/doc/${PF}
doins docs/*.pdf distrib/xmlada_gps.py
dodir /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins -r docs/{dom,sax,schema}
}