README
1intclock is an international (i.e. multi-timezone) clock which can be run
2in a window or in a terminal.
3
4The following command line lists all the options:
5
6% intclock --help
7
8However, normally you just run the program without options:
9
10% intclock
11
12Initially, just the time in the local timezone will then be shown.
13A right click with the mouse shows a menu: "Preferences" leads to a
14configuration window where the timezones can be selected, together with some
15options.
16
17The selected timezones and options are saved in the file $HOME/.intclock
18between runs of the program.
19
20If you would like to run intclock in a different language than your standard
21language setting, you can run it e.g. like this (the example is for the Dutch
22language):
23
24 LANG=nl_BE.UTF-8 intclock
25
26The value for LANG should be a valid locale: see the output of 'locale -a'
27for all of them.
28
29Note:
30----
31This program is actually based on Jens-Ulrik Petersen's hsclock (which can be
32found on http://www.haskell.org/~petersen/haskell/hsclock).
33
34I wanted to do some extensions to that program, mostly a configuration window,
35but I don't know anything about Haskell, in which hsclock is written, so I
36ported it to Perl instead.
37
38Note that intclock 1.x allowed to provide the timezones on the command line:
39this has been removed in favor of an all-graphical configuration.
40
41Requirements:
42------------
43- perl 5 or higher
44- either the Gtk2 (preferred) or the Gtk perl module
45- the Data::Dumper perl module
46- the Time::HiRes perl module
47- the Locale::Maketext perl module
48
49Installation:
50------------
51Execute, in this directory:
52
53 perl Makefile.PL
54 make
55 make install
56
57For 'make install', you need to have the right permissions to
58write to the target directory.
59
60Notes:
61
62- The default installation path is /usr, i.e. the script
63 will then come in /usr/bin. This can be overridden via the
64 PREFIX option to 'perl Makefile.PL', e.g. 'PREFIX=/usr/local'
65
66- 'make clean' will remove the files that are made, but will
67 not remove configuration files.
68
69- 'make distclean' will clean up the distribution, removing all
70 temporary files and configuration files.
71
72Bug reports:
73-----------
74Bugs should be reported to <Peter.Verthez@advalvas.be>. Please include the
75version of intclock that you use. You can find this by executing
76"intclock --version". Better yet: only report bugs on the latest version
77of intclock...
78
79