From d8b92b983a74ef1dd691581d70f499916f4cfb78 Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 14 May 2002 18:47:52 +0000 Subject: [PATCH] Initial import of xchrono, a multi-timezoned X11 clock, into the NetBSD 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 ] [-digital] [-fg ] [-bg ] [-hd ] [-hl ] [-bd ] [-fn ] [-help] [-padding ] [-rv] [-update ] [-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 option causes a clock labeled with 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.] --- time/xchrono/DESCR | 23 +++++++++++++++++++++++ time/xchrono/Makefile | 20 ++++++++++++++++++++ time/xchrono/PLIST | 4 ++++ time/xchrono/distinfo | 5 +++++ time/xchrono/patches/patch-aa | 11 +++++++++++ 5 files changed, 63 insertions(+) create mode 100644 time/xchrono/DESCR create mode 100644 time/xchrono/Makefile create mode 100644 time/xchrono/PLIST create mode 100644 time/xchrono/distinfo create mode 100644 time/xchrono/patches/patch-aa diff --git a/time/xchrono/DESCR b/time/xchrono/DESCR new file mode 100644 index 0000000000000..49e53bf233584 --- /dev/null +++ b/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 ] [-digital] + [-fg ] [-bg ] [-hd ] + [-hl ] [-bd ] + [-fn ] [-help] [-padding ] + [-rv] [-update ] [-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 option causes a clock labeled with +using the value of TZ at startup as it's timezone. In addition, a GMT +clock always appears. diff --git a/time/xchrono/Makefile b/time/xchrono/Makefile new file mode 100644 index 0000000000000..08099037007b2 --- /dev/null +++ b/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" diff --git a/time/xchrono/PLIST b/time/xchrono/PLIST new file mode 100644 index 0000000000000..9b771a8631658 --- /dev/null +++ b/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 diff --git a/time/xchrono/distinfo b/time/xchrono/distinfo new file mode 100644 index 0000000000000..9a143cccc72ca --- /dev/null +++ b/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 diff --git a/time/xchrono/patches/patch-aa b/time/xchrono/patches/patch-aa new file mode 100644 index 0000000000000..5386fbbed4438 --- /dev/null +++ b/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)