summaryrefslogtreecommitdiffstats
path: root/gnome-base/libglade
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/libglade')
-rw-r--r--gnome-base/libglade/Manifest3
-rw-r--r--gnome-base/libglade/files/libglade-ds-m4.diff12
-rw-r--r--gnome-base/libglade/libglade-0.17-r7.ebuild66
3 files changed, 81 insertions, 0 deletions
diff --git a/gnome-base/libglade/Manifest b/gnome-base/libglade/Manifest
new file mode 100644
index 0000000..ba76f0c
--- /dev/null
+++ b/gnome-base/libglade/Manifest
@@ -0,0 +1,3 @@
+AUX libglade-ds-m4.diff 511 SHA256 f2831258927b23a914cf1e6c9dad3889838e7575d6be558e772916c69f61521a SHA512 abcf2e134b07691be9b8846f788cc05137aeb273ac335024994795ddeaa838134e09af4da02608cd1a1cde1615f89b2e4fd4ba1dbdeba0b1197dcd1331f01d00 WHIRLPOOL 68ed2e6893535cacbff287f7aa5666d17f5da5b2bfab43cc03b55d2d6d114a452379fa60da445d1672ca546dd8cb06c50e0d10f6736bea1a98e8181702cef8d0
+DIST libglade-0.17.tar.gz 418921 SHA256 d65a4909298e6ac33210f513b50d9ea8e0b201742566a218f31d4f685133a48c SHA512 2ea1ca4cad2323efedd0861eb27df132db7fcedb30c0caacdc9c093f53dc25dde050191e8bc4278b4f446d251b7b2c099e9e5afcb7e1674f871a9337ec180dc2 WHIRLPOOL a91eb231216d4b61ff327ed12a2414e0b0f158dd8174493c85af97e718cbf52ab3e0dae6af3fd444bca5134b2f290cc249f811e2badc0be6798bc58e564b6195
+EBUILD libglade-0.17-r7.ebuild 1690 SHA256 33cd06f694332a76797f4be4bda7474113dc7d2d3a0b945edd2d4535355257bc SHA512 48e83f9c2be52425aa328e60bcc4663d0d94a4124378c7659426da3e1844239196ef3566ac963ec2e94941a155cd7a96014a2d6ccb996f3d792be94aa4c239c9 WHIRLPOOL b0f8113080052ef6f62ed451bb7f05f47abcf251b0c30d982e4a1e3232efdf2f59046a258ec5ff15b79b862eb57075033b96a53a792a637bf735f6a7f0d02a26
diff --git a/gnome-base/libglade/files/libglade-ds-m4.diff b/gnome-base/libglade/files/libglade-ds-m4.diff
new file mode 100644
index 0000000..c611928
--- /dev/null
+++ b/gnome-base/libglade/files/libglade-ds-m4.diff
@@ -0,0 +1,12 @@
+diff -dPNur libglade-0.17/libglade.m4 libglade-0.17-ds/libglade.m4
+--- libglade-0.17/libglade.m4 2001-02-10 12:45:30.000000000 +0100
++++ libglade-0.17-ds/libglade.m4 2013-11-13 08:44:15.691640962 +0100
+@@ -4,7 +4,7 @@
+ dnl AM_PATH_LIBGLADE([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]])
+ dnl Test to see if libglade is installed, and define LIBGLADE_CFLAGS, LIBS
+ dnl
+-AC_DEFUN(AM_PATH_LIBGLADE,
++AC_DEFUN([AM_PATH_LIBGLADE],
+ [dnl
+ dnl Get the cflags and libraries from the libglade-config script
+ dnl
diff --git a/gnome-base/libglade/libglade-0.17-r7.ebuild b/gnome-base/libglade/libglade-0.17-r7.ebuild
new file mode 100644
index 0000000..0f43528
--- /dev/null
+++ b/gnome-base/libglade/libglade-0.17-r7.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libglade/libglade-0.17-r6.ebuild,v 1.31 2006/07/05 05:40:18 vapier Exp $
+
+#provide Xmake and Xemake
+
+#For the sake of virtualx compatibility (DS)
+EAPI=4
+
+inherit libtool virtualx gnome.org multilib
+
+DESCRIPTION="Allow programs to load their UIs from an XML description at runtime."
+HOMEPAGE="http://developer.gnome.org/doc/API/libglade/libglade.html"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/sources/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
+IUSE="nls bonobo"
+
+#please dont add gnome-libs as an optional DEPEND, as
+#it causes too many problems.
+RDEPEND=">=dev-libs/libxml-1.8.15
+ >=gnome-base/gnome-libs-1.4.1.2-r1
+ bonobo? ( >=gnome-base/bonobo-1.0.19-r1 )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.gz || die "unpacking failed"
+ cd ${S}
+ epatch "${FILESDIR}"/${PN}-ds-m4.diff || die
+}
+
+src_compile() {
+ elibtoolize
+
+ local myconf=""
+
+ use bonobo && myconf="${myconf} --enable-bonobo"
+ use bonobo || myconf="${myconf} --disable-bonobo --disable-bonobotest"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-gnomedb \
+ ${myconf} || die
+
+ Xemake || die
+}
+
+src_install() {
+ make prefix="${D}"/usr \
+ libdir="${D}"/usr/$(get_libdir) \
+ sysconfdir="${D}"/etc \
+ localstatedir="${D}"/var/lib \
+ install || die
+
+ dodoc AUTHORS ChangeLog NEWS
+ dodoc doc/*.txt
+}