Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <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
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |