Subject: pkg/18006: pkgsrc submission: graphics/screentest-1.0 generates monitor colour, test, and alignment images for X11
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 08/21/2002 00:14:52
>Number:         18006
>Category:       pkg
>Synopsis:       pkgsrc submission: graphics/screentest-1.0 generates monitor colour, test, and alignment images for X11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 21:15:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
Architecture: i386
>Description:

	This is a program for tesing the quality of CRT screens.  It displays
	various patterns and allows you to estimate the quality of your CRT
	monitor, or perform alignment and colour adjustments without
	using expensive signal and pattern generators.

>How-To-Repeat:

	desire to re-adjust a computer monitor but without any
	test-bench signal/pattern generators suitable for working on
	high-resolution computer monitors

	search the WWW high and low for a proper program to generate
	colour bars and grid patterns, etc. but find only commercial and
	shareware M$ (and MacOS) stuff, and GIF/JPEG images of test
	patterns that are in the wrong aspect ratio, at the wrong size,
	etc.

	eventually discover, completely by accident, this near perfect
	solution while chasing down a 404'ed link to some other program!

>Fix:

	note that the patches included are from the author's CVS server
	and fix a minor bug with the background colour setting menu

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	DESCR
#	MESSAGE
#	Makefile
#	PLIST
#	distinfo
#	patches
#	patches/patch-all
#
echo x - DESCR
sed 's/^X//' >DESCR << 'END-of-DESCR'
XThis is a program for tesing the quality of CRT screens.  It displays
Xvarious patterns and allows you to estimate the quality of your CRT
Xmonitor.
END-of-DESCR
echo x - MESSAGE
sed 's/^X//' >MESSAGE << 'END-of-MESSAGE'
X======================================================================
X$NetBSD$
X
XThis software is postcardware:  if you like it, please send a nice
Xpostcard to the author's address.  Sending the postcard is optional.
X
X	Jan Kasprzak
X	Faculty of Informatics, Masaryk University
X	Botanicka' 68a
X	602 00 Brno
X	Czech Republic
X
X======================================================================
END-of-MESSAGE
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD$
X
XDISTNAME=	screentest-1.0
X#PKGREVISION=	0
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://ftp.linux.cz/pub/linux/people/jan_kasprzak/screentest/
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://www.fi.muni.cz/~kas/screentest/
XCOMMENT=	GTK application for displaying monitor colour, test, and alignment images
X
XUSE_X11BASE=		yes
XGNU_CONFIGURE=		yes
X
X.include "../../x11/gtk/buildlink.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo x - PLIST
sed 's/^X//' >PLIST << 'END-of-PLIST'
X@comment $NetBSD$
Xbin/screentest
END-of-PLIST
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
X$NetBSD$
X
XSHA1 (screentest-1.0.tar.gz) = ea541d61b6c5003dbaf1e2847def66c31f808230
XSize (screentest-1.0.tar.gz) = 49428 bytes
XSHA1 (patch-all) = 36471507a615684b6d62e3db6e1bdfd54cbef792
END-of-distinfo
echo c - patches
mkdir -p patches > /dev/null 2>&1
echo x - patches/patch-all
sed 's/^X//' >patches/patch-all << 'END-of-patches/patch-all'
XIndex: ChangeLog
X===================================================================
XRCS file: /cvs/X11/misc/screentest/ChangeLog,v
Xretrieving revision 1.1.1.1
Xdiff -c -r1.1.1.1 ChangeLog
X*** ChangeLog	21 Aug 2002 03:30:55 -0000	1.1.1.1
X***************
X*** 1,2 ****
X--- 1,7 ----
X+ Tue Aug 21 10:23:25 CEST 2001
X+ "Background color -> Red" yields now really to the red background instead
X+ 	of white (missing userdata in the signal handler). Thanks to 
X+ 	Leo Hadacz for reporting this.
X+ 
X  Mon Aug 20 19:02:08 CEST 2001
X  Initial revision.
XIndex: interface.c
X===================================================================
XRCS file: /cvs/X11/misc/screentest/interface.c,v
Xretrieving revision 1.1.1.1
Xdiff -c -r1.1.1.1 interface.c
X*** interface.c	21 Aug 2002 03:30:55 -0000	1.1.1.1
X***************
X*** 1,4 ****
X! /* $Id: interface.c,v 1.1.1.1 2001/08/20 18:10:54 kas Exp $ */
X  
X  /*
X   *  Screentest - CRT monitor testing utility.
X--- 1,4 ----
X! /* $Id: interface.c,v 1.2 2001/08/21 09:01:27 kas Exp $ */
X  
X  /*
X   *  Screentest - CRT monitor testing utility.
X***************
X*** 487,493 ****
X  			   GTK_SIGNAL_FUNC(on_bgcolor_change),
X  			   (gpointer) COLOR_WHITE);
X  	gtk_signal_connect(GTK_OBJECT(red1), "activate",
X! 			   GTK_SIGNAL_FUNC(on_bgcolor_change), NULL);
X  	gtk_signal_connect(GTK_OBJECT(green1), "activate",
X  			   GTK_SIGNAL_FUNC(on_bgcolor_change),
X  			   (gpointer) COLOR_GREEN);
X--- 487,494 ----
X  			   GTK_SIGNAL_FUNC(on_bgcolor_change),
X  			   (gpointer) COLOR_WHITE);
X  	gtk_signal_connect(GTK_OBJECT(red1), "activate",
X! 			   GTK_SIGNAL_FUNC(on_bgcolor_change),
X! 			   (gpointer) COLOR_RED);
X  	gtk_signal_connect(GTK_OBJECT(green1), "activate",
X  			   GTK_SIGNAL_FUNC(on_bgcolor_change),
X  			   (gpointer) COLOR_GREEN);
XIndex: screentest.glade
X===================================================================
XRCS file: /cvs/X11/misc/screentest/screentest.glade,v
Xretrieving revision 1.1.1.1
Xdiff -c -r1.1.1.1 screentest.glade
X*** screentest.glade	21 Aug 2002 03:30:55 -0000	1.1.1.1
X***************
X*** 333,338 ****
X--- 333,339 ----
X  	<signal>
X  	  <name>activate</name>
X  	  <handler>on_bgcolor_change</handler>
X+ 	  <data>(gpointer)COLOR_RED</data>
X  	  <last_modification_time>Mon, 20 Aug 2001 13:34:56 GMT</last_modification_time>
X  	</signal>
X  	<label>Red</label>
END-of-patches/patch-all
exit


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