~ubuntu-branches/ubuntu/jaunty/xdaliclock/jaunty

1 by Aaron Lehmann
Import upstream version 2.18
1
                                 XDaliClock
2
3
XDaliClock is a digital clock for the X Window System; when a digit changes,
4
it ``melts'' into its new shape.
5
6
It can display in 12 or 24 hour modes, and displays the date when a mouse
7
button is held down.  It has two large fonts built into it, but it can
8
animate most other fonts that contain all of the digits.  It can also do some
9
funky psychedelic colormap cycling, and can use overlay planes or the `shape'
10
extension so that the window is transparent.
11
12
In the default configuration, this program is very network-intensive.  If it
13
seems sluggish, try the "-memory high" option (see the man page).  It will
14
take a little longer to start up, but will then go easy on the bandwidth.
15
16
This program was inspired by the Alto/Macintosh programs of the same name,
17
written by Steve Capps some time in the early eighties.  This implementation
18
is mine, and if you're looking for another reason to hate the X Windows
19
``feature'' of network-transparent graphics, well here you go.
20
21
Copyright (c) 1991-1999 by Jamie Zawinski <jwz@jwz.org>.  Please let
22
me know if you find any bugs or make any improvements.
23
24
The latest version of xdaliclock can always be found at
25
http://www.jwz.org/xdaliclock/
26
27
==============================================================================
28
29
To build for the X Window System:
30
31
    cd xdaliclock/X11/
32
    ./configure
33
    make
34
    make install
35
36
==============================================================================
37
38
To build for the Palm Pilot (using gcc as a Unix --> Pilot cross-compiler):
39
40
    cd xdaliclock/palm/
41
    ./configure
42
    make CFLAGS="-O3"
43
44
Then use
45
46
    pilot-xfer /dev/ttya -i daliclock.prc
47
48
to download it to your Pilot.
49
50
If you don't already have a working Pilot cross-compilation environment set
51
up, you'll need to install "m68k-palmos-coff-gcc", "pilrc", "obj-res", and
52
"build-prc" first.  This can be a lot of work -- you're on your own!
53
54
==============================================================================
55
56
57
    29-Nov-99 (v2.18)   Oops, month number was off by one in the Palm version.
58
    28-Nov-99 (v2.17)   Now uses `configure' instead of `Imake'.
59
                        ANSI C is now required.
60
                        Ported to Palm Pilot.
61
    12-Nov-99 (v2.16)   Fixed some warnings, cleaned up the fonts some more.
62
    11-Nov-99 (v2.15)   Added two new (smaller) builtin fonts, bringing the
63
                        total to four.  The smallest one is 27 pixels high,
64
                        and is cleaner looking than any X font I've seen at
65
                        that size...
66
     4-Jan-99 (v2.14)   Fixed a bug that caused X errors on some systems with
67
                        PseudoColor visuals when using `-transparent'.
68
                        Some portability fixes for OpenVMS.
69
                        Added `xdaliclock.spec' so that everyone builds their
70
                        RPMs in the same way.
71
     7-Nov-98 (v2.13)   Put a brain-dead simple date parser in `-countdown'.
72
                        Updated my email address and home page.
73
     6-Nov-98 (v2.12)   Botched, please ignore.
74
    31-Dec-97 (v2.11)   Added cheesy `-countdown' switch.  Happy new year...
75
    25-Jun-97 (v2.10)   Fixed a bad interaction with xscreensaver...
76
     2-Jun-97 (v2.09)   Renamed -shape to -transparent, and made it use
77
                        SERVER_OVERLAY_VISUALS if available -- that makes the
78
                        option actually be *usable* on SGIs and on advanced HP,
79
                        DEC, or IBM systems (since overlay visuals actually
80
                        work, unlike the Shape extension.)
81
    30-Aug-96 (v2.08)   Fixed a lingering bug where sometimes clicking would
82
                        not cause the date to be displayed.
83
    23-Feb-96 (v2.07)   Added WM_COMMAND property for session management.
84
                        More better VMS support from Martin Zinser.
85
    24-Dec-95 (v2.06)   Made -cycle work on non-PseudoColor visuals.
86
                        Fixed a couple of shape-related bugs.
87
     8-Jan-95 (v2.05)   Fixed a silly bug in determining the visual and cmap
88
                        to use in -root mode, which caused it to not work with
89
                        xscreensaver when the saver wasn't using the default
90
                        visual and cmap.
91
     8-Nov-94 (v2.04)   Some fixes for SGIs and non-default visuals.
92
    31-May-94 (v2.03)   Minor tweaks to Imakefile; submitted for X11r6 contrib.
93
    21-May-94 (v2.01)   VMS and R3 support, with help from Richard L. Dyson
94
                        <dyson@sunfish.physics.uiowa.edu>.
95
    16-May-94 (v2.00)   Converted to use Xt instead of raw Xlib.
96
     4-Sep-93 (v1.07)   Fixed shape handling; some minor portability changes.
97
     3-Feb-93 (v1.06)   Fixed some memory errors.
98
    10-Jun-92 (v1.05)   More from Tony Kennedy: support visuals with different
99
                        depths from default, center digits correctly in
100
                        initial window, and merge geometry defaults in a more
101
                        sophisticated way.  Merged in a slightly reworked
102
                        version of more general segment-handling code from
103
                        Dan Wallach <c169-bg@auriga.berkeley.edu>.  Added a
104
                        second, even bigger builtin font.  Added the -root
105
                        and -fullscreen arguments.
106
     4-Jun-92 (v1.04)   More VMS support for resource database files, from
107
                        Tony Kennedy <adk@scri.fsu.edu>.
108
    16-Jan-92 (v1.03)   Added more intelligent visual support.
109
                        Made it not die on fonts without per-char info.
110
     3-Jan-92 (v1.02)   Merged in VMS support from Daniel C. Newman
111
                        <dan@innosoft.com>.
112
    26-Oct-91 (v1.01)   Fixed Expose handling in -noseconds mode;
113
                        access() called with too few args;
114
                        added resource for MM/DD/YY, DD/MM/YY, etc.
115
     7-Oct-91 (v1.00)   Submitted for X11r5 contrib tape.