summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-04-25 07:55:03 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-04-25 07:55:03 +0000
commitabf55bd2d8de2c6ed2dbf2bb4a6723f0ab4beb50 (patch)
tree878097ac2f2336269677e2f411049ced8d453d70 /gnome-base/libglade
parentslotted version (diff)
downloadgentoo-2-abf55bd2d8de2c6ed2dbf2bb4a6723f0ab4beb50.tar.gz
gentoo-2-abf55bd2d8de2c6ed2dbf2bb4a6723f0ab4beb50.tar.bz2
gentoo-2-abf55bd2d8de2c6ed2dbf2bb4a6723f0ab4beb50.zip
Adding a masked out libglade to go along with pygtk2 and other cute things
Diffstat (limited to 'gnome-base/libglade')
-rw-r--r--gnome-base/libglade/files/Makefile.in-0.patch11
-rw-r--r--gnome-base/libglade/files/digest-libglade-1.99.10-r11
-rw-r--r--gnome-base/libglade/libglade-1.99.10-r1.ebuild71
3 files changed, 83 insertions, 0 deletions
diff --git a/gnome-base/libglade/files/Makefile.in-0.patch b/gnome-base/libglade/files/Makefile.in-0.patch
new file mode 100644
index 000000000000..dda32908395d
--- /dev/null
+++ b/gnome-base/libglade/files/Makefile.in-0.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.old Sat Mar 2 08:18:24 2002
++++ Makefile.in Sat Mar 2 08:18:44 2002
+@@ -603,7 +603,7 @@
+
+
+ install-data-local:
+- -xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" $(xmldir)/glade-2.0.dtd $(XMLCATALOG)
++# -xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" $(xmldir)/glade-2.0.dtd $(XMLCATALOG)
+ uninstall-local:
+ -xmlcatalog --noout --del $(xmldir)/glade-2.0.dtd $(XMLCATALOG)
+
diff --git a/gnome-base/libglade/files/digest-libglade-1.99.10-r1 b/gnome-base/libglade/files/digest-libglade-1.99.10-r1
new file mode 100644
index 000000000000..2bed7ef47262
--- /dev/null
+++ b/gnome-base/libglade/files/digest-libglade-1.99.10-r1
@@ -0,0 +1 @@
+MD5 b226ee9bb83a285be1f6beccb3f2a904 libglade-1.99.10.tar.bz2 262968
diff --git a/gnome-base/libglade/libglade-1.99.10-r1.ebuild b/gnome-base/libglade/libglade-1.99.10-r1.ebuild
new file mode 100644
index 000000000000..337749e9830b
--- /dev/null
+++ b/gnome-base/libglade/libglade-1.99.10-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Spider <spider@gentoo.org>
+# /space/gentoo/cvsroot/gentoo-x86/dev-libs/glib/glib-1.3.14.ebuild,v 1.1 2002/02/20 22:11:06 gbevin Exp
+
+# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
+DEBUG="yes"
+RESTRICT="nostrip"
+# force debug information
+CFLAGS="${CFLAGS} -g"
+CXXFLAGS="${CXXFLAGS} -g"
+
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GLADE is a interface builder"
+SRC_URI="http://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/libglade/${P}.tar.bz2"
+HOMEPAGE="http://www.gnome.org/"
+SLOT="2.0"
+DEPEND=">=dev-util/pkgconfig-0.12.0
+ >=dev-libs/glib-2.0.0
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/atk-1.0.0
+ >=dev-libs/expat-1.95.1-r1
+ >=dev-lang/python-2.0-r7
+ >=sys-devel/gettext-0.10.40
+ >=dev-libs/libxml2-2.4.17"
+
+src_compile() {
+ local myconf
+ patch -p0 < ${FILESDIR}/Makefile.in-0.patch
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --enable-debug=yes || die
+
+ emake || die
+}
+
+src_install() {
+ dodir /etc/xml
+ make \
+ prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ infodir=${D}/usr/share/info \
+ mandir=${D}/usr/share/man \
+ install || die
+
+ dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
+
+}
+
+
+pkg_postinst() {
+ echo ">>> Updating XML catalog"
+ /usr/bin/xmlcatalog --noout --add "system" \
+ "http://glade.gnome.org/glade-2.0.dtd" \
+ /usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
+}
+pkg_postrm() {
+ echo ">>> removing entries from the XML catalog"
+ /usr/bin/xmlcatalog --noout --del \
+ /usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
+}
+
+
+
+
+
+