libcaca 0.99.beta18
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Sat, 25 Aug 2012 00:55:05 +0000 (19:55 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Sat, 25 Aug 2012 00:55:05 +0000 (19:55 -0500)
17 files changed:
0.99.16-glu.patch [deleted file]
0.99.16-ncurses57.patch [deleted file]
0.99.18-java.patch [new file with mode: 0644]
0.99.18-ncurses6.patch [new file with mode: 0644]
0.99.18-ruby19.patch [new file with mode: 0644]
README [deleted file]
caca-sharp.hint [deleted file]
libcaca++-devel.hint [deleted file]
libcaca++0.hint [deleted file]
libcaca-0.99.beta16-11.cygport [deleted file]
libcaca-0.99.beta18-1.cygport [new file with mode: 0644]
libcaca-bin.hint [deleted file]
libcaca-devel.hint [deleted file]
libcaca-doc.hint [deleted file]
libcaca.hint [deleted file]
libcaca0.hint [deleted file]
ruby-caca.hint [deleted file]

diff --git a/0.99.16-glu.patch b/0.99.16-glu.patch
deleted file mode 100644 (file)
index 1f02efa..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- origsrc/libcaca-0.99.beta16/caca/driver/gl.c       2007-11-25 08:09:41.000000000 -0600
-+++ src/libcaca-0.99.beta16/caca/driver/gl.c   2007-11-28 22:07:27.591875000 -0600
-@@ -27,6 +27,7 @@
- #   include <GLUT/glut.h>
- #else
- #   include <GL/gl.h>
-+#   include <GL/glu.h>
- #   include <GL/glut.h>
- #   include <GL/freeglut_ext.h>
- #endif
---- origsrc/libcaca-0.99.beta16/configure.ac   2007-11-28 17:49:25.000000000 -0600
-+++ src/libcaca-0.99.beta16/configure.ac       2007-11-28 22:28:49.420000000 -0600
-@@ -223,7 +223,7 @@
-       break])
-   if test "${ac_cv_my_have_gl}" = "yes"; then
-     AC_DEFINE(USE_GL, 1, Define to 1 to activate the OpenGL backend driver)
--    GL_LIBS="${GL_LIBS} -lGL -lglut"
-+    GL_LIBS="${GL_LIBS} -lglut -lGLU -lGL"
-     CACA_DRIVERS="${CACA_DRIVERS} gl"
-   elif test "${enable_gl}" = "yes"; then
-     AC_MSG_ERROR([cannot find OpenGL+FreeGLUT development files])
diff --git a/0.99.16-ncurses57.patch b/0.99.16-ncurses57.patch
deleted file mode 100644 (file)
index 2431956..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-These defines are no longer available with ncurses-5.7.
-
---- origsrc/libcaca-0.99.beta16/caca/driver/ncurses.c  2008-09-27 10:58:05.000000000 -0500
-+++ src/libcaca-0.99.beta16/caca/driver/ncurses.c      2009-03-29 17:24:09.531250000 -0500
-@@ -463,28 +463,24 @@ static int ncurses_get_event(caca_displa
-             case BUTTON1_CLICKED: CLICK(1); break;
-             case BUTTON1_DOUBLE_CLICKED: CLICK(1); CLICK(1); break;
-             case BUTTON1_TRIPLE_CLICKED: CLICK(1); CLICK(1); CLICK(1); break;
--            case BUTTON1_RESERVED_EVENT: break;
-             case BUTTON2_PRESSED: PRESS(2); break;
-             case BUTTON2_RELEASED: RELEASE(2); break;
-             case BUTTON2_CLICKED: CLICK(2); break;
-             case BUTTON2_DOUBLE_CLICKED: CLICK(2); CLICK(2); break;
-             case BUTTON2_TRIPLE_CLICKED: CLICK(2); CLICK(2); CLICK(2); break;
--            case BUTTON2_RESERVED_EVENT: break;
-             case BUTTON3_PRESSED: PRESS(3); break;
-             case BUTTON3_RELEASED: RELEASE(3); break;
-             case BUTTON3_CLICKED: CLICK(3); break;
-             case BUTTON3_DOUBLE_CLICKED: CLICK(3); CLICK(3); break;
-             case BUTTON3_TRIPLE_CLICKED: CLICK(3); CLICK(3); CLICK(3); break;
--            case BUTTON3_RESERVED_EVENT: break;
-             case BUTTON4_PRESSED: PRESS(4); break;
-             case BUTTON4_RELEASED: RELEASE(4); break;
-             case BUTTON4_CLICKED: CLICK(4); break;
-             case BUTTON4_DOUBLE_CLICKED: CLICK(4); CLICK(4); break;
-             case BUTTON4_TRIPLE_CLICKED: CLICK(4); CLICK(4); CLICK(4); break;
--            case BUTTON4_RESERVED_EVENT: break;
-             default:
-                 break;
diff --git a/0.99.18-java.patch b/0.99.18-java.patch
new file mode 100644 (file)
index 0000000..f77daec
--- /dev/null
@@ -0,0 +1,35 @@
+--- origsrc/libcaca-0.99.beta18/java/Makefile.am       2010-02-08 13:48:43.000000000 -0600
++++ src/libcaca-0.99.beta18/java/Makefile.am   2012-08-24 16:33:27.452999700 -0500
+@@ -2,7 +2,7 @@
+ jnidir = $(libdir)/jni
+ libcaca_javadir = $(datadir)/java
+-java_jar = libjava.jar
++java_jar = caca.jar
+ if USE_JAVA
+ jni_LTLIBRARIES = libcaca-java.la
+@@ -99,19 +99,19 @@ if USE_JAVA
+ BUILT_SOURCES = $(java_jni_headers) $(java_jni_classes)
+ endif
+-libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS)
++libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS) -I$(top_srcdir)/caca
+ libcaca_java_la_SOURCES = \
+   caca_java_common.h   \
+   caca_java_common.c   \
+   $(java_jni_src)
+ #nodist_libcaca_java_la_SOURCES = \
+ #  $(java_jni_headers)
+-libcaca_java_la_LDFLAGS = -shared $(JAVA_LIBS)
++libcaca_java_la_LDFLAGS = -shared -avoid-version -no-undefined $(JAVA_LIBS)
+ libcaca_java_la_LIBADD = ../caca/libcaca.la
+ examples/Driver.class: examples/Driver.java
+-      $(JAVAC) $^
++      $(JAVAC) -classpath . $^
+ examples/TrueColor.class: examples/TrueColor.java
+-      $(JAVAC) $^
++      $(JAVAC) -classpath . $^
diff --git a/0.99.18-ncurses6.patch b/0.99.18-ncurses6.patch
new file mode 100644 (file)
index 0000000..1365af9
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/libcaca-0.99.beta18/caca/driver/ncurses.c  2012-04-06 15:35:54.000000000 -0500
++++ src/libcaca-0.99.beta18/caca/driver/ncurses.c      2012-08-24 16:26:21.428632500 -0500
+@@ -262,7 +262,7 @@ static int ncurses_init_graphics(caca_di
+     mouseinterval(-1); /* No click emulation */
+     /* Set the escape delay to a ridiculously low value */
+-#if defined set_escdelay
++#if NCURSES_REENTRANT
+     set_escdelay(10);
+ #else
+     ESCDELAY = 10;
diff --git a/0.99.18-ruby19.patch b/0.99.18-ruby19.patch
new file mode 100644 (file)
index 0000000..3d3c3b1
--- /dev/null
@@ -0,0 +1,129 @@
+--- origsrc/libcaca-0.99.beta18/configure.ac   2012-04-06 15:39:42.000000000 -0500
++++ src/libcaca-0.99.beta18/configure.ac       2012-08-24 19:19:15.824013900 -0500
+@@ -462,10 +462,11 @@ ac_cv_my_have_ruby="no"
+ if test "${enable_ruby}" != "no"; then
+   AC_PATH_PROG(RUBY, ruby, no)
+   if test "${RUBY}" != "no"; then
+-    RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"archdir"@:>@')"
+-    RUBY_LIBS="-L$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"RUBY_SO_NAME"@:>@')"
+-    RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitearchdir"@:>@'`
+-    RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitelibdir"@:>@'`
++    RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"rubyhdrdir"@:>@ || RbConfig::CONFIG@<:@"rubydir"@:>@')"
++    RUBY_CFLAGS="${RUBY_CFLAGS} ${RUBY_CFLAGS}/$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"arch"@:>@')"
++    RUBY_LIBS="-L$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"RUBY_SO_NAME"@:>@')"
++    RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"vendorarchdir"@:>@'`
++    RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"vendorlibdir"@:>@'`
+     AC_SUBST(RUBY_CFLAGS)
+     AC_SUBST(RUBY_LIBS)
+     AC_SUBST(RUBY_SITEARCHDIR)
+--- origsrc/libcaca-0.99.beta18/ruby/caca-canvas.c     2010-02-15 17:49:40.000000000 -0600
++++ src/libcaca-0.99.beta18/ruby/caca-canvas.c 2012-08-24 19:05:44.195591400 -0500
+@@ -274,7 +274,7 @@ static VALUE draw_polyline(VALUE self, V
+     int error = 0;
+     VALUE v, x, y;
+-    n = RARRAY(points)->len;
++    n = RARRAY_LEN(points);
+     ax = (int*)malloc(n*sizeof(int));
+     if(!ax)
+@@ -290,7 +290,7 @@ static VALUE draw_polyline(VALUE self, V
+     for(i=0; i<n; i++)
+     {
+         v = rb_ary_entry(points, i);
+-        if((TYPE(v) == T_ARRAY) && (RARRAY(v)->len == 2))
++        if((TYPE(v) == T_ARRAY) && (RARRAY_LEN(v) == 2))
+         {
+             x = rb_ary_entry(v,0);
+             y = rb_ary_entry(v,1);
+@@ -336,7 +336,7 @@ static VALUE draw_thin_polyline(VALUE se
+     int error = 0;
+     VALUE v, x, y;
+-    n = RARRAY(points)->len;
++    n = RARRAY_LEN(points);
+     ax = (int*)malloc(n*sizeof(int));
+     if(!ax)
+@@ -352,7 +352,7 @@ static VALUE draw_thin_polyline(VALUE se
+     for(i=0; i<n; i++)
+     {
+         v = rb_ary_entry(points, i);
+-        if((TYPE(v) == T_ARRAY) && (RARRAY(v)->len == 2))
++        if((TYPE(v) == T_ARRAY) && (RARRAY_LEN(v) == 2))
+         {
+             x = rb_ary_entry(v,0);
+             y = rb_ary_entry(v,1);
+@@ -459,7 +459,7 @@ static VALUE fill_triangle_textured(VALU
+     float cuv[6];
+     VALUE v;
+-    l = RARRAY(coords)->len;
++    l = RARRAY_LEN(coords);
+     if(l != 6 && l != 3)
+     {
+         rb_raise(rb_eArgError, "invalid coords list");
+@@ -471,14 +471,14 @@ static VALUE fill_triangle_textured(VALU
+             ccoords[i] = NUM2INT(v);
+         else
+         {
+-            if((TYPE(v) != T_ARRAY) || (RARRAY(v)->len != 2))
++            if((TYPE(v) != T_ARRAY) || (RARRAY_LEN(v) != 2))
+                 rb_raise(rb_eArgError, "invalid coords list");
+             ccoords[2*i] = NUM2INT(rb_ary_entry(v, 0));
+             ccoords[2*i+1] = NUM2INT(rb_ary_entry(v, 1));
+         }
+     }
+-    l = RARRAY(uv)->len;
++    l = RARRAY_LEN(uv);
+     if(l != 6 && l != 3)
+     {
+         rb_raise(rb_eArgError, "invalid uv list");
+@@ -490,7 +490,7 @@ static VALUE fill_triangle_textured(VALU
+             cuv[i] = NUM2DBL(v);
+         else
+         {
+-            if((TYPE(v) != T_ARRAY) || (RARRAY(v)->len != 2))
++            if((TYPE(v) != T_ARRAY) || (RARRAY_LEN(v) != 2))
+                 rb_raise(rb_eArgError, "invalid uv list");
+             ccoords[2*i] = NUM2DBL(rb_ary_entry(v, 0));
+             ccoords[2*i+1] = NUM2DBL(rb_ary_entry(v, 1));
+@@ -600,7 +600,7 @@ static VALUE render_canvas(VALUE self, V
+ static VALUE import_from_memory(VALUE self, VALUE data, VALUE format)
+ {
+     long int bytes;
+-    bytes = caca_import_canvas_from_memory (_SELF, StringValuePtr(data), RSTRING(StringValue(data))->len, StringValuePtr(format));
++    bytes = caca_import_canvas_from_memory (_SELF, StringValuePtr(data), RSTRING_LEN(StringValue(data)), StringValuePtr(format));
+     if(bytes <= 0)
+         rb_raise(rb_eRuntimeError, strerror(errno));
+@@ -610,7 +610,7 @@ static VALUE import_from_memory(VALUE se
+ static VALUE import_area_from_memory(VALUE self, VALUE x, VALUE y, VALUE data, VALUE format)
+ {
+     long int bytes;
+-    bytes = caca_import_area_from_memory (_SELF, NUM2INT(x), NUM2INT(y), StringValuePtr(data), RSTRING(StringValue(data))->len, StringValuePtr(format));
++    bytes = caca_import_area_from_memory (_SELF, NUM2INT(x), NUM2INT(y), StringValuePtr(data), RSTRING_LEN(StringValue(data)), StringValuePtr(format));
+     if(bytes <= 0)
+         rb_raise(rb_eRuntimeError, strerror(errno));
+--- origsrc/libcaca-0.99.beta18/ruby/caca-dither.c     2010-02-15 17:49:47.000000000 -0600
++++ src/libcaca-0.99.beta18/ruby/caca-dither.c 2012-08-24 19:06:09.521040000 -0500
+@@ -48,7 +48,7 @@ static VALUE set_dither_palette(VALUE se
+     VALUE v, r, g, b, a;
+     int error = 0;
+-    if(RARRAY(palette)->len != 256)
++    if(RARRAY_LEN(palette) != 256)
+     {
+         rb_raise(rb_eArgError, "Palette must contain 256 elements");
+     }
+@@ -84,7 +84,7 @@ static VALUE set_dither_palette(VALUE se
+     for(i=0; i<256; i++)
+     {
+         v = rb_ary_entry(palette, i);
+-        if((TYPE(v) == T_ARRAY) && (RARRAY(v)->len == 4))
++        if((TYPE(v) == T_ARRAY) && (RARRAY_LEN(v) == 4))
+         {
+             r = rb_ary_entry(v,0);
+             g = rb_ary_entry(v,1);
diff --git a/README b/README
deleted file mode 100644 (file)
index 6651a9e..0000000
--- a/README
+++ /dev/null
@@ -1,437 +0,0 @@
-libcaca
--------------------------------------------
-libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library. There is also a native X11 driver that does not
-require a text terminal.
-
-Runtime requirements:
-  cygwin-1.7.0-49
-  libgcc1-4.3.2-2
-  libGL1-7.2-10
-  libGLU1-7.2-10
-  libglut3-2.4.0-1
-  libX11_6-1.2-10
-  libImlib2_1-1.4.2-10
-  libncurses9-5.7-14
-(libcaca++)
-  libstdc++6-4.3.2-2
-(ruby-caca)
-  ruby-1.8.7_p72-10
-
-Build requirements:
-(besides corresponding devel packages)
-  autoconf2.5-2.63-10
-  automake1.10-1.10.2-10
-  binutils-20080624-2
-  cygport-0.9.7-1
-  gawk-3.1.6-2
-  gcc4-core-4.3.2-2
-  gcc4-g++-4.3.2-2
-  libtool-2.2.7a-13
-  make-3.81-2
-  pkg-config-0.23b-10
-  sed-4.1.5-2
-
-Canonical homepage:
-  http://libcaca.zoy.org/
-
-Canonical download:
-  http://libcaca.zoy.org/files/libcaca/
-
--------------------------------------------
-
-Build instructions:
-  unpack libcaca-0.99.beta16-X-src.tar.bz2
-    if you use setup to install this src package, it will be
-        unpacked under /usr/src automatically
-  cd /usr/src
-  cygport ./libcaca-0.99.beta16-X.cygport all
-
-This will create:
-  /usr/src/caca-sharp-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca++-devel-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca++0-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca-0.99.beta16-X-src.tar.bz2
-  /usr/src/libcaca-bin-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca-devel-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca-doc-0.99.beta16-X.tar.bz2
-  /usr/src/libcaca0-0.99.beta16-X.tar.bz2
-  /usr/src/ruby-caca-0.99.beta16-X.tar.bz2
-
--------------------------------------------
-
-Files included in the binary package:
-
-(libcaca-bin)
-  /usr/bin/cacademo.exe
-  /usr/bin/cacafire.exe
-  /usr/bin/cacaplay.exe
-  /usr/bin/cacaserver.exe
-  /usr/bin/cacaview.exe
-  /usr/bin/img2txt.exe
-  /usr/share/doc/libcaca/AUTHORS
-  /usr/share/doc/libcaca/COPYING
-  /usr/share/doc/libcaca/ChangeLog
-  /usr/share/doc/libcaca/NEWS
-  /usr/share/doc/libcaca/NOTES
-  /usr/share/doc/libcaca/README
-  /usr/share/doc/libcaca/THANKS
-  /usr/share/doc/libcaca/TODO
-  /usr/share/libcaca/caca.txt
-  /usr/share/man/man1/cacademo.1.gz
-  /usr/share/man/man1/cacafire.1.gz
-  /usr/share/man/man1/cacaplay.1.gz
-  /usr/share/man/man1/cacaserver.1.gz
-  /usr/share/man/man1/cacaview.1.gz
-  /usr/share/man/man1/img2txt.1.gz
-
-(libcaca0)
-  /usr/bin/cygcaca-0.dll
-  /usr/lib/caca/cyggl_plugin.dll
-  /usr/lib/caca/cygx11_plugin.dll
-  /usr/lib/caca/libgl_plugin.la
-  /usr/lib/caca/libx11_plugin.la
-
-(libcaca++0)
-  /usr/bin/cygcaca++-0.dll
-
-(libcaca-devel)
-  /usr/bin/caca-config
-  /usr/include/caca.h
-  /usr/include/caca0.h
-  /usr/include/cucul.h
-  /usr/lib/libcaca.a
-  /usr/lib/libcaca.dll.a
-  /usr/lib/libcaca.la
-  /usr/lib/libcucul.dll.a
-  /usr/lib/pkgconfig/caca.pc
-  /usr/lib/pkgconfig/cucul.pc
-  /usr/share/man/man1/caca-config.1.gz
-
-(libcaca++-devel)
-  /usr/include/caca++.h
-  /usr/include/cucul++.h
-  /usr/lib/libcaca++.a
-  /usr/lib/libcaca++.dll.a
-  /usr/lib/libcaca++.la
-  /usr/lib/libcucul++.dll.a
-  /usr/lib/pkgconfig/caca++.pc
-  /usr/lib/pkgconfig/cucul++.pc
-
-(ruby-caca)
-  /usr/lib/ruby/site_ruby/1.8/caca.rb
-  /usr/lib/ruby/site_ruby/1.8/i386-cygwin/caca.la
-  /usr/lib/ruby/site_ruby/1.8/i386-cygwin/caca.so
-
-(libcaca-doc)
-  /usr/share/doc/libcaca-dev/html/annotated.html
-  /usr/share/doc/libcaca-dev/html/caca_8h.html
-  /usr/share/doc/libcaca-dev/html/doxygen.png
-  /usr/share/doc/libcaca-dev/html/files.html
-  /usr/share/doc/libcaca-dev/html/globals.html
-  /usr/share/doc/libcaca-dev/html/globals_defs.html
-  /usr/share/doc/libcaca-dev/html/globals_enum.html
-  /usr/share/doc/libcaca-dev/html/globals_eval.html
-  /usr/share/doc/libcaca-dev/html/globals_func.html
-  /usr/share/doc/libcaca-dev/html/globals_type.html
-  /usr/share/doc/libcaca-dev/html/group__caca__attr.html
-  /usr/share/doc/libcaca-dev/html/group__caca__attributes.html
-  /usr/share/doc/libcaca-dev/html/group__caca__canvas.html
-  /usr/share/doc/libcaca-dev/html/group__caca__charset.html
-  /usr/share/doc/libcaca-dev/html/group__caca__display.html
-  /usr/share/doc/libcaca-dev/html/group__caca__dither.html
-  /usr/share/doc/libcaca-dev/html/group__caca__event.html
-  /usr/share/doc/libcaca-dev/html/group__caca__figfont.html
-  /usr/share/doc/libcaca-dev/html/group__caca__file.html
-  /usr/share/doc/libcaca-dev/html/group__caca__font.html
-  /usr/share/doc/libcaca-dev/html/group__caca__frame.html
-  /usr/share/doc/libcaca-dev/html/group__caca__importexport.html
-  /usr/share/doc/libcaca-dev/html/group__caca__primitives.html
-  /usr/share/doc/libcaca-dev/html/group__caca__transform.html
-  /usr/share/doc/libcaca-dev/html/group__libcaca.html
-  /usr/share/doc/libcaca-dev/html/index.html
-  /usr/share/doc/libcaca-dev/html/libcaca-authors.html
-  /usr/share/doc/libcaca-dev/html/libcaca-canvas.html
-  /usr/share/doc/libcaca-dev/html/libcaca-env.html
-  /usr/share/doc/libcaca-dev/html/libcaca-font.html
-  /usr/share/doc/libcaca-dev/html/libcaca-migrating.html
-  /usr/share/doc/libcaca-dev/html/libcaca-news.html
-  /usr/share/doc/libcaca-dev/html/libcaca-ruby-api.html
-  /usr/share/doc/libcaca-dev/html/libcaca-ruby.html
-  /usr/share/doc/libcaca-dev/html/libcaca-style.html
-  /usr/share/doc/libcaca-dev/html/libcaca-thanks.html
-  /usr/share/doc/libcaca-dev/html/libcaca-tutorial.html
-  /usr/share/doc/libcaca-dev/html/modules.html
-  /usr/share/doc/libcaca-dev/html/structcaca__event.html
-  /usr/share/doc/libcaca-dev/html/tab_b.gif
-  /usr/share/doc/libcaca-dev/html/tab_l.gif
-  /usr/share/doc/libcaca-dev/html/tab_r.gif
-  /usr/share/doc/libcaca/pdf/libcaca.pdf
-  /usr/share/man/man3/CACA_API_VERSION_1.3caca.gz
-  /usr/share/man/man3/CACA_BLACK.3caca.gz
-  /usr/share/man/man3/CACA_BLINK.3caca.gz
-  /usr/share/man/man3/CACA_BLUE.3caca.gz
-  /usr/share/man/man3/CACA_BOLD.3caca.gz
-  /usr/share/man/man3/CACA_BROWN.3caca.gz
-  /usr/share/man/man3/CACA_CYAN.3caca.gz
-  /usr/share/man/man3/CACA_DARKGRAY.3caca.gz
-  /usr/share/man/man3/CACA_DEFAULT.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_ANY.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_KEY_PRESS.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_KEY_RELEASE.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_MOUSE_MOTION.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_MOUSE_PRESS.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_MOUSE_RELEASE.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_NONE.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_QUIT.3caca.gz
-  /usr/share/man/man3/CACA_EVENT_RESIZE.3caca.gz
-  /usr/share/man/man3/CACA_GREEN.3caca.gz
-  /usr/share/man/man3/CACA_ITALICS.3caca.gz
-  /usr/share/man/man3/CACA_KEY_BACKSPACE.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_A.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_B.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_C.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_D.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_E.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_F.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_G.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_J.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_K.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_L.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_N.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_O.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_P.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_Q.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_R.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_T.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_U.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_V.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_W.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_X.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_Y.3caca.gz
-  /usr/share/man/man3/CACA_KEY_CTRL_Z.3caca.gz
-  /usr/share/man/man3/CACA_KEY_DELETE.3caca.gz
-  /usr/share/man/man3/CACA_KEY_DOWN.3caca.gz
-  /usr/share/man/man3/CACA_KEY_END.3caca.gz
-  /usr/share/man/man3/CACA_KEY_ESCAPE.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F1.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F10.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F11.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F12.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F13.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F14.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F15.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F2.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F3.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F4.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F5.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F6.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F7.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F8.3caca.gz
-  /usr/share/man/man3/CACA_KEY_F9.3caca.gz
-  /usr/share/man/man3/CACA_KEY_HOME.3caca.gz
-  /usr/share/man/man3/CACA_KEY_INSERT.3caca.gz
-  /usr/share/man/man3/CACA_KEY_LEFT.3caca.gz
-  /usr/share/man/man3/CACA_KEY_PAGEDOWN.3caca.gz
-  /usr/share/man/man3/CACA_KEY_PAGEUP.3caca.gz
-  /usr/share/man/man3/CACA_KEY_PAUSE.3caca.gz
-  /usr/share/man/man3/CACA_KEY_RETURN.3caca.gz
-  /usr/share/man/man3/CACA_KEY_RIGHT.3caca.gz
-  /usr/share/man/man3/CACA_KEY_TAB.3caca.gz
-  /usr/share/man/man3/CACA_KEY_UNKNOWN.3caca.gz
-  /usr/share/man/man3/CACA_KEY_UP.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTBLUE.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTCYAN.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTGRAY.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTGREEN.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTMAGENTA.3caca.gz
-  /usr/share/man/man3/CACA_LIGHTRED.3caca.gz
-  /usr/share/man/man3/CACA_MAGENTA.3caca.gz
-  /usr/share/man/man3/CACA_MAGIC_FULLWIDTH.3caca.gz
-  /usr/share/man/man3/CACA_RED.3caca.gz
-  /usr/share/man/man3/CACA_TRANSPARENT.3caca.gz
-  /usr/share/man/man3/CACA_UNDERLINE.3caca.gz
-  /usr/share/man/man3/CACA_WHITE.3caca.gz
-  /usr/share/man/man3/CACA_YELLOW.3caca.gz
-  /usr/share/man/man3/caca.h.3caca.gz
-  /usr/share/man/man3/caca_attr.3caca.gz
-  /usr/share/man/man3/caca_attr_to_ansi.3caca.gz
-  /usr/share/man/man3/caca_attr_to_ansi_bg.3caca.gz
-  /usr/share/man/man3/caca_attr_to_ansi_fg.3caca.gz
-  /usr/share/man/man3/caca_attr_to_argb64.3caca.gz
-  /usr/share/man/man3/caca_attr_to_rgb12_bg.3caca.gz
-  /usr/share/man/man3/caca_attr_to_rgb12_fg.3caca.gz
-  /usr/share/man/man3/caca_attributes.3caca.gz
-  /usr/share/man/man3/caca_blit.3caca.gz
-  /usr/share/man/man3/caca_canvas.3caca.gz
-  /usr/share/man/man3/caca_canvas_set_figfont.3caca.gz
-  /usr/share/man/man3/caca_canvas_t.3caca.gz
-  /usr/share/man/man3/caca_charset.3caca.gz
-  /usr/share/man/man3/caca_clear_canvas.3caca.gz
-  /usr/share/man/man3/caca_cp437_to_utf32.3caca.gz
-  /usr/share/man/man3/caca_create_canvas.3caca.gz
-  /usr/share/man/man3/caca_create_display.3caca.gz
-  /usr/share/man/man3/caca_create_display_with_driver.3caca.gz
-  /usr/share/man/man3/caca_create_dither.3caca.gz
-  /usr/share/man/man3/caca_create_frame.3caca.gz
-  /usr/share/man/man3/caca_display.3caca.gz
-  /usr/share/man/man3/caca_display_t.3caca.gz
-  /usr/share/man/man3/caca_dither.3caca.gz
-  /usr/share/man/man3/caca_dither_bitmap.3caca.gz
-  /usr/share/man/man3/caca_dither_t.3caca.gz
-  /usr/share/man/man3/caca_draw_box.3caca.gz
-  /usr/share/man/man3/caca_draw_circle.3caca.gz
-  /usr/share/man/man3/caca_draw_cp437_box.3caca.gz
-  /usr/share/man/man3/caca_draw_ellipse.3caca.gz
-  /usr/share/man/man3/caca_draw_line.3caca.gz
-  /usr/share/man/man3/caca_draw_polyline.3caca.gz
-  /usr/share/man/man3/caca_draw_thin_box.3caca.gz
-  /usr/share/man/man3/caca_draw_thin_ellipse.3caca.gz
-  /usr/share/man/man3/caca_draw_thin_line.3caca.gz
-  /usr/share/man/man3/caca_draw_thin_polyline.3caca.gz
-  /usr/share/man/man3/caca_draw_thin_triangle.3caca.gz
-  /usr/share/man/man3/caca_draw_triangle.3caca.gz
-  /usr/share/man/man3/caca_event.3caca.gz
-  /usr/share/man/man3/caca_event_t.3caca.gz
-  /usr/share/man/man3/caca_event_type.3caca.gz
-  /usr/share/man/man3/caca_export_memory.3caca.gz
-  /usr/share/man/man3/caca_figfont.3caca.gz
-  /usr/share/man/man3/caca_file.3caca.gz
-  /usr/share/man/man3/caca_file_close.3caca.gz
-  /usr/share/man/man3/caca_file_eof.3caca.gz
-  /usr/share/man/man3/caca_file_gets.3caca.gz
-  /usr/share/man/man3/caca_file_open.3caca.gz
-  /usr/share/man/man3/caca_file_read.3caca.gz
-  /usr/share/man/man3/caca_file_t.3caca.gz
-  /usr/share/man/man3/caca_file_tell.3caca.gz
-  /usr/share/man/man3/caca_file_write.3caca.gz
-  /usr/share/man/man3/caca_fill_box.3caca.gz
-  /usr/share/man/man3/caca_fill_ellipse.3caca.gz
-  /usr/share/man/man3/caca_fill_triangle.3caca.gz
-  /usr/share/man/man3/caca_flip.3caca.gz
-  /usr/share/man/man3/caca_flop.3caca.gz
-  /usr/share/man/man3/caca_flush_figlet.3caca.gz
-  /usr/share/man/man3/caca_font.3caca.gz
-  /usr/share/man/man3/caca_font_t.3caca.gz
-  /usr/share/man/man3/caca_frame.3caca.gz
-  /usr/share/man/man3/caca_free_canvas.3caca.gz
-  /usr/share/man/man3/caca_free_display.3caca.gz
-  /usr/share/man/man3/caca_free_dither.3caca.gz
-  /usr/share/man/man3/caca_free_font.3caca.gz
-  /usr/share/man/man3/caca_free_frame.3caca.gz
-  /usr/share/man/man3/caca_get_attr.3caca.gz
-  /usr/share/man/man3/caca_get_canvas.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_attrs.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_chars.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_handle_x.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_handle_y.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_height.3caca.gz
-  /usr/share/man/man3/caca_get_canvas_width.3caca.gz
-  /usr/share/man/man3/caca_get_char.3caca.gz
-  /usr/share/man/man3/caca_get_cursor_x.3caca.gz
-  /usr/share/man/man3/caca_get_cursor_y.3caca.gz
-  /usr/share/man/man3/caca_get_display_driver.3caca.gz
-  /usr/share/man/man3/caca_get_display_driver_list.3caca.gz
-  /usr/share/man/man3/caca_get_display_height.3caca.gz
-  /usr/share/man/man3/caca_get_display_time.3caca.gz
-  /usr/share/man/man3/caca_get_display_width.3caca.gz
-  /usr/share/man/man3/caca_get_dither_algorithm.3caca.gz
-  /usr/share/man/man3/caca_get_dither_algorithm_list.3caca.gz
-  /usr/share/man/man3/caca_get_dither_antialias.3caca.gz
-  /usr/share/man/man3/caca_get_dither_antialias_list.3caca.gz
-  /usr/share/man/man3/caca_get_dither_brightness.3caca.gz
-  /usr/share/man/man3/caca_get_dither_charset.3caca.gz
-  /usr/share/man/man3/caca_get_dither_charset_list.3caca.gz
-  /usr/share/man/man3/caca_get_dither_color.3caca.gz
-  /usr/share/man/man3/caca_get_dither_color_list.3caca.gz
-  /usr/share/man/man3/caca_get_dither_contrast.3caca.gz
-  /usr/share/man/man3/caca_get_dither_gamma.3caca.gz
-  /usr/share/man/man3/caca_get_event.3caca.gz
-  /usr/share/man/man3/caca_get_event_key_ch.3caca.gz
-  /usr/share/man/man3/caca_get_event_key_utf32.3caca.gz
-  /usr/share/man/man3/caca_get_event_key_utf8.3caca.gz
-  /usr/share/man/man3/caca_get_event_mouse_button.3caca.gz
-  /usr/share/man/man3/caca_get_event_mouse_x.3caca.gz
-  /usr/share/man/man3/caca_get_event_mouse_y.3caca.gz
-  /usr/share/man/man3/caca_get_event_resize_height.3caca.gz
-  /usr/share/man/man3/caca_get_event_resize_width.3caca.gz
-  /usr/share/man/man3/caca_get_event_type.3caca.gz
-  /usr/share/man/man3/caca_get_export_list.3caca.gz
-  /usr/share/man/man3/caca_get_font_blocks.3caca.gz
-  /usr/share/man/man3/caca_get_font_height.3caca.gz
-  /usr/share/man/man3/caca_get_font_list.3caca.gz
-  /usr/share/man/man3/caca_get_font_width.3caca.gz
-  /usr/share/man/man3/caca_get_frame_count.3caca.gz
-  /usr/share/man/man3/caca_get_frame_name.3caca.gz
-  /usr/share/man/man3/caca_get_import_list.3caca.gz
-  /usr/share/man/man3/caca_get_mouse_x.3caca.gz
-  /usr/share/man/man3/caca_get_mouse_y.3caca.gz
-  /usr/share/man/man3/caca_get_version.3caca.gz
-  /usr/share/man/man3/caca_gotoxy.3caca.gz
-  /usr/share/man/man3/caca_import_file.3caca.gz
-  /usr/share/man/man3/caca_import_memory.3caca.gz
-  /usr/share/man/man3/caca_importexport.3caca.gz
-  /usr/share/man/man3/caca_invert.3caca.gz
-  /usr/share/man/man3/caca_key.3caca.gz
-  /usr/share/man/man3/caca_load_font.3caca.gz
-  /usr/share/man/man3/caca_manage_canvas.3caca.gz
-  /usr/share/man/man3/caca_primitives.3caca.gz
-  /usr/share/man/man3/caca_printf.3caca.gz
-  /usr/share/man/man3/caca_put_attr.3caca.gz
-  /usr/share/man/man3/caca_put_char.3caca.gz
-  /usr/share/man/man3/caca_put_figchar.3caca.gz
-  /usr/share/man/man3/caca_put_str.3caca.gz
-  /usr/share/man/man3/caca_rand.3caca.gz
-  /usr/share/man/man3/caca_refresh_display.3caca.gz
-  /usr/share/man/man3/caca_render_canvas.3caca.gz
-  /usr/share/man/man3/caca_rotate_180.3caca.gz
-  /usr/share/man/man3/caca_rotate_left.3caca.gz
-  /usr/share/man/man3/caca_rotate_right.3caca.gz
-  /usr/share/man/man3/caca_set_attr.3caca.gz
-  /usr/share/man/man3/caca_set_canvas_boundaries.3caca.gz
-  /usr/share/man/man3/caca_set_canvas_handle.3caca.gz
-  /usr/share/man/man3/caca_set_canvas_size.3caca.gz
-  /usr/share/man/man3/caca_set_color_ansi.3caca.gz
-  /usr/share/man/man3/caca_set_color_argb.3caca.gz
-  /usr/share/man/man3/caca_set_cursor.3caca.gz
-  /usr/share/man/man3/caca_set_display_driver.3caca.gz
-  /usr/share/man/man3/caca_set_display_time.3caca.gz
-  /usr/share/man/man3/caca_set_display_title.3caca.gz
-  /usr/share/man/man3/caca_set_dither_algorithm.3caca.gz
-  /usr/share/man/man3/caca_set_dither_antialias.3caca.gz
-  /usr/share/man/man3/caca_set_dither_brightness.3caca.gz
-  /usr/share/man/man3/caca_set_dither_charset.3caca.gz
-  /usr/share/man/man3/caca_set_dither_color.3caca.gz
-  /usr/share/man/man3/caca_set_dither_contrast.3caca.gz
-  /usr/share/man/man3/caca_set_dither_gamma.3caca.gz
-  /usr/share/man/man3/caca_set_dither_palette.3caca.gz
-  /usr/share/man/man3/caca_set_frame.3caca.gz
-  /usr/share/man/man3/caca_set_frame_name.3caca.gz
-  /usr/share/man/man3/caca_set_mouse.3caca.gz
-  /usr/share/man/man3/caca_stretch_left.3caca.gz
-  /usr/share/man/man3/caca_stretch_right.3caca.gz
-  /usr/share/man/man3/caca_transform.3caca.gz
-  /usr/share/man/man3/caca_unmanage_canvas.3caca.gz
-  /usr/share/man/man3/caca_utf32_is_fullwidth.3caca.gz
-  /usr/share/man/man3/caca_utf32_to_ascii.3caca.gz
-  /usr/share/man/man3/caca_utf32_to_cp437.3caca.gz
-  /usr/share/man/man3/caca_utf32_to_utf8.3caca.gz
-  /usr/share/man/man3/caca_utf8_to_utf32.3caca.gz
-
-------------------
-
-Port Notes:
-
------ version 0.99.beta16-11 -----
-Rebuilt.
-
------ version 0.99.beta16-10 -----
-Initial release for Cygwin 1.7.
-
-
-Cygwin port maintained by:
-http://sourceware.org/cygwinports/
diff --git a/caca-sharp.hint b/caca-sharp.hint
deleted file mode 100644 (file)
index 04f09b4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Dotnet Graphics
-requires: libcaca0 mono
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (Mono C# bindings)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca++-devel.hint b/libcaca++-devel.hint
deleted file mode 100644 (file)
index 6b93e9f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Graphics
-requires: libcaca++0 libcaca-devel libstdc++6-devel
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (C++ development)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca++0.hint b/libcaca++0.hint
deleted file mode 100644 (file)
index 2875043..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Graphics
-requires: libcaca0 libgcc1 libstdc++6
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (C++ runtime)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca-0.99.beta16-11.cygport b/libcaca-0.99.beta16-11.cygport
deleted file mode 100644 (file)
index 4a37ed0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-DESCRIPTION="Color ASCII art library"
-HOMEPAGE="http://libcaca.zoy.org/"
-SRC_URI="http://libcaca.zoy.org/raw-attachment/wiki/${PN}/${P}.tar.gz"
-PATCH_URI="
-       0.99.16-caca-sharp-dllmap.patch
-       0.99.16-glu.patch
-       0.99.16-plugins.patch
-       0.99.16-ruby.patch
-       0.99.16-ncurses57.patch
-"
-
-PKG_NAMES="${PN} ${PN}-bin ${PN}0 ${PN}++0 ${PN}-devel ${PN}++-devel ${PN}-doc ruby-caca" # caca-sharp"
-libcaca_bin_CONTENTS="--exclude=*-config.* --exclude=${PN}-dev \
-                      usr/bin/*.exe usr/share/doc/ usr/share/${PN} usr/share/man/man1/"
-libcaca0_CONTENTS="usr/bin/cygcaca-0.dll usr/lib/caca/"
-libcaca__0_CONTENTS="usr/bin/cygcaca++-0.dll"
-libcaca_devel_CONTENTS="--exclude=*++.* usr/bin/caca-config usr/include/ usr/lib/lib*
-                        usr/lib/pkgconfig/ usr/share/man/man1/caca-config.*"
-libcaca___devel_CONTENTS="usr/include/*++.h usr/lib/lib*++.* usr/lib/pkgconfig/**++.pc"
-libcaca_doc_CONTENTS="usr/share/doc/${PN}-dev/html/ usr/share/man/man3/"
-#caca_sharp_CONTENTS='usr/lib/mono/'
-ruby_caca_CONTENTS='usr/lib/ruby/'
-
-CYGCONF_ARGS="
-       --disable-debug --enable-doc
-       --enable-x11 --with-x --x-libraries=/usr/lib --enable-gl
-       --enable-imlib2 --enable-ncurses --enable-plugins
-       --disable-cocoa --disable-conio --disable-slang --disable-win32
-       --enable-cxx --disable-csharp --enable-ruby
-       ac_cv_header_windows_h=no ac_cv_header_winsock2_h=no
-"
-
-src_install() {
-       cd ${B}
-       cyginstall \
-               cacadir=/usr/lib/mono/caca-sharp \
-               docdir=/usr/share/doc/${PN}
-
-       rm -f ${D}/usr/share/man/man1/cacademo.1
-       echo '.so cacafire.1' > ${D}/usr/share/man/man1/cacademo.1
-
-       find ${D}/usr/share/man/man3/ -type f ! -iname 'caca*' ! -iname 'cucul*' -exec rm -f '{}' +
-}
diff --git a/libcaca-0.99.beta18-1.cygport b/libcaca-0.99.beta18-1.cygport
new file mode 100644 (file)
index 0000000..885d044
--- /dev/null
@@ -0,0 +1,78 @@
+inherit java python python3 ruby
+
+CATEGORY="Graphics"
+SUMMARY="Color ASCII art library"
+DESCRIPTION="libcaca is a graphics library that outputs text instead of pixels,
+so that it can work on older video cards or text terminals. It is not unlike
+the famous AAlib library, except that colors are supported. libcaca can use
+almost any virtual terminal to work, and there is also a native X11 driver that
+does not require a text terminal."
+HOMEPAGE="http://libcaca.zoy.org/"
+SRC_URI="http://libcaca.zoy.org/raw-attachment/wiki/${PN}/${P}.tar.gz"
+PATCH_URI="
+       0.99.16-caca-sharp-dllmap.patch
+       0.99.16-plugins.patch
+       0.99.16-ruby.patch
+       0.99.18-java.patch
+       0.99.18-ncurses6.patch
+       0.99.18-ruby19.patch
+"
+
+PKG_NAMES="${PN}-bin ${PN}0 ${PN}++0 ${PN}-devel ${PN}++-devel ${PN}-doc
+           java-caca python-caca python3-caca ruby-caca"
+libcaca_bin_SUMMARY="${SUMMARY} (sample programs)"
+libcaca_bin_CONTENTS="--exclude=*-config.* --exclude=html --exclude=pdf \
+                      usr/bin/*.exe usr/share/doc/ usr/share/${PN} usr/share/man/man1/"
+libcaca0_SUMMARY="${SUMMARY} (C runtime)"
+libcaca0_CONTENTS="usr/bin/cygcaca-0.dll"
+libcaca__0_SUMMARY="${SUMMARY} (C++ runtime)"
+libcaca__0_CONTENTS="usr/bin/cygcaca++-0.dll"
+libcaca_devel_SUMMARY="${SUMMARY} (C development)"
+libcaca_devel_CONTENTS="--exclude=*++.* usr/bin/caca-config usr/include/ usr/lib/lib*
+                        usr/lib/pkgconfig/ usr/share/man/man1/caca-config.*"
+libcaca___devel_SUMMARY="${SUMMARY} (C++ development)"
+libcaca___devel_CONTENTS="usr/include/*++.h usr/lib/lib*++.* usr/lib/pkgconfig/**++.pc"
+libcaca_doc_SUMMARY="${SUMMARY} (API documentation)"
+libcaca_doc_CONTENTS="usr/share/doc/${PN}/*/ usr/share/man/man3/"
+java_caca_CATEGORY="Java"
+java_caca_SUMMARY="${SUMMARY} (Java JNI bindings)"
+java_caca_CONTENTS="usr/bin/cygcaca-java.dll ${JAVA_DIR#/}/caca.jar"
+python_caca_CATEGORY="Python"
+python_caca_SUMMARY="${SUMMARY} (Python bindings)"
+python_caca_REQUIRES="libcaca-devel" # ctypes.util.find_library('caca')
+python_caca_CONTENTS=${PYTHON_SITELIB#/}
+python3_caca_CATEGORY="Python"
+python3_caca_SUMMARY="${SUMMARY} (Py3K bindings)"
+python3_caca_REQUIRES="libcaca-devel" # ctypes.util.find_library('caca')
+python3_caca_CONTENTS=${PYTHON3_SITELIB#/}
+ruby_caca_CATEGORY="Ruby"
+ruby_caca_SUMMARY="${SUMMARY} (Ruby bindings)"
+ruby_caca_CONTENTS=${RUBY_VENDORLIB#/}
+
+CYGCONF_ARGS="
+       --disable-debug --enable-doc
+       --enable-x11 --with-x --x-libraries=/usr/lib --enable-gl
+       --enable-imlib2 --enable-ncurses --disable-plugins
+       --disable-cocoa --disable-conio --disable-slang --disable-win32
+       --enable-cxx --disable-csharp --enable-java --enable-python --enable-ruby
+       ac_cv_header_windows_h=no ac_cv_header_winsock2_h=no
+"
+
+src_install() {
+       cd ${B}
+       cyginstall
+       mv ${D}/usr/share/doc/${PN}{-dev,}
+       rm -f ${D}/usr/lib/libcucul*.la ${D}/usr/share/doc/libcucul*
+
+       # the python bindings are ctypes-based and Py3K compatible
+       python3into caca
+       dopython3 ${D}${PYTHON_SITELIB}/caca/*.py
+       python3_optimize
+
+       rm -f ${D}/usr/share/man/man1/cacademo.1
+       echo '.so cacafire.1' > ${D}/usr/share/man/man1/cacademo.1
+
+       find ${D}/usr/share/man/man3/ -type f ! -iname 'caca*' ! -iname 'cucul*' -exec rm -f '{}' +
+}
+
+KEEP_LA_FILES="none"
diff --git a/libcaca-bin.hint b/libcaca-bin.hint
deleted file mode 100644 (file)
index 62a2c19..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Graphics
-requires: libcaca0 libgcc1 libImlib2_1
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (demos)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca-devel.hint b/libcaca-devel.hint
deleted file mode 100644 (file)
index d05328c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Graphics
-requires: libcaca0 libncurses-devel zlib-devel
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (development)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca-doc.hint b/libcaca-doc.hint
deleted file mode 100644 (file)
index 2ecb8ca..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-category: Graphics Doc
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (API documentation)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca.hint b/libcaca.hint
deleted file mode 100644 (file)
index b991616..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-category: Graphics
-sdesc: "Colored ASCII graphics library (sources)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/libcaca0.hint b/libcaca0.hint
deleted file mode 100644 (file)
index b20f55c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Graphics
-requires: libgcc1 libGL1 libGLU1 libglut3 libncurses9 libX11_6 zlib0
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (runtime library)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
diff --git a/ruby-caca.hint b/ruby-caca.hint
deleted file mode 100644 (file)
index 92a5fae..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-category: Ruby
-requires: libcaca0 libgcc1 ruby
-external-source: libcaca
-sdesc: "Colored ASCII graphics library (Ruby bindings)"
-ldesc: "libcaca is a graphics library that outputs text instead of pixels, so
-that it can work on older video cards or text terminals. It is not
-unlike the famous AAlib library, except that colors are supported.
-libcaca can use almost any virtual terminal to work, thus it should work
-on all Unix systems (including Mac OS X) using either the slang library
-or the ncurses library, on DOS using the conio library, and on Windows
-systems using either slang or ncurses (through Cygwin emulation) or
-conio. There is also a native X11 driver that does not require a text
-terminal."
This page took 0.046358 seconds and 5 git commands to generate.