Subject: pkg/35516: graphics/ploticus missing files
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <b1ff@fr33.b33r.net>
List: pkgsrc-bugs
Date: 01/29/2007 16:55:00
>Number:         35516
>Category:       pkg
>Synopsis:       graphics/ploticus missing files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 16:55:00 +0000 2007
>Originator:     Mathieu
>Release:        3.0.2_PATCH
>Organization:
>Environment:
>Description:
I got that error message from ploticus when trying to use the chron prefab:

pl: error 1221: cannot open #include file (/usr/pkg/share/ploticus/chunk_chronfilter)
pl: error 23: Fatal script processing error.


Then I noticed that a bunch of files were not installed by the pkg.

>How-To-Repeat:

>Fix:
Installing all the prefab files fixes it:


--- Makefile.orig	2006-04-18 03:08:20.000000000 -0400
+++ Makefile	2007-01-29 11:21:09.000000000 -0500
@@ -28,10 +28,13 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/pl
 	${INSTALL_DATA_DIR} ${PREFABDST}
-.for file in chunk_logtics chunk_xaxis lines.pl stack.pl chron.pl	\
-	chunk_read chunk_yaxis multidist.pl vbars.pl chunk_area		\
-	chunk_setstd dist.pl pie.pl chunk_logstubs chunk_title draw.pl	\
-	scat.pl
+.for file in \
+	README chron.pl chunk_area chunk_chronfilter chunk_doheatmap \
+	chunk_heatmapfilter chunk_logstubs chunk_logtics chunk_read \
+	chunk_setstd chunk_stackareafilter chunk_title chunk_vdistfilter \
+	chunk_xaxis chunk_yaxis compare.pl cumufrac.pl dist.pl draw.pl \
+	heatmap.pl lines.pl multidist.pl pie.pl processdata.pl scat.pl \
+	stack.pl vbars.pl vdist.pl
 	${INSTALL_DATA} ${PREFABSRC}/${file} ${PREFABDST}/${file}
 .endfor

--- PLIST.orig	2004-05-15 07:16:45.000000000 -0400
+++ PLIST	2007-01-29 11:19:50.000000000 -0500
@@ -1,20 +1,31 @@
 @comment $NetBSD: PLIST,v 1.4 2004/05/15 11:16:45 grant Exp $
 bin/pl
+share/ploticus/README
 share/ploticus/chron.pl
 share/ploticus/chunk_area
+share/ploticus/chunk_chronfilter
+share/ploticus/chunk_doheatmap
+share/ploticus/chunk_heatmapfilter
 share/ploticus/chunk_logstubs
 share/ploticus/chunk_logtics
 share/ploticus/chunk_read
 share/ploticus/chunk_setstd
+share/ploticus/chunk_stackareafilter
 share/ploticus/chunk_title
+share/ploticus/chunk_vdistfilter
 share/ploticus/chunk_xaxis
 share/ploticus/chunk_yaxis
+share/ploticus/compare.pl
+share/ploticus/cumufrac.pl
 share/ploticus/dist.pl
 share/ploticus/draw.pl
+share/ploticus/heatmap.pl
 share/ploticus/lines.pl
 share/ploticus/multidist.pl
 share/ploticus/pie.pl
+share/ploticus/processdata.pl
 share/ploticus/scat.pl
 share/ploticus/stack.pl
 share/ploticus/vbars.pl
+share/ploticus/vdist.pl
 @dirrm share/ploticus