From stolz@i2.informatik.rwth-aachen.de  Tue Feb  4 08:36:52 2003
Return-Path: <stolz@i2.informatik.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 44D4237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 08:36:52 -0800 (PST)
Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AA55143FA7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 08:36:50 -0800 (PST)
	(envelope-from stolz@i2.informatik.rwth-aachen.de)
Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73])
	by atlas.informatik.rwth-aachen.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h14GanW02907
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 Feb 2003 17:36:49 +0100
Received: (from stolz@localhost)
	by menelaos.informatik.rwth-aachen.de (8.12.6/8.12.6/Submit) id h14Gbweh069967;
	Tue, 4 Feb 2003 17:37:58 +0100 (CET)
	(envelope-from stolz)
Message-Id: <200302041637.h14Gbweh069967@menelaos.informatik.rwth-aachen.de>
Date: Tue, 4 Feb 2003 17:37:58 +0100 (CET)
From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Reply-To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: patch: print/teTeX ships with old pstricks
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47910
>Category:       ports
>Synopsis:       patch: print/teTeX ships with old pstricks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 08:40:12 PST 2003
>Closed-Date:    Wed Feb 19 20:13:29 PST 2003
>Last-Modified:  Wed Feb 19 20:13:29 PST 2003
>Originator:     Volker Stolz
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Lehrstuhl fr Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan 23 16:45:31 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


>Description:
I just found out the hard way that teTeX-1.0.7 doesn't include the 'most
recent' (i.e. from 2000/11/09) pstricks. Luckily, only two files require
updating:

- pstricks.tex (v97p14) 1999/12/23
- pst-node.tex (v97p11) 2000/11/09

versus p10 in the original tarball (cf.
http://www.ctan.org/tex-archive/graphics/pstricks/VERSIONS).

Portmeisters: Is this a correct use of PATCH{_SITES,FILES}?
[Naturally I tested my slides against the updated port]

Also bump port revision.
>How-To-Repeat:
>Fix:
diff -urN teTeX.orig/Makefile teTeX/Makefile
--- teTeX.orig/Makefile	Thu Jan 23 12:06:07 2003
+++ teTeX/Makefile	Tue Feb  4 17:09:43 2003
@@ -7,11 +7,13 @@
 
 PORTNAME=	teTeX
 PORTVERSION=	1.0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/ \
 		${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	systems/unix/teTeX/1.0/distrib/sources/
+PATCH_SITES=	${MASTER_SITE_TEX_CTAN}
+PATCHFILES=	graphics/pstricks/generic/pstricks.tex graphics/pstricks/generic/pst-node.tex
 DISTFILES=	${TETEX_SRC} ${TETEX_TEXMF}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -75,6 +77,10 @@
 pre-install:
 	@${MKDIR} ${TEXMF_TREE}
 	@cd ${TEXMF_TREE}; tar xfz ${_DISTDIR}/${TETEX_TEXMF}
+.for f in pstricks.tex pst-node.tex
+	@${CP} ${_DISTDIR}/graphics/pstricks/generic/${f} ${TEXMF_TREE}/tex/generic/pstricks/
+.endfor
+
 
 post-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/texinfo/util/texi2dvi ${PREFIX}/bin
diff -urN teTeX.orig/distinfo teTeX/distinfo
--- teTeX.orig/distinfo	Tue Feb 22 13:22:33 2000
+++ teTeX/distinfo	Tue Feb  4 17:07:21 2003
@@ -1,2 +1,4 @@
 MD5 (teTeX/teTeX-src-1.0.7.tar.gz) = 2c6da2a45096c2fdc41b8de6a8af1a52
 MD5 (teTeX/teTeX-texmf-1.0.2.tar.gz) = 7811ed356cca07b16ea8422f00c3cd34
+MD5 (teTeX/graphics/pstricks/generic/pstricks.tex) = c431cc36aa482d51617f5267bc82e193
+MD5 (teTeX/graphics/pstricks/generic/pst-node.tex) = bfcf15b75af53f12491ba9376b6c0648

>Release-Note:
>Audit-Trail:

From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
To: freebsd-gnats-submit@FreeBSD.org,
	stolz@i2.informatik.rwth-aachen.de
Cc:  
Subject: Re: ports/47910: patch: print/teTeX ships with old pstricks
Date: Thu, 06 Feb 2003 07:29:27 -0600

 I just noticed that teTeX has recently been updated to version 2.0.  I wonder if 
 the new version of teTeX has an updated pstricks?  In that case, a better 
 solution might be to update the teTeX port to 2.0.
 
 
 -- 
 Stephen Montgomery-Smith
 stephen@math.missouri.edu
 http://www.math.missouri.edu/~stephen
 

From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/47910: patch: print/teTeX ships with old pstricks
Date: Fri, 7 Feb 2003 11:11:34 +0100

 Am 06. Feb 2003 um 14:29 CET schrieb Stephen Montgomery-Smith:
 > I just noticed that teTeX has recently been updated to version 2.0.  I 
 > wonder if the new version of teTeX has an updated pstricks?  In that case, 
 > a better solution might be to update the teTeX port to 2.0.
 
 I didn't take a closer look but I guess that's a rather substantial
 update so it might take some time until somebody updates the entire
 port. And it might even be necessary to keep the old teTeX-port around
 as e.g. teTeX1. I'd say as long as nobody comes up with the update
 to teTeX-2.0, patch the current teTeX port.
 
 Volker (who doesn't have time to come up with an updated port)
 -- 
 http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
 rage against the finite state machine 

From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
To: freebsd-gnats-submit@FreeBSD.org,
	stolz@i2.informatik.rwth-aachen.de
Cc:  
Subject: Re: ports/47910: patch: print/teTeX ships with old pstricks
Date: Thu, 13 Feb 2003 20:18:31 -0600

 I made a teTeX-2.0 port.  Tell me what you think.  (It does seem to have the 
 updated pstricks.)
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=48242
 
 
 -- 
 Stephen Montgomery-Smith
 stephen@math.missouri.edu
 http://www.math.missouri.edu/~stephen
 
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Wed Feb 19 20:13:16 PST 2003 
State-Changed-Why:  
superseded by pr/48242 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47910 
>Unformatted:
