Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 14:22:27 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31611: Update port: graphics/xpdf to 0.93
Message-ID:  <200110292222.f9TMMRM87534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         31611
>Category:       ports
>Synopsis:       Update port: graphics/xpdf to 0.93
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 14:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.93

New file:
files/patch-ac  files/patch-ad

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/xpdf/Makefile graphics/xpdf/Makefile
--- /usr/ports/graphics/xpdf/Makefile	Sun Sep  2 11:56:29 2001
+++ graphics/xpdf/Makefile	Sat Oct 27 21:21:24 2001
@@ -6,17 +6,12 @@
 #
 
 PORTNAME=	xpdf
-PORTVERSION=	0.92
+PORTVERSION=	0.93
 CATEGORIES=	graphics print
 MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/  \
 		${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	support/xpdf
 EXTRACT_SUFX=	.tgz
-
-PATCH_SITES=	http://vzzbx.xs4all.nl/files/ \
-		http://www.cs.cmu.edu/~dst/Adobe/Gallery/
-PATCHFILES=	xpdf-ro-remove.patch
-PATCH_DIST_STRIP= -p1
 
 MAINTAINER=	chuckr@FreeBSD.org
 
diff -urN /usr/ports/graphics/xpdf/distinfo graphics/xpdf/distinfo
--- /usr/ports/graphics/xpdf/distinfo	Sun Sep  2 11:56:29 2001
+++ graphics/xpdf/distinfo	Sat Oct 27 19:04:34 2001
@@ -1,2 +1,2 @@
-MD5 (xpdf-0.92.tgz) = 2d6e9fb157db928bd0cca4214ddd2c80
+MD5 (xpdf-0.93.tgz) = 798ec67265f7dd7a11d0f5ebfc35f436
 MD5 (xpdf-ro-remove.patch) = cd4717d3de8244bbcd04d11114b73e57
diff -urN /usr/ports/graphics/xpdf/files/patch-ac graphics/xpdf/files/patch-ac
--- /usr/ports/graphics/xpdf/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ graphics/xpdf/files/patch-ac	Sat Oct 27 19:15:16 2001
@@ -0,0 +1,17 @@
+--- xpdf/pdftotext.cc.orig	Sat Oct 27 02:52:42 2001
++++ xpdf/pdftotext.cc	Sat Oct 27 19:15:05 2001
+@@ -136,10 +136,10 @@
+   }
+ 
+   // check for copy permission
+-  if (!doc->okToCopy()) {
+-    error(-1, "Copying of text from this document is not allowed.");
+-    goto err1;
+-  }
++  //  if (!doc->okToCopy()) {
++  //    error(-1, "Copying of text from this document is not allowed.");
++  //    goto err1;
++  //  }
+ 
+   // construct text file name
+   if (argc == 3) {
diff -urN /usr/ports/graphics/xpdf/files/patch-ad graphics/xpdf/files/patch-ad
--- /usr/ports/graphics/xpdf/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ graphics/xpdf/files/patch-ad	Sat Oct 27 19:17:24 2001
@@ -0,0 +1,13 @@
+--- xpdf/xpdf.cc.orig	Sat Oct 27 02:52:42 2001
++++ xpdf/xpdf.cc	Sat Oct 27 19:17:09 2001
+@@ -1320,7 +1320,9 @@
+ 	s = out->getText(selectXMin, selectYMin, selectXMax, selectYMax);
+ 	win->setSelection(NULL, s);
+       } else {
+-	error(-1, "Copying of text from this document is not allowed.");
++	error(-1, "Copying of text from this document is not allowed, but possible :-).");
++	s = out->getText(selectXMin, selectYMin, selectXMax, selectYMax);
++	win->setSelection(NULL, s);
+       }
+ #endif
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110292222.f9TMMRM87534>