Changeset 202
- Timestamp:
- Nov 20, 2003, 5:54:04 PM (19 years ago)
- Location:
- libcaca/trunk
- Files:
-
- 2 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk
- Property svn:ignore
-
old new 12 12 *-stamp 13 13 INSTALL 14 caca-config
-
- Property svn:ignore
-
libcaca/trunk/Makefile.am
r190 r202 6 6 DIST_SUBDIRS = $(SUBDIRS) autotools debian 7 7 8 EXTRA_DIST = BUGS bootstrap 8 EXTRA_DIST = BUGS bootstrap caca-config.in 9 9 AUTOMAKE_OPTIONS = foreign dist-bzip2 10 10 11 bin_SCRIPTS = caca-config 12 -
libcaca/trunk/README
r189 r202 13 13 ./configure --enable-conio --host=i386-pc-msdosdjgpp 14 14 15 16 Using libcaca 17 18 o Compiling a libcaca program is fairly simple: 19 20 gcc -c foobar.c -o foobar.o `caca-config --cflags` 21 gcc foobar.o -o foobar `caca-config --libs` 22 23 o If you are writing a shared object that uses libcaca, either a 24 dynamically loadable plug-in or a shared library, you should use 25 the `--plugin-libs' flag for libcaca: 26 27 gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags` 28 gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs` 29 30 31 Binary packages 32 33 o As the API is not stable yet, everyone should statically link libcaca 34 with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS 35 OF LIBCACA. 36 -
libcaca/trunk/TODO
r201 r202 8 8 o Better keyboard driver in an X terminal, see 9 9 http://groups.yahoo.com/group/zepp/message/381 10 11 o Write a window resize handler. 10 12 11 13 o DONE 12 Nov 2003: Port to conio.h … … 20 22 o Fix the thin ellipse rendering 21 23 24 25 Misc 26 27 o Draw a nicer logo sprite 28 29 30 Documentation 31 32 o Everything is still to do. 33 -
libcaca/trunk/configure.ac
r190 r202 59 59 CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" 60 60 61 # Build the PIC library? 62 case "${target_os}" in 63 *mingw32* | *cygwin*) 64 NEED_PIC=false 65 ;; 66 *) 67 NEED_PIC=: 68 ;; 69 esac 70 71 AM_CONDITIONAL(NEED_PIC, ${NEED_PIC}) 72 61 73 AC_OUTPUT([ 62 74 Makefile … … 65 77 autotools/Makefile 66 78 debian/Makefile 79 caca-config 80 ],[ 81 chmod 0755 caca-config 67 82 ]) 68 83 -
libcaca/trunk/debian
- Property svn:ignore
-
old new 3 3 *.debhelper 4 4 *.substvars 5 ttyvaders 5 libcaca-dev 6 files
-
- Property svn:ignore
-
libcaca/trunk/debian/control
r189 r202 1 1 Source: libcaca 2 Section: games2 Section: libs 3 3 Priority: optional 4 4 Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org> 5 Build-Depends: debhelper (>= 2.2.0), slang1-dev5 Build-Depends: debhelper (>= 4.0), slang1-dev 6 6 Standards-Version: 3.6.1.0 7 7 8 Package: libcaca 9 Section: games8 Package: libcaca-dev 9 Section: libdevel 10 10 Architecture: any 11 11 Depends: ${shlibs:Depends} 12 12 Description: text mode graphics library 13 libcaca is the Colo r ANSI ConsoleArt library.13 libcaca is the Colour AsCii Art library. 14 14 . 15 It rules. 15 This package contains the header files and static libraries needed to 16 compile applications or shared objects that use libcaca. -
libcaca/trunk/debian/rules
r189 r202 2 2 3 3 #export DH_VERBOSE=1 4 export DH_COMPAT=35 4 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) 6 5 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) … … 39 38 dh_clean -k 40 39 dh_installdirs 41 DESTDIR=`pwd`/debian/libcaca / $(MAKE) install prefix=/usr40 DESTDIR=`pwd`/debian/libcaca-dev/ $(MAKE) install prefix=/usr 42 41 43 42 # Build architecture-independent files here. … … 51 50 dh_testroot 52 51 # dh_installdebconf 53 dh_installdocs 52 dh_installdocs README BUGS TODO 54 53 # dh_installexamples 55 54 dh_installmenu -
libcaca/trunk/examples
- Property svn:ignore
-
old new 3 3 .libs 4 4 .deps 5 demo6 demo.exe7 spritedit8 spritedit.exe5 caca-demo 6 caca-demo.exe 7 caca-spritedit 8 caca-spritedit.exe
-
- Property svn:ignore
-
libcaca/trunk/examples/Makefile.am
r198 r202 4 4 5 5 AM_CPPFLAGS = -I$(top_srcdir)/src 6 7 pkgdata_DATA = caca.txt 6 8 7 9 EXTRA_DIST = caca.txt … … 14 16 endif 15 17 16 noinst_PROGRAMS = demospritedit18 bin_PROGRAMS = caca-demo caca-spritedit 17 19 18 demo_SOURCES = demo.c 19 demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm 20 demo_CFLAGS = `pkg-config --cflags gtk+-2.0` 21 demo_LDFLAGS = `pkg-config --libs gtk+-2.0` 20 caca_demo_SOURCES = demo.c 21 caca_demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm 22 caca_demo_CPPFLAGS = -DDATADIR=\"$(pkgdatadir)\" 23 caca_demo_CFLAGS = `pkg-config --cflags gtk+-2.0` 24 caca_demo_LDFLAGS = `pkg-config --libs gtk+-2.0` 22 25 23 spritedit_SOURCES = spritedit.c24 spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm26 caca_spritedit_SOURCES = spritedit.c 27 caca_spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm 25 28 -
libcaca/trunk/examples/demo.c
r199 r202 68 68 69 69 /* Initialize data */ 70 sprite = caca_load_sprite("caca.txt"); 70 sprite = caca_load_sprite(DATADIR "/caca.txt"); 71 if(!sprite) 72 sprite = caca_load_sprite("caca.txt"); 71 73 if(!sprite) 72 74 sprite = caca_load_sprite("examples/caca.txt"); -
libcaca/trunk/src/Makefile.am
r198 r202 3 3 ############################################################################### 4 4 5 lib_LIBRARIES = libcaca.a 5 include_HEADERS = caca.h 6 7 lib_LIBRARIES = libcaca.a $(libcaca_pic_a) 6 8 libcaca_a_SOURCES = \ 7 9 caca.c \ … … 19 21 $(NULL) 20 22 21 include_HEADERS = caca.h 23 if NEED_PIC 24 libcaca_pic_a = libcaca_pic.a 25 endif 26 libcaca_pic_a_SOURCES = $(libcaca_a_SOURCES) 27 libcaca_pic_a_CPPFLAGS = -fPIC 22 28
Note: See TracChangeset
for help on using the changeset viewer.