diff options
-rw-r--r-- | classes/packaged-staging.bbclass | 12 | ||||
-rw-r--r-- | packages/jikes/jikes-initial.bb | 3 | ||||
-rw-r--r-- | packages/uclibc/files/unistd_arm.patch | 30 | ||||
-rw-r--r-- | packages/uclibc/uclibc_0.9.29.bb | 3 | ||||
-rw-r--r-- | packages/wv/wv-1.2.0/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/wv/wv-1.2.0/pkgconfig.patch | 13 | ||||
-rw-r--r-- | packages/wv/wv_1.2.0.bb | 12 | ||||
-rw-r--r-- | packages/xorg-lib/libx11/x11_disable_makekeys.patch | 30 |
8 files changed, 89 insertions, 14 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index ddd97ffe6d..bb166cb2f5 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -233,9 +233,15 @@ staging_packager () { echo "Priority: Optional" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control echo "Maintainer: ${MAINTAINER}" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control echo "Architecture: ${PSTAGE_PKGARCH}" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control - echo "Source: ${SRC_URI}" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control - - ${PSTAGE_BUILD_CMD} ${PSTAGE_TMPDIR_STAGE} ${DEPLOY_DIR_PSTAGE}/${PSTAGE_PKGPATH} + + # Protect against empty SRC_URI + if [ "${SRC_URI}" != "" ] ; then + echo "Source: ${SRC_URI}" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control + else + echo "Source: OpenEmbedded" >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control + fi + + ${PSTAGE_BUILD_CMD} ${PSTAGE_TMPDIR_STAGE} ${DEPLOY_DIR_PSTAGE}/${PSTAGE_PKGPATH} ${PSTAGE_INSTALL_CMD} ${PSTAGE_PKG} } diff --git a/packages/jikes/jikes-initial.bb b/packages/jikes/jikes-initial.bb index 1bd4fbfe69..0e2f4d0748 100644 --- a/packages/jikes/jikes-initial.bb +++ b/packages/jikes/jikes-initial.bb @@ -2,8 +2,7 @@ SUMMARY = "Initial Java 1.4-compatible (and not higher) compiler" DEPENDS = "jikes-native classpath-initial" -# Packaged-staging needs a Source: field to put in the packages, so SRC_URI can't be empty -SRC_URI = "file://dummy" +SRC_URI = "" S = "${WORKDIR}" diff --git a/packages/uclibc/files/unistd_arm.patch b/packages/uclibc/files/unistd_arm.patch new file mode 100644 index 0000000000..f1b0ea2218 --- /dev/null +++ b/packages/uclibc/files/unistd_arm.patch @@ -0,0 +1,30 @@ +Index: uClibc-0.9.29/extra/scripts/gen_bits_syscall_h.sh +=================================================================== +--- uClibc-0.9.29.orig/extra/scripts/gen_bits_syscall_h.sh 2006-12-12 04:30:02.000000000 +0100 ++++ uClibc-0.9.29/extra/scripts/gen_bits_syscall_h.sh 2008-03-10 23:20:52.000000000 +0100 +@@ -24,8 +24,8 @@ + ( echo "#include <asm/unistd.h>"; + echo "#include <asm/unistd.h>" | + $CC -E $CC_SYSNUM_ARGS $INCLUDE_OPTS - | +- sed -ne 's/^[ ]*#define[ ]*__NR_\([A-Za-z0-9_]*\).*/UCLIBC_\1 __NR_\1/gp' \ +- -e 's/^[ ]*#undef[ ]*__NR_\([A-Za-z0-9_]*\).*/UNDEFUCLIBC_\1 __NR_\1/gp' # needed to strip out any kernel-internal defines ++ sed -ne 's/^[ ]*#define[ ]*\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\).*/UCLIBC\1\2 \1\2/gp' \ ++ -e 's/^[ ]*#undef[ ]*\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\).*/UNDEFUCLIBC\1\2 \1\2/gp' # needed to strip out any kernel-internal defines + ) | + $CC -E $INCLUDE_OPTS - | + ( echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" ; echo ; +@@ -35,10 +35,10 @@ + echo "#ifndef _SYSCALL_H" ; + echo "# error \"Never use <bits/sysnum.h> directly; include <sys/syscall.h> instead.\"" ; + echo "#endif" ; echo ; +- sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(.*\)/#undef __NR_\1\ +-#define __NR_\1 \2\ +-#define SYS_\1 __NR_\1/gp' \ +- -e 's/^UNDEFUCLIBC_\([A-Za-z0-9_]*\).*/#undef __NR_\1/gp' ++ sed -ne 's/^UCLIBC\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\) *\(.*\)/#undef \1\2\ ++#define \1\2 \3\ ++#define SYS_\2 \1\2/gp' \ ++ -e 's/^UNDEFUCLIBC\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\).*/#undef \1\2/gp' + echo ; + echo "#endif" ; + ) diff --git a/packages/uclibc/uclibc_0.9.29.bb b/packages/uclibc/uclibc_0.9.29.bb index ac97cb9fd9..c70b52d126 100644 --- a/packages/uclibc/uclibc_0.9.29.bb +++ b/packages/uclibc/uclibc_0.9.29.bb @@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.29" -PR = "r12" +PR = "r13" require uclibc.inc @@ -16,6 +16,7 @@ PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" SRC_URI += "file://uClibc.machine file://uClibc.distro \ file://errno_values.h.patch;patch=1 \ file://termios.h.patch;patch=1 \ + file://unistd_arm.patch;patch=1 \ file://uClibc-0.9.29-001-fix-mmap.patch;patch=1 \ file://uClibc-0.9.29-002-atmel.1.patch;patch=1 \ file://uClibc-0.9.29-avr32-fix-sa_onstack.patch;patch=1 \ diff --git a/packages/wv/wv-1.2.0/.mtn2git_empty b/packages/wv/wv-1.2.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/wv/wv-1.2.0/.mtn2git_empty diff --git a/packages/wv/wv-1.2.0/pkgconfig.patch b/packages/wv/wv-1.2.0/pkgconfig.patch new file mode 100644 index 0000000000..136d89341f --- /dev/null +++ b/packages/wv/wv-1.2.0/pkgconfig.patch @@ -0,0 +1,13 @@ +Index: wv-1.2.0/wv-1.0.pc.in +=================================================================== +--- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 ++++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 +@@ -6,5 +6,6 @@ + Name: wvWare + Description: Word Document Filter library and utilities + Version: @VERSION@ +-Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm +-Cflags: -I${includedir}/wv @GSF_CFLAGS@ ++Requires: libgsf-1 ++Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm ++Cflags: -I${includedir}/wv diff --git a/packages/wv/wv_1.2.0.bb b/packages/wv/wv_1.2.0.bb index 9e9e65fd49..7f06f587c4 100644 --- a/packages/wv/wv_1.2.0.bb +++ b/packages/wv/wv_1.2.0.bb @@ -1,10 +1,11 @@ DESCRIPTION = "Programs for accessing Microsoft Word documents" HOMEPAGE = "http://wvware.sourceforge.net/" LICENSE = "GPLv2" -DEPENDS = "libgsf" -PR = "r2" +DEPENDS = "libgsf glib-2.0" +PR = "r3" -SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ + file://pkgconfig.patch;patch=1" inherit autotools pkgconfig @@ -12,11 +13,6 @@ S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "" -do_compile_append () { - cp wv-1.0.pc wv-1.0.pc.old - sed 's:${STAGING_DIR_HOST}::g' < wv-1.0.pc.old > wv-1.0.pc -} - do_stage () { autotools_stage_all } diff --git a/packages/xorg-lib/libx11/x11_disable_makekeys.patch b/packages/xorg-lib/libx11/x11_disable_makekeys.patch new file mode 100644 index 0000000000..2a8a55cdf5 --- /dev/null +++ b/packages/xorg-lib/libx11/x11_disable_makekeys.patch @@ -0,0 +1,30 @@ +--- + src/util/Makefile.am | 17 ----------------- + 1 file changed, 17 deletions(-) + +Index: libX11-1.1.2/src/util/Makefile.am +=================================================================== +--- libX11-1.1.2.orig/src/util/Makefile.am 2007-08-22 14:17:42.000000000 +0100 ++++ libX11-1.1.2/src/util/Makefile.am 2007-08-22 14:18:04.000000000 +0100 +@@ -1,21 +1,4 @@ + # $XdotOrg: lib/X11/src/util/Makefile.am,v 1.4 2006-02-19 02:14:12 jamey Exp $ + +-noinst_PROGRAMS=makekeys +- +-makekeys_CFLAGS=$(X11_CFLAGS) +- +-#override CC = gcc +-LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +- + EXTRA_DIST = mkks.sh + +-if LINT +-# Check source code with tools like lint & sparse +- +-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) +- +-lint: +- $(LINT) $(ALL_LINT_FLAGS) makekeys.c +- +-endif LINT |