summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-06-01 17:54:11 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-06-01 17:54:11 +0000
commit0e307f6abc2b19f94e58c25dc59d7200ce7ac579 (patch)
treef8a5914cf685069c9c34b83d1aec17fd141fcac4 /app-text
parentnew version (diff)
downloadgentoo-2-0e307f6abc2b19f94e58c25dc59d7200ce7ac579.tar.gz
gentoo-2-0e307f6abc2b19f94e58c25dc59d7200ce7ac579.tar.bz2
gentoo-2-0e307f6abc2b19f94e58c25dc59d7200ce7ac579.zip
new version that has paths in scrollkeeper commands.. not sure if it helps
Diffstat (limited to 'app-text')
-rw-r--r--app-text/scrollkeeper/ChangeLog8
-rw-r--r--app-text/scrollkeeper/files/digest-scrollkeeper-0.3.8-r21
-rw-r--r--app-text/scrollkeeper/files/scrollkeeper-0.3.8-r2.diff21
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.3.8-r2.ebuild78
4 files changed, 107 insertions, 1 deletions
diff --git a/app-text/scrollkeeper/ChangeLog b/app-text/scrollkeeper/ChangeLog
index fc06195f828e..a700becbb361 100644
--- a/app-text/scrollkeeper/ChangeLog
+++ b/app-text/scrollkeeper/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for app-text/scrollkeeper
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.4 2002/05/31 14:53:04 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.5 2002/06/01 17:54:11 spider Exp $
+
+
+*scrollkeeper-0.3.8-r2 (1 Jun 2002)
+ 1 Jun 2002; Spider <spider@gentoo.org> scrollkeeper-0.3.8-r2.ebuild :
+ ebuild update to use /usr/bin/scrollkeeper* instead of "scrollkeeper-*" for paths
+
*scrollkeeper-0.3.8-r1 (31 May 2002)
31 May 2002; Spider <spider@gentoo.org> scrollkeeper-0.3.8-r1.ebuild :
updated with a patch for gcc 3.1 at ia32
diff --git a/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.8-r2 b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.8-r2
new file mode 100644
index 000000000000..c720f2af6958
--- /dev/null
+++ b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.8-r2
@@ -0,0 +1 @@
+MD5 94df8c1031e314365e19cf9a7b30542e scrollkeeper-0.3.8.tar.gz 414595
diff --git a/app-text/scrollkeeper/files/scrollkeeper-0.3.8-r2.diff b/app-text/scrollkeeper/files/scrollkeeper-0.3.8-r2.diff
new file mode 100644
index 000000000000..76f5755c678a
--- /dev/null
+++ b/app-text/scrollkeeper/files/scrollkeeper-0.3.8-r2.diff
@@ -0,0 +1,21 @@
+--- extract/dtds/Makefile.in.old Wed May 1 15:55:59 2002
++++ extract/dtds/Makefile.in Wed May 1 15:56:07 2002
+@@ -222,7 +222,6 @@
+
+ install-data-am: install-dtdsHEADERS
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-data: install-data-am
+
+ install-am: all-am
+--- libs/database.c.old Sat Apr 20 23:14:16 2002
++++ libs/database.c Tue May 14 16:48:45 2002
+@@ -122,7 +122,7 @@
+ closedir(dir);
+
+ if (!empty)
+- return;
++ return 0;
+
+ data_dir = malloc((strlen(scrollkeeper_data_dir)+strlen("/Templates")+1)*
+ sizeof(char));
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.8-r2.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.8-r2.ebuild
new file mode 100644
index 000000000000..5172976180d8
--- /dev/null
+++ b/app-text/scrollkeeper/scrollkeeper-0.3.8-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.8-r2.ebuild,v 1.1 2002/06/01 17:54:11 spider 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="Scrollkeeper"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+http://telia.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+http://unc.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+http://belnet.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://scrollkeeper.sourceforge.net"
+SLOT="0.3"
+LICENSE="FDL-1.1 LGPL-2.1"
+
+
+RDEPEND=">=dev-libs/libxml2-2.4.19
+ >=dev-libs/libxslt-1.0.14
+ >=sys-libs/zlib-1.1.3
+ >=app-text/docbook-xml-dtd-4.1.2-r2
+ >=app-text/docbook-sgml-utils-0.6.6"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.17
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ local myconf
+
+ if [ -z "`use nls`" ] ; then
+ myconf ="--disable-nls"
+ fi
+ # hack around some to make sure we find the libxml2 includes. odd bug.
+ CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml"
+ patch -p0 < ${FILESDIR}/${PF}.diff
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+ cd omf-install
+ cp Makefile Makefile.old
+ sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile
+ rm Makefile.old
+ cd ${S}
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS INSTALL TODO COPYING* ChangeLog README NEWS
+}
+
+pkg_postinst() {
+ echo "installing catalog"
+ /usr/bin/xmlcatalog --noout --add "public" \
+ "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
+ "/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" /etc/xml/catalog
+
+ echo ">>> Rebuilding Scrollkeeper database..."
+ /usr/bin/scrollkeeper-rebuilddb
+ echo ">>> Updating Scrollkeeper database..."
+ /usr/bin/scrollkeeper-update -v
+}
+
+pkg_postrm() {
+ einfo ">>> Scrollkeeper ${PV} unmerged, if you removed the package"
+ einfo "you might want to clean up /var/lib/scrollkeeper."
+}