From d5737c60eef49bb97b2b9862eb17c2eef2474b18 Mon Sep 17 00:00:00 2001 From: marc Date: Sun, 31 Jan 1999 00:42:58 +0000 Subject: [PATCH] remove xpdf because I was an idiot when I imported the newer version, and imported it into a different category. It's easier this way. --- graphics/Makefile | 3 +-- graphics/xpdf/Makefile | 19 ------------- graphics/xpdf/files/md5 | 1 - graphics/xpdf/patches/patch-aa | 49 ---------------------------------- graphics/xpdf/pkg/COMMENT | 1 - graphics/xpdf/pkg/DESCR | 8 ------ graphics/xpdf/pkg/PLIST | 6 ----- 7 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 graphics/xpdf/Makefile delete mode 100644 graphics/xpdf/files/md5 delete mode 100644 graphics/xpdf/patches/patch-aa delete mode 100644 graphics/xpdf/pkg/COMMENT delete mode 100644 graphics/xpdf/pkg/DESCR delete mode 100644 graphics/xpdf/pkg/PLIST diff --git a/graphics/Makefile b/graphics/Makefile index e105bb954bb..abfb9535c37 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 1998/11/19 00:47:17 yanick Exp $ +# $OpenBSD: Makefile,v 1.17 1999/01/31 00:42:58 marc Exp $ # $FreeBSD: Makefile,v 1.55 1997/11/03 12:12:27 tg Exp $ # @@ -67,7 +67,6 @@ # SUBDIR += xmorph # SUBDIR += xmountains SUBDIR += xpaint - SUBDIR += xpdf SUBDIR += xpm SUBDIR += xv diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile deleted file mode 100644 index fa3be694635..00000000000 --- a/graphics/xpdf/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# OpenBSD makefile for: xpdf -# Version required: 0.7a -# Date created: December 2, 1997 -# Whom: angelos@openbsd.org -# -# $OpenBSD: Makefile,v 1.3 1998/05/16 01:46:32 angelos Exp $ -# - -DISTNAME= xpdf-0.7a -CATEGORIES= graphics print -MASTER_SITES= ftp://ftp.aimnet.com/pub/users/derekn/xpdf/ - -MAINTAINER= angelos@openbsd.org - -GNU_CONFIGURE= yes -USE_X11= yes -MAN1= xpdf.1 pdftops.1 pdftotext.1 - -.include diff --git a/graphics/xpdf/files/md5 b/graphics/xpdf/files/md5 deleted file mode 100644 index 13858a25004..00000000000 --- a/graphics/xpdf/files/md5 +++ /dev/null @@ -1 +0,0 @@ -MD5 (xpdf-0.7a.tar.gz) = 3b6ed5783d1f7c53a3983d404ec5c818 diff --git a/graphics/xpdf/patches/patch-aa b/graphics/xpdf/patches/patch-aa deleted file mode 100644 index 21da7ef3963..00000000000 --- a/graphics/xpdf/patches/patch-aa +++ /dev/null @@ -1,49 +0,0 @@ -*** xpdf/Stream.cc.orig Fri May 15 20:13:58 1998 ---- xpdf/Stream.cc Fri May 15 20:18:10 1998 -*************** -*** 498,503 **** ---- 498,505 ---- - - void LZWStream::reset() { - FILE *f; -+ int fdfd; -+ char *zzzz; - - str->reset(); - bufPtr = bufEnd = buf; -*************** -*** 513,524 **** - strcpy(zCmd, uncompressCmd); - strcat(zCmd, " "); - zName = zCmd + strlen(zCmd); -! tmpnam(zName); - strcat(zName, ".Z"); -! if (!(f = fopen(zName, FOPEN_WRITE_BIN))) { - error(getPos(), "Couldn't open temporary file '%s'", zName); - return; - } - dumpFile(f); - fclose(f); - #ifdef HAVE_POPEN ---- 515,535 ---- - strcpy(zCmd, uncompressCmd); - strcat(zCmd, " "); - zName = zCmd + strlen(zCmd); -! strcpy(zName, "/tmp/xpXXXXXXXX"); -! zzzz = strdup(zName); -! fdfd = mkstemp(zzzz); - strcat(zName, ".Z"); -! if (!(f = fdopen(fdfd, FOPEN_WRITE_BIN))) { - error(getPos(), "Couldn't open temporary file '%s'", zName); -+ free(zzzz); - return; - } -+ if (rename(zzzz, zName) == -1) { -+ error(getPos(), "Couldn't rename temporary file '%s'", zName); -+ free(zzzz); -+ return; -+ } -+ free(zzzz); - dumpFile(f); - fclose(f); - #ifdef HAVE_POPEN diff --git a/graphics/xpdf/pkg/COMMENT b/graphics/xpdf/pkg/COMMENT deleted file mode 100644 index 145bc09305d..00000000000 --- a/graphics/xpdf/pkg/COMMENT +++ /dev/null @@ -1 +0,0 @@ -Display tool for PDF files diff --git a/graphics/xpdf/pkg/DESCR b/graphics/xpdf/pkg/DESCR deleted file mode 100644 index 74f5394a671..00000000000 --- a/graphics/xpdf/pkg/DESCR +++ /dev/null @@ -1,8 +0,0 @@ -Xpdf is a viewer for Portable Document Format (PDF) files. (These are -also sometimes also called 'Acrobat' files, from the name of Adobe's -PDF software.) Xpdf runs under UNIX and the X Window System. - -Xpdf is designed to be small and efficient. It does not use the Motif -or Xt libraries. It uses standard X fonts. Xpdf is quite usable on a -486-66 PC running FreeBSD. - diff --git a/graphics/xpdf/pkg/PLIST b/graphics/xpdf/pkg/PLIST deleted file mode 100644 index 628c1ec579a..00000000000 --- a/graphics/xpdf/pkg/PLIST +++ /dev/null @@ -1,6 +0,0 @@ -bin/xpdf -bin/pdftops -bin/pdftotext -man/man1/xpdf.1 -man/man1/pdftops.1 -man/man1/pdftotext.1