Skip to content

Commit

Permalink
Initial import of xchrono, a multi-timezoned X11 clock, into the NetBSD
Browse files Browse the repository at this point in the history
packages collection.

Xchrono is a multi-timezone, multi-face clock program for X Windows.
Several cities have been compiled into xchrono, and can be invoked with
command-line arguments, xchrono -help gives:

Usage: xchrono [-analog] [-bw <pixels>] [-digital]
	       [-fg <color>] [-bg <color>] [-hd <color>]
	       [-hl <color>] [-bd <color>]
	       [-fn <font_name>] [-help] [-padding <pixels>]
	       [-rv] [-update <seconds>] [-display displayname]
	       [-geometry geom]
	       [-width clockWidth] [-height clockHeight] [-local localName]
	       [-boston] [-newyork] [-chicago] [-denver] [-la]
	       [-hawaii] [-tokyo] [-sydney] [-london]
	       [-paris] [-frankfurt] [-rio]

OK, OK, Hawaii isn't a city, but you get the point. The timezones used
are taken from tztab in the SYSV case, and from /usr/lib/zoneinfo
otherwise, and as such may or may not be correct (the TZ variable
definitions or the city->timezone mappings).

The -local <localName> option causes a clock labeled with <localName>
using the value of TZ at startup as it's timezone.  In addition, a GMT
clock always appears.

[Requested by groo, who has enough trouble with one timezone, so why he
wants more is beyond me.]
  • Loading branch information
agc committed May 14, 2002
1 parent 04b905a commit d8b92b9
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
23 changes: 23 additions & 0 deletions time/xchrono/DESCR
@@ -0,0 +1,23 @@
Xchrono is a multi-timezone, multi-face clock program for X Windows.
Several cities have been compiled into xchrono, and can be invoked with
command-line arguments, xchrono -help gives:

Usage: xchrono [-analog] [-bw <pixels>] [-digital]
[-fg <color>] [-bg <color>] [-hd <color>]
[-hl <color>] [-bd <color>]
[-fn <font_name>] [-help] [-padding <pixels>]
[-rv] [-update <seconds>] [-display displayname]
[-geometry geom]
[-width clockWidth] [-height clockHeight] [-local localName]
[-boston] [-newyork] [-chicago] [-denver] [-la]
[-hawaii] [-tokyo] [-sydney] [-london]
[-paris] [-frankfurt] [-rio]

OK, OK, Hawaii isn't a city, but you get the point. The timezones used
are taken from tztab in the SYSV case, and from /usr/lib/zoneinfo
otherwise, and as such may or may not be correct (the TZ variable
definitions or the city->timezone mappings).

The -local <localName> option causes a clock labeled with <localName>
using the value of TZ at startup as it's timezone. In addition, a GMT
clock always appears.
20 changes: 20 additions & 0 deletions time/xchrono/Makefile
@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
#

DISTNAME= xchrono
PKGNAME= xchrono-19900813
CATEGORIES= time x11
MASTER_SITES= http://www.mit.edu/afs/athena/contrib/softbone/source/src/xchrono/
EXTRACT_SUFX= .shar

MAINTAINER= packages@netbsd.org
HOMEPAGE= http://infoshako.sk.tsukuba.ac.jp/jdoc/X-utilities/xchrono
COMMENT= multi-timezone X11-based clock

USE_IMAKE= yes

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchrono
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchrono/

.include "../../mk/bsd.pkg.mk"
4 changes: 4 additions & 0 deletions time/xchrono/PLIST
@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
bin/xchrono
share/doc/xchrono/README
@dirrm share/doc/xchrono
5 changes: 5 additions & 0 deletions time/xchrono/distinfo
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $

SHA1 (xchrono.shar) = 8cc61b949ff4c1972cfa810831d562d058fa9e2f
Size (xchrono.shar) = 56292 bytes
SHA1 (patch-aa) = 59c5946422c0ac76907e1d512dd64b9a1899029d
11 changes: 11 additions & 0 deletions time/xchrono/patches/patch-aa
@@ -0,0 +1,11 @@
$NetBSD: patch-aa,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $

--- Imakefile 2002/05/14 18:22:35 1.1
+++ Imakefile 2002/05/14 18:23:51
@@ -6,5 +6,4 @@
SRCS = xchrono.c MultiClock.c
OBJS = xchrono.o MultiClock.o

-ComplexProgramTarget(xchrono)
-InstallAppDefaults(XChrono)
+ComplexProgramTargetNoMan(xchrono)

0 comments on commit d8b92b9

Please sign in to comment.