+++ /dev/null
-MD5 e409953a080e677f78518a61aacced25 GtkAda-2.2.0.tgz 3186068
-RMD160 f481632ec4e01db6427da7219c51bf4b3ffd32e7 GtkAda-2.2.0.tgz 3186068
-SHA256 3fd054f747246612c5cf339c511d6d7ef91ef222d2e1c512dea2d6a019c53aaf GtkAda-2.2.0.tgz 3186068
+++ /dev/null
-MD5 2c22a6de79bfc948a1e2c4a6f73ab5c0 GtkAda-2.2.1.tgz 3183988
-RMD160 5479380e99760fe524abd1f86c83ba460842a3cb GtkAda-2.2.1.tgz 3183988
-SHA256 db8f82089f296ef3d5078434a9241afea24a23ef12664a25aae1223cd854bd82 GtkAda-2.2.1.tgz 3183988
+++ /dev/null
-MD5 2c22a6de79bfc948a1e2c4a6f73ab5c0 GtkAda-2.2.1.tgz 3183988
-RMD160 5479380e99760fe524abd1f86c83ba460842a3cb GtkAda-2.2.1.tgz 3183988
-SHA256 db8f82089f296ef3d5078434a9241afea24a23ef12664a25aae1223cd854bd82 GtkAda-2.2.1.tgz 3183988
+++ /dev/null
-MD5 31232d695ca40c3fb346fb34bc93ed3d GtkAda-2.4.0.tgz 3235169
-RMD160 ca632c4f4d67ac02cd2a872a9c144fdc79956623 GtkAda-2.4.0.tgz 3235169
-SHA256 1c80eaa850eb87101188ea4d5145b7a8093b99ff99466c1f9f17a737828cd43e GtkAda-2.4.0.tgz 3235169
+++ /dev/null
-diff -aur GtkAda-2.2.0.orig/src/gtkada-config.in GtkAda-2.2.0/src/gtkada-config.in
---- GtkAda-2.2.0.orig/src/gtkada-config.in 2002-06-14 10:44:59.000000000 +0200
-+++ GtkAda-2.2.0/src/gtkada-config.in 2003-07-04 13:27:17.000000000 +0200
-@@ -4,8 +4,8 @@
- prefix=@prefix@
-
- gtk_libs="@GTK_LIBS@"
--gtkada_libs="-L$prefix/include/gtkada -L$prefix/lib"
--gtkada_cflags="-I$prefix/include/gtkada"
-+gtkada_libs="-L$prefix/lib/ada/adalib/gtkada -L$prefix/lib"
-+gtkada_cflags="-I$prefix/lib/ada/adainclude/gtkada"
- gtkada_lflags="-lgtkada"
-
- usage()
+++ /dev/null
-diff -Naur GtkAda-2.2.1.orig/src/gtk-extra-combo_box.adb GtkAda-2.2.1/src/gtk-extra-combo_box.adb
---- GtkAda-2.2.1.orig/src/gtk-extra-combo_box.adb 2004-08-02 10:45:17.027334488 +0200
-+++ GtkAda-2.2.1/src/gtk-extra-combo_box.adb 2004-08-02 10:46:14.512595400 +0200
-@@ -66,52 +66,4 @@
- Internal (Get_Object (Combobox));
- end Hide_Popdown_Window;
-
-- ----------------
-- -- Get_Button --
-- ----------------
--
-- function Get_Button (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Button.Gtk_Button
-- is
-- function Internal (Combobox : System.Address)
-- return System.Address;
-- pragma Import (C, Internal, "ada_gtk_combo_box_get_button");
-- Stub : Gtk.Button.Gtk_Button_Record;
-- begin
-- return Gtk.Button.Gtk_Button
-- (Get_User_Data (Internal (Get_Object (Combobox)), Stub));
-- end Get_Button;
--
-- ---------------
-- -- Get_Arrow --
-- ---------------
--
-- function Get_Arrow (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Arrow.Gtk_Arrow
-- is
-- function Internal (Combobox : System.Address)
-- return System.Address;
-- pragma Import (C, Internal, "ada_gtk_combo_box_get_arrow");
-- Stub : Gtk.Arrow.Gtk_Arrow_Record;
-- begin
-- return Gtk.Arrow.Gtk_Arrow
-- (Get_User_Data (Internal (Get_Object (Combobox)), Stub));
-- end Get_Arrow;
--
-- ---------------
-- -- Get_Frame --
-- ---------------
--
-- function Get_Frame (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Frame.Gtk_Frame
-- is
-- function Internal (Combobox : System.Address)
-- return System.Address;
-- pragma Import (C, Internal, "ada_gtk_combo_box_get_frame");
-- Stub : Gtk.Frame.Gtk_Frame_Record;
-- begin
-- return Gtk.Frame.Gtk_Frame
-- (Get_User_Data (Internal (Get_Object (Combobox)), Stub));
-- end Get_Frame;
--
- end Gtk.Extra.Combo_Box;
-diff -Naur GtkAda-2.2.1.orig/src/gtk-extra-combo_box.ads GtkAda-2.2.1/src/gtk-extra-combo_box.ads
---- GtkAda-2.2.1.orig/src/gtk-extra-combo_box.ads 2004-08-02 10:45:17.028334336 +0200
-+++ GtkAda-2.2.1/src/gtk-extra-combo_box.ads 2004-08-02 10:46:40.092706632 +0200
-@@ -62,20 +62,6 @@
- -- Hide the popup window, release the mouse grabs, and restore the
- -- default aspect for the arrow.
-
-- function Get_Button (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Button.Gtk_Button;
-- -- Return the button that shows the value of the combo.
--
-- function Get_Arrow (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Arrow.Gtk_Arrow;
-- -- Return the arrow button.
-- -- The user has to click on it to open the popup window.
--
-- function Get_Frame (Combobox : access Gtk_Combo_Box_Record)
-- return Gtk.Frame.Gtk_Frame;
-- -- The frame displayed in the popup window.
-- -- You should add whatever value the popup window should display in it.
--
- -------------
- -- Signals --
- -------------
-diff -Naur GtkAda-2.2.1.orig/src/gtkada-config.in GtkAda-2.2.1/src/gtkada-config.in
---- GtkAda-2.2.1.orig/src/gtkada-config.in 2004-08-02 10:45:17.503262136 +0200
-+++ GtkAda-2.2.1/src/gtkada-config.in 2004-08-02 10:48:26.000000000 +0200
-@@ -4,8 +4,8 @@
- prefix=@prefix@
-
- gtk_libs="@GTK_LIBS@"
--gtkada_libs="-L$prefix/include/gtkada -L$prefix/lib"
--gtkada_cflags="-I$prefix/include/gtkada"
-+gtkada_libs="-L$prefix/lib/ada/adalib/gtkada -L$prefix/lib"
-+gtkada_cflags="-I$prefix/lib/ada/adainclude/gtkada"
- gtkada_lflags="-lgtkada"
-
- usage()
-diff -Naur GtkAda-2.2.1.orig/src/misc_extra.c GtkAda-2.2.1/src/misc_extra.c
---- GtkAda-2.2.1.orig/src/misc_extra.c 2004-08-02 10:45:17.000000000 +0200
-+++ GtkAda-2.2.1/src/misc_extra.c 2004-08-02 10:45:30.899225640 +0200
-@@ -156,27 +156,6 @@
-
- /********************************************************************
- **
-- ** Gtk_Combo_Box widget
-- **
-- ********************************************************************/
--
--GtkWidget*
--ada_gtk_combo_box_get_button (GtkComboBox* combo) {
-- return combo->button;
--}
--
--GtkWidget*
--ada_gtk_combo_box_get_arrow (GtkComboBox* combo) {
-- return combo->arrow;
--}
--
--GtkWidget*
--ada_gtk_combo_box_get_frame (GtkComboBox* combo) {
-- return combo->frame;
--}
--
--/********************************************************************
-- **
- ** Gtk_Color_Combo widget
- **
- ********************************************************************/
-diff -Naur GtkAda-2.2.1.orig/testgtk/create_sheet.adb GtkAda-2.2.1/testgtk/create_sheet.adb
---- GtkAda-2.2.1.orig/testgtk/create_sheet.adb 2004-08-02 10:45:17.634242224 +0200
-+++ GtkAda-2.2.1/testgtk/create_sheet.adb 2004-08-02 11:29:58.335713656 +0200
-@@ -1362,7 +1362,6 @@
-
- Gtk_New (Border_Combo);
- Append_Widget (Toolbar, Border_Combo, "border", "border");
-- Set_Usize (Get_Button (Border_Combo), 32, 32);
- Widget_Handler.Connect
- (Border_Combo, "changed",
- Widget_Handler.To_Marshaller (Change_Border'Access));
-@@ -1478,7 +1477,6 @@
- Gdk.Color.Null_Color,
- Paint);
- Gtk_New (Bg_Pixmap, Pixmap, Mask);
-- Add (Get_Button (Bg_Color_Combo), Bg_Pixmap);
-
- Create_From_Xpm_D (Pixmap,
- Gdk.Window.Null_Window,
-@@ -1487,7 +1485,6 @@
- Gdk.Color.Null_Color,
- Font);
- Gtk_New (Fg_Pixmap, Pixmap, Mask);
-- Add (Get_Button (Fg_Color_Combo), Fg_Pixmap);
-
- Show_All (Frame);
- end Run;
+++ /dev/null
-# 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.2.0-r1.ebuild,v 1.12 2007/01/25 23:55:40 genone Exp $
-
-inherit eutils
-
-Name="GtkAda"
-DESCRIPTION="Gtk+ bindings to the Ada language"
-HOMEPAGE="http://libre.act-europe.fr/GtkAda"
-SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
-
-LICENSE="GMGPL"
-SLOT="1"
-KEYWORDS="x86 ~ppc"
-IUSE="nls opengl"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=x11-libs/gtk+-2.2.0
- >=sys-apps/sed-4"
-RDEPEND=""
-
-S="${WORKDIR}/${Name}-${PV}"
-
-src_unpack() {
- unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
-}
-
-src_compile() {
- local myconf
- myconf=""
-
- use nls || myconf="${myconf} --disable-nls"
- use opengl && myconf="${myconf} --with-GL=auto"
-
- sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
- src/gtkada-config.in
- sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
- src/gtkada-config.in
-
- econf ${myconf} || die "./configure failed"
-
- make GNATFLAGS="${ADACFLAGS}" || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- incdir=${D}/usr/lib/ada/adainclude/gtkada \
- libdir=${D}/usr/lib/ada/adalib/gtkada \
- alidir=${D}/usr/lib/ada/adalib/gtkada install \
- || die
-
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.2.so.0 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.2.so.0 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.2.so.0 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.2.so.0 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
-
- #arrange docs properly
- dodoc ANNOUNCE AUTHORS COPYING README
- cd ${D}/usr
- mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
- rm -rf doc/ share/${PN}/
- cd ${S} #in case need to add anything afterwards
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55gtkada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55gtkada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "GtkAda. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
-
+++ /dev/null
-# 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.2.1-r1.ebuild,v 1.6 2007/01/25 23:55:40 genone Exp $
-
-inherit eutils
-
-Name="GtkAda"
-DESCRIPTION="Gtk+ bindings to the Ada language"
-HOMEPAGE="http://libre.act-europe.fr/GtkAda"
-SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
-
-LICENSE="GMGPL"
-SLOT="1"
-KEYWORDS="x86 ~ppc"
-IUSE="nls opengl"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=x11-libs/gtk+-2.2.0
- >=sys-apps/sed-4"
-RDEPEND=""
-
-S="${WORKDIR}/${Name}-${PV}"
-
-src_unpack() {
- unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
-}
-
-src_compile() {
- local myconf
- myconf=""
-
- use nls || myconf="${myconf} --disable-nls"
- use opengl && myconf="${myconf} --with-GL=auto"
-
- sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
- src/gtkada-config.in
- sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
- src/gtkada-config.in
-
- econf ${myconf} || die "./configure failed"
-
- make GNATFLAGS="${ADACFLAGS}" || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- incdir=${D}/usr/lib/ada/adainclude/gtkada \
- libdir=${D}/usr/lib/ada/adalib/gtkada \
- alidir=${D}/usr/lib/ada/adalib/gtkada install \
- || die
-
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
-
- #arrange docs properly
- dodoc ANNOUNCE AUTHORS COPYING README
- cd ${D}/usr
- mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
- rm -rf doc/ share/${PN}/
- cd ${S} #in case need to add anything afterwards
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55gtkada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55gtkada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "GtkAda. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
-
+++ /dev/null
-# 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.2.1.ebuild,v 1.9 2007/01/25 23:55:40 genone Exp $
-
-inherit eutils
-
-Name="GtkAda"
-DESCRIPTION="Gtk+ bindings to the Ada language"
-HOMEPAGE="http://libre.act-europe.fr/GtkAda"
-SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
-
-LICENSE="GMGPL"
-SLOT="1"
-KEYWORDS="x86 ~ppc"
-IUSE="nls opengl"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=x11-libs/gtk+-2.2.0
- >=sys-apps/sed-4"
-RDEPEND=""
-
-S="${WORKDIR}/${Name}-${PV}"
-
-src_unpack() {
- unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${PN}-2.2.0-gentoo.patch
-}
-
-src_compile() {
- local myconf
- myconf=""
-
- use nls || myconf="${myconf} --disable-nls"
- use opengl && myconf="${myconf} --with-GL=auto"
-
- sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
- src/gtkada-config.in
- sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
- src/gtkada-config.in
-
- econf ${myconf} || die "./configure failed"
-
- make GNATFLAGS="${ADACFLAGS}" || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- incdir=${D}/usr/lib/ada/adainclude/gtkada \
- libdir=${D}/usr/lib/ada/adalib/gtkada \
- alidir=${D}/usr/lib/ada/adalib/gtkada install \
- || die
-
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.2.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
-
- #arrange docs properly
- dodoc ANNOUNCE AUTHORS COPYING README
- cd ${D}/usr
- mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
- rm -rf doc/ share/${PN}/
- cd ${S} #in case need to add anything afterwards
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55gtkada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55gtkada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "GtkAda. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
-
+++ /dev/null
-# 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.ebuild,v 1.5 2007/01/25 23:55:40 genone Exp $
-
-inherit eutils
-
-Name="GtkAda"
-DESCRIPTION="Gtk+ bindings to the Ada language"
-HOMEPAGE="http://libre.act-europe.fr/GtkAda"
-SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
-
-LICENSE="GMGPL"
-SLOT="1"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="nls opengl"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=x11-libs/gtk+-2.2.0
- >=sys-apps/sed-4"
-RDEPEND=""
-
-S="${WORKDIR}/${Name}-${PV}"
-
-src_compile() {
- local myconf
- myconf=""
-
- use nls || myconf="${myconf} --disable-nls"
- use opengl && myconf="${myconf} --with-GL=auto"
-
- sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
- src/gtkada-config.in
- sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
- src/gtkada-config.in
-
- # Avoid compilation problems during upgrades/reinstalls:
- unset ADA_INCLUDE_PATH
- unset ADA_OBJECTS_PATH
-
- econf ${myconf} || die "./configure failed"
-
- make GNATFLAGS="${ADACFLAGS}" || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- incdir=${D}/usr/lib/ada/adainclude/gtkada \
- libdir=${D}/usr/lib/ada/adalib/gtkada \
- alidir=${D}/usr/lib/ada/adalib/gtkada install \
- || die
-
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.4.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.4.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.4.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.4.so.1 /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
- dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
-
- #arrange docs properly
- dodoc ANNOUNCE AUTHORS COPYING README
- cd ${D}/usr
- mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
- rm -rf doc/ share/${PN}/
- cd ${S} #in case need to add anything afterwards
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55gtkada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55gtkada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "GtkAda. In order to immediately activate these settings please do:"
- elog " env-update && source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
+++ /dev/null
-MD5 385631115aa6546aaf6790e0ad59e399 XmlAda-0.7.1.tgz 312248
-RMD160 75c1186a2209b29399c85c832f04b1f365ec2256 XmlAda-0.7.1.tgz 312248
-SHA256 18370ed6f1c728b5b6014fb3e08823dce1fb7af86d07544134e6e8448b117237 XmlAda-0.7.1.tgz 312248
+++ /dev/null
-MD5 1f7a2b701dfe82ff09407e6a18540b77 XmlAda-1.0.tgz 322079
-RMD160 08e23274cab3786527dccbd18c7ae891e37240ba XmlAda-1.0.tgz 322079
-SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917 XmlAda-1.0.tgz 322079
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild,v 1.10 2007/01/25 23:57:42 genone Exp $
-
-IUSE=""
-
-Name="XmlAda"
-
-DESCRIPTION="XML library for Ada"
-HOMEPAGE="http://libre.act-europe.fr/xmlada/"
-SRC_URI="http://libre.act-europe.fr/xmlada/${Name}-${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=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
-
- #adjust xmlada-config to use new paths instead of hardcoded ones.
- cd ${S}
- sed -i -e "s#${prefix}/lib#${prefix}/lib/ada/adalib/xmlada#" xmlada-config.in
- sed -i -e "s#${prefix}/include/xmlada#${prefix}/lib/ada/adainclude/xmlada#" xmlada-config.in
-}
-
-src_compile()
-{
- 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"
-}
-
-src_install ()
-{
- make PREFIX=${D}/usr install || die "install failed"
-
- #move components to GNAE compliant directories
- dodir /usr/lib/ada/adalib/${PN} /usr/lib/ada/adainclude/${PN}
- cd ${D}/usr/lib/
- mv * ${D}/usr/lib/ada/adalib/${PN}/
- cd ${D}/usr/include/${PN}/
- mv *.ali ${D}/usr/lib/ada/adalib/${PN}
- mv * ${D}/usr/lib/ada/adainclude/${PN}
- cd .. && rmdir ${PN}
- cd .. && rmdir include
- cd ${S}
-
- dodoc AUTHORS COPYING README TODO docs/xml.ps
- dohtml docs/*.html
- doinfo docs/*.info
- #need to give a proper name to info file
- cd ${D}/usr/share/info
- mv xml.info.gz ${PN}.info.gz
-
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_dom.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_input_sources.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_sax.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_unicode.so /usr/lib
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55xmlada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55xmlada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "XmlAda. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-1.0.ebuild,v 1.6 2007/01/25 23:57:42 genone Exp $
-
-IUSE=""
-
-Name="XmlAda"
-
-DESCRIPTION="XML library for Ada"
-HOMEPAGE="http://libre.act-europe.fr/xmlada/"
-SRC_URI="http://libre.act-europe.fr/xmlada/${Name}-${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-
-DEPEND=">=dev-lang/gnat-3.14p
- >=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
-
- #adjust xmlada-config to use new paths instead of hardcoded ones.
- cd ${S}
- sed -i -e "s#${prefix}/lib#${prefix}/lib/ada/adalib/xmlada#" xmlada-config.in
- sed -i -e "s#${prefix}/include/xmlada#${prefix}/lib/ada/adainclude/xmlada#" xmlada-config.in
-}
-
-src_compile()
-{
- 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"
-}
-
-src_install ()
-{
- make PREFIX=${D}/usr install || die "install failed"
-
- #move components to GNAE compliant directories
- dodir /usr/lib/ada/adalib/${PN} /usr/lib/ada/adainclude/${PN}
- cd ${D}/usr/lib/
- mv * ${D}/usr/lib/ada/adalib/${PN}/
- cd ${D}/usr/include/${PN}/
- mv *.ali ${D}/usr/lib/ada/adalib/${PN}
- mv * ${D}/usr/lib/ada/adainclude/${PN}
- cd .. && rmdir ${PN}
- cd .. && rmdir include
- cd ${S}
-
- dodoc AUTHORS COPYING README docs/xml.ps
- dohtml docs/*.html
- doinfo docs/*.info
- #need to give a proper name to info file
- cd ${D}/usr/share/info
- mv xml.info.gz ${PN}.info.gz
-
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_dom.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_input_sources.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_sax.so /usr/lib
- dosym /usr/lib/ada/adalib/xmlada/libxmlada_unicode.so /usr/lib
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55xmlada
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55xmlada
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "XmlAda. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}