Last change
on this file since 589 was
300,
checked in by Sam Hocevar, 19 years ago
|
- src/graphics.c:
+ Minor optimisation in caca_set_color().
+ Added an X11 error handler to avoid BadFont? aborts in the X11 driver.
+ Optimised the X11 caca_refresh() routine by handling strings of the
same colour as one text chunk.
- src/caca.c:
+ Bugfix in caca_init when conio is the only compiled-in driver.
- README:
+ Minor documentation updates.
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Line | |
---|
1 | $Id: README 300 2004-01-01 17:51:57Z 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 example: |
---|
15 | |
---|
16 | ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp |
---|
17 | |
---|
18 | |
---|
19 | Using libcaca |
---|
20 | |
---|
21 | o Look into the examples/ directory for simple source code examples. |
---|
22 | |
---|
23 | o Compiling a libcaca program is fairly simple: |
---|
24 | |
---|
25 | gcc -c foobar.c -o foobar.o `caca-config --cflags` |
---|
26 | gcc foobar.o -o foobar `caca-config --libs` |
---|
27 | |
---|
28 | o If you are writing a shared object that uses libcaca, either a |
---|
29 | dynamically loadable plug-in or a shared library, you should use |
---|
30 | the `--plugin-libs' flag for libcaca: |
---|
31 | |
---|
32 | gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags` |
---|
33 | gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs` |
---|
34 | |
---|
35 | |
---|
36 | Binary packages |
---|
37 | |
---|
38 | o As the API is not stable yet, everyone should statically link libcaca |
---|
39 | with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS |
---|
40 | OF LIBCACA. |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.