summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-10-12 15:42:51 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-10-12 15:42:51 +0000
commit8597287146730cbaf6e26796c6746fcc294c0216 (patch)
treedcc1e3b0a3eeba05193b328dbd33ec989f3148ea
parent5b88bceb2685825d8bc1af548005592a94ce22b0 (diff)
fltk: dropped non-fetchable 1.2 snapshot
-rw-r--r--packages/fltk/fltk-1.2+cvs20040806/autotools.patch155
-rw-r--r--packages/fltk/fltk-1.2+cvs20040806/makefiles.patch36
-rw-r--r--packages/fltk/fltk_1.2+cvs20040806.bb45
3 files changed, 0 insertions, 236 deletions
diff --git a/packages/fltk/fltk-1.2+cvs20040806/autotools.patch b/packages/fltk/fltk-1.2+cvs20040806/autotools.patch
deleted file mode 100644
index 4af71d5537..0000000000
--- a/packages/fltk/fltk-1.2+cvs20040806/autotools.patch
+++ /dev/null
@@ -1,155 +0,0 @@
-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
deleted file mode 100644
index 3a4b7b0322..0000000000
--- a/packages/fltk/fltk-1.2+cvs20040806/makefiles.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-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@
diff --git a/packages/fltk/fltk_1.2+cvs20040806.bb b/packages/fltk/fltk_1.2+cvs20040806.bb
deleted file mode 100644
index a0a9cc565a..0000000000
--- a/packages/fltk/fltk_1.2+cvs20040806.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit"
-LICENSE ="LGPL"
-HOMEPAGE = "http://www.fltk.org"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "jpeg libpng zlib"
-PR = "r2"
-
-SRC_URI = "cvs://anonymous:@cvs.sourceforge.net/cvsroot/fltk;module=fltk;method=pserver;tag=v1_2;date=${@bb.data.getVar('PV', d, 1)[7:]} \
- file://makefiles.patch;patch=1 \
- file://autotools.patch;patch=1"
-S="${WORKDIR}/fltk"
-
-inherit autotools binconfig
-
-do_configure_prepend() {
- autoconf
-}
-
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev += " ${bindir}/fltk-config"
-LEAD_SONAME = "libfltk.so"
-
-EXTRA_OECONF = "--enable-shared --disable-gl"
-
-do_install () {
- oe_runmake prefix="${D}${prefix}" \
- bindir="${D}${bindir}" \
- libdir="${D}${libdir}" \
- includedir="${D}${includedir}" \
- install
-}
-
-do_stage() {
- oe_runmake install prefix=${STAGING_DIR} \
- bindir=${STAGING_BINDIR} \
- includedir=${STAGING_INCDIR} \
- libdir=${STAGING_LIBDIR} \
- datadir=${STAGING_DATADIR}
-}
-
-python populate_packages_prepend () {
- if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
- bb.data.setVar('PKG_${PN}', 'libfltk1.2', d)
-}