diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bb/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/bb/bb_1.2.bb | 16 | ||||
-rw-r--r-- | packages/bb/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/bb/files/fix-compile.patch | 166 | ||||
-rw-r--r-- | packages/xaos/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xaos/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xaos/files/fix-aalib-configure.patch | 81 | ||||
-rw-r--r-- | packages/xaos/files/fix-build.patch | 61 | ||||
-rw-r--r-- | packages/xaos/xaos_3.2.3.bb | 29 |
9 files changed, 353 insertions, 0 deletions
diff --git a/packages/bb/.mtn2git_empty b/packages/bb/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/bb/.mtn2git_empty diff --git a/packages/bb/bb_1.2.bb b/packages/bb/bb_1.2.bb new file mode 100644 index 0000000000..0629f74faf --- /dev/null +++ b/packages/bb/bb_1.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "bb, The portable aalib demo" +HOMEPAGE = "http://aa-project.sourceforge.net/bb/" +SECTION = "console/misc" +LICENSE = "GPLv2" +DEPENDS = "aalib" +PR = "r1" + +SRC_URI = "http://prdownloads.sourceforge.net/aa-project/bb-1.2.tar.gz \ + file://fix-compile.patch;patch=1" + +inherit autotools + +do_install() { + install -d ${D}${bindir} + install -m 755 bb ${D}${bindir} +} diff --git a/packages/bb/files/.mtn2git_empty b/packages/bb/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/bb/files/.mtn2git_empty diff --git a/packages/bb/files/fix-compile.patch b/packages/bb/files/fix-compile.patch new file mode 100644 index 0000000000..75641da1e5 --- /dev/null +++ b/packages/bb/files/fix-compile.patch @@ -0,0 +1,166 @@ +Index: bb-1.2/bb.h +=================================================================== +--- bb-1.2.orig/bb.h ++++ bb-1.2/bb.h +@@ -23,7 +23,11 @@ + + #ifndef BB_H + #define BB_H ++//#include <aaint.h> + #include <aalib.h> ++struct parameters { ++ unsigned int p[AA_NPARAMS]; ++}; + #include "image.h" + #include "timers.h" + struct font { +Index: bb-1.2/textform.c +=================================================================== +--- bb-1.2.orig/textform.c ++++ bb-1.2/textform.c +@@ -155,41 +155,41 @@ static char *text = "#cWell we've reache + "#c\n" + "#bThree goals of AA-Project:#n" + "\n\n" +-"#f1)Port all important software (like Doom, Second Reality, X windows etc..) on new AA-lib. +- +-2)Port AA-lib on all available platforms (mainly ZX-Spectrum and Sharp). +- +-3)Force IBM to start manufacturing MDA cards again. +- +-AA-project was started by Jan Hubicka. In that times just few people knew about \ +-it. Then a new demo named BB has been relased to show the power \ +-of AA-lib technology. Now the project is freely available and anyone can help. +- +-Just join our mailing list: #baa#n at#b horac.ta.jcu.cz.#n by sending #bsubscribe aa#n to majordomo. +- +-All programs covered under AA-project can be obtained at +-#c#bftp://ftp.ta.jcu.cz://pub/aa#n +-#c +-Or just browse our homepage at #bhttp://www.ta.jcu.cz://aa#n. Ton of \ +-examples of ascii-art generated by aalib, pointers to other AA-Project \ +-resources etc. +- +- We decided to distribute all of our aa-related programs freely (see \ +-COPYING for details). But if you want to help us develop more such software \ +-send a small amount (or big one ;-) to AA/BB maintainer address: +- +-Kamil Toman +-CS Armady 1930, Tabor +-390 03 +-Czech republic +- +-and contact us at: +- +-kupsaf@feld.cvut.cz (Filip Kupsa) +-hubicka@paru.cas.cz (Jan Hubicka) +-titania@horac.ta.jcu.cz (Mojmir Svoboda) +-toman@horac.ta.jcu.cz (Kamil Toman) +-#f" ++"#f1)Port all important software (like Doom, Second Reality, X windows etc..) on new AA-lib.\n" ++"\n" ++"2)Port AA-lib on all available platforms (mainly ZX-Spectrum and Sharp).\n" ++"\n" ++"3)Force IBM to start manufacturing MDA cards again.\n" ++"\n" ++"AA-project was started by Jan Hubicka. In that times just few people knew about " ++"it. Then a new demo named BB has been relased to show the power " ++"of AA-lib technology. Now the project is freely available and anyone can help.\n" ++"\n" ++"Just join our mailing list: #baa#n at#b horac.ta.jcu.cz.#n by sending #bsubscribe aa#n to majordomo.\n" ++"\n" ++"All programs covered under AA-project can be obtained at\n" ++"#c#bftp://ftp.ta.jcu.cz://pub/aa#n\n" ++"#c\n" ++"Or just browse our homepage at #bhttp://www.ta.jcu.cz://aa#n. Ton of " ++"examples of ascii-art generated by aalib, pointers to other AA-Project " ++"resources etc. \n" ++" \n" ++" We decided to distribute all of our aa-related programs freely (see " ++"COPYING for details). But if you want to help us develop more such software " ++"send a small amount (or big one ;-) to AA/BB maintainer address: \n" ++"\n" ++"Kamil Toman\n" ++"CS Armady 1930, Tabor\n" ++"390 03\n" ++"Czech republic\n" ++"\n" ++"and contact us at:\n" ++"\n" ++"kupsaf@feld.cvut.cz (Filip Kupsa)\n" ++"hubicka@paru.cas.cz (Jan Hubicka)\n" ++"titania@horac.ta.jcu.cz (Mojmir Svoboda)\n" ++"toman@horac.ta.jcu.cz (Kamil Toman)\n" ++"#f" + "\n" + "#l\n" + "#c#bAvailable programs#n\n" +@@ -245,37 +245,37 @@ toman@horac.ta.jcu.cz (Kamil Toman) + "\n#l" + "\n" + "#c#bThe AA-Lib#n\n" +-"#f#c +-AA-lib is a low level gfx library just as many other libraries are. The \ +-main difference is that AA-lib does not require graphics device. In fact, \ +-there is no graphical output possible. AA-lib replaces those old-fashioned \ +-output methods with powerful ascii-art renderer. Now my linux boots \ +-with a nice penguin logo at secondary display (yes! Like Win95 does:) \ +-AA-lib API is designed to be similar to other graphics libraries. Learning \ +-a new API would be a piece of cake! \ +-#f +- +-#l +-#c#bThe history#n +-#f +-Once upon a time we've (my friend Kamil and I) bought two old Herculeses \ +-as secondary monitors. We didn't know for that time that our Diamond \ +-Stealths 64 cards would become obsolete soon. Next day we downloaded \ +-the logo of Linux Texas Users Group \ +-- nice silly penguin looking like a cowboy! It was so exciting logo ... we \ +-decided that we couldn't live without it and we wanted to see it every time \ +-at a boot time as a logo on our secondary monitors. There was a small problem \ +-- Hercules doesn't support color graphics. So we decided to convert an image \ +-to ascii art using netpbm tools. +- +-The output was very ugly because the converting algorithm was absolutly stupid. \ +-During the night I designed a new convertor that used a font bitmap for \ +-creating aproximation table. The output wasn't very good since the algorithm \ +-wasn't so well tuned. Many months this small piece of code was waiting on my \ +-disc for the day \"D\". Meanwhile I started a new project XaoS (a fractal zoomer) \ +-with my friend Thomas. And then I got an idea: Ascii Art Mandelbrots! \ +-I was really impressed by the result! XaoS was faster, portable and looking \ +-much better than ever before. I found a new way to go... " ++"#f#c" ++"AA-lib is a low level gfx library just as many other libraries are. The " ++"main difference is that AA-lib does not require graphics device. In fact, " ++"there is no graphical output possible. AA-lib replaces those old-fashioned " ++"output methods with powerful ascii-art renderer. Now my linux boots " ++"with a nice penguin logo at secondary display (yes! Like Win95 does:) " ++"AA-lib API is designed to be similar to other graphics libraries. Learning " ++"a new API would be a piece of cake! " ++"#f" ++"\n" ++"#l" ++"#c#bThe history#n" ++"#f" ++"Once upon a time we've (my friend Kamil and I) bought two old Herculeses " ++"as secondary monitors. We didn't know for that time that our Diamond " ++"Stealths 64 cards would become obsolete soon. Next day we downloaded " ++"the logo of Linux Texas Users Group " ++"- nice silly penguin looking like a cowboy! It was so exciting logo ... we " ++"decided that we couldn't live without it and we wanted to see it every time " ++"at a boot time as a logo on our secondary monitors. There was a small problem " ++"- Hercules doesn't support color graphics. So we decided to convert an image " ++"to ascii art using netpbm tools." ++"\n" ++"The output was very ugly because the converting algorithm was absolutly stupid. " ++"During the night I designed a new convertor that used a font bitmap for " ++"creating aproximation table. The output wasn't very good since the algorithm " ++"wasn't so well tuned. Many months this small piece of code was waiting on my " ++"disc for the day \"D\". Meanwhile I started a new project XaoS (a fractal zoomer) " ++"with my friend Thomas. And then I got an idea: Ascii Art Mandelbrots! " ++"I was really impressed by the result! XaoS was faster, portable and looking " ++"much better than ever before. I found a new way to go... " + "#c\n" + "#f\n" + "\n" diff --git a/packages/xaos/.mtn2git_empty b/packages/xaos/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xaos/.mtn2git_empty diff --git a/packages/xaos/files/.mtn2git_empty b/packages/xaos/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xaos/files/.mtn2git_empty diff --git a/packages/xaos/files/fix-aalib-configure.patch b/packages/xaos/files/fix-aalib-configure.patch new file mode 100644 index 0000000000..120d85b6fe --- /dev/null +++ b/packages/xaos/files/fix-aalib-configure.patch @@ -0,0 +1,81 @@ +Index: XaoS-3.2.3/configure.in +=================================================================== +--- XaoS-3.2.3.orig/configure.in ++++ XaoS-3.2.3/configure.in +@@ -130,25 +130,7 @@ if test -z "`${CC-cc} -mno-ieee-fp -c co + rm -f conftest* + ])]) + +-AC_DEFUN(AC_PROG_AALIB_VER_OK, +-[AC_CACHE_CHECK(whether aalib version >= 1.4, ac_aalib_ver_ok, +-[echo '#include <aalib.h> +-#include <aalib.h> +-void f(){ +-#if AA_LIB_VERSIONCODE < 104000 +-#error aa_lib is probably buggy +-/* I am using SuSE 7.3 and 8.0. Both contains version 1.3, +- * however they report 102000 version code. +- */ +-#endif +-}' > conftest.c +-if test -z "`${CC-cc} -c conftest.c 2>&1`"; then +- ac_aalib_ver_ok=yes +- else +- ac_aalib_ver_ok=no +- fi +- rm -f conftest* +-])]) ++ac_aalib_ver_ok=yes + + AC_DEFUN(PROG_CC_SWITCH1, + [AC_CACHE_CHECK(whether ${CC-cc} accepts -$1, ac_$2, +@@ -478,7 +460,6 @@ AC_DEFUN(AC_AALIB, [ + AC_CHECK_LIB(aa, aa_init) + if test "x$ac_cv_lib_aa_aa_init" = xyes; then + AC_MSG_RESULT(Found aalib on $1/aalib.h) +- AC_PROG_AALIB_VER_OK + if test $ac_aalib_ver_ok = yes; then + #LIBS="$LIBS $2" + x11_linked=yes +@@ -616,22 +597,22 @@ if test "$aa_driver_test" = yes; then + dnl Replace `main' with a function in -lm: + AC_CHECK_LIB(slang, SLsmg_init_smg) + +- AC_NCURSES(/usr/include, ncurses.h, , -I/usr/include/ncurses , "ncurses on /usr/include") +- AC_NCURSES(/usr/include/ncurses, ncurses.h, , -I/usr/include/ncurses, "ncurses on /usr/include/ncurses") +- AC_NCURSES(/usr/local/include, ncurses.h, ,-L/usr/local/lib, -I/usr/local/include, "ncurses on /usr/local") +- AC_NCURSES(/usr/local/include/ncurses, ncurses.h, -L/usr/local/lib -L/usr/local/lib/ncurses, -I/usr/local/include/ncurses, "ncurses on /usr/local/include/ncurses") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, ncurses.h, , -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses , "ncurses on /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, ncurses.h, , -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, "ncurses on /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, ncurses.h, ,-L/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/lib, -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, "ncurses on /usr/local") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, ncurses.h, -L/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/lib -L/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/lib/ncurses, -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, "ncurses on /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses") + +- AC_NCURSES(/usr/local/include/ncurses, curses.h, -L/usr/local/lib, -I/usr/local/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/local/.../ncurses") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, curses.h, -L/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/lib, -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/local/.../ncurses") + +- AC_NCURSES(/usr/include/ncurses, curses.h, , -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses") +- AC_CURSES(/usr/include, curses.h, , , "curses on /usr/include") ++ AC_NCURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses, curses.h, , -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/ncurses") ++ AC_CURSES(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, curses.h, , , "curses on /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include") + + dnl + dnl We couldn't find ncurses, try SysV curses + dnl + if $search_ncurses + then +- AC_EGREP_HEADER(init_color, /usr/include/curses.h, ++ AC_EGREP_HEADER(init_color, /home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include/curses.h, + AC_USE_SYSV_CURSES) + fi + +@@ -653,8 +634,8 @@ if test "$aa_driver_test" = yes; then + LIBS="$LIBS $X_EXTRA_LIBS $X_LIBS" + CFLAGS="$CFLAGS $X_CFLAGS" + fi +- AC_AALIB(/usr/include, , ) +- AC_AALIB(/usr/local/include, -L/usr/local/lib, -I/usr/local/include) ++ AC_AALIB(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, , ) ++ AC_AALIB(/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include, -L/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/lib, -I/home/papercrane/oe/oz354.build/tmp/staging/arm-linux/include) + for name in ../aalib-*.* + do + AC_AALIB($name,"-L$name","-I$name") diff --git a/packages/xaos/files/fix-build.patch b/packages/xaos/files/fix-build.patch new file mode 100644 index 0000000000..064c0fb853 --- /dev/null +++ b/packages/xaos/files/fix-build.patch @@ -0,0 +1,61 @@ +Index: XaoS-3.2.3/src/util/xstdio.c +=================================================================== +--- XaoS-3.2.3.orig/src/util/xstdio.c ++++ XaoS-3.2.3/src/util/xstdio.c +@@ -1,3 +1,4 @@ ++#define DATAPATH "/usr/share/XaoS" + #ifndef _plan9_ + #include <string.h> + #if defined(__EMX__) || defined(__APPLE__) +Index: XaoS-3.2.3/src/engine/formulas.c +=================================================================== +--- XaoS-3.2.3.orig/src/engine/formulas.c ++++ XaoS-3.2.3/src/engine/formulas.c +@@ -69,6 +69,8 @@ + #endif + + ++#include "../include/complex.h" ++ + CONST char *CONST incolorname[] = { + "0", + "zmag", +Index: XaoS-3.2.3/src/engine/plane.c +=================================================================== +--- XaoS-3.2.3.orig/src/engine/plane.c ++++ XaoS-3.2.3/src/engine/plane.c +@@ -53,6 +53,8 @@ CONST char *CONST planename[] = { + }; + + ++#include "../include/complex.h" ++ + REGISTERS (3) + void recalculate (int plane, number_t * x1, number_t * y1) + { +Index: XaoS-3.2.3/src/engine/fractal.c +=================================================================== +--- XaoS-3.2.3.orig/src/engine/fractal.c ++++ XaoS-3.2.3/src/engine/fractal.c +@@ -66,6 +66,8 @@ + #endif + #include <xerror.h> + ++#include "../include/complex.h" ++ + struct symetryinfo2 cursymetry; + struct palette cpalette; + struct image cimage; +Index: XaoS-3.2.3/src/engine/zoom.c +=================================================================== +--- XaoS-3.2.3.orig/src/engine/zoom.c ++++ XaoS-3.2.3/src/engine/zoom.c +@@ -69,6 +69,8 @@ + #define gettext(STRING) STRING + #endif + ++#include "../include/complex.h" ++ + #define ASIZE 16 + #define ALIGN(x) (((x)+ASIZE-1)&(~(ASIZE-1))) + static int nsymetrized; diff --git a/packages/xaos/xaos_3.2.3.bb b/packages/xaos/xaos_3.2.3.bb new file mode 100644 index 0000000000..c54f646c2b --- /dev/null +++ b/packages/xaos/xaos_3.2.3.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "GNU XaoS, a realtime fractal generator zoomer" +HOMEPAGE = "http://wmi.math.u-szeged.hu/xaos/doku.php" +SECTION = "graphics" +LICENSE = "GPLv2" +DEPENDS = "aalib x11 zlib libpng" +RDEPENDS += "libxxf86dga1" +PR = "r0" + +SRC_URI = "http://easynews.dl.sourceforge.net/sourceforge/xaos/XaoS-3.2.3.tar.gz \ + file://fix-build.patch;patch=1 \ + file://fix-aalib-configure.patch;patch=1" + +S = "${WORKDIR}/XaoS-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-nls" +#--with-x --with-ncurses=${STAGING_INCDIR} --with-dga-driver=no --with-x11-driver=no --with-aa-driver=yes + +do_configure_prepend() { + sed -i 's~/usr/include~${STAGING_INCDIR}~' ${S}/configure.in + sed -i 's~/usr/local/include~${STAGING_INCDIR}~' ${S}/configure.in + sed -i 's~/usr/lib~${STAGING_LIBDIR}~' ${S}/configure.in + sed -i 's~/usr/local/lib~${STAGING_LIBDIR}~' ${S}/configure.in +} + +FILES_${PN} = "${bindir} ${datadir}/XaoS/catalogs" + +CFLAGS = "-L${STAGING_LIBDIR}" |