Last change
on this file since 3125 was
331,
checked in by Sam Hocevar, 19 years ago
|
- test/event.c:
+ Do not refresh after each event, but only when there is no event
pending.
+ If the pressed key is a printable character, display it.
- src/time.c:
+ Moved _caca_getticks() to this file.
- src/caca.c:
+ Set the escape delay to a very low value in the ncurses driver,
because I don't want escape sequences to be entered manually.
- src/io.c:
+ Autorepeat emulation in the ncurses and slang drivers: do not
immediately send the key release event.
- configure.ac:
+ Check for usleep.
+ Improvements in the win32 platform detection.
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Line | |
---|
1 | $Id: README 331 2004-01-09 09:51:53Z sam $ |
---|
2 | |
---|
3 | Building libcaca |
---|
4 | |
---|
5 | o Run configure then make. Useful configure flags are: |
---|
6 | |
---|
7 | --enable-ncurses: support for the ncurses library |
---|
8 | --enable-slang: support for the SLang library |
---|
9 | --enable-conio: support for MS-DOS conio.h |
---|
10 | --enable-x11: support for native X11 rendering |
---|
11 | |
---|
12 | --disable-imlib2: remove Imlib2 support in cacaview |
---|
13 | |
---|
14 | o Cross-compilation examples: |
---|
15 | |
---|
16 | ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp |
---|
17 | |
---|
18 | ./configure --disable-imlib2 --host=i586-mingw32msvc |
---|
19 | |
---|
20 | |
---|
21 | Using libcaca |
---|
22 | |
---|
23 | o Look into the examples/ directory for simple source code examples. |
---|
24 | |
---|
25 | o Compiling a libcaca program is fairly simple: |
---|
26 | |
---|
27 | gcc -c foobar.c -o foobar.o `caca-config --cflags` |
---|
28 | gcc foobar.o -o foobar `caca-config --libs` |
---|
29 | |
---|
30 | o If you are writing a shared object that uses libcaca, either a |
---|
31 | dynamically loadable plug-in or a shared library, you should use |
---|
32 | the `--plugin-libs' flag for libcaca: |
---|
33 | |
---|
34 | gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags` |
---|
35 | gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs` |
---|
36 | |
---|
37 | |
---|
38 | Binary packages |
---|
39 | |
---|
40 | o As the API is not stable yet, everyone should statically link libcaca |
---|
41 | with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS |
---|
42 | OF LIBCACA. |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.