From 1ed997897df2c4085cac4918323e46f2fe2cfdbd Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 8 Jan 2003 23:15:12 +0000 Subject: Initial import of screentest, version 1.0. This is a GTK+ program for tesing the quality of CRT screens. It displays various patterns and allows you to estimate the quality of your CRT monitor. Provided in PR pkg/18006 by Greg A. Woods with some modifications by me. Reviewed by wiz. --- sysutils/screentest/DESCR | 3 +++ sysutils/screentest/Makefile | 24 ++++++++++++++++++++++++ sysutils/screentest/PLIST | 7 +++++++ sysutils/screentest/distinfo | 7 +++++++ sysutils/screentest/patches/patch-aa | 12 ++++++++++++ sysutils/screentest/patches/patch-ab | 14 ++++++++++++++ sysutils/screentest/patches/patch-ac | 12 ++++++++++++ 7 files changed, 79 insertions(+) create mode 100644 sysutils/screentest/DESCR create mode 100644 sysutils/screentest/Makefile create mode 100644 sysutils/screentest/PLIST create mode 100644 sysutils/screentest/distinfo create mode 100644 sysutils/screentest/patches/patch-aa create mode 100644 sysutils/screentest/patches/patch-ab create mode 100644 sysutils/screentest/patches/patch-ac (limited to 'sysutils') diff --git a/sysutils/screentest/DESCR b/sysutils/screentest/DESCR new file mode 100644 index 00000000000..292aa39164a --- /dev/null +++ b/sysutils/screentest/DESCR @@ -0,0 +1,3 @@ +This is a GTK+ program for tesing the quality of CRT screens. It displays +various patterns and allows you to estimate the quality of your CRT +monitor. diff --git a/sysutils/screentest/Makefile b/sysutils/screentest/Makefile new file mode 100644 index 00000000000..0328b716abd --- /dev/null +++ b/sysutils/screentest/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/01/08 23:15:12 jmmv Exp $ +# + +DISTNAME= screentest-1.0 +CATEGORIES= sysutils x11 +MASTER_SITES= ftp://ftp.linux.cz/pub/linux/people/jan_kasprzak/screentest/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.fi.muni.cz/~kas/screentest/ +COMMENT= CRT screen testing utility using GTK+ + +GNU_CONFIGURE= yes +USE_BUILDLINK2= yes +USE_X11= yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/screentest +.for f in AUTHORS ChangeLog NEWS README + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/screentest +.endfor +.undef f + +.include "../../x11/gtk/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/screentest/PLIST b/sysutils/screentest/PLIST new file mode 100644 index 00000000000..9ccfb5556a6 --- /dev/null +++ b/sysutils/screentest/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/08 23:15:12 jmmv Exp $ +bin/screentest +share/doc/screentest/AUTHORS +share/doc/screentest/ChangeLog +share/doc/screentest/NEWS +share/doc/screentest/README +@dirrm share/doc/screentest diff --git a/sysutils/screentest/distinfo b/sysutils/screentest/distinfo new file mode 100644 index 00000000000..b432dd1294a --- /dev/null +++ b/sysutils/screentest/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/01/08 23:15:12 jmmv Exp $ + +SHA1 (screentest-1.0.tar.gz) = ea541d61b6c5003dbaf1e2847def66c31f808230 +Size (screentest-1.0.tar.gz) = 49428 bytes +SHA1 (patch-aa) = 27923b68894069e077c7a213f2e8c8305c536e3b +SHA1 (patch-ab) = 259e9bbd05374c8b5be9ec2b08ccf4e5504866b9 +SHA1 (patch-ac) = c167b30c62de4bae315a40c1c14a0de1d28bbbc0 diff --git a/sysutils/screentest/patches/patch-aa b/sysutils/screentest/patches/patch-aa new file mode 100644 index 00000000000..598b22184fa --- /dev/null +++ b/sysutils/screentest/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/01/08 23:15:13 jmmv Exp $ + +--- ChangeLog.orig Mon Aug 20 20:10:54 2001 ++++ ChangeLog +@@ -1,2 +1,7 @@ ++Tue Aug 21 10:23:25 CEST 2001 ++"Background color -> Red" yields now really to the red background instead ++ of white (missing userdata in the signal handler). Thanks to ++ Leo Hadacz for reporting this. ++ + Mon Aug 20 19:02:08 CEST 2001 + Initial revision. diff --git a/sysutils/screentest/patches/patch-ab b/sysutils/screentest/patches/patch-ab new file mode 100644 index 00000000000..4d893f726ee --- /dev/null +++ b/sysutils/screentest/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/01/08 23:15:13 jmmv Exp $ + +--- interface.c.orig Mon Aug 20 20:10:54 2001 ++++ interface.c +@@ -487,7 +487,8 @@ GtkWidget *create_popup(void) + GTK_SIGNAL_FUNC(on_bgcolor_change), + (gpointer) COLOR_WHITE); + gtk_signal_connect(GTK_OBJECT(red1), "activate", +- GTK_SIGNAL_FUNC(on_bgcolor_change), NULL); ++ GTK_SIGNAL_FUNC(on_bgcolor_change), ++ (gpointer) COLOR_RED); + gtk_signal_connect(GTK_OBJECT(green1), "activate", + GTK_SIGNAL_FUNC(on_bgcolor_change), + (gpointer) COLOR_GREEN); diff --git a/sysutils/screentest/patches/patch-ac b/sysutils/screentest/patches/patch-ac new file mode 100644 index 00000000000..9e7bbc9bd2e --- /dev/null +++ b/sysutils/screentest/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/01/08 23:15:13 jmmv Exp $ + +--- screentest.glade.orig Mon Aug 20 20:10:55 2001 ++++ screentest.glade +@@ -333,6 +333,7 @@ + + activate + on_bgcolor_change ++ (gpointer)COLOR_RED + Mon, 20 Aug 2001 13:34:56 GMT + + -- cgit v1.2.3