2014-12-11 15:18:03 +00:00
|
|
|
____________________________
|
|
|
|
|O| Installing wmclock |X|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
The procedure for installing wmclock is relatively simple.
|
|
|
|
|
|
|
|
(1) Create the `configure' script:
|
|
|
|
|
|
|
|
autoreconf -i
|
2014-12-11 15:18:03 +00:00
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
(2) Run the `configure' script to configure the language support that
|
2014-12-11 15:18:03 +00:00
|
|
|
is built into wmclock. For example:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
./configure --with-lang=english
|
2014-12-11 15:18:03 +00:00
|
|
|
|
|
|
|
For a list of the available languages, use:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
./configure --help
|
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
Note that if no language it given, `english' is chosen as the default.
|
2014-12-11 15:18:03 +00:00
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
(3) Compile:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
You may specify the C compiler to use and additional command-line
|
2014-12-11 15:18:15 +00:00
|
|
|
options for the C compiler using the `CC' and `CFLAGS'
|
2014-12-11 15:18:03 +00:00
|
|
|
variables, respectively. For example:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
make CC=clang CFLAGS='-O4 -march=pentium2'
|
2014-12-11 15:18:03 +00:00
|
|
|
|
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
(4) Test wmclock:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
./wmclock
|
|
|
|
|
|
|
|
(If it appears to work as expected, *don't dock it*. Wait until
|
|
|
|
after you've installed it).
|
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
(5) Install:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
su
|
|
|
|
make install
|
|
|
|
|
2014-12-11 15:18:15 +00:00
|
|
|
(6) You're done. See the README file accompanying this one for
|
2014-12-11 15:18:03 +00:00
|
|
|
instructions on installing wmclock into Window Maker's dock.
|
|
|
|
|
2014-12-11 15:18:11 +00:00
|
|
|
--
|
2014-12-11 15:18:15 +00:00
|
|
|
Window Maker Developers Team <wmaker-dev@lists.windowmaker.org>
|