summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-01-08 23:15:12 +0000
committerjmmv <jmmv>2003-01-08 23:15:12 +0000
commit0da28938002379459a999c32cf9f0b0b03e81d3b (patch)
tree219baea035ae50256a70eb8bfa54bb977b60e698 /sysutils
parent0be5b072369d263e3157e0a94d7285f6a227b17b (diff)
downloadpkgsrc-0da28938002379459a999c32cf9f0b0b03e81d3b.tar.gz
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/screentest/DESCR3
-rw-r--r--sysutils/screentest/Makefile24
-rw-r--r--sysutils/screentest/PLIST7
-rw-r--r--sysutils/screentest/distinfo7
-rw-r--r--sysutils/screentest/patches/patch-aa12
-rw-r--r--sysutils/screentest/patches/patch-ab14
-rw-r--r--sysutils/screentest/patches/patch-ac12
7 files changed, 79 insertions, 0 deletions
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 @@
+ <signal>
+ <name>activate</name>
+ <handler>on_bgcolor_change</handler>
++ <data>(gpointer)COLOR_RED</data>
+ <last_modification_time>Mon, 20 Aug 2001 13:34:56 GMT</last_modification_time>
+ </signal>
+ <label>Red</label>