summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glibc/glibc_2.3.2.oe116
-rw-r--r--lisa/lisa-0.2.2/configure.patch604
-rw-r--r--modutils/modutils_2.4.25.oe2
-rw-r--r--ncurses/ncurses_5.3.oe15
-rw-r--r--patcher/patcher_1.0.oe24
-rw-r--r--tslib/tslib.oe6
6 files changed, 759 insertions, 8 deletions
diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe
index e69de29bb2..da6cad808c 100644
--- a/glibc/glibc_2.3.2.oe
+++ b/glibc/glibc_2.3.2.oe
@@ -0,0 +1,116 @@
+DESCRIPTION="GNU C Library"
+LICENSE="LGPL"
+SECTION="libs"
+PRIORITY=required
+MAINTAINER="Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI=ftp://ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.gz \
+ ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.3.2.tar.gz \
+ http://www.uclibc.org/downloads/toolchain/kernel-headers-2.4.21.tar.bz2
+SRC_URI_append=' file://${FILESDIR}/noinfo.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/10_cvs.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/30_glibc232-base.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-arm-dwarf2-buildfix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-m68k-dwarf2-buildfix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-mips-buildfix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/50_glibc23-hppa-entry.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-futimes-buildfix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-iconvdata-fix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-locales-header.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-wcsmbs-fix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/81_glibc232-utimes-fix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/alpha-crti.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/alpha-pic.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/alpha-pwrite.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/arm-no-hwcap.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/arm-output-format.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/fhs-linux-paths.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-eo_EO.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-locales.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc22-m68k-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-m68k-fpic.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-nss-upgrade.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-ttyname-devfs.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc23-01-hppa-dl-machine.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-07-hppa-atomicity.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-asserth-decls.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc23-cmov.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-ctype-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-errno.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-function-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-malloc8.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-Rminkernel.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibcbug.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/hurd-enable-ldconfig.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/ldconfig.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/ldd.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/libgcc-compat-all.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/libgcc-compat-other.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/librt-mips.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/locale-es_AR.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/locales-stuff.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/locales-supported.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/lo_LA.UTF-8_not_supported.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/makeconfig.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/nss_compat-shadow.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/powerpc-sysconf.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/revert-old-libio.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/s390-tls.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/sparc64-fixups.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/sparcv8-target.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/syslog-backrev.patch;patch=1;pnum=0'
+#SRC_URI_append=' file://${FILESDIR}/dyn-ldconfig.diff;patch=1;pnum=0'
+PROVIDES=virtual/libc
+
+S="${WORKDIR}/${P}"
+B="${WORKDIR}/build-${TARGET_SYS}"
+
+inherit autotools
+
+EXTRA_OECONF="--with-elf --disable-profile --enable-add-ons=linuxthreads --with-elf --enable-shared --with-headers=${WORKDIR}/linux/include --without-cvs --enable-kernel=2.4.6"
+
+glibcbuild_do_unpack () {
+ mv "${WORKDIR}/linuxthreads" "${WORKDIR}/linuxthreads_db" "${S}/"
+# kernel headers
+ cp -a "${FILESDIR}/version.h" "${FILESDIR}/autoconf.h" "${WORKDIR}/linux/include/linux/"
+ if [ -e "${FILESDIR}/asm-${TARGET_ARCH}-unistd.h" ]; then
+ cp -a "${FILESDIR}/asm-${TARGET_ARCH}-unistd.h" "${WORKDIR}/linux/include/asm-${TARGET_ARCH}/unistd.h"
+ fi
+ ln -sf "asm-${TARGET_ARCH}" "${WORKDIR}/linux/include/asm"
+}
+
+python do_unpack () {
+ oe.build.exec_func('base_do_unpack', d)
+ oe.build.exec_func('glibcbuild_do_unpack', d)
+}
+
+do_configure () {
+# override this function to avoid the autoconf/automake/aclocal/autoheader
+# calls for now
+ oe_runconf
+}
+
+do_compile_prepend() {
+ touch sysdeps/${TARGET_ARCH}/framestate.c
+}
+
+do_stage() {
+ oe_runmake 'install_root=${STAGING_DIR}/target' \
+ 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
+ '${STAGING_LIBDIR}/libc-${PV}.so' '${STAGING_LIBDIR}/libc.so.6' \
+ install-headers install-lib
+ echo 'GROUP ( libc.so.6 libc_nonshared.a )' > \
+ '${STAGING_LIBDIR}/libc.so'
+ mv '${STAGING_LIBDIR}/libpthread.so' '${STAGING_LIBDIR}/libpthread-old.so'
+ cat '${STAGING_LIBDIR}/libpthread-old.so' | sed -e's,/lib/,,g' > '${STAGING_LIBDIR}/libpthread.so'
+ cp -a '${WORKDIR}/linux/include/linux' '${STAGING_DIR}/target/include/'
+ cp -a '${WORKDIR}/linux/include/asm-${TARGET_ARCH}' '${STAGING_DIR}/target/include/'
+ ln -sf 'asm-${TARGET_ARCH}' '${STAGING_DIR}/target/include/asm'
+}
+
+do_install() {
+ oe_runmake install_root=${D} install
+# cp -a ${WORKDIR}/linux/include/linux ${D}/${includedir}/
+# cp -a ${WORKDIR}/linux/include/asm-${TARGET_ARCH}/* ${D}/${includedir}/asm/
+}
diff --git a/lisa/lisa-0.2.2/configure.patch b/lisa/lisa-0.2.2/configure.patch
index e69de29bb2..3e9d7870f5 100644
--- a/lisa/lisa-0.2.2/configure.patch
+++ b/lisa/lisa-0.2.2/configure.patch
@@ -0,0 +1,604 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- lisa-0.2.2/Makefile.am~configure
++++ lisa-0.2.2/Makefile.am
+@@ -22,7 +22,8 @@
+ @echo "****************************************************"
+ @echo ""
+
+-$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++#$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
+ $(top_srcdir)/configure.files:
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
+--- lisa-0.2.2/Makefile.am.in~configure
++++ lisa-0.2.2/Makefile.am.in
+@@ -22,7 +22,8 @@
+ @echo "****************************************************"
+ @echo ""
+
+-$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++#$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
+ $(top_srcdir)/configure.files:
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
+--- lisa-0.2.2/Makefile.in~configure
++++ lisa-0.2.2/Makefile.in
+@@ -1,7 +1,7 @@
+-# Makefile.in generated by automake 1.7 from Makefile.am.
++# Makefile.in generated by automake 1.7.7 from Makefile.am.
+ # @configure_input@
+
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -42,16 +42,13 @@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+ AMTAR = @AMTAR@
+-ARTSCCONFIG = @ARTSCCONFIG@
+ AUTOCONF = @AUTOCONF@
+-AUTODIRS = @AUTODIRS@
+ AUTOHEADER = @AUTOHEADER@
+ AUTOMAKE = @AUTOMAKE@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
+-CONF_FILES = @CONF_FILES@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+@@ -59,9 +56,6 @@
+ CXXDEPMODE = @CXXDEPMODE@
+ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+-DCOPIDL = @DCOPIDL@
+-DCOPIDL2CPP = @DCOPIDL2CPP@
+-DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
+ ECHO = @ECHO@
+@@ -70,68 +64,23 @@
+ ECHO_T = @ECHO_T@
+ EGREP = @EGREP@
+ EXEEXT = @EXEEXT@
+-FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+-GMSGFMT = @GMSGFMT@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-KDECONFIG = @KDECONFIG@
+-KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+-KDE_INCLUDES = @KDE_INCLUDES@
+-KDE_LDFLAGS = @KDE_LDFLAGS@
+-KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+-KDE_MT_LIBS = @KDE_MT_LIBS@
+-KDE_PLUGIN = @KDE_PLUGIN@
+-KDE_RPATH = @KDE_RPATH@
+ KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
+ KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
+ KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
+ KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
+-KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+ LDFLAGS = @LDFLAGS@
+-LIBCOMPAT = @LIBCOMPAT@
+-LIBCRYPT = @LIBCRYPT@
+-LIBDL = @LIBDL@
+-LIBJPEG = @LIBJPEG@
+-LIBPNG = @LIBPNG@
+-LIBPTHREAD = @LIBPTHREAD@
++LIBOBJS = @LIBOBJS@
+ LIBRESOLV = @LIBRESOLV@
+ LIBS = @LIBS@
+-LIBSM = @LIBSM@
+-LIBSOCKET = @LIBSOCKET@
+-LIBTIFF = @LIBTIFF@
+ LIBTOOL = @LIBTOOL@
+-LIBUCB = @LIBUCB@
+-LIBUTIL = @LIBUTIL@
+-LIBXINERAMA = @LIBXINERAMA@
+-LIBZ = @LIBZ@
+-LIB_KAB = @LIB_KAB@
+-LIB_KDECORE = @LIB_KDECORE@
+-LIB_KDEPRINT = @LIB_KDEPRINT@
+-LIB_KDEUI = @LIB_KDEUI@
+-LIB_KFILE = @LIB_KFILE@
+-LIB_KFM = @LIB_KFM@
+-LIB_KHTML = @LIB_KHTML@
+-LIB_KIMGIO = @LIB_KIMGIO@
+-LIB_KIO = @LIB_KIO@
+-LIB_KPARTS = @LIB_KPARTS@
+-LIB_KSPELL = @LIB_KSPELL@
+-LIB_KSYCOCA = @LIB_KSYCOCA@
+-LIB_POLL = @LIB_POLL@
+-LIB_QPE = @LIB_QPE@
+-LIB_QT = @LIB_QT@
+ LIB_SLP = @LIB_SLP@
+-LIB_SMB = @LIB_SMB@
+-LIB_X11 = @LIB_X11@
+-LIB_XEXT = @LIB_XEXT@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+-MCOPIDL = @MCOPIDL@
+-MEINPROC = @MEINPROC@
+-MOC = @MOC@
+-MSGFMT = @MSGFMT@
+ NOOPT_CFLAGS = @NOOPT_CFLAGS@
+ NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+ NOREPO = @NOREPO@
+@@ -143,40 +92,26 @@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+-QTE_NORTTI = @QTE_NORTTI@
+-QT_INCLUDES = @QT_INCLUDES@
+-QT_LDFLAGS = @QT_LDFLAGS@
+ RANLIB = @RANLIB@
+ REPO = @REPO@
+ SET_MAKE = @SET_MAKE@
+ SHELL = @SHELL@
+ STRIP = @STRIP@
+ TOPSUBDIRS = @TOPSUBDIRS@
+-UIC = @UIC@
+-UIC_TR = @UIC_TR@
+-USER_INCLUDES = @USER_INCLUDES@
+-USER_LDFLAGS = @USER_LDFLAGS@
+ USE_EXCEPTIONS = @USE_EXCEPTIONS@
+ USE_RTTI = @USE_RTTI@
+-USE_THREADS = @USE_THREADS@
+ VERSION = @VERSION@
+ WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
+-XGETTEXT = @XGETTEXT@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_INCLUDES = @X_INCLUDES@
+-X_LDFLAGS = @X_LDFLAGS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_CXX = @ac_ct_CXX@
+ ac_ct_RANLIB = @ac_ct_RANLIB@
+ ac_ct_STRIP = @ac_ct_STRIP@
+-all_includes = @all_includes@
+-all_libraries = @all_libraries@
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+ am__include = @am__include@
++am__leading_dot = @am__leading_dot@
+ am__quote = @am__quote@
+ bindir = @bindir@
+ build = @build@
+@@ -194,27 +129,6 @@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@
+-kde_appsdir = @kde_appsdir@
+-kde_bindir = @kde_bindir@
+-kde_confdir = @kde_confdir@
+-kde_datadir = @kde_datadir@
+-kde_htmldir = @kde_htmldir@
+-kde_icondir = @kde_icondir@
+-kde_includes = @kde_includes@
+-kde_libraries = @kde_libraries@
+-kde_libs_htmldir = @kde_libs_htmldir@
+-kde_libs_prefix = @kde_libs_prefix@
+-kde_locale = @kde_locale@
+-kde_mimedir = @kde_mimedir@
+-kde_moduledir = @kde_moduledir@
+-kde_qtver = @kde_qtver@
+-kde_servicesdir = @kde_servicesdir@
+-kde_servicetypesdir = @kde_servicetypesdir@
+-kde_sounddir = @kde_sounddir@
+-kde_styledir = @kde_styledir@
+-kde_templatesdir = @kde_templatesdir@
+-kde_wallpaperdir = @kde_wallpaperdir@
+-kde_widgetdir = @kde_widgetdir@
+ libdir = @libdir@
+ libexecdir = @libexecdir@
+ lisa_SUBDIR_included_FALSE = @lisa_SUBDIR_included_FALSE@
+@@ -224,8 +138,6 @@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+-qt_includes = @qt_includes@
+-qt_libraries = @qt_libraries@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+@@ -234,8 +146,6 @@
+ target_cpu = @target_cpu@
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+-x_includes = @x_includes@
+-x_libraries = @x_libraries@
+
+ AUTOMAKE_OPTIONS = foreign 1.5
+ COMPILE_AFTER_mimelib = korn kmail
+@@ -257,12 +167,12 @@
+ all-recursive install-data-recursive install-exec-recursive \
+ installdirs-recursive install-recursive uninstall-recursive \
+ check-recursive installcheck-recursive
+-DIST_COMMON = README AUTHORS COPYING INSTALL Makefile.am Makefile.in \
+- acinclude.m4 aclocal.m4 admin/ChangeLog admin/compile \
+- admin/config.guess admin/config.sub admin/depcomp \
+- admin/install-sh admin/ltmain.sh admin/missing \
+- admin/mkinstalldirs admin/ylwrap config.h.bot config.h.in \
+- configure configure.in install-sh
++DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
++ COPYING INSTALL Makefile.am acinclude.m4 aclocal.m4 \
++ admin/ChangeLog admin/compile admin/config.guess \
++ admin/config.sub admin/depcomp admin/install-sh admin/ltmain.sh \
++ admin/missing admin/mkinstalldirs admin/ylwrap config.h.bot \
++ config.h.in configure configure.in install-sh
+ DIST_SUBDIRS = $(SUBDIRS)
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+@@ -392,9 +302,15 @@
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
++ if (etags --etags-include --version) >/dev/null 2>&1; then \
++ include_option=--etags-include; \
++ else \
++ include_option=--include; \
++ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
++ test -f $$subdir/TAGS && \
++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+@@ -448,9 +364,11 @@
+ mkdir $(distdir)
+ $(mkinstalldirs) $(distdir)/admin
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
++ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
++ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+@@ -504,13 +422,12 @@
+ $(am__remove_distdir)
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+- mkdir $(distdir)/=build
+- mkdir $(distdir)/=inst
++ mkdir $(distdir)/_build
++ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+- dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
++ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+- && $(mkinstalldirs) $$dc_destdir \
+- && cd $(distdir)/=build \
++ && cd $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+@@ -522,7 +439,9 @@
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+- && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
++ && ({ \
++ (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
++ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+@@ -535,7 +454,7 @@
+ @echo "$(distdir).tar.gz is ready for distribution" | \
+ sed 'h;s/./=/g;p;x;p;x'
+ distuninstallcheck:
+- cd $(distuninstallcheck_dir) \
++ @cd $(distuninstallcheck_dir) \
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+@@ -544,11 +463,11 @@
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+ distcleancheck: distclean
+- if test '$(srcdir)' = . ; then \
++ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+- test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
++ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+@@ -577,7 +496,7 @@
+ clean-generic:
+
+ distclean-generic:
+- -rm -f Makefile $(CONFIG_CLEAN_FILES)
++ -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
+
+ maintainer-clean-generic:
+@@ -590,6 +509,8 @@
+
+ distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++
++ -rm -f Makefile
+ distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags
+
+@@ -613,7 +534,9 @@
+
+ maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+- -rm -rf autom4te.cache
++ -rm -rf $(top_srcdir)/autom4te.cache
++
++ -rm -f Makefile
+ maintainer-clean-am: distclean-am maintainer-clean-generic
+
+ mostlyclean: mostlyclean-recursive
+@@ -668,7 +591,8 @@
+ @echo "****************************************************"
+ @echo ""
+
+-$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++#$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs $(CONF_FILES)
++$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(top_srcdir)/subdirs
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
+ $(top_srcdir)/configure.files:
+ @cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
+--- lisa-0.2.2/admin/configure.in.min~configure
++++ lisa-0.2.2/admin/configure.in.min
+@@ -38,7 +38,7 @@
+ dnl Automake doc recommends to do this only here. (Janos)
+ AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
+
+-KDE_SET_PREFIX
++dnl KDE_SET_PREFIX
+
+ dnl generate the config header
+ AM_CONFIG_HEADER(config.h) dnl at the distribution this done
+@@ -47,11 +47,11 @@
+ AC_CHECK_COMPILERS
+ AC_ENABLE_SHARED(yes)
+ AC_ENABLE_STATIC(no)
+-KDE_PROG_LIBTOOL
++AC_PROG_LIBTOOL
+
+ dnl for NLS support. Call them in this order!
+ dnl WITH_NLS is for the po files
+-AM_KDE_WITH_NLS
++dnl AM_KDE_WITH_NLS
+
+ dnl KDE_USE_QT
+-AC_PATH_KDE
++dnl AC_PATH_KDE
+--- lisa-0.2.2/config.h.in~configure
++++ lisa-0.2.2/config.h.in
+@@ -6,15 +6,6 @@
+ /* Define to 1 if you have the <byteswap.h> header file. */
+ #undef HAVE_BYTESWAP_H
+
+-/* Define if you have the CoreAudio API */
+-#undef HAVE_COREAUDIO
+-
+-/* Define to 1 if you have the <crt_externs.h> header file. */
+-#undef HAVE_CRT_EXTERNS_H
+-
+-/* Defines if your system has the crypt function */
+-#undef HAVE_CRYPT
+-
+ /* Define to 1 if you have the <dlfcn.h> header file. */
+ #undef HAVE_DLFCN_H
+
+@@ -48,21 +39,6 @@
+ /* Define to 1 if you have the <inttypes.h> header file. */
+ #undef HAVE_INTTYPES_H
+
+-/* Define if you have libjpeg */
+-#undef HAVE_LIBJPEG
+-
+-/* Define if you have libpng */
+-#undef HAVE_LIBPNG
+-
+-/* Define if you have a working libpthread (will enable threaded code) */
+-#undef HAVE_LIBPTHREAD
+-
+-/* Define if you have libtiff */
+-#undef HAVE_LIBTIFF
+-
+-/* Define if you have libz */
+-#undef HAVE_LIBZ
+-
+ /* Define to 1 if you have the <linux/if_ppp.h> header file. */
+ #undef HAVE_LINUX_IF_PPP_H
+
+@@ -78,25 +54,12 @@
+ /* Define to 1 if you have the <net/if_ppp.h> header file. */
+ #undef HAVE_NET_IF_PPP_H
+
+-/* Define if your system needs _NSGetEnviron to set up the environment */
+-#undef HAVE_NSGETENVIRON
+-
+ /* Define to 1 if you have the <paths.h> header file. */
+ #undef HAVE_PATHS_H
+
+-/* Define to 1 if you have the <pthread/linuxthreads/pthread.h> header file.
+- */
+-#undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H
+-
+ /* Define to 1 if you have the <resolv.h> header file. */
+ #undef HAVE_RESOLV_H
+
+-/* Define if you have res_init */
+-#undef HAVE_RES_INIT
+-
+-/* Define if you have the res_init prototype */
+-#undef HAVE_RES_INIT_PROTO
+-
+ /* Define to 1 if you have the <re_comp.h> header file. */
+ #undef HAVE_RE_COMP_H
+
+@@ -175,12 +138,6 @@
+ /* Define to 1 if you have the `vsnprintf' function. */
+ #undef HAVE_VSNPRINTF
+
+-/* Define if you want Xinerama support */
+-#undef HAVE_XINERAMA
+-
+-/* Suffix for lib directories */
+-#undef KDELIBSUFF
+-
+ /* Name of package */
+ #undef PACKAGE
+
+@@ -199,18 +156,6 @@
+ /* Define to the version of this package. */
+ #undef PACKAGE_VERSION
+
+-/* The size of a `char', as computed by sizeof. */
+-#undef SIZEOF_CHAR
+-
+-/* The size of a `char *', as computed by sizeof. */
+-#undef SIZEOF_CHAR_P
+-
+-/* The size of a `int', as computed by sizeof. */
+-#undef SIZEOF_INT
+-
+-/* The size of a `long', as computed by sizeof. */
+-#undef SIZEOF_LONG
+-
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+
+@@ -221,27 +166,6 @@
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+ #undef WORDS_BIGENDIAN
+
+-/*
+- * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+- * headers and I'm too lazy to write a configure test as long as only
+- * unixware is related
+- */
+-#ifdef _UNIXWARE
+-#define HAVE_BOOLEAN
+-#endif
+-
+-
+-
+-/*
+- * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+- * that defines bzero.
+- */
+-
+-#if defined(_AIX)
+-#include <strings.h>
+-#endif
+-
+-
+ /* Number of bits in a file offset, on hosts where this is settable. */
+ #undef _FILE_OFFSET_BITS
+
+@@ -264,15 +188,6 @@
+
+
+
+-#if !defined(HAVE_RES_INIT_PROTO)
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-int res_init (void);
+-#endif
+-
+-
+-
+ #if !defined(HAVE_USLEEP_PROTO)
+ #ifdef __cplusplus
+ extern "C"
+@@ -284,41 +199,6 @@
+ /* Define for large files, on AIX-style hosts. */
+ #undef _LARGE_FILES
+
+-
+-/*
+- * On HP-UX, the declaration of vsnprintf() is needed every time !
+- */
+-
+-#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+-#if __STDC__
+-#include <stdarg.h>
+-#include <stdlib.h>
+-#else
+-#include <varargs.h>
+-#endif
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-int snprintf(char *str, size_t n, char const *fmt, ...);
+-#endif
+-
+-
+-
+-#if defined(__SVR4) && !defined(__svr4__)
+-#define __svr4__ 1
+-#endif
+-
+-
+-/* Compatibility define */
+-#undef ksize_t
+-
+-/* Define the real type of socklen_t */
+-#undef socklen_t
+-
+ #ifdef __osf__
+ /* From Tom Leitner <tom@radar.tu-graz.ac.at> */
+ #if __STDC__
+--- lisa-0.2.2/configure.in.in~configure
++++ lisa-0.2.2/configure.in.in
+@@ -1,6 +1,6 @@
+ #MIN_CONFIG
+ dnl Image readers/writers
+-KDE_CHECK_KIMGIO
++dnl KDE_CHECK_KIMGIO
+
+ dnl Checks for header files.
+ AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h)
+@@ -74,7 +74,7 @@
+ LIBS=$save_slptest_LIBS
+ AC_SUBST(LIB_SLP)
+
+-KDE_CHECK_THREADING
++dnl KDE_CHECK_THREADING
+
+ dnl For apps that NEED threads
+ if test -z "$LIBPTHREAD" && test -z "$USE_THREADS"; then
+--- lisa-0.2.2/lisa/Makefile.in~configure
++++ lisa-0.2.2/lisa/Makefile.in
+@@ -51,7 +51,6 @@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
+-CONF_FILES = @CONF_FILES@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
diff --git a/modutils/modutils_2.4.25.oe b/modutils/modutils_2.4.25.oe
index b9077b5a27..d0eb7827ce 100644
--- a/modutils/modutils_2.4.25.oe
+++ b/modutils/modutils_2.4.25.oe
@@ -5,6 +5,8 @@ S = ${WORKDIR}/${P}
inherit autotools
+# modutils go in /sbin
+sbindir=/sbin
EXTRA_OECONF = --disable-strip
export BUILDCC = ${BUILD_CC}
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index cb67f1daa5..c7c895772f 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -24,12 +24,23 @@ EXTRA_OECONF=--with-shared \
--enable-termcap \
--without-cxx-binding \
--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
- --enable-overwrite \
- --program-prefix=
+ --enable-overwrite
export BUILD_CC := ${BUILD_CC}
export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
export BUILD_LDFLAGS=
+do_configure_prepend () {
+ if [ -e aclocal.m4 -a ! -e acinclude.m4 ]; then
+ cat aclocal.m4 > acinclude.m4
+ fi
+}
+
+do_configure () {
+# override this function to avoid the autoconf/automake/aclocal/autoheader
+# calls for now
+ oe_runconf
+}
+
do_compile () {
oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}'
}
diff --git a/patcher/patcher_1.0.oe b/patcher/patcher_1.0.oe
index e69de29bb2..f2c5724502 100644
--- a/patcher/patcher_1.0.oe
+++ b/patcher/patcher_1.0.oe
@@ -0,0 +1,24 @@
+SRC_URI="http://www.mn-logistik.de/unsupported/pxa250/patcher"
+DESCRIPTION="Patcher tool"
+LICENSE="Unknown"
+DEPENDS=
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Chris Larson <kergoth@handhelds.org>"
+
+inherit base
+
+do_unpack() {
+ oenote "Nothing to unpack!"
+}
+
+do_stage() {
+ install -m 0755 ${DL_DIR}/patcher ${STAGING_BINDIR}/
+}
+
+do_install() {
+ install -d ${D}/usr/bin
+ install -m 0755 ${DL_DIR}/patcher ${D}/usr/bin
+}
+
+DEPENDS_prepend_delete="patcher "
diff --git a/tslib/tslib.oe b/tslib/tslib.oe
index 069dae47c1..d38cba9b97 100644
--- a/tslib/tslib.oe
+++ b/tslib/tslib.oe
@@ -4,8 +4,6 @@ RDEPENDS = libc6
SRC_URI := cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib
SRC_URI_append = " file://${FILESDIR}/pointercal.patch;patch=1"
SRC_URI_append = " file://${FILESDIR}/automake.patch;patch=1"
-SRC_URI_append = " file://${FILESDIR}/multievent.patch;patch=1"
-SRC_URI_append = " file://${FILESDIR}/envvar_doc.patch;patch=1"
SRC_URI_append = " file://${FILESDIR}/configure.patch;patch=1"
#SRC_URI_append = " file://${FILESDIR}/raw.patch;patch=1"
#SRC_URI_append = " file://${FILESDIR}/collie-module.patch;patch=1"
@@ -13,10 +11,6 @@ S = ${WORKDIR}/${PN}
inherit autotools libtool
-do_configure_prepend () {
- ./autogen.sh
-}
-
EXTRA_OECONF="--enable-shared "
do_stage () {
install -m 0755 src/.libs/libts-0.0.so.0.1.0 ${STAGING_LIBDIR}/