diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/fltk | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/fltk')
-rw-r--r-- | packages/fltk/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/fltk/fltk-1.2+cvs20040806/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/fltk/fltk-1.2+cvs20040806/autotools.patch | 155 | ||||
-rw-r--r-- | packages/fltk/fltk-1.2+cvs20040806/makefiles.patch | 36 |
4 files changed, 191 insertions, 0 deletions
diff --git a/packages/fltk/.mtn2git_empty b/packages/fltk/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/fltk/.mtn2git_empty diff --git a/packages/fltk/fltk-1.2+cvs20040806/.mtn2git_empty b/packages/fltk/fltk-1.2+cvs20040806/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/fltk/fltk-1.2+cvs20040806/.mtn2git_empty diff --git a/packages/fltk/fltk-1.2+cvs20040806/autotools.patch b/packages/fltk/fltk-1.2+cvs20040806/autotools.patch index e69de29bb2..4af71d5537 100644 --- a/packages/fltk/fltk-1.2+cvs20040806/autotools.patch +++ b/packages/fltk/fltk-1.2+cvs20040806/autotools.patch @@ -0,0 +1,155 @@ +Index: configure.in +=================================================================== +RCS file: /cvsroot/fltk/fltk/configure.in,v +retrieving revision 1.33.2.31.2.91.2.18 +diff -u -r1.33.2.31.2.91.2.18 configure.in +--- fltk.orig/configure.in 23 Jul 2004 19:42:50 -0000 1.33.2.31.2.91.2.18 ++++ fltk/configure.in 7 Aug 2004 14:11:39 -0000 +@@ -276,7 +276,9 @@ + + dnl How do we make libraries? + AC_PROG_RANLIB +-AC_PATH_PROG(AR, ar) ++if test "x$AR" = "x:"; then ++ AC_PATH_PROG(AR, ar) ++fi + + if test "x$AR" = "x:"; then + AC_MSG_ERROR(Configure could not find the library archiver, aborting.) +@@ -293,6 +295,9 @@ + dnl Architecture checks... + AC_C_BIGENDIAN + ++AH_TEMPLATE([U16], [Define U16 type]) ++AH_TEMPLATE([U32], [Define U32 type]) ++AH_TEMPLATE([U64], [Define U64 type]) + AC_CHECK_SIZEOF(short, 2) + AC_CHECK_SIZEOF(int, 4) + AC_CHECK_SIZEOF(long, 4) +@@ -335,15 +340,18 @@ + fi + + dnl Standard headers and functions... ++AH_TEMPLATE([HAVE_SYS_SELECT_H], [Define if system provides select.h]) + AC_HEADER_DIRENT + AC_CHECK_HEADER(sys/select.h,AC_DEFINE(HAVE_SYS_SELECT_H)) + AC_CHECK_HEADER(sys/stdtypes.h,AC_DEFINE(HAVE_SYS_SELECT_H)) ++AH_TEMPLATE([HAVE_SCANDIR], [DOCUMENT_ME]) + AC_CHECK_FUNC(scandir, + if test "x$uname" = xSunOS -o "x$uname" = xQNX; then + AC_MSG_WARN(Not using $uname scandir emulation function.) + else + AC_DEFINE(HAVE_SCANDIR) + fi) ++AH_TEMPLATE([HAVE_VSNPRINTF], [Define to use system vsnprintf]) + AC_CHECK_FUNC(vsnprintf,[ + case "$uname" in + HP-UX*) +@@ -366,6 +374,7 @@ + AC_DEFINE(HAVE_VSNPRINTF) + ;; + esac]) ++AH_TEMPLATE([HAVE_SNPRINTF], [Define to use system snprintf]) + AC_CHECK_FUNC(snprintf,[ + case "$uname" in + HP-UX*) +@@ -433,6 +442,7 @@ + ac_cv_lib_png_png_set_tRNS_to_alpha=no + fi]) + ++AH_TEMPLATE([HAVE_PNG_H], [DOCUMENT_ME]) + AC_CHECK_LIB(png,png_set_tRNS_to_alpha, [ + PNGINC="" + PNG="" +@@ -450,6 +460,9 @@ + AC_SUBST(ZLIB) + AC_SUBST(ZLIBINC) + ++AH_TEMPLATE([HAVE_LIBJPEG], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_LIBPNG], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_LIBZ], [DOCUMENT_ME]) + AC_DEFINE(HAVE_LIBJPEG) + AC_DEFINE(HAVE_LIBPNG) + AC_DEFINE(HAVE_LIBZ) +@@ -461,6 +474,7 @@ + AC_EXEEXT + + dnl Check for pthreads for multi-threaded apps... ++AH_TEMPLATE([HAVE_PTHREAD_H], [DOCUMENT_ME]) + have_pthread=no + + if test "x$enable_threads" = xyes; then +@@ -493,6 +507,12 @@ + + AC_ARG_WITH(links, [ --with-links make header links for common misspellings]) + ++AH_TEMPLATE([HAVE_GL], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_GL_GLU_H], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_PTHREAD], [DOCUMENT_ME]) ++AH_TEMPLATE([USE_XFT], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_XDBE], [DOCUMENT_ME]) ++AH_TEMPLATE([HAVE_OVERLAY], [DOCUMENT_ME]) + case $uname in + CYGWIN* | MINGW*) + dnl Cygwin environment... +@@ -921,6 +941,7 @@ + OPTIM="$DEBUGFLAG $OPTIM" + + dnl Define the FLTK documentation directory... ++AH_TEMPLATE([FLTK_DOCDIR], [Define the FLTK documentation directory]) + if test x$prefix = xNONE; then + AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "/usr/local/share/doc/fltk") + else +@@ -928,12 +949,52 @@ + fi + + dnl Define the FLTK data directory... ++AH_TEMPLATE([FLTK_DATADIR], [Define the FLTK data directory]) + if test x$prefix = xNONE; then + AC_DEFINE_UNQUOTED(FLTK_DATADIR, "/usr/local/share/fltk") + else + AC_DEFINE_UNQUOTED(FLTK_DATADIR, "$prefix/share/fltk") + fi + ++AH_VERBATIM([BORDER_WIDTH], ++[/* Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are ++ * supported. ++ * ++ * 3 is the historic FLTK look. ++ * 2 is the default and looks like Microsoft Windows, KDE, and Qt. ++ * 1 is a plausible future evolution... ++ * ++ * Note that this may be simulated at runtime by redefining the boxtypes ++ * using Fl::set_boxtype(). */ ++#ifndef BORDER_WIDTH ++# define BORDER_WIDTH 2 ++#endif]) ++ ++AH_VERBATIM([USE_COLORMAP], ++[/* Setting this to zero will save a good deal of code (especially for ++ * fl_draw_image), but FLTK will only work on TrueColor visuals. */ ++#ifndef USE_COLORMAP ++# define USE_COLORMAP 1 ++#endif]) ++ ++AH_VERBATIM([USE_XDBE], ++[/* Actually try to use the double-buffer extension? */ ++#ifndef USE_XDBE ++# define USE_XDBE HAVE_XDBE ++#endif]) ++ ++AH_VERBATIM([WORDS_BIGENDIAN], ++[/* Byte order of your machine: 1 = big-endian, 0 = little-endian */ ++#ifndef WORDS_BIGENDIAN ++# define WORDS_BIGENDIAN 0 ++#endif]) ++ ++AH_VERBATIM([USE_POLL], ++[/* Use the poll() call provided on Linux and Irix instead of select() */ ++#ifndef USE_POLL ++# define USE_POLL 0 ++#endif]) ++ + dnl Write all of the files... + AC_CONFIG_HEADER(config.h:configh.in) + AC_OUTPUT(makeinclude fltk.list fltk-config FL/Makefile) diff --git a/packages/fltk/fltk-1.2+cvs20040806/makefiles.patch b/packages/fltk/fltk-1.2+cvs20040806/makefiles.patch index e69de29bb2..3a4b7b0322 100644 --- a/packages/fltk/fltk-1.2+cvs20040806/makefiles.patch +++ b/packages/fltk/fltk-1.2+cvs20040806/makefiles.patch @@ -0,0 +1,36 @@ +Index: Makefile +=================================================================== +RCS file: /cvsroot/fltk/fltk/Makefile,v +retrieving revision 1.12.2.6.2.14.2.7 +diff -u -r1.12.2.6.2.14.2.7 Makefile +--- fltk.orig/Makefile 6 Jul 2004 00:22:49 -0000 1.12.2.6.2.14.2.7 ++++ fltk/Makefile 7 Aug 2004 13:20:20 -0000 +@@ -33,7 +33,7 @@ + all: makeinclude + for dir in $(DIRS); do\ + echo "=== making $$dir ===";\ +- (cd $$dir; $(MAKE) $(MFLAGS)) || break;\ ++ cd $$dir; $(MAKE) $(MFLAGS);\ + done + + install: makeinclude +Index: makeinclude.in +=================================================================== +RCS file: /cvsroot/fltk/fltk/makeinclude.in,v +retrieving revision 1.7.2.11.2.23.2.11 +diff -u -r1.7.2.11.2.23.2.11 makeinclude.in +--- fltk.orig/makeinclude.in 28 Jul 2004 05:25:35 -0000 1.7.2.11.2.23.2.11 ++++ fltk/makeinclude.in 7 Aug 2004 14:46:12 -0000 +@@ -109,9 +109,9 @@ + POSTBUILD = @POSTBUILD@ + + # DSO version information... +-FL_DSO_MAJOR = @FL_DSO_MAJOR +-FL_DSO_MINOR = @FL_DSO_MINOR +-FL_DSO_VERSION = @FL_DSO_VERSION ++FL_DSO_MAJOR = @FL_DSO_MAJOR@ ++FL_DSO_MINOR = @FL_DSO_MINOR@ ++FL_DSO_VERSION = @FL_DSO_VERSION@ + + # Man page extensions... + CAT1EXT = @CAT1EXT@ |