From 2b58c2d16e22f21a65ec9f06db6b0a0457feea57 Mon Sep 17 00:00:00 2001 From: dillo Date: Fri, 8 Nov 2002 02:46:29 +0000 Subject: update to 2.00 Changes since 1.01: - Switched to the Motif toolkit. - Support multiple open documents (in separate windows). - Added document outlines to the viewer. - Implemented the JBIG2 decoder. - Added support for movie annotations. - Switched back to native LZW decompression code. - Many bug fixes and enhancements. --- print/xpdf/DESCR | 9 +++++---- print/xpdf/Makefile | 5 +++-- print/xpdf/distinfo | 7 ++++--- print/xpdf/patches/patch-ab | 20 ++++++++++++++++++++ 4 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 print/xpdf/patches/patch-ab (limited to 'print') diff --git a/print/xpdf/DESCR b/print/xpdf/DESCR index 9dcff288b26..529ea8799d9 100644 --- a/print/xpdf/DESCR +++ b/print/xpdf/DESCR @@ -1,6 +1,7 @@ Xpdf is a viewer for Portable Document Format (PDF) files. -Xpdf is designed to be small and efficient. It runs under X, -but does not use the Motif or Xt libraries. Use of the T1 library -provides superior rendering of type 1 fonts, and also permits -run-time configuration of the exact fonts to be used. +Xpdf is designed to be small and efficient. It runs under X, using +the Motif libraries. It can use Type 1, TrueType, or standard X +fonts. Use of the T1 library provides superior rendering of Type 1 +fonts, and also permits run-time configuration of the exact fonts +to be used. diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile index 20f831ac022..5a6f7fb655f 100644 --- a/print/xpdf/Makefile +++ b/print/xpdf/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2002/09/19 01:45:42 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2002/11/08 02:46:29 dillo Exp $ # -DISTNAME= xpdf-1.01 +DISTNAME= xpdf-2.00 CATEGORIES= print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/} @@ -36,6 +36,7 @@ CONF_FILES= ${EGDIR}/xpdfrc ${PKG_SYSCONFDIR}/xpdfrc .include "../../fonts/t1lib/buildlink2.mk" .include "../../graphics/freetype2/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" +.include "../../mk/motif.buildlink2.mk" .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf/distinfo b/print/xpdf/distinfo index f4c7dd3615f..8446647a117 100644 --- a/print/xpdf/distinfo +++ b/print/xpdf/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2002/09/19 01:45:42 jlam Exp $ +$NetBSD: distinfo,v 1.8 2002/11/08 02:46:29 dillo Exp $ -SHA1 (xpdf-1.01.tar.gz) = c02cf4efb90a107364b6f7d20bed45bf8fe09526 -Size (xpdf-1.01.tar.gz) = 441968 bytes +SHA1 (xpdf-2.00.tar.gz) = 01f6f54409d0537de9359283f3eb8655443fa779 +Size (xpdf-2.00.tar.gz) = 457363 bytes SHA1 (patch-aa) = bf57c8955a25fc723fdcc86acc2055876c39a686 +SHA1 (patch-ab) = e0e7bca53918c125db5dcece7153afbec6e089ce diff --git a/print/xpdf/patches/patch-ab b/print/xpdf/patches/patch-ab new file mode 100644 index 00000000000..e4a4a17f914 --- /dev/null +++ b/print/xpdf/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.3 2002/11/08 02:46:30 dillo Exp $ + +--- xpdf/XPDFViewer.cc.orig Sun Nov 3 23:15:37 2002 ++++ xpdf/XPDFViewer.cc +@@ -143,9 +143,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS + + XPDFViewer::~XPDFViewer() { + delete core; +- XmFontListFree(aboutBigFont); +- XmFontListFree(aboutVersionFont); +- XmFontListFree(aboutFixedFont); ++ if(aboutBigFont) ++ XmFontListFree(aboutBigFont); ++ if(aboutVersionFont) ++ XmFontListFree(aboutVersionFont); ++ if(aboutFixedFont) ++ XmFontListFree(aboutFixedFont); + closeWindow(); + #ifndef DISABLE_OUTLINE + if (outlineLabels) { -- cgit v1.2.3