Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 16:33:48 -0400
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87755: [UPDATE]: print/pcal: Update to version 4.9.1
Message-ID:  <E1ESh6i-000NzO-7m@ritamari.vonostingroup.com>
Resent-Message-ID: <200510202040.j9KKeHZd075766@freefall.freebsd.org>

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

>Number:         87755
>Category:       ports
>Synopsis:       [UPDATE]: print/pcal: Update to version 4.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 20 20:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank Laszlo
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ritamari.vonostingroup.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jun 9 22:20:56 EDT 2005 laszlof@ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386


	
>Description:
	This patch will update print/pcal to version 4.9.1. The following
	features has been added to this release:

	- Support for deletion of specific instances of a general calendar 
		event, thanks to a patch from Bill Bogstad. 
	- Support for several new character encodings (various ISO 8859-* 
		encodings and KOI8-R) 
	- Improvements to the Encapsulated PostScript (EPS) image capability 
		to minimize changes required to the EPS file in order to work
		with pcal, thanks to tips from Russell Steicke. 
	- Improved support for existing languages: Russian, Latvian, and Lithuanian 
	- Support for some new languages: Czech (by Peter Cernoch), Hungarian 
		(by Ferenc Kruzslicz), Catalan (by Carles Sadurni Anguita)
	- New Perl script (thanks to David Mathog) for generating calendars via HTML/CGI 
	- Additional sample calendar event files (e.g. US calendar from J. Rhett Hooper) 
	- Additional sample character encoding/font test files 
	- Various bug fixes 
	
	I'll take over maintainership for this port.

>How-To-Repeat:
	
>Fix:

	



--- pcal-4.9.1.diff begins here ---
diff -NrU3 pcal.orig/Makefile pcal/Makefile
--- pcal.orig/Makefile	Thu Oct 20 16:11:40 2005
+++ pcal/Makefile	Thu Oct 20 16:20:21 2005
@@ -6,13 +6,13 @@
 #
 
 PORTNAME=	pcal
-PORTVERSION=	4.8.0
+PORTVERSION=	4.9.1
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	laszlof@vonostingroup.com
 COMMENT=	PostScript calendar program
 
 USE_REINPLACE=	yes
@@ -31,6 +31,8 @@
 	@${REINPLACE_CMD} -e \
 		's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.cgi
 	@${REINPLACE_CMD} -e \
+		's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.pl
+	@${REINPLACE_CMD} -e \
 		's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcal.html
 	@${REINPLACE_CMD} -e \
 		's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcalw.html
@@ -38,6 +40,7 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/exec/pcal ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${PREFIX}/libexec
+	${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${PREFIX}/libexec
 	${INSTALL_MAN} ${WRKSRC}/doc/pcal.man ${MANPREFIX}/man/man1/pcal.1
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
diff -NrU3 pcal.orig/distinfo pcal/distinfo
--- pcal.orig/distinfo	Thu Oct 20 16:11:40 2005
+++ pcal/distinfo	Thu Oct 20 16:12:22 2005
@@ -1,2 +1,2 @@
-MD5 (pcal-4.8.0.tgz) = 0bd20cec495926c81b5cd03b637d7a62
-SIZE (pcal-4.8.0.tgz) = 266615
+MD5 (pcal-4.9.1.tgz) = 7646ae0b539466696484f311d79b2b02
+SIZE (pcal-4.9.1.tgz) = 218977
diff -NrU3 pcal.orig/files/patch-ae pcal/files/patch-ae
--- pcal.orig/files/patch-ae	Wed Dec 31 19:00:00 1969
+++ pcal/files/patch-ae	Thu Oct 20 16:19:06 2005
@@ -0,0 +1,22 @@
+--- html/pcal.pl.orig	Thu Oct 20 16:16:41 2005
++++ html/pcal.pl	Thu Oct 20 16:18:11 2005
+@@ -28,7 +28,7 @@
+ use vars qw(%category %form);
+ use strict;
+ use CGI;
+-$ENV{PATH} = '/usr/bin:/usr/local/bin';
++$ENV{PATH} = '/usr/bin:/usr/local/bin:@@PREFIX@@';
+ 
+ # set DEBUG=1 to echo debugging output as HTML text
+ my $DEBUG=0;
+@@ -43,8 +43,8 @@
+ # common calendar file on your system (note that the user can't use his/her
+ # own calendar file since most servers will execute pcal.cgi as 'nobody')
+ 
+-my $PCAL = '/usr/local/bin/pcal';
+-my $FILE = '/usr/local/bin/calendar';
++my $PCAL = '@@PREFIX@@/bin/pcal';
++my $FILE = '@@PREFIX@@/bin/calendar';
+ #
+ my $THECAL;
+ my @NOWTIME  = localtime(time()) ;
diff -NrU3 pcal.orig/pkg-plist pcal/pkg-plist
--- pcal.orig/pkg-plist	Thu Oct 20 16:11:40 2005
+++ pcal/pkg-plist	Thu Oct 20 16:27:11 2005
@@ -1,18 +1,35 @@
 bin/pcal
 libexec/pcal.cgi
+libexec/pcal.pl
 %%EXAMPLESDIR%%/calendar_au.txt
 %%EXAMPLESDIR%%/calendar_de.txt
 %%EXAMPLESDIR%%/calendar_ee.txt
 %%EXAMPLESDIR%%/calendar_fi.txt
 %%EXAMPLESDIR%%/calendar_fr.txt
 %%EXAMPLESDIR%%/calendar_gr.txt
+%%EXAMPLESDIR%%/calendar_hu.txt
 %%EXAMPLESDIR%%/calendar_no.txt
 %%EXAMPLESDIR%%/calendar_nz.txt
 %%EXAMPLESDIR%%/calendar_uk.txt
-%%EXAMPLESDIR%%/fonttest_e
+%%EXAMPLESDIR%%/calendar_us.txt
+%%EXAMPLESDIR%%/fonttest_arabic
+%%EXAMPLESDIR%%/fonttest_cyrillic
+%%EXAMPLESDIR%%/fonttest_greek
+%%EXAMPLESDIR%%/fonttest_hebrew
+%%EXAMPLESDIR%%/fonttest_koi8r
 %%EXAMPLESDIR%%/fonttest_koi8u
-%%EXAMPLESDIR%%/fonttest_l
-%%EXAMPLESDIR%%/fonttest_r
+%%EXAMPLESDIR%%/fonttest_latin1
+%%EXAMPLESDIR%%/fonttest_latin10
+%%EXAMPLESDIR%%/fonttest_latin2
+%%EXAMPLESDIR%%/fonttest_latin3
+%%EXAMPLESDIR%%/fonttest_latin4
+%%EXAMPLESDIR%%/fonttest_latin5
+%%EXAMPLESDIR%%/fonttest_latin6
+%%EXAMPLESDIR%%/fonttest_latin7
+%%EXAMPLESDIR%%/fonttest_latin8
+%%EXAMPLESDIR%%/fonttest_latin9
+%%EXAMPLESDIR%%/fonttest_roman8
+%%EXAMPLESDIR%%/fonttest_thai
 %%EXAMPLESDIR%%/moon98
 %%EXAMPLESDIR%%/pcal-cfg.txt
 @dirrm %%EXAMPLESDIR%%
--- pcal-4.9.1.diff ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ESh6i-000NzO-7m>