Subject: pkg/23792: Catclock app-defaults file typo?
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <email@example.com>
Date: 12/18/2003 15:24:51
>Synopsis: Catclock app-defaults file typo?
>Arrival-Date: Thu Dec 18 15:25:00 UTC 2003
>Originator: Juha Hyttinen
>Release: NetBSD -current
NetBSD tarantula.private.hyttinen.org 1.6ZF NetBSD 1.6ZF (TARANTULA) #6: Tue Dec 2 20:59:58 EET 2003 firstname.lastname@example.org:/cvs/obj/sys/arch/i386/compile/TARANTULA i386
There is a file for application defaults in catclock.zip, which is the
source package for pkgsrc/time/catclock. The file in source package is
The file will be installed as /usr/X11R6/lib/X11/app-defaults/Catclock
during the build process of time/catclock.
The file contains a line, which has extraneous whitespace in the end
(single quotation marks added):
'XClock*foreground : black '
This extraneous white space is included in color definition while parsing the file, and results in an error message like (single
quotation marks added):
'Warning: Color name "black " is not defined'
I won't start to guess, how the whitespace should be taken into account,
in other words, is the problem with Catclock or with parser.
In fact, regular xclock won't use colors defined on command line anymore, which is the single reason I'm using Catclock, but that's a different story (I hope to find time to investigate & send-pr)...
# cd /usr/pkgsrc/time/catclock
# make package
tarantula# diff -u xclock.ad.orig xclock.ad
--- xclock.ad.orig 2003-12-18 17:20:15.000000000 +0200
+++ xclock.ad 2003-12-18 17:20:26.000000000 +0200
@@ -2,7 +2,7 @@
XClock*font : 9x15
-XClock*foreground : black
+XClock*foreground : black
XClock*background : blue
XClock*highlight : black
XClock*hands : red