[arch-commits] CVS update of extra/office/scrollkeeper (3 files)

Jan de Groot jgc at archlinux.org
Sat Oct 13 21:28:00 UTC 2007


    Date: Saturday, October 13, 2007 @ 17:28:00
  Author: jgc
    Path: /home/cvs-extra/extra/office/scrollkeeper

 Removed: PKGBUILD (1.16) scrollkeeper-arrayboundingchecks.patch (1.1)
          scrollkeeper.install (1.4)

Remove, obsoleted by rarian


----------------------------------------+
 PKGBUILD                               |   28 -------------------------
 scrollkeeper-arrayboundingchecks.patch |   34 -------------------------------
 scrollkeeper.install                   |   28 -------------------------
 3 files changed, 90 deletions(-)


Index: extra/office/scrollkeeper/PKGBUILD
diff -u extra/office/scrollkeeper/PKGBUILD:1.16 extra/office/scrollkeeper/PKGBUILD:removed
--- extra/office/scrollkeeper/PKGBUILD:1.16	Sat Aug  5 10:23:20 2006
+++ extra/office/scrollkeeper/PKGBUILD	Sat Oct 13 17:27:59 2007
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD,v 1.16 2006/08/05 14:23:20 jgc Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
-
-pkgname=scrollkeeper
-pkgver=0.3.14
-pkgrel=5
-pkgdesc="A cataloging system for documentation on open systems"
-arch=(i686 x86_64)
-depends=('docbook-xml' 'docbook-xsl' 'libxslt>=1.1.17')
-makedepends=('intltool')
-options=(NOLIBTOOL)
-install=scrollkeeper.install
-source=(http://heanet.dl.sourceforge.net/sourceforge/scrollkeeper/${pkgname}-${pkgver}.tar.gz
-	scrollkeeper-arrayboundingchecks.patch)
-url="http://scrollkeeper.sourceforge.net/"
-md5sums=('161eb3f29e30e7b24f84eb93ac696155')
-
-build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  patch -Np1 -i ${startdir}/src/scrollkeeper-arrayboundingchecks.patch || return 1
-  sed -i -e '/install-data-hook$/d' Makefile.in
-  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
-    --with-omfdirs=/usr/share/omf:/opt/gnome/share/omf \
-    --with-xml-catalog=/etc/xml/catalog
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
-}
Index: extra/office/scrollkeeper/scrollkeeper-arrayboundingchecks.patch
diff -u extra/office/scrollkeeper/scrollkeeper-arrayboundingchecks.patch:1.1 extra/office/scrollkeeper/scrollkeeper-arrayboundingchecks.patch:removed
--- extra/office/scrollkeeper/scrollkeeper-arrayboundingchecks.patch:1.1	Sat Aug  5 10:23:20 2006
+++ extra/office/scrollkeeper/scrollkeeper-arrayboundingchecks.patch	Sat Oct 13 17:27:59 2007
@@ -1,34 +0,0 @@
-diff -Nur scrollkeeper-0.3.14.orig/libs/i18n.c scrollkeeper-0.3.14/libs/i18n.c
---- scrollkeeper-0.3.14.orig/libs/i18n.c	2003-11-10 00:05:36.000000000 +0100
-+++ scrollkeeper-0.3.14/libs/i18n.c	2005-08-26 22:55:13.000000000 +0200
-@@ -206,7 +206,7 @@
- 		count++;
- 	}
- 	
--	tab = (char ***)malloc(sizeof(char **) * count);
-+	tab = (char ***)malloc(sizeof(char **) * (count + 1));
- 	
- 	str = strdup(lang);
- 	check_ptr(str, "");
---- scrollkeeper-0.3.14/libs/install.c.mitr	2004-01-02 23:20:46.000000000 +0100
-+++ scrollkeeper-0.3.14/libs/install.c	2004-01-02 23:21:04.000000000 +0100
-@@ -187,6 +187,7 @@
-         return 0;
-     } else {
-         xmlValidCtxt cvp;
-+	memset (&cvp, 0, sizeof (cvp));
-         cvp.userData = (char *) &outputprefs;
-         cvp.error    = (xmlValidityErrorFunc) sk_dtd_validation_message;
-         cvp.warning  = (xmlValidityWarningFunc) sk_dtd_validation_message;
-diff -Nur scrollkeeper-0.3.14/libs/i18n.c scrollkeeper-0.3.14.new/libs/i18n.c
---- scrollkeeper-0.3.14/libs/i18n.c	2006-01-28 16:05:17.000000000 +0100
-+++ scrollkeeper-0.3.14.new/libs/i18n.c	2006-01-28 16:05:40.000000000 +0100
-@@ -118,7 +118,7 @@
- 		if ((i & ~mask) == 0) {
- 			int length = strlen(language) + strlen(territory) 
- 				+ strlen(codeset) + strlen(modifier);
--			char *var = (char *) malloc(sizeof(char) * length);
-+			char *var = (char *) malloc(sizeof(char) * (length+1));
- 			check_ptr(var, "");
- 
- 			strcpy(var, language);
Index: extra/office/scrollkeeper/scrollkeeper.install
diff -u extra/office/scrollkeeper/scrollkeeper.install:1.4 extra/office/scrollkeeper/scrollkeeper.install:removed
--- extra/office/scrollkeeper/scrollkeeper.install:1.4	Sat Jul 30 15:11:57 2005
+++ extra/office/scrollkeeper/scrollkeeper.install	Sat Oct 13 17:27:59 2007
@@ -1,28 +0,0 @@
-# arg 1:  the new package version
-pre_install() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-post_install() {
-  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
-  scrollkeeper-rebuilddb -q -p var/lib/scrollkeeper
-}
-
-post_upgrade() {
-  grep scrollkeeper-omf.dtd etc/xml/catalog > /dev/null || post_install $1
-}
-
-# arg 1:  the old package version
-post_remove() {
-  rm -rf var/lib/scrollkeeper
-  usr/bin/xmlcatalog --noout --del \
-    "/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" etc/xml/catalog 
-
-}
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list