Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 
Sam Hocevar 107ff4b815 Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
XCode/libcacaXCode.xcodeproj * XCode project file updated for kernel pirms 15 gadiem
caca Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
caca-php Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
caca-sharp Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
cxx Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
doc Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
examples Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
java Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
kernel Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
perl Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
python Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
ruby Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
src Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
test Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
tools Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
win32 Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
.gitignore Clean up .gitignore and documentation build rules. pirms 15 gadiem
AUTHORS Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
COPYING * Fixed address in license. pirms 17 gadiem
COPYING.GPL * Added glue code to compile libcaca without a libc and build applications pirms 18 gadiem
COPYING.ISC Add a simple snake program using the <conio.h> interface. pirms 15 gadiem
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' permission. pirms 19 gadiem
ChangeLog Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
Makefile.am Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
NEWS Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
NOTES Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
README Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
THANKS Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
bootstrap Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
build-dos Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
build-kernel Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
build-win32 Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
caca-config.in Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
configure.ac Large source code cleanup, getting rid of spaces, tabs, and svn keywords. pirms 15 gadiem
libcaca.sln Add the conio examples to the Visual Studio solution. pirms 15 gadiem
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's useless. pirms 19 gadiem

README


Building libcaca

o Run configure then make. Useful configure flags are:

--enable-ncurses: support for the ncurses library
--enable-slang: support for the SLang library
--enable-conio: support for MS-DOS conio.h
--enable-x11: support for native X11 rendering
--enable-gl: support for OpenGL rendering
--enable-win32: support for the Windows console
--enable-network: support for the network server

--disable-imlib2: remove Imlib2 support in cacaview

--disable-doc: do not build documentation

o Cross-compilation examples:

./configure --disable-imlib2 --host=i386-pc-msdosdjgpp

./configure --disable-imlib2 --host=i586-mingw32msvc


Using libcaca

o Look into the src/ and test/ directories for source code examples.

o Compiling a libcaca program is fairly simple:

gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
gcc foobar.o -o foobar `pkg-config --libs caca`