summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-04-22 13:37:27 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-04-22 13:37:27 +0000
commitc15fb384622b848dadf293f792b0536b9e7c78f4 (patch)
treea6669ec1f472c7ce3c191ed373e83741a6aef823
parentadded gnomedb support (diff)
downloadgentoo-2-c15fb384622b848dadf293f792b0536b9e7c78f4.tar.gz
gentoo-2-c15fb384622b848dadf293f792b0536b9e7c78f4.tar.bz2
gentoo-2-c15fb384622b848dadf293f792b0536b9e7c78f4.zip
added gnomedb support
-rw-r--r--dev-util/glade/ChangeLog8
-rw-r--r--dev-util/glade/Manifest5
-rw-r--r--dev-util/glade/files/digest-glade-2.0.0-r11
-rw-r--r--dev-util/glade/files/glade-2.0.0-scrollkeeper.patch12
-rw-r--r--dev-util/glade/glade-2.0.0-r1.ebuild68
5 files changed, 91 insertions, 3 deletions
diff --git a/dev-util/glade/ChangeLog b/dev-util/glade/ChangeLog
index 6372c748d828..3a7503266365 100644
--- a/dev-util/glade/ChangeLog
+++ b/dev-util/glade/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/glade
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/ChangeLog,v 1.15 2003/04/12 18:06:03 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/ChangeLog,v 1.16 2003/04/22 13:37:19 liquidx Exp $
+
+*glade-2.0.0-r1 (22 Apr 2003)
+
+ 22 Apr 2003; Alastair Tse <liquidx@gentoo.org> glade-2.0.0-r1.ebuild,
+ files/glade-2.0.0-scrollkeeper.patch:
+ added optional gnomedb support (#18724). cleaned up scrollkeeper files.
*glade-2.0.0 (12 Apr 2003)
diff --git a/dev-util/glade/Manifest b/dev-util/glade/Manifest
index 8f848240808b..1946a0756a2c 100644
--- a/dev-util/glade/Manifest
+++ b/dev-util/glade/Manifest
@@ -1,8 +1,9 @@
-MD5 6a581bdc13ecb45c4b5752fb10bb8eaa ChangeLog 2264
+MD5 86d8dbbbab97ed7bbe2df1faa05796e1 ChangeLog 2484
MD5 15d05330bfbbd63256ef4ce2676f48a4 glade-0.6.4.ebuild 1195
MD5 53dba78409a8222cf6b4a69d74290e6b glade-2.0.0.ebuild 1046
-MD5 5f823b7c05a703521ed6b724067f2608 glade-2.0.0-r1.ebuild 1151
+MD5 e84c6de776250f6096ede6c6f7a1ae36 glade-2.0.0-r1.ebuild 1679
MD5 b947cc014b4212b215eaaa95590ef136 files/digest-glade-0.6.4 64
MD5 50067e4babaab978522bedc50c41258c files/digest-glade-2.0.0 65
MD5 50067e4babaab978522bedc50c41258c files/digest-glade-2.0.0-r1 65
MD5 2dded5c0f37d35bf9726e4c0d8cd76f9 files/glade-0.6.4-autogen.sh.patch 1935
+MD5 5a2537a4609ee178e84e4e7472ee93a6 files/glade-2.0.0-scrollkeeper.patch 490
diff --git a/dev-util/glade/files/digest-glade-2.0.0-r1 b/dev-util/glade/files/digest-glade-2.0.0-r1
new file mode 100644
index 000000000000..b70f5107867c
--- /dev/null
+++ b/dev-util/glade/files/digest-glade-2.0.0-r1
@@ -0,0 +1 @@
+MD5 16b685dca1064a950d9f506b669cf859 glade-2.0.0.tar.bz2 1723210
diff --git a/dev-util/glade/files/glade-2.0.0-scrollkeeper.patch b/dev-util/glade/files/glade-2.0.0-scrollkeeper.patch
new file mode 100644
index 000000000000..ce439ebfa217
--- /dev/null
+++ b/dev-util/glade/files/glade-2.0.0-scrollkeeper.patch
@@ -0,0 +1,12 @@
+--- glade-2.0.0/omf-install/Makefile.in 2003-04-11 14:12:35.000000000 +0100
++++ glade-2.0.0/omf-install/Makefile.in.new 2003-04-22 13:14:02.000000000 +0100
+@@ -238,7 +238,8 @@
+ -for file in $(srcdir)/*.omf; do \
+ $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
+ done
+- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
++ -scrollkeeper-update -p $(scrollkeeper_localstate_dir) \
++ -o $(DESTDIR)$(omf_dest_dir)
+
+ uninstall-local:
+ -for file in $(srcdir)/*.omf; do \
diff --git a/dev-util/glade/glade-2.0.0-r1.ebuild b/dev-util/glade/glade-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..d8f5b4fb6c33
--- /dev/null
+++ b/dev-util/glade/glade-2.0.0-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-2.0.0-r1.ebuild,v 1.1 2003/04/22 13:37:19 liquidx Exp $
+
+inherit gnome.org
+
+IUSE="gnome gnomedb"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Glade is a GUI Builder. This release is for GTK+ 2 and GNOME 2."
+HOMEPAGE="http://glade.gnome.org/"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND="=x11-libs/gtk+-2*
+ >=dev-libs/libxml2-2.4.1
+ gnome? ( >=gnome-base/libgnomeui-2.0.0
+ >=gnome-base/libgnomecanvas-2.0.0
+ >=gnome-base/libbonoboui-2.0.0 )
+ gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
+
+RDEPEND="${DEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.11
+ >=app-text/scrollkeeper-0.2"
+
+src_unpack() {
+ unpack ${A}
+ # this patch fixes potential potential issues
+ # with scrollkeeper. speeds up unnecessary scroll generation
+ epatch ${FILESDIR}/${P}-scrollkeeper.patch
+}
+
+src_compile() {
+ local myconf=""
+
+ use gnome \
+ && myconf="--enable-gnome" \
+ || myconf="--disable-gnome"
+
+ # note: ./configure --help and configure.in lists
+ # --disable-gnomedb, whereas the code looks for --disable-gnome-db
+
+ use gnomedb \
+ && myconf="${myconf} --enable-gnome-db" \
+ || myconf="${myconf} --disable-gnome-db"
+
+ econf ${myconf}
+
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ dodir /var/lib/scrollkeeper
+ einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper"
+
+ # regenerate these at pkg_postinst
+ rm -rf ${D}/var/lib/scrollkeeper
+
+ dodoc AUTHORS COPYING* FAQ NEWS README* TODO
+}
+
+pkg_postinst() {
+ echo ">>> Updating Scrollkeeper"
+ scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper
+}