Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch.de>
To: Holger Freyther <holger+oe@freyther.de>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: profiling howto?
Date: Thu, 03 Feb 2011 11:44:14 +0100	[thread overview]
Message-ID: <4D4A86FE.1010402@dresearch.de> (raw)
In-Reply-To: <4D4A6EC8.6050601@freyther.de>

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

Am 03.02.2011 10:00, schrieb Holger Freyther:
> On 02/03/2011 09:05 AM, Steffen Sledz wrote:
> 
>> Hmmmm? This doesn't seem to work. :(
>>
>> If local.conf contains this
>>  ------------->snip<------------
>>  PROFILE_OPTIMIZATION = "-pg"
>>
>>  SELECTED_OPTIMIZATION_pn-libsoup = "${PROFILE_OPTIMIZATION}"
>>  LDFLAGS_pn-libsoup =+ "-pg"
>>
>>  SELECTED_OPTIMIZATION_pn-libgupnp = "${PROFILE_OPTIMIZATION}"
>>  LDFLAGS_pn-libgupnp =+ "-pg"
>>
>>  SELECTED_OPTIMIZATION_pn-libgssdp = "${PROFILE_OPTIMIZATION}"
>>  LDFLAGS_pn-libgssdp =+ "-pg"
>>  ------------->snip<------------
> 
> Just a general remark, using bitbake -e -b libsoup.bb you will see what
> bitbake has as input and how it is expanding it... also look at OVERRIDES to
> see if maybe something 'stronger' is winning.

It seems that the "classic override system" does not work here.

The TARGET_CFLAGS are created just from SELECTED_OPTIMIZATION and not from SELECTED_OPTIMIZATION_pn-libgssdp. :(

------------->snip<---------------
...
# SELECTED_OPTIMIZATION_pn-libgssdp=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libgssdp="-pg"
...
# SELECTED_OPTIMIZATION=${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}
SELECTED_OPTIMIZATION="-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"
...
# SELECTED_OPTIMIZATION_pn-libsoup=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libsoup="-pg"
...
# TARGET_CFLAGS=${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}
export TARGET_CFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"
...
# SELECTED_OPTIMIZATION_pn-libgupnp=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libgupnp="-pg"
...
------------->snip<---------------

Steffen

PS: Complete bitbake -e output is attached.

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@DResearch.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058

[-- Attachment #2: opti.log --]
[-- Type: text/plain, Size: 413461 bytes --]

ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
NOTE: Out of date cache found, rebuilding...
ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${@bb.fetch.get_srcrev(d)}
ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${@bb.fetch.get_srcrev(d)}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${SRCPV}
# PREFERRED_VERSION_qt4-x11-free=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-x11-free="4.6.3"

# SRCREV_pn-libccss=92bc59e1d39302c8be500d53cb5dd8b05c2e4a15
SRCREV_pn-libccss="92bc59e1d39302c8be500d53cb5dd8b05c2e4a15"

# STAGING_INCDIR_NATIVE=${STAGING_DIR_NATIVE}${includedir_native}
STAGING_INCDIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include"

# layout_base_sbindir=${base_sbindir}
layout_base_sbindir="/sbin"

# ROOT_FLASH_SIZE=256
ROOT_FLASH_SIZE="256"

# PREFERRED_VERSION_autoconf-native=2.65
PREFERRED_VERSION_autoconf-native="2.65"

# PREFERRED_VERSION_opie-restartapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-restartapplet="1.2.4"

# localstatedir=${base_prefix}/var
export localstatedir="/var"

# do_package_write_deb=None
# PREFERRED_VERSION_opie-today=${OPIE_VERSION}
PREFERRED_VERSION_opie-today="1.2.4"

# IMAGE_DEPENDS_squashfs=squashfs-tools-native
IMAGE_DEPENDS_squashfs="squashfs-tools-native"

# prefix=/usr
export prefix="/usr"

# PREFERRED_VERSION_opie-packagemanager=${OPIE_VERSION}
PREFERRED_VERSION_opie-packagemanager="1.2.4"

# FREESMARTPHONE_GIT=git://git.freesmartphone.org
FREESMARTPHONE_GIT="git://git.freesmartphone.org"

# layout_base_bindir=${base_bindir}
layout_base_bindir="/bin"

# CPP=${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS}
export CPP="arm-angstrom-linux-gnueabi-gcc -E"

# PREFERRED_VERSION_opie-mediaplayer2-skin-techno=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer2-skin-techno="1.2.4"

# CVSDIR=${CO_DIR}/cvs
CVSDIR="/home/DRESEARCH/sledz/sources/cvs"

# SVNDIR=${CO_DIR}/svn
SVNDIR="/home/DRESEARCH/sledz/sources/svn"

# mandir=${datadir}/man
export mandir="/usr/share/man"

# PREFERRED_VERSION_gcc-cross-intermediate=${ANGSTROM_GCC_VERSION}
PREFERRED_VERSION_gcc-cross-intermediate="4.3.3"

# PREFERRED_VERSION_opie-gutenbrowser=${OPIE_VERSION}
PREFERRED_VERSION_opie-gutenbrowser="1.2.4"

# PREFERRED_VERSION_fontconfig=2.8.0
PREFERRED_VERSION_fontconfig="2.8.0"

# bindir_cross=/bin
bindir_cross="/bin"

# HOST_CC_ARCH=${TARGET_CC_ARCH}
HOST_CC_ARCH="-march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# GNU_MIRROR=ftp://ftp.gnu.org/gnu
GNU_MIRROR="ftp://ftp.gnu.org/gnu"

# PREFERRED_VERSION_qt4-tools-native=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-tools-native="4.6.3"

# MACHINE_DISPLAY_WIDTH_PIXELS=240
MACHINE_DISPLAY_WIDTH_PIXELS="240"

# DISTRO_BLUETOOTH_MANAGER=blueprobe bluez4 
DISTRO_BLUETOOTH_MANAGER="blueprobe bluez4"

# BUILD_OS=linux
BUILD_OS="linux"

# STRIP=${HOST_PREFIX}strip
export STRIP="arm-angstrom-linux-gnueabi-strip"

# PREFERRED_VERSION_opie-usermanager=${OPIE_VERSION}
PREFERRED_VERSION_opie-usermanager="1.2.4"

# IMAGE_CMD_cpio.gz.u-boot=cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot
IMAGE_CMD_cpio.gz.u-boot="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && (find . | cpio -o -H newc | gzip -c -9 >/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio.gz) ; mkimage -A arm -O linux -T ramdisk -C gzip -n Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio.gz /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio.gz.u-boot"

# STAGING_DATADIR=${STAGING_DIR_HOST}${datadir}
STAGING_DATADIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share"

# target_datadir=/usr/share
target_datadir="/usr/share"

# PREFERRED_VERSION_opie-security=${OPIE_VERSION}
PREFERRED_VERSION_opie-security="1.2.4"

# CCACHE=
# __BBANONFUNCS=['__anon_184__home_DRESEARCH_sledz_work_openembedded_classes_staging_bbclass', '__anon_91__home_DRESEARCH_sledz_work_openembedded_classes_packaged_staging_bbclass', '__anon_416_classes_base_bbclass', '__anon_38_classes_src_distribute_local_bbclass', '__anon_18_classes_angstrom_bbclass', '__anon_148__home_DRESEARCH_sledz_work_openembedded_classes_package_bbclass', '__anon_320_classes_package_ipk_bbclass', '__anon_101__home_DRESEARCH_sledz_work_openembedded_classes_siteinfo_bbclass']
# PREFERRED_VERSION_qt4-x11-free-gles=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-x11-free-gles="4.6.3"

# IMAGE_ROOTFS=${TMPDIR}/rootfs/${PN}
IMAGE_ROOTFS="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4"

# FETCHCOMMAND_cvs=/usr/bin/env 'PATH=${PATH}' cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}
FETCHCOMMAND_cvs="/usr/bin/env 'PATH=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux//bin:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin' cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}"

# STAGING_SIPDIR=${STAGING_DATADIR_NATIVE}/sip
export STAGING_SIPDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/share/sip"

# base_bindir_native=/bin
base_bindir_native="/bin"

# IMAGE_CMD_ext3.gz=install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz
IMAGE_CMD_ext3.gz="install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3 ; tune2fs -j /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3; gzip -f -9 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3; mv /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3.gz /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3.gz"

# IMAGE_DEPENDS_cpio.gz.u-boot=u-boot-mkimage-native
IMAGE_DEPENDS_cpio.gz.u-boot="u-boot-mkimage-native"

# PSTAGE_PKGPN=${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}
PSTAGE_PKGPN="staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi"

# MACHINE_DISPLAY_ORIENTATION=0
MACHINE_DISPLAY_ORIENTATION="0"

# SECTION_${PN}-dbg=None
# PREFERRED_VERSION_opie-minesweep=${OPIE_VERSION}
PREFERRED_VERSION_opie-minesweep="1.2.4"

# DATETIME=${DATE}${TIME}
DATETIME="20110203095327"

# TARGET_CC_ARCH_pn-cairo=-march=armv4t
TARGET_CC_ARCH_pn-cairo="-march=armv4t"

# P=${PN}-${PV}
P="libsoup-2.4-2.29.91"

# FILESPATHPKG=${PF}:${P}:${PN}:${BP}:${BPN}:files:.
FILESPATHPKG="libsoup-2.4-2.29.91-r0:libsoup-2.4-2.29.91:libsoup-2.4:libsoup-2.4-2.29.91:libsoup-2.4:files:."

# ASSUME_PROVIDED=bc-native bzip2-native cvs-native diffstat-native patch-native perl-native-runtime python-native-runtime svn-native texinfo-native util-linux-native 
ASSUME_PROVIDED="bc-native bzip2-native cvs-native diffstat-native patch-native perl-native-runtime python-native-runtime svn-native texinfo-native util-linux-native"

# BUILDCFG_VARS=BB_VERSION METADATA_BRANCH METADATA_REVISION TARGET_ARCH TARGET_OS MACHINE DISTRO DISTRO_VERSION TARGET_FPU
BUILDCFG_VARS="BB_VERSION METADATA_BRANCH METADATA_REVISION TARGET_ARCH TARGET_OS MACHINE DISTRO DISTRO_VERSION TARGET_FPU"

# PREFERRED_VERSION_opie-keyboard=${OPIE_VERSION}
PREFERRED_VERSION_opie-keyboard="1.2.4"

# FILESPATH=${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':')])}
FILESPATH="/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91-r0:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4-2.29.91:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/local:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/hipox:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/angstrom:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/linux-gnueabi:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/arm:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/build-linux:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/fail-fast:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/pn-libsoup-2.4:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/armv5te:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/Unknown:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libc-glibc:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/thumb-interwork:/home/DRESEARCH/sledz/work/openembedded/recipes/gnome"

# PREFERRED_VERSION_opie-deco-polished=${OPIE_VERSION}
PREFERRED_VERSION_opie-deco-polished="1.2.4"

# PREFERRED_VERSION_opie-citytime=${OPIE_VERSION}
PREFERRED_VERSION_opie-citytime="1.2.4"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm="gtk+"

# PREFERRED_VERSION_opie-go=${OPIE_VERSION}
PREFERRED_VERSION_opie-go="1.2.4"

# PROFILE_OPTIMIZATION=-pg
PROFILE_OPTIMIZATION="-pg"

# BOOTSTRAP_EXTRA_RRECOMMENDS=
# PREFERRED_PROVIDER_classpath=classpath
PREFERRED_PROVIDER_classpath="classpath"

# PREFERRED_VERSION_qt4-tools-sdk=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-tools-sdk="4.6.3"

# PREFERRED_VERSION_libmailwrapper=${OPIE_VERSION}
PREFERRED_VERSION_libmailwrapper="1.2.4"

# SEPPUKU_AUTOBUILD=1
SEPPUKU_AUTOBUILD="1"

# BUILD_CXXFLAGS=${BUILD_CFLAGS} -fpermissive
export BUILD_CXXFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include -O2 -g -fpermissive"

# PREFERRED_VERSION_xserver-kdrive=1.4.0.90
PREFERRED_VERSION_xserver-kdrive="1.4.0.90"

# OBJCOPY=${HOST_PREFIX}objcopy
export OBJCOPY="arm-angstrom-linux-gnueabi-objcopy"

# AR=${HOST_PREFIX}ar
export AR="arm-angstrom-linux-gnueabi-ar"

# CONFIGUREOPTS= --build=${BUILD_SYS} 		  --host=${HOST_SYS} 		  --target=${TARGET_SYS} 		  --prefix=${prefix} 		  --exec_prefix=${exec_prefix} 		  --bindir=${bindir} 		  --sbindir=${sbindir} 		  --libexecdir=${libexecdir} 		  --datadir=${datadir} 		  --sysconfdir=${sysconfdir} 		  --sharedstatedir=${sharedstatedir} 		  --localstatedir=${localstatedir} 		  --libdir=${libdir} 		  --includedir=${includedir} 		  --oldincludedir=${oldincludedir} 		  --infodir=${infodir} 		  --mandir=${mandir}
CONFIGUREOPTS="--build=i686-linux 		  --host=arm-angstrom-linux-gnueabi 		  --target=arm-angstrom-linux-gnueabi 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/libexec 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man"

# PREFERRED_VERSION_binutils_avr32=2.17
PREFERRED_VERSION_binutils_avr32="2.17"

# EXTENDPEVER=${@int('${PE}') and '${PE}:' or ''}
# SRCREV_pn-librest=14d35103d9649dc1e10c3e9ac2c690b3165c8184
SRCREV_pn-librest="14d35103d9649dc1e10c3e9ac2c690b3165c8184"

# PSTAGE_WORKDIR=${TMPDIR}/pstage
PSTAGE_WORKDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage"

# PREFERRED_VERSION_opie-confeditor=${OPIE_VERSION}
PREFERRED_VERSION_opie-confeditor="1.2.4"

# F77=${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}
export F77="arm-angstrom-linux-gnueabi-g77 -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# EXTRA_IMAGECMD_cpio.gz=
# SOLIBSDEV_darwin8=.dylib
SOLIBSDEV_darwin8=".dylib"

# PREFERRED_VERSION_opie-rotateapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-rotateapplet="1.2.4"

# ANGSTROM_MODE=uclibc
ANGSTROM_MODE="uclibc"

# USER=sledz
export USER="sledz"

# SRC_URI=${GNOME_MIRROR}/libsoup/${@gnome_verdir("${PV}")}/libsoup-${PV}.tar.bz2;name=libsoup
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.29/libsoup-2.29.91.tar.bz2;name=libsoup"

# PREFERRED_VERSION_glib-2.0-native=2.24.1
PREFERRED_VERSION_glib-2.0-native="2.24.1"

# ANGSTROM_GCC_VERSION_avr32=4.2.2
ANGSTROM_GCC_VERSION_avr32="4.2.2"

# includedir_native=${prefix_native}/include
includedir_native="/usr/include"

# SITEINFO_BITS=32
SITEINFO_BITS="32"

# PREFERRED_VERSION_opie-textedit=${OPIE_VERSION}
PREFERRED_VERSION_opie-textedit="1.2.4"

# OES_BITBAKE_CONF=1
OES_BITBAKE_CONF="1"

# SRCREV_pn-mozilla-headless-services=c7873654894af6c7c6c01194d6185db46667b81f
SRCREV_pn-mozilla-headless-services="c7873654894af6c7c6c01194d6185db46667b81f"

# PREFERRED_VERSION_udev_libc-uclibc=141
PREFERRED_VERSION_udev_libc-uclibc="141"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc=None
# PSTAGE_DIR=${TMPDIR}/pstage
PSTAGE_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage"

# IMAGE_EXTRA_SPACE=10240
IMAGE_EXTRA_SPACE="10240"

# EXTENDPV=${EXTENDPEVER}${PV}-${PR}${DISTRO_PR}
EXTENDPV="2.29.91-r0.6"

# PREFERRED_VERSION_opie-addressbook=${OPIE_VERSION}
PREFERRED_VERSION_opie-addressbook="1.2.4"

# sharedstatedir=${base_prefix}/com
export sharedstatedir="/com"

# PREFERRED_VERSION_opie-handwriting=${OPIE_VERSION}
PREFERRED_VERSION_opie-handwriting="1.2.4"

# FETCHCMD_hg=/usr/bin/env hg
FETCHCMD_hg="/usr/bin/env hg"

# STAGING_BINDIR=${STAGING_DIR_HOST}${bindir}
STAGING_BINDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/bin"

# BBFILE_COLLECTIONS=upstream localcommon local
BBFILE_COLLECTIONS="upstream localcommon local"

# UPDATECOMMAND=ERROR, this must be a BitBake bug
UPDATECOMMAND="ERROR, this must be a BitBake bug"

# ANGSTROM_URI=http://www.angstrom-distribution.org
ANGSTROM_URI="http://www.angstrom-distribution.org"

# MACHINE_KERNEL_PR=
# OLDEST_KERNEL_ppc64=2.4.21
OLDEST_KERNEL_ppc64="2.4.21"

# EXTENDPE=${@int('${PE}') and '${PE}_' or ''}
# QTE_VERSION=2.3.10
QTE_VERSION="2.3.10"

# MACHINE_DISPLAY_HEIGHT_PIXELS=320
MACHINE_DISPLAY_HEIGHT_PIXELS="320"

# PREFERRED_VERSION_opie-notesapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-notesapplet="1.2.4"

# FILESDIR=${@bb.which(d.getVar('FILESPATH', 1), '.')}
FILESDIR="/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/files/."

# PREFERRED_VERSION_qte-mt=${QTE_VERSION}
PREFERRED_VERSION_qte-mt="2.3.10"

# PREFERRED_VERSION_gcc-cross-initial=${ANGSTROM_GCC_VERSION}
PREFERRED_VERSION_gcc-cross-initial="4.3.3"

# MACHINE_KERNEL_VERSION=2.6
MACHINE_KERNEL_VERSION="2.6"

# BB_NUMBER_THREADS=4
BB_NUMBER_THREADS="4"

# FILES_${PN}-static=None
# PREFERRED_PROVIDER_bluez-libs=bluez4
PREFERRED_PROVIDER_bluez-libs="bluez4"

# CE_VERSION=2.25.01
CE_VERSION="2.25.01"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-pnm=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-pnm="gtk+"

# SDK_NAME=${DISTRO}/${TARGET_ARCH}
SDK_NAME="angstrom/arm"

# OELAYOUT_ABI=5
OELAYOUT_ABI="5"

# IMAGE_CMD_tar.bz2=cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 .
IMAGE_CMD_tar.bz2="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && tar -jcvf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.tar.bz2 ."

# TMPDIR=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6
TMPDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6"

# PREFERRED_VERSION_ti-dm355mm-module=1_13
PREFERRED_VERSION_ti-dm355mm-module="1_13"

# SELECTED_OPTIMIZATION_pn-libgssdp=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libgssdp="-pg"

# layout_base_prefix=${base_prefix}
# PACKAGESTRIPFUNCS= do_runstrip
PACKAGESTRIPFUNCS="do_runstrip"

# PSTAGING_ACTIVE=1
export PSTAGING_ACTIVE="1"

# PREFERRED_VERSION_ti-codecs-dm6446=2_05_00_00
PREFERRED_VERSION_ti-codecs-dm6446="2_05_00_00"

# layout_docdir=${docdir}
layout_docdir="/usr/share/doc"

# base_libdir_native=/lib
base_libdir_native="/lib"

# PREFERRED_VERSION_opie-zkbapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-zkbapplet="1.2.4"

# PKGR=${PR}${DISTRO_PR}
PKGR="r0.6"

# IMAGE_DEPENDS_ubifs=mtd-utils-native
IMAGE_DEPENDS_ubifs="mtd-utils-native"

# XDG_DATA_DIRS=${STAGING_DATADIR}
export XDG_DATA_DIRS="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share"

# QEMU_OPTIONS_iwmmxt=-cpu pxa270-c5
QEMU_OPTIONS_iwmmxt="-cpu pxa270-c5"

# PREFERRED_VERSION_opie-today-fortuneplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-fortuneplugin="1.2.4"

# PREFERRED_PROVIDER_libgpewidget=libgpewidget
PREFERRED_PROVIDER_libgpewidget="libgpewidget"

# PREFERRED_VERSION_opie-mediummount=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediummount="1.2.4"

# BBFILE_PATTERN_upstream=^${OE_ROOT}/recipes/
BBFILE_PATTERN_upstream="^/home/DRESEARCH/sledz/work/openembedded/recipes/"

# libexecdir=${exec_prefix}/libexec
export libexecdir="/usr/libexec"

# PREFERRED_VERSION_opie-lockapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-lockapplet="1.2.4"

# PREFERRED_VERSION_opie-volumeapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-volumeapplet="1.2.4"

# PREFERRED_VERSION_gst-pulse=0.9.7
PREFERRED_VERSION_gst-pulse="0.9.7"

# PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin="1.2.4"

# PREFERRED_VERSION_opie-ftplib=${OPIE_VERSION}
PREFERRED_VERSION_opie-ftplib="1.2.4"

# PREFERRED_VERSION_opie-vmemo-settings=${OPIE_VERSION}
PREFERRED_VERSION_opie-vmemo-settings="1.2.4"

# OVERRIDE_INTERWORK=${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}
OVERRIDE_INTERWORK=":thumb-interwork"

# PREFERRED_VERSION_opie-examples-python=${OPIE_VERSION}
PREFERRED_VERSION_opie-examples-python="1.2.4"

# LIBC=${ANGSTROMLIBC}
unset LIBC

# PREFERRED_PROVIDER_libfribidi=fribidi
PREFERRED_PROVIDER_libfribidi="fribidi"

# FILES_${PN}-dbg=None
# IMAGE_DEPENDS_jffs2=mtd-utils-native
IMAGE_DEPENDS_jffs2="mtd-utils-native"

# PREFERRED_VERSION_opie-tictac=${OPIE_VERSION}
PREFERRED_VERSION_opie-tictac="1.2.4"

# LDFLAGS_pn-libsoup=-pg 
LDFLAGS_pn-libsoup="-pg"

# EXTRA_IMAGECMD_cpio=
# bindir_native=${prefix_native}/bin
bindir_native="/usr/bin"

# SRC_DISTRIBUTEDIR=${DEPLOY_DIR}/sources
SRC_DISTRIBUTEDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/sources"

# FILE_DIRNAME=${@os.path.dirname(bb.data.getVar('FILE', d))}
FILE_DIRNAME="/home/DRESEARCH/sledz/work/openembedded/recipes/gnome"

# BB_MIN_VERSION=1.8.18
BB_MIN_VERSION="1.8.18"

# datadir_native=${prefix_native}/share
datadir_native="/usr/share"

# QTDIR=${STAGING_DIR_HOST}/qt2
export QTDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/qt2"

# ANGSTROM_BINUTILS_VERSION_armv7a=2.18.50.0.7
ANGSTROM_BINUTILS_VERSION_armv7a="2.18.50.0.7"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc=None
# PREFERRED_VERSION_opie-mediaplayer1-libmadplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1-libmadplugin="1.2.4"

# STAGING_DIR_TARGET=${STAGING_DIR}/${BASEPKG_TARGET_SYS}
STAGING_DIR_TARGET="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi"

# PREFERRED_VERSION_opie-formatter=${OPIE_VERSION}
PREFERRED_VERSION_opie-formatter="1.2.4"

# PREFERRED_PROVIDER_tslib=tslib
PREFERRED_PROVIDER_tslib="tslib"

# PREFERRED_VERSION_udev=141
PREFERRED_VERSION_udev="141"

# COMBINED_FEATURES=${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "vfat", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pci", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)} ${@base_ifelse( base_contains('DISTRO_FEATURES', ('pci', 'wifi', 'madwifi'), True, False, d) and base_contains('MACHINE_FEATURES', 'pci', True, False, d), 'madwifi', '')} ${@base_ifelse( base_contains('DISTRO_FEATURES', ('wifi', 'hostap'), True, False, d) and ((base_contains('MACHINE_FEATURES', 'pci', True, False, d) and base_contains('DISTRO_FEATURES', 'pci', True, False, d)) or (base_contains('MACHINE_FEATURES', 'pcmcia', True, False, d) and base_contains('DISTRO_FEATURES', 'pcmcia', True, False, d))), 'hostap', '')}
COMBINED_FEATURES="ext2    pci  usbhost"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc-initial=gcc-cross-initial
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc-initial="gcc-cross-initial"

# IMAGE_CMD_tar.gz=cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz .
IMAGE_CMD_tar.gz="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && tar -zcvf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.tar.gz ."

# KONSOLE_TERMCMDRUN=${KONSOLE_TERMCMD} -e $SHELLCMDS
KONSOLE_TERMCMDRUN="konsole -T \"$TERMWINDOWTITLE\" -e $SHELLCMDS"

# PREFERRED_VERSION_opie-wellenreiter=${OPIE_VERSION}
PREFERRED_VERSION_opie-wellenreiter="1.2.4"

# datadir=${prefix}/share
export datadir="/usr/share"

# RDEPENDS_libsoup-2.4-dev=${PN} (= ${EXTENDPV})
RDEPENDS_libsoup-2.4-dev="libsoup-2.4 (= 2.29.91-r0.6)"

# STAGING_ETCDIR_NATIVE=${STAGING_DIR_NATIVE}${sysconfdir_native}
STAGING_ETCDIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc"

# STAGE_TEMP=${WORKDIR}/temp-staging
STAGE_TEMP="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging"

# PSTAGE_PKGMANAGER=stage-manager-ipkg
PSTAGE_PKGMANAGER="stage-manager-ipkg"

# layout_datadir=${datadir}
layout_datadir="/usr/share"

# PREFERRED_VERSION_opie-suspendapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-suspendapplet="1.2.4"

# FEED_URIS=None
# PREFERRED_VERSION_opie-checkbook=${OPIE_VERSION}
PREFERRED_VERSION_opie-checkbook="1.2.4"

# HOST_EXEEXT=
# SRCDATE=${DATE}
SRCDATE="20110203"

# GNOME_TERMCMDRUN=${GNOME_TERMCMD} -x $SHELLCMDS
GNOME_TERMCMDRUN="gnome-terminal --disable-factory -t \"$TERMWINDOWTITLE\" -x $SHELLCMDS"

# SEPPUKU_PASS=None
# PREFERRED_VERSION_opie-cardapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-cardapplet="1.2.4"

# SRCREV_pn-mutter=aff4cf110307e149d3497d20543cde27b9699758
SRCREV_pn-mutter="aff4cf110307e149d3497d20543cde27b9699758"

# PREFERRED_VERSION_xserver-xorg=1.7.4
PREFERRED_VERSION_xserver-xorg="1.7.4"

# ANGSTROM_BINUTILS_VERSION=2.18
ANGSTROM_BINUTILS_VERSION="2.18"

# PREFERRED_VERSION_opie-recorder=${OPIE_VERSION}
PREFERRED_VERSION_opie-recorder="1.2.4"

# PREFERRED_PROVIDER_virtual/xserver=xserver-xorg
PREFERRED_PROVIDER_virtual/xserver="xserver-xorg"

# TARGET_CC_ARCH=-march=armv5te -mtune=arm926ej-s ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}
TARGET_CC_ARCH="-march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# QEMU_OPTIONS_armv6=-cpu arm1136
QEMU_OPTIONS_armv6="-cpu arm1136"

# SHELLRCCMD=bash --rcfile $TERMRCFILE
SHELLRCCMD="bash --rcfile $TERMRCFILE"

# HOST_ARCH=${TARGET_ARCH}
HOST_ARCH="arm"

# ENABLE_BINARY_LOCALE_GENERATION=0
ENABLE_BINARY_LOCALE_GENERATION="0"

# FILES_libsoup-2.4-doc=${datadir}/
FILES_libsoup-2.4-doc="/usr/share/"

# PREFERRED_PROVIDER_gdk-pixbuf-csource-native=gtk+-native
PREFERRED_PROVIDER_gdk-pixbuf-csource-native="gtk+-native"

# TARGET_OS=linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}
TARGET_OS="linux-gnueabi"

# PREFERRED_VERSION_dropbear=0.51
PREFERRED_VERSION_dropbear="0.51"

# GPEPHONE_MIRROR=http://gpephone.linuxtogo.org/download/gpephone
GPEPHONE_MIRROR="http://gpephone.linuxtogo.org/download/gpephone"

# GPEPHONE_SVN=svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=${PN}
GPEPHONE_SVN="svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=libsoup-2.4"

# sbindir_native=${prefix_native}/sbin
sbindir_native="/usr/sbin"

# SOLIBS_darwin8=.*.dylib
SOLIBS_darwin8=".*.dylib"

# PREFERRED_VERSION_opie-pics=${OPIE_VERSION}
PREFERRED_VERSION_opie-pics="1.2.4"

# PREFERRED_VERSION_ti-xdais=6_25_01_08
PREFERRED_VERSION_ti-xdais="6_25_01_08"

# PREFERRED_VERSION_u-boot=2009.03
PREFERRED_VERSION_u-boot="2009.03"

# ARM_KEEP_OABI_pn-linux-openmoko-2.6.28_om-gta01=1
ARM_KEEP_OABI_pn-linux-openmoko-2.6.28_om-gta01="1"

# RANLIB=${HOST_PREFIX}ranlib
export RANLIB="arm-angstrom-linux-gnueabi-ranlib"

# GUI_MACHINE_CLASS=${MACHINE_GUI_CLASS}
GUI_MACHINE_CLASS="smallscreen"

# PREFERRED_PROVIDER_qt4-x11-free=qt4-x11-free
PREFERRED_PROVIDER_qt4-x11-free="qt4-x11-free"

# TARGET_CC_ARCH_pn-webkit-gtk=-march=armv4t
TARGET_CC_ARCH_pn-webkit-gtk="-march=armv4t"

# PREFERRED_VERSION_opie-batteryapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-batteryapplet="1.2.4"

# MACHINE_EXTRA_RRECOMMENDS=
# PREFERRED_PROVIDER_gdk-pixbuf-loader-gif=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-gif="gtk+"

# PACKAGE_ARCHS=all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}
PACKAGE_ARCHS="all any noarch arm  armv4 armv4t armv5te hipox"

# PREFERRED_VERSION_opie-taskbar-images=${OPIE_VERSION}
PREFERRED_VERSION_opie-taskbar-images="1.2.4"

# DISTRO_REVISION=3
DISTRO_REVISION="3"

# E_URI=http://enlightenment.freedesktop.org/files
E_URI="http://enlightenment.freedesktop.org/files"

# ISHOULDNEVEREXIST=None
# FILES_${PN}=None
# PREFERRED_VERSION_opie-launcher-settings=${OPIE_VERSION}
PREFERRED_VERSION_opie-launcher-settings="1.2.4"

# QEMU_OPTIONS=
# FILES_libsoup-2.4-dev=${includedir}/ ${libdir}/
FILES_libsoup-2.4-dev="/usr/include/ /usr/lib/"

# SDK_PATH=/usr/local/${SDK_NAME}
SDK_PATH="/usr/local/angstrom/arm"

# BUILD_CXX=${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}
export BUILD_CXX="g++"

# FULL_OPTIMIZATION=-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2
FULL_OPTIMIZATION="-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"

# PREFERRED_VERSION_pkgconfig=0.23
PREFERRED_VERSION_pkgconfig="0.23"

# PREFERRED_VERSION_opie-style-metal=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-metal="1.2.4"

# PREFERRED_VERSION_opie-networkapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-networkapplet="1.2.4"

# TINDER_HOST=ewi546.ewi.utwente.nl
TINDER_HOST="ewi546.ewi.utwente.nl"

# PREFERRED_VERSION_opie-restartapplet2=${OPIE_VERSION}
PREFERRED_VERSION_opie-restartapplet2="1.2.4"

# UPDATECOMMAND_cvs=/usr/bin/env 'PATH=${PATH}' cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}
UPDATECOMMAND_cvs="/usr/bin/env 'PATH=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux//bin:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin' cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"

# PARALLEL_MAKE=-j 4
PARALLEL_MAKE="-j 4"

# PSTAGE_INSTALL_CMD=${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${TMPDIR} install
PSTAGE_INSTALL_CMD="stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -force-depends -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 install"

# PREFERRED_VERSION_opie-rdesktop=${OPIE_VERSION}
PREFERRED_VERSION_opie-rdesktop="1.2.4"

# MKTEMPCMD=mktemp -q ${TMPBASE}
MKTEMPCMD="mktemp -q ${TMPBASE}"

# DATE=20110203
DATE="20110203"

# APACHE_MIRROR=http://archive.apache.org/dist
APACHE_MIRROR="http://archive.apache.org/dist"

# IMAGE_DEPENDS_squashfs-lzma=squashfs-tools-native
IMAGE_DEPENDS_squashfs-lzma="squashfs-tools-native"

# SDK_LDFLAGS=-L${STAGING_DIR_SDK}${libdir} -Wl,-rpath-link,${STAGING_DIR_SDK}${libdir} -Wl,-O1
export SDK_LDFLAGS="-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib -Wl,-O1"

# PREFERRED_VERSION_opie-dagger=${OPIE_VERSION}
PREFERRED_VERSION_opie-dagger="1.2.4"

# do_rootfs=None
# BASEPKG_HOST_SYS=${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}
BASEPKG_HOST_SYS="armv5te-angstrom-linux-gnueabi"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-jpeg=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-jpeg="gtk+"

# LD=${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS}
export LD="arm-angstrom-linux-gnueabi-ld"

# HOST_VENDOR=${TARGET_VENDOR}
HOST_VENDOR="-angstrom"

# QEMU_OPTIONS_armv6-novfp=-cpu arm1136
QEMU_OPTIONS_armv6-novfp="-cpu arm1136"

# PATCHRESOLVE=noop
PATCHRESOLVE="noop"

# PREFERRED_VERSION_opie-quicklauncher=${OPIE_VERSION}
PREFERRED_VERSION_opie-quicklauncher="1.2.4"

# HOST_OS=${TARGET_OS}
HOST_OS="linux-gnueabi"

# PREFERRED_VERSION_eglibc-initial=2.9
PREFERRED_VERSION_eglibc-initial="2.9"

# EXTRA_OEMAKE=
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial=None
# SECTION_libsoup-2.4-doc=doc
SECTION_libsoup-2.4-doc="doc"

# PREFERRED_VERSION_opie-multikeyapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-multikeyapplet="1.2.4"

# UDEV_GE_141=1
UDEV_GE_141="1"

# TARGET_FPU_armv6=hard
TARGET_FPU_armv6="hard"

# LDFLAGS=${TARGET_LDFLAGS}
export LDFLAGS="-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu"

# DISTRO_TYPE=debug
DISTRO_TYPE="debug"

# layout_prefix=${prefix}
layout_prefix="/usr"

# HOST_NONSYSV=None
# PREFERRED_VERSION_opie-style-phase=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-phase="1.2.4"

# MULTIMACH_TARGET_SYS=${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
MULTIMACH_TARGET_SYS="armv5te-angstrom-linux-gnueabi"

# PREFERRED_VERSION_libtool-cross=2.2.6b
PREFERRED_VERSION_libtool-cross="2.2.6b"

# FREEBSD_MIRROR=ftp://ftp.freebsd.org/pub/FreeBSD/
FREEBSD_MIRROR="ftp://ftp.freebsd.org/pub/FreeBSD/"

# PREFERRED_VERSION_binutils-cross=${ANGSTROM_BINUTILS_VERSION}
PREFERRED_VERSION_binutils-cross="2.18"

# COLORTERM=1
export COLORTERM="1"

# EXTRA_AUTORECONF=--exclude=autopoint
EXTRA_AUTORECONF="--exclude=autopoint"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils=None
# THUMB_INTERWORK=yes
THUMB_INTERWORK="yes"

# SRCREV_pn-twitter-glib=849bec29292df88590e0b2898b50b9b8d766817e
SRCREV_pn-twitter-glib="849bec29292df88590e0b2898b50b9b8d766817e"

# PREFERRED_VERSION_qt4-embedded-gles=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-embedded-gles="4.6.3"

# EXTRA_IMAGECMD_squashfs=
# SYSVINIT_ENABLED_GETTYS=None
# SYSROOTEXTRALIBDIRSED=
# DISTRO_EXTRA_RRECOMMENDS=  kernel-module-vfat kernel-module-ext2 kernel-module-ext3 kernel-module-af-packet avahi-daemon avahi-autoipd openssh-sftp-server ${DEBUG_APPS} 
DISTRO_EXTRA_RRECOMMENDS="kernel-module-vfat kernel-module-ext2 kernel-module-ext3 kernel-module-af-packet avahi-daemon avahi-autoipd openssh-sftp-server  strace procps"

# TARGET_CXXFLAGS=${TARGET_CFLAGS} -fpermissive
export TARGET_CXXFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive"

# PREFERRED_VERSION_opie-qss=${OPIE_VERSION}
PREFERRED_VERSION_opie-qss="1.2.4"

# PREFERRED_VERSION_opie-vtapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-vtapplet="1.2.4"

# SOLIBSDEV=.so
SOLIBSDEV=".so"

# BUILD_ARCH=i686
BUILD_ARCH="i686"

# GNOME_TERMCMD=gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"
GNOME_TERMCMD="gnome-terminal --disable-factory -t \"$TERMWINDOWTITLE\""

# HOST_SYS=${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}
HOST_SYS="arm-angstrom-linux-gnueabi"

# TOOLCHAIN_PATH=${STAGING_DIR_NATIVE}${prefix_native}/${BASE_PACKAGE_ARCH}
TOOLCHAIN_PATH="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te"

# PREFERRED_VERSION_libgemwidget=1.0
PREFERRED_VERSION_libgemwidget="1.0"

# MAKE=make
export MAKE="make"

# PREFERRED_VERSION_opie-securityplugin-blueping=${OPIE_VERSION}
PREFERRED_VERSION_opie-securityplugin-blueping="1.2.4"

# PREFERRED_VERSION_libqpe-opie=${OPIE_VERSION}
PREFERRED_VERSION_libqpe-opie="1.2.4"

# UPDATECOMMAND_svn=/usr/bin/env svn update --non-interactive --force --accept theirs-full ${SVNCOOPTS}
UPDATECOMMAND_svn="/usr/bin/env svn update --non-interactive --force --accept theirs-full ${SVNCOOPTS}"

# PKGV=${PV}
PKGV="2.29.91"

# IMAGE_CMD_cramfs=mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}
IMAGE_CMD_cramfs="mkcramfs /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cramfs"

# includedir=${exec_prefix}/include
export includedir="/usr/include"

# layout_infodir=${infodir}
layout_infodir="/usr/share/info"

# TARGET_CPPFLAGS=-isystem${STAGING_DIR_TARGET}${includedir}
export TARGET_CPPFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include"

# RRECOMMENDS_${PN}-dbg=None
# PREFERRED_VERSION_opie-dvorak=${OPIE_VERSION}
PREFERRED_VERSION_opie-dvorak="1.2.4"

# IMAGE_CMD_cpio.gz=cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}
IMAGE_CMD_cpio.gz="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && (find . | cpio -o -H newc | gzip -c -9 >/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio.gz)"

# SELECTED_OPTIMIZATION=${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}
SELECTED_OPTIMIZATION="-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"

# PCMCIA_MANAGER=pcmciautils
PCMCIA_MANAGER="pcmciautils"

# PREFERRED_VERSION_ti-dmai-apps=2_10_00_01+svnr%
PREFERRED_VERSION_ti-dmai-apps="2_10_00_01+svnr%"

# OE_HOME=/home/DRESEARCH/sledz/work/HydraIP/OE
export OE_HOME="/home/DRESEARCH/sledz/work/HydraIP/OE"

# PREFERRED_VERSION_ti-biosutils=1_02_02
PREFERRED_VERSION_ti-biosutils="1_02_02"

# STAGING_DIR_NATIVE=${STAGING_DIR}/${BUILD_SYS}
STAGING_DIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux"

# PREFERRED_PROVIDER_opkg=opkg
PREFERRED_PROVIDER_opkg="opkg"

# FILESPATHBASE=${FILE_DIRNAME}
FILESPATHBASE="/home/DRESEARCH/sledz/work/openembedded/recipes/gnome"

# PREFERRED_VERSION_glibmm=2.24.0
PREFERRED_VERSION_glibmm="2.24.0"

# PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape="1.2.4"

# MACHINE_TASK_PROVIDER=${DEFAULT_TASK_PROVIDER}
MACHINE_TASK_PROVIDER="task-base"

# FILE=/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4_2.29.91.bb
FILE="/home/DRESEARCH/sledz/work/openembedded/recipes/gnome/libsoup-2.4_2.29.91.bb"

# PREFERRED_VERSION_libopie2=${OPIE_VERSION}
PREFERRED_VERSION_libopie2="1.2.4"

# PREFERRED_VERSION_opie-mobilemsg=${OPIE_VERSION}
PREFERRED_VERSION_opie-mobilemsg="1.2.4"

# PREFERRED_VERSION_ti-local-power-manager=1_24_01
PREFERRED_VERSION_ti-local-power-manager="1_24_01"

# EXTENDPKGEVER=${@['','${PKGE\x7d:'][bb.data.getVar('PKGE',d,1) > 0]}
# IMAGE_CMD_ubi=echo \[ubifs\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=${UBI_VOLNAME} >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg
IMAGE_CMD_ubi="echo \[ubifs\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ubifs >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=hipox-rootfs >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ubifs ${MKUBIFS_ARGS} && ubinize -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg"

# libdir_native=${prefix_native}/lib
libdir_native="/usr/lib"

# PSTAGE_BUILD_CMD=stage-manager-ipkg-build -o 0 -g 0
PSTAGE_BUILD_CMD="stage-manager-ipkg-build -o 0 -g 0"

# IMAGE_CMD_ext2.bz2=install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2
IMAGE_CMD_ext2.bz2="install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2 ; bzip2 -f -9 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2; mv /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2.bz2 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2.bz2"

# acpaths=default
acpaths="default"

# PREFERRED_VERSION_libopietooth1=${OPIE_VERSION}
PREFERRED_VERSION_libopietooth1="1.2.4"

# PREFERRED_PROVIDER_dbus-glib=dbus-glib
PREFERRED_PROVIDER_dbus-glib="dbus-glib"

# FILES_${PN}-doc=None
# layout_includedir=${includedir}
layout_includedir="/usr/include"

# ARM_INTERWORK_M_OPT=${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}
ARM_INTERWORK_M_OPT="-mthumb-interwork"

# PREFERRED_VERSION_networkmanager=0.8.1
PREFERRED_VERSION_networkmanager="0.8.1"

# BBFILE_PATTERN_local=^${OE_HOME}/hipox/recipes/
BBFILE_PATTERN_local="^/home/DRESEARCH/sledz/work/HydraIP/OE/hipox/recipes/"

# PRIORITY=optional
PRIORITY="optional"

# PREFERRED_VERSION_binutils=${ANGSTROM_BINUTILS_VERSION}
PREFERRED_VERSION_binutils="2.18"

# BBMASK=${@base_conditional('ENTERPRISE_DISTRO', '1', base_conditional('OLDBBMASK', '', '', '(${OLDBBMASK})|', d) + '(mp3blaster|mpg123|mpg321|smpeg|liba52|lame|libmad|mpeg2dec|xmms-mad|madplay|python-mad|opie-mediaplayer1-libmadplugin|ffmpeg|mplayer)', '${OLDBBMASK}', d)}
# OPIEDIR=${STAGING_DIR_HOST}
export OPIEDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi"

# FEED_ARCH_bfin=blackfin
FEED_ARCH_bfin="blackfin"

# PREFERRED_VERSION_libtool-sdk=2.2.6b
PREFERRED_VERSION_libtool-sdk="2.2.6b"

# PREFERRED_VERSION_mythplugins=0.22
PREFERRED_VERSION_mythplugins="0.22"

# SEPPUKU_QUERY=http://bugs.openembedded.net/buglist.cgi?
SEPPUKU_QUERY="http://bugs.openembedded.net/buglist.cgi?"

# PREFERRED_PROVIDER_bluez-utils-dbus=bluez-utils
PREFERRED_PROVIDER_bluez-utils-dbus="bluez-utils"

# SECTION=x11/gnome/libs
SECTION="x11/gnome/libs"

# DISTRO_PR=.6
DISTRO_PR=".6"

# TARGET_FPU_armv6-novfp=soft
TARGET_FPU_armv6-novfp="soft"

# SDK_CC_ARCH=${BUILD_CC_ARCH}
# MAINTAINER=Angstrom Developers <angstrom-distro-devel@linuxtogo.org>
MAINTAINER="Angstrom Developers <angstrom-distro-devel@linuxtogo.org>"

# DISTRO_NAME=Angstrom
DISTRO_NAME="Angstrom"

# GROUP_locale=None
# BUILD_CC=${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}
export BUILD_CC="gcc"

# BUILD_LDFLAGS=-L${STAGING_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1
export BUILD_LDFLAGS="-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib -Wl,-O1"

# UBI_VOLNAME=${MACHINE}-rootfs
UBI_VOLNAME="hipox-rootfs"

# EXTRA_IMAGECMD_ubi=
# STAGING_LIBDIR=${STAGING_DIR_HOST}${libdir}
STAGING_LIBDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib"

# PREFERRED_VERSION_gtk+=2.20.1
PREFERRED_VERSION_gtk+="2.20.1"

# CONFIG_SITE=${@' '.join(_autotools_get_sitefiles(d))}
export CONFIG_SITE="/home/DRESEARCH/sledz/work/openembedded/site/endian-little /home/DRESEARCH/sledz/work/openembedded/site/arm-common /home/DRESEARCH/sledz/work/openembedded/site/common-linux /home/DRESEARCH/sledz/work/openembedded/site/common-glibc /home/DRESEARCH/sledz/work/openembedded/site/arm-linux /home/DRESEARCH/sledz/work/openembedded/site/common"

# OPKG_SRCREV=554
OPKG_SRCREV="554"

# TARGET_ARCH=arm
unset TARGET_ARCH

# PREFERRED_VERSION_dbus=1.2.24
PREFERRED_VERSION_dbus="1.2.24"

# FETCHCMD_cvs=/usr/bin/env cvs
FETCHCMD_cvs="/usr/bin/env cvs"

# PREFERRED_PROVIDER_virtual/alsa-scenarios=fsodeviced
PREFERRED_PROVIDER_virtual/alsa-scenarios="fsodeviced"

# PREFERRED_VERSION_opie-aqpkg=${OPIE_VERSION}
PREFERRED_VERSION_opie-aqpkg="1.2.4"

# CXXFLAGS=${TARGET_CXXFLAGS} -fvisibility-inlines-hidden
export CXXFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden"

# BUILD_F77=${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}
export BUILD_F77="g77"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-for-gcc=glibc
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-for-gcc="glibc"

# PREFERRED_VERSION_linux-libc-headers-native=${LINUX_LIBC_HEADERS_VERSION}
PREFERRED_VERSION_linux-libc-headers-native="2.6.31"

# PREFERRED_VERSION_ti-codecs-dm355-server=1_13_000
PREFERRED_VERSION_ti-codecs-dm355-server="1_13_000"

# STAGING_IDLDIR=${STAGING_DATADIR}/idl
export STAGING_IDLDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/idl"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-ani=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-ani="gtk+"

# insane_do_package_write=	package_do_package_write

insane_do_package_write="package_do_package_write"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate=None
# layout_sbindir=${sbindir}
layout_sbindir="/usr/sbin"

# BB_LOCALCOUNT_OVERRIDE=1
BB_LOCALCOUNT_OVERRIDE="1"

# GENTOO_MIRROR=http://distfiles.gentoo.org/distfiles
GENTOO_MIRROR="http://distfiles.gentoo.org/distfiles"

# CO_DIR=${DL_DIR}
CO_DIR="/home/DRESEARCH/sledz/sources"

# bindir=${exec_prefix}/bin
export bindir="/usr/bin"

# FILES_libsoup-2.4-static=${libdir}/*.a ${base_libdir}/*.a
FILES_libsoup-2.4-static="/usr/lib/*.a /lib/*.a"

# PREFERRED_VERSION_opie-zsame=${OPIE_VERSION}
PREFERRED_VERSION_opie-zsame="1.2.4"

# ALLOW_EMPTY_${PN}-dbg=None
# PREFERRED_VERSION_opie-alarm=${OPIE_VERSION}
PREFERRED_VERSION_opie-alarm="1.2.4"

# QUILTRCFILE=${STAGING_BINDIR_NATIVE}/quiltrc
QUILTRCFILE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin/quiltrc"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-initial=glibc-initial
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-initial="glibc-initial"

# DEPLOY_DIR_DEB=${DEPLOY_DIR}/deb
DEPLOY_DIR_DEB="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/deb"

# TARGET_VENDOR=-angstrom
TARGET_VENDOR="-angstrom"

# BUILD_PREFIX=
# EXTRA_IMAGECMD_cpio.lzma=
# TOOLCHAIN_BRAND=
# PREFERRED_VERSION_opie-unikeyboard=${OPIE_VERSION}
PREFERRED_VERSION_opie-unikeyboard="1.2.4"

# BOOTSTRAP_EXTRA_RDEPENDS=
# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-g++=gcc-cross
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-g++="gcc-cross"

# BUILD_LD=${BUILD_PREFIX}ld
export BUILD_LD="ld"

# PREFERRED_VERSION_opie-kpacman=${OPIE_VERSION}
PREFERRED_VERSION_opie-kpacman="1.2.4"

# BUILD_SYS=${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}
BUILD_SYS="i686-linux"

# PREFERRED_VERSION_opie-autorotateapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-autorotateapplet="1.2.4"

# STAGING_INCDIR=${STAGING_DIR_HOST}${includedir}
STAGING_INCDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include"

# EXTRA_IMAGECMD_ubifs=
# PREFERRED_VERSION_ti-codecs-dm6446-server=2_05_00_00
PREFERRED_VERSION_ti-codecs-dm6446-server="2_05_00_00"

# PREFERRED_VERSION_glib-2.0=2.24.1
PREFERRED_VERSION_glib-2.0="2.24.1"

# BB_ENV_EXTRAWHITE=OE_HOME OE_ROOT
export BB_ENV_EXTRAWHITE="OE_HOME OE_ROOT"

# STAGING_DIR_SDK=${STAGING_DIR}/${SDK_SYS}
STAGING_DIR_SDK="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux"

# sysconfdir_native=/etc
sysconfdir_native="/etc"

# exec_prefix=/usr
export exec_prefix="/usr"

# PREFERRED_VERSION_pango-native=1.24.4
PREFERRED_VERSION_pango-native="1.24.4"

# PREFERRED_PROVIDER_hotplug=udev
PREFERRED_PROVIDER_hotplug="udev"

# SDK_EXEEXT=
# SELECTED_OPTIMIZATION_pn-libsoup=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libsoup="-pg"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++=None
# PREFERRED_VERSION_opie-todo=${OPIE_VERSION}
PREFERRED_VERSION_opie-todo="1.2.4"

# IMAGE_ROOTFS_SIZE_ext3=65536
IMAGE_ROOTFS_SIZE_ext3="65536"

# IMAGE_ROOTFS_SIZE_ext2=65536
IMAGE_ROOTFS_SIZE_ext2="65536"

# PREFERRED_VERSION_automake=1.11.1
PREFERRED_VERSION_automake="1.11.1"

# IMAGE_CMD_squashfs=mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend
IMAGE_CMD_squashfs="mksquashfs /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.squashfs  -noappend"

# STAGING_EXECPREFIXDIR=${STAGING_DIR_HOST}${exec_prefix}
STAGING_EXECPREFIXDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr"

# PREFERRED_VERSION_opie-freetype=${OPIE_VERSION}
PREFERRED_VERSION_opie-freetype="1.2.4"

# PATCHDEPENDENCY=${PATCHTOOL}-native:do_populate_sysroot
PATCHDEPENDENCY="quilt-native:do_populate_sysroot"

# PREFERRED_VERSION_opie-screenshotapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-screenshotapplet="1.2.4"

# PREFERRED_VERSION_opie-sh-snes=${OPIE_VERSION}
PREFERRED_VERSION_opie-sh-snes="1.2.4"

# layout_exec_prefix=${exec_prefix}
layout_exec_prefix="/usr"

# PREFERRED_VERSION_opie-bluetoothapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-bluetoothapplet="1.2.4"

# LANG=en_US.UTF-8
export LANG="en_US.UTF-8"

# PREFERRED_VERSION_opie-performance=${OPIE_VERSION}
PREFERRED_VERSION_opie-performance="1.2.4"

# PREFERRED_VERSION_opie-datebook=${OPIE_VERSION}
PREFERRED_VERSION_opie-datebook="1.2.4"

# DEPENDS_virtclass-native=${@autotools_deps(d)}${@base_deps(d)} 
DEPENDS_virtclass-native="autoconf-native automake-native libtool-native libtool-cross gnu-config-native coreutils-native virtual/arm-angstrom-linux-gnueabi-gcc virtual/libc"

# PREFERRED_VERSION_opie-datebook-chrisholidayplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-datebook-chrisholidayplugin="1.2.4"

# SEPPUKU_PRODUCT=Openembedded
SEPPUKU_PRODUCT="Openembedded"

# PREFERRED_VERSION_opie-clipboardapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-clipboardapplet="1.2.4"

# HOME=/home/DRESEARCH/sledz
export HOME="/home/DRESEARCH/sledz"

# PREFERRED_VERSION_opie-clock=${OPIE_VERSION}
PREFERRED_VERSION_opie-clock="1.2.4"

# FETCHCOMMAND_wget=/usr/bin/env 'PATH=${PATH}' wget -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'
FETCHCOMMAND_wget="/usr/bin/env 'PATH=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux//bin:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin' wget -t 5 --passive-ftp --no-check-certificate -P /home/DRESEARCH/sledz/sources '${URI}'"

# KERNEL_CCSUFFIX_archos5=-4.2.1+csl-arm-2007q3-53
KERNEL_CCSUFFIX_archos5="-4.2.1+csl-arm-2007q3-53"

# PREFERRED_VERSION_opie-today-stocktickerplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-stocktickerplugin="1.2.4"

# PREFERRED_VERSION_opie-mediaplayer1=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1="1.2.4"

# FETCHCMD_svn=/usr/bin/env svn --non-interactive
FETCHCMD_svn="/usr/bin/env svn --non-interactive"

# ENTERPRISE_DISTRO=0
ENTERPRISE_DISTRO="0"

# RRECOMMENDS_libsoup-2.4-dbg=${PN} (= ${EXTENDPV})
RRECOMMENDS_libsoup-2.4-dbg="libsoup-2.4 (= 2.29.91-r0.6)"

# PREFERRED_VERSION_classpath-initial=0.93
PREFERRED_VERSION_classpath-initial="0.93"

# GPE_EXTRA_SVN=svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}
GPE_EXTRA_SVN="svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=libsoup-2.4"

# oldincludedir=${exec_prefix}/include
export oldincludedir="/usr/include"

# PREFERRED_VERSION_opie-helpbrowser=${OPIE_VERSION}
PREFERRED_VERSION_opie-helpbrowser="1.2.4"

# PSTAGE_PKGPATH=${DISTRO}${PSTAGE_EXTRAPATH}
PSTAGE_PKGPATH="angstromglibc"

# TERMCMDRUN=${GNOME_TERMCMDRUN}
TERMCMDRUN="gnome-terminal --disable-factory -t \"$TERMWINDOWTITLE\" -x $SHELLCMDS"

# PREFERRED_VERSION_openssl=1.0.0a
PREFERRED_VERSION_openssl="1.0.0a"

# PREFERRED_VERSION_opie-mediaplayer2-skin-default=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer2-skin-default="1.2.4"

# PREFERRED_PROVIDER_virtual/kernel=linux
PREFERRED_PROVIDER_virtual/kernel="linux"

# IPKGCONF_CANSDK=${STAGING_ETCDIR_NATIVE}/opkg-canadian-sdk.conf
IPKGCONF_CANSDK="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-canadian-sdk.conf"

# DEPENDS_virtclass-nativesdk=${@autotools_deps(d)}${@base_deps(d)} 
DEPENDS_virtclass-nativesdk="autoconf-native automake-native libtool-native libtool-cross gnu-config-native coreutils-native virtual/arm-angstrom-linux-gnueabi-gcc virtual/libc"

# base_sbindir=${base_prefix}/sbin
export base_sbindir="/sbin"

# ARM_INSTRUCTION_SET_pn-uclibc-initial=arm
ARM_INSTRUCTION_SET_pn-uclibc-initial="arm"

# PSTAGE_LIST_CMD=${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -o ${TMPDIR} list_installed
PSTAGE_LIST_CMD="stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 list_installed"

# SERIAL_CONSOLE=115200 ttyS1
SERIAL_CONSOLE="115200 ttyS1"

# PREFERRED_VERSION_opie-wordgame=${OPIE_VERSION}
PREFERRED_VERSION_opie-wordgame="1.2.4"

# TINDER_URL=/tinderbox
TINDER_URL="/tinderbox"

# PREFERRED_VERSION_samba=3.3.9
PREFERRED_VERSION_samba="3.3.9"

# SCREEN_TERMCMDRUN=${SCREEN_TERMCMD} $SHELLCMDS
SCREEN_TERMCMDRUN="screen -D -m -t \"$TERMWINDOWTITLE\" $SHELLCMDS"

# PREFERRED_VERSION_libtool=2.2.6b
PREFERRED_VERSION_libtool="2.2.6b"

# CCLD=${CC}
export CCLD="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# TIME=095327
TIME="095327"

# IMAGE_DEPENDS_cpio.lzma=lzma-native
IMAGE_DEPENDS_cpio.lzma="lzma-native"

# SDK_CFLAGS=${SDK_CPPFLAGS} ${SELECTED_OPTIMIZATION}
export SDK_CFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include -isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"

# PREFERRED_VERSION_opie-button-settings=${OPIE_VERSION}
PREFERRED_VERSION_opie-button-settings="1.2.4"

# SRCREV_pn-xf86-video-psb=b6b3bba06fe5a3fe0b1bd6e31a7369dd83812bab
SRCREV_pn-xf86-video-psb="b6b3bba06fe5a3fe0b1bd6e31a7369dd83812bab"

# PREFERRED_VERSION_gcc=${ANGSTROM_GCC_VERSION}
PREFERRED_VERSION_gcc="4.3.3"

# SHELLCMDS=${SHELLRCCMD}
export SHELLCMDS="bash --rcfile $TERMRCFILE"

# KERNEL=kernel26
KERNEL="kernel26"

# PREFERRED_VERSION_opie-odict=${OPIE_VERSION}
PREFERRED_VERSION_opie-odict="1.2.4"

# IMAGE_CMD_ubifs=mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}
IMAGE_CMD_ubifs="mkfs.ubifs -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.ubifs.img ${MKUBIFS_ARGS}"

# TARGET_FPU_arm=soft
TARGET_FPU_arm="soft"

# SEPPUKU_USER=None
# IMAGE_DEPENDS_cramfs=cramfs-native
IMAGE_DEPENDS_cramfs="cramfs-native"

# FEED_DEPLOYDIR_BASE_URI=None
# PREFERRED_PROVIDER_virtual/java-native=jamvm-native
PREFERRED_PROVIDER_virtual/java-native="jamvm-native"

# DEBIAN_NAMES=1
DEBIAN_NAMES="1"

# QPEDIR=${STAGING_DIR_HOST}
export QPEDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi"

# PREFERRED_VERSION_opie-i18n=${OPIE_VERSION}
PREFERRED_VERSION_opie-i18n="1.2.4"

# PSTAGE_TMPDIR_STAGE=${WORKDIR}/staging-pkg
PSTAGE_TMPDIR_STAGE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg"

# DEPCHAIN_POST=-dev -dbg
DEPCHAIN_POST="-dev -dbg"

# BUILD_OPTIMIZATION_pn-perl-native=-O1 -g
BUILD_OPTIMIZATION_pn-perl-native="-O1 -g"

# QA_LOG=1
QA_LOG="1"

# PREFERRED_VERSION_ti-lpm-module=1_24_01
PREFERRED_VERSION_ti-lpm-module="1_24_01"

# SRCREV_pn-json-glib=930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8
SRCREV_pn-json-glib="930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8"

# PREFERRED_PROVIDER_virtual/libqpe1=libqpe-opie
PREFERRED_PROVIDER_virtual/libqpe1="libqpe-opie"

# PREFERRED_VERSION_opie-aboutapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-aboutapplet="1.2.4"

# PREFERRED_VERSION_opie-kbill=${OPIE_VERSION}
PREFERRED_VERSION_opie-kbill="1.2.4"

# LDFLAGS_pn-libgupnp=-pg 
LDFLAGS_pn-libgupnp="-pg"

# TINDER_BRANCH=org.openembedded.dev
TINDER_BRANCH="org.openembedded.dev"

# TARGET_FPU_armeb=soft
TARGET_FPU_armeb="soft"

# BUILD_CCLD=${BUILD_PREFIX}gcc
export BUILD_CCLD="gcc"

# IMAGE_NAME=${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${ANGSTROM_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}
IMAGE_NAME="Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox"

# PREFERRED_PROVIDER_virtual/libsdl=libsdl-x11
PREFERRED_PROVIDER_virtual/libsdl="libsdl-x11"

# PREFERRED_VERSION_opie-light-and-power=${OPIE_VERSION}
PREFERRED_VERSION_opie-light-and-power="1.2.4"

# PREFERRED_VERSION_ti-dsplink-module=1_64
PREFERRED_VERSION_ti-dsplink-module="1_64"

# SOLIBSDEV_darwin=.dylib
SOLIBSDEV_darwin=".dylib"

# PREFERRED_VERSION_ti-codecs_omapl138=1_00_00
PREFERRED_VERSION_ti-codecs_omapl138="1_00_00"

# GROUP_packaging=None
# PREFERRED_VERSION_ti-codecs_omapl137=1_00_00
PREFERRED_VERSION_ti-codecs_omapl137="1_00_00"

# LDFLAGS_pn-libgssdp=-pg 
LDFLAGS_pn-libgssdp="-pg"

# B=${S}
B="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91"

# GROUP_fetcher=None
# SECTION_libsoup-2.4-dev=devel
SECTION_libsoup-2.4-dev="devel"

# PREFERRED_VERSION_opie-securityplugin-notice=${OPIE_VERSION}
PREFERRED_VERSION_opie-securityplugin-notice="1.2.4"

# PREFERRED_VERSION_mesa=7.6
PREFERRED_VERSION_mesa="7.6"

# OVERRIDES=local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:${FEED_ARCH}:${SOC_FAMILY}:libc-glibc${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}
OVERRIDES="local:hipox:angstrom:linux-gnueabi:arm:build-linux:fail-fast:pn-libsoup-2.4:armv5te:Unknown:libc-glibc:thumb-interwork"

# TARGET_FPU_ppc405=soft
TARGET_FPU_ppc405="soft"

# INHERIT= devshell src_distribute_local debian sanity angstrom devshell angstrom-mirrors insane recipe_sanity testlab package_ipk sanity
INHERIT="devshell src_distribute_local debian sanity angstrom devshell angstrom-mirrors insane recipe_sanity testlab package_ipk sanity"

# BBPATH=/home/DRESEARCH/sledz/work/HydraIP/OE/:/home/DRESEARCH/sledz/work/HydraIP/OE/hipox:/home/DRESEARCH/sledz/work/HydraIP/OE/common:/home/DRESEARCH/sledz/work/openembedded
export BBPATH="/home/DRESEARCH/sledz/work/HydraIP/OE/:/home/DRESEARCH/sledz/work/HydraIP/OE/hipox:/home/DRESEARCH/sledz/work/HydraIP/OE/common:/home/DRESEARCH/sledz/work/openembedded"

# IMAGE_DEPENDS_yaffs2=yaffs2-utils-native
IMAGE_DEPENDS_yaffs2="yaffs2-utils-native"

# PREFERRED_VERSION_gtk+-native=2.20.1
PREFERRED_VERSION_gtk+-native="2.20.1"

# XTERM_TERMCMD=xterm -T "$TERMWINDOWTITLE"
XTERM_TERMCMD="xterm -T \"$TERMWINDOWTITLE\""

# layout_bindir=${bindir}
layout_bindir="/usr/bin"

# SDK_SYS=${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''][bb.data.getVar('SDK_OS', d, 1) == ('' or 'custom')]}
SDK_SYS="i686-linux"

# OLDBBMASK=
# PREFERRED_VERSION_ti-edma3lld=01_11_00_03
PREFERRED_VERSION_ti-edma3lld="01_11_00_03"

# BBFILE_PRIORITY=10
BBFILE_PRIORITY="10"

# PREMIRRORS=cvs://.*/.* http://www.angstrom-distribution.org/unstable/sources/
svn://.*/.* http://www.angstrom-distribution.org/unstable/sources/
git://.*/.* http://www.angstrom-distribution.org/unstable/sources/
hg://.*/.* http://www.angstrom-distribution.org/unstable/sources/
bzr://.*/.* http://www.angstrom-distribution.org/unstable/sources/

PREMIRRORS="cvs://.*/.* http://www.angstrom-distribution.org/unstable/sources/
svn://.*/.* http://www.angstrom-distribution.org/unstable/sources/
git://.*/.* http://www.angstrom-distribution.org/unstable/sources/
hg://.*/.* http://www.angstrom-distribution.org/unstable/sources/
bzr://.*/.* http://www.angstrom-distribution.org/unstable/sources/"

# PREFERRED_VERSION_libgpephone=0.4
PREFERRED_VERSION_libgpephone="0.4"

# SOLIBSDEV_darwin9=.dylib
SOLIBSDEV_darwin9=".dylib"

# IPKGBUILDCMD=ipkg-build -o 0 -g 0
IPKGBUILDCMD="ipkg-build -o 0 -g 0"

# IMAGE_CMD_ext2=genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}
IMAGE_CMD_ext2="genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2"

# IMAGE_CMD_ext3=genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3
IMAGE_CMD_ext3="genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3 ; tune2fs -j /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3"

# ASSUME_SHLIBS=None
# base_libdir=${base_prefix}/lib
export base_libdir="/lib"

# PREFERRED_VERSION_ti-codecs-dm6467-server=1_00_00_03
PREFERRED_VERSION_ti-codecs-dm6467-server="1_00_00_03"

# FETCHCMD_wget=/usr/bin/env wget -t 5 --no-check-certificate
FETCHCMD_wget="/usr/bin/env wget -t 5 --no-check-certificate"

# PREFERRED_PROVIDER_tslib-conf=tslib
PREFERRED_PROVIDER_tslib-conf="tslib"

# GROUP_dependencies=None
# UBOOT_ENTRYPOINT=0x48008000
UBOOT_ENTRYPOINT="0x48008000"

# PREFERRED_VERSION_ti-dspbios=5_41_02_14
PREFERRED_VERSION_ti-dspbios="5_41_02_14"

# SANITY_ABIFILE=${TMPDIR}/abi_version
SANITY_ABIFILE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/abi_version"

# PREFERRED_VERSION_wpa-supplicant=0.6.9
PREFERRED_VERSION_wpa-supplicant="0.6.9"

# SCENEFUNCS= packagestage_scenefunc base_scenefunction
SCENEFUNCS="packagestage_scenefunc base_scenefunction"

# IMAGE_CMD_ext2.gz=install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz
IMAGE_CMD_ext2.gz="install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2 ; gzip -f -9 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2; mv /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.gz/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2.gz /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext2.gz"

# PKGDATA_DIR=${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}
PKGDATA_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pkgdata/armv5te-angstrom-linux-gnueabi"

# PREFERRED_VERSION_gcc-cross=${ANGSTROM_GCC_VERSION}
PREFERRED_VERSION_gcc-cross="4.3.3"

# __BBHANDLERS=['packagedstage_stampfixing_eventhandler', 'oe_import', 'base_eventhandler', 'check_sanity_eventhandler', 'recipe_sanity_eh', 'check_sanity_eventhandler']
# PREFERRED_VERSION_opie-doctab=${OPIE_VERSION}
PREFERRED_VERSION_opie-doctab="1.2.4"

# PREFERRED_VERSION_opie-sounds=${OPIE_VERSION}
PREFERRED_VERSION_opie-sounds="1.2.4"

# PREFERRED_VERSION_opie-bluetoothmanager=${OPIE_VERSION}
PREFERRED_VERSION_opie-bluetoothmanager="1.2.4"

# LOGNAME=sledz
export LOGNAME="sledz"

# PATH=${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin
export PATH="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux//bin:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin"

# PREFERRED_PROVIDER_hostap-modules_h2200=hostap-modules
PREFERRED_PROVIDER_hostap-modules_h2200="hostap-modules"

# PREFERRED_VERSION_opie-appearance=${OPIE_VERSION}
PREFERRED_VERSION_opie-appearance="1.2.4"

# PREFERRED_VERSION_opie-today-weatherplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-weatherplugin="1.2.4"

# TARGET_CFLAGS=${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}
export TARGET_CFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"

# base_bindir=${base_prefix}/bin
export base_bindir="/bin"

# layout_sharedstatedir=${sharedstatedir}
layout_sharedstatedir="/com"

# IPKGCONF_TARGET=${STAGING_ETCDIR_NATIVE}/opkg.conf
IPKGCONF_TARGET="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf"

# PREFERRED_VERSION_opie-deco-liquid=${OPIE_VERSION}
PREFERRED_VERSION_opie-deco-liquid="1.2.4"

# _task_deps={'depends': {'do_patch': 'quilt-native:do_populate_sysroot', 'do_package_write_ipk': 'ipkg-utils-native:do_populate_sysroot fakeroot-native:do_populate_sysroot', 'do_package_update_index_ipk': ' ipkg-utils-native:do_populate_sysroot', 'do_package': ' file-native:do_populate_sysroot pax-utils-native:do_populate_sysroot desktop-file-utils-native:do_populate_sysroot', 'do_setscene': ' stagemanager-native:do_populate_sysroot'}, 'tasks': ['do_patch', 'do_populate_sysroot', 'do_package_stage', 'do_package_stage_all', 'do_listtasks', 'do_clean', 'do_cleanall', 'do_rebuild', 'do_distclean', 'do_checkuri', 'do_checkuriall', 'do_fetchall', 'do_buildall', 'do_setscene', 'do_fetch', 'do_unpack', 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_devshell', 'do_distribute_sources', 'do_distribute_sources_all', 'do_distsrcall', 'do_package', 'do_package_write', 'do_qa_staging', 'do_qa_configure', 'do_recipe_sanity', 'do_recipe_sanity_all', 'do_package_write_ipk', 'do_package_update_index_ipk'], 'parents': {'do_recipe_sanity_all': ['do_recipe_sanity'], 'do_configure': ['do_unpack', 'do_patch'], 'do_package': ['do_install'], 'do_package_write': ['do_package_write_ipk', 'do_package'], 'do_fetchall': ['do_fetch'], 'do_rebuild': ['do_build'], 'do_compile': ['do_qa_configure', 'do_configure'], 'do_cleanall': ['do_clean'], 'do_checkuri': [], 'do_unpack': ['do_fetch'], 'do_distsrcall': ['do_distribute_sources_all'], 'do_qa_configure': ['do_configure'], 'do_build': ['do_package_write', 'do_package', 'do_distribute_sources', 'do_package_stage_all', 'do_package_stage'], 'do_package_stage': ['do_qa_staging', 'do_package_write', 'do_populate_sysroot'], 'do_fetch': ['do_setscene'], 'do_devshell': ['do_patch'], 'do_populate_sysroot': ['do_install'], 'do_recipe_sanity': [], 'do_checkuriall': ['do_checkuri'], 'do_install': ['do_compile'], 'do_package_write_ipk': ['do_package'], 'do_listtasks': [], 'do_clean': [], 'do_patch': ['do_unpack'], 'do_distribute_sources': ['do_fetch'], 'do_buildall': ['do_build'], 'do_distribute_sources_all': ['do_distribute_sources'], 'do_package_update_index_ipk': [], 'do_distclean': [], 'do_package_stage_all': ['do_package_stage'], 'do_setscene': [], 'do_qa_staging': ['do_populate_sysroot']}, 'rdeptask': {'do_package_write_ipk': 'do_package'}, 'recrdeptask': {'do_buildall': 'do_build', 'do_distribute_sources_all': 'do_distribute_sources', 'do_package_update_index_ipk': ' do_package_write_ipk do_package_write_ipk', 'do_recipe_sanity_all': 'do_recipe_sanity', 'do_package_stage_all': 'do_package_stage', 'do_fetchall': 'do_fetch', 'do_cleanall': 'do_clean', 'do_checkuriall': 'do_checkuri'}, 'deptask': {'do_configure': 'do_populate_sysroot', 'do_package': 'do_package'}, 'nostamp': {'do_distribute_sources_all': '1', 'do_package_update_index_ipk': '1', 'do_recipe_sanity_all': '1', 'do_devshell': '1', 'do_listtasks': '1', 'do_clean': '1', 'do_rebuild': '1', 'do_distsrcall': '1', 'do_recipe_sanity': '1', 'do_checkuri': '1', 'do_checkuriall': '1', 'do_distclean': '1'}}
# PWD=/home/DRESEARCH/sledz/work/HydraIP/OE
export PWD="/home/DRESEARCH/sledz/work/HydraIP/OE"

# PREFERRED_VERSION_ti-dvsdk-demos=3_10_00_11
PREFERRED_VERSION_ti-dvsdk-demos="3_10_00_11"

# PREFERRED_VERSION_opie-libqrsync=${OPIE_VERSION}
PREFERRED_VERSION_opie-libqrsync="1.2.4"

# DISTRO_VERSION=2010.7-test-${DATE}
DISTRO_VERSION="2010.7-test-20110203"

# FILES_libsoup-2.4-dbg=${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug ${libdir}/matchbox-panel/.debug ${datadir}/gdb/autoload
FILES_libsoup-2.4-dbg="/usr/bin/.debug /usr/sbin/.debug /usr/libexec/.debug /usr/lib/.debug /bin/.debug /sbin/.debug /lib/.debug /usr/lib/libsoup-2.4/.debug /usr/lib/matchbox-panel/.debug /usr/share/gdb/autoload"

# PREFERRED_VERSION_gcc-cross-sdk=${ANGSTROM_GCC_VERSION}
PREFERRED_VERSION_gcc-cross-sdk="4.3.3"

# servicedir=${base_prefix}/srv
export servicedir="/srv"

# BUILD_CPP=${BUILD_PREFIX}cpp
export BUILD_CPP="cpp"

# IMAGE_CMD_tar=cd ${IMAGE_ROOTFS} && tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar .
IMAGE_CMD_tar="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && tar -cvf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.tar ."

# HOMEPAGE=unknown
HOMEPAGE="unknown"

# DEPLOY_DIR_TOOLS=${DEPLOY_DIR}/tools
DEPLOY_DIR_TOOLS="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/tools"

# PREFERRED_VERSION_opie-backgammon=${OPIE_VERSION}
PREFERRED_VERSION_opie-backgammon="1.2.4"

# ARM_INSTRUCTION_SET_pn-uclibc=arm
ARM_INSTRUCTION_SET_pn-uclibc="arm"

# IMAGE_CMD_yaffs2=mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2
IMAGE_CMD_yaffs2="mkyaffs2image  /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.yaffs2"

# PREFERRED_VERSION_opie-datebook-nationalholidayplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-datebook-nationalholidayplugin="1.2.4"

# PREFERRED_VERSION_opie-lrelease-native=${OPIE_VERSION}
PREFERRED_VERSION_opie-lrelease-native="1.2.4"

# SEPPUKU_COMPONENT=org.openembedded.dev
SEPPUKU_COMPONENT="org.openembedded.dev"

# MACHINE=hipox
unset MACHINE

# STAGING_DATADIR_NATIVE=${STAGING_DIR_NATIVE}${datadir_native}
STAGING_DATADIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/share"

# GITDIR=${CO_DIR}/git
GITDIR="/home/DRESEARCH/sledz/sources/git"

# RESUMECOMMAND_wget=/usr/bin/env 'PATH=${PATH}' wget -c -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'
RESUMECOMMAND_wget="/usr/bin/env 'PATH=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/sbin:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux//bin:/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin' wget -c -t 5 --passive-ftp --no-check-certificate -P /home/DRESEARCH/sledz/sources '${URI}'"

# PREFERRED_VERSION_opie-mediaplayer2=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer2="1.2.4"

# SDK_OS=${BUILD_OS}
SDK_OS="linux"

# XAUTHORITY=/home/DRESEARCH/sledz/.Xauthority
export XAUTHORITY="/home/DRESEARCH/sledz/.Xauthority"

# PREFERRED_VERSION_opie-sshkeys=${OPIE_VERSION}
PREFERRED_VERSION_opie-sshkeys="1.2.4"

# SDK_CXXFLAGS=${SDK_CFLAGS} -fpermissive
export SDK_CXXFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include -isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive"

# GPE_MIRROR=http://gpe.linuxtogo.org/download/source
GPE_MIRROR="http://gpe.linuxtogo.org/download/source"

# SOLIBS_darwin9=.*.dylib
SOLIBS_darwin9=".*.dylib"

# IMAGE_POSTPROCESS_COMMAND=   do_testlab ;
IMAGE_POSTPROCESS_COMMAND="do_testlab ;"

# SECTION_${PN}-dev=None
# SOC_FAMILY=Unknown
SOC_FAMILY="Unknown"

# PREFERRED_VERSION_opie-keyview=${OPIE_VERSION}
PREFERRED_VERSION_opie-keyview="1.2.4"

# SOURCE_MIRROR_URL=None
# sbindir=${exec_prefix}/sbin
export sbindir="/usr/sbin"

# PREFERRED_VERSION_opie-taskbar=${OPIE_VERSION}
PREFERRED_VERSION_opie-taskbar="1.2.4"

# CFLAGS=${TARGET_CFLAGS}
export CFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2"

# PREFERRED_VERSION_opie-showimg=${OPIE_VERSION}
PREFERRED_VERSION_opie-showimg="1.2.4"

# PREFERRED_VERSION_opie-help-en=${OPIE_VERSION}
PREFERRED_VERSION_opie-help-en="1.2.4"

# PREFERRED_VERSION_ti-codecs-dm365=3_10_00_02
PREFERRED_VERSION_ti-codecs-dm365="3_10_00_02"

# BUILD_AR=${BUILD_PREFIX}ar
export BUILD_AR="ar"

# SRCREV_pn-libgdbus=aeab6e3c0185b271ca343b439470491b99cc587f
SRCREV_pn-libgdbus="aeab6e3c0185b271ca343b439470491b99cc587f"

# layout_base_libdir=${base_libdir}
layout_base_libdir="/lib"

# PREFERRED_VERSION_opie-mediaplayer1-libmodplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1-libmodplugin="1.2.4"

# PREFERRED_VERSION_opie-irc=${OPIE_VERSION}
PREFERRED_VERSION_opie-irc="1.2.4"

# HANDHELDS_CVS=cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs
HANDHELDS_CVS="cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs"

# IMAGE_DEPENDS_ext2.bz2=genext2fs-native
IMAGE_DEPENDS_ext2.bz2="genext2fs-native"

# PREFERRED_VERSION_ti-dsplink=1_64
PREFERRED_VERSION_ti-dsplink="1_64"

# SDK_PREFIX=${SDK_SYS}-
SDK_PREFIX="i686-linux-"

# DEBIAN_MIRROR=ftp://ftp.debian.org/debian/pool
DEBIAN_MIRROR="ftp://ftp.debian.org/debian/pool"

# PREFERRED_PROVIDER_virtual/libc=glibc
PREFERRED_PROVIDER_virtual/libc="glibc"

# RESUMECOMMAND=ERROR, this must be a BitBake bug
RESUMECOMMAND="ERROR, this must be a BitBake bug"

# DEFAULT_TASK_PROVIDER=task-base
DEFAULT_TASK_PROVIDER="task-base"

# PREFERRED_VERSION_opie-sheet=${OPIE_VERSION}
PREFERRED_VERSION_opie-sheet="1.2.4"

# __BBTASKS=['do_patch', 'do_populate_sysroot', 'do_package_stage', 'do_package_stage_all', 'do_listtasks', 'do_clean', 'do_cleanall', 'do_rebuild', 'do_distclean', 'do_checkuri', 'do_checkuriall', 'do_fetchall', 'do_buildall', 'do_setscene', 'do_fetch', 'do_unpack', 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_devshell', 'do_distribute_sources', 'do_distribute_sources_all', 'do_distsrcall', 'do_package', 'do_package_write', 'do_qa_staging', 'do_qa_configure', 'do_recipe_sanity', 'do_recipe_sanity_all', 'do_package_write_ipk', 'do_package_update_index_ipk']
# SELECTED_OPTIMIZATION_pn-libgupnp=${PROFILE_OPTIMIZATION}
SELECTED_OPTIMIZATION_pn-libgupnp="-pg"

# MACHINE_DISPLAY_BPP=16
MACHINE_DISPLAY_BPP="16"

# IMAGE_ROOTFS_SIZE_ext2.gz=65536
IMAGE_ROOTFS_SIZE_ext2.gz="65536"

# PREFERRED_VERSION_opie-dasher=${OPIE_VERSION}
PREFERRED_VERSION_opie-dasher="1.2.4"

# LICENSE=GPL
LICENSE="GPL"

# TOPDIR=/home/DRESEARCH/sledz/work/HydraIP/OE
TOPDIR="/home/DRESEARCH/sledz/work/HydraIP/OE"

# PREFERRED_VERSION_ti-cgt6x=6_1_9
PREFERRED_VERSION_ti-cgt6x="6_1_9"

# PREFERRED_VERSION_opie-wirelessapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-wirelessapplet="1.2.4"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-tga=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-tga="gtk+"

# KERNEL_IMAGETYPE=uImage
KERNEL_IMAGETYPE="uImage"

# IMAGE_LINGUAS=${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}
IMAGE_LINGUAS="en-us"

# DEPLOY_DIR_IPK=${DEPLOY_DIR}/ipk
DEPLOY_DIR_IPK="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk"

# STAGE_TEMP_PREFIX=
# PREFERRED_VERSION_opie-zsafe=${OPIE_VERSION}
PREFERRED_VERSION_opie-zsafe="1.2.4"

# PREFERRED_VERSION_pango=1.24.4
PREFERRED_VERSION_pango="1.24.4"

# ENABLE_BINARY_LOCALE_GENERATION_ep9312=0
ENABLE_BINARY_LOCALE_GENERATION_ep9312="0"

# ALLOWED_FLAGS=-O -mcpu -march -pipe
ALLOWED_FLAGS="-O -mcpu -march -pipe"

# PREFERRED_VERSION_pkgconfig-native=0.23
PREFERRED_VERSION_pkgconfig-native="0.23"

# SDKPATH=${SDK_PATH}
SDKPATH="/usr/local/angstrom/arm"

# PREFERRED_VERSION_opie-examples=${OPIE_VERSION}
PREFERRED_VERSION_opie-examples="1.2.4"

# STAGING_DIR_JAVA=${STAGING_DIR}/java
STAGING_DIR_JAVA="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/java"

# PREFERRED_VERSION_mythtv=0.22
PREFERRED_VERSION_mythtv="0.22"

# PREFERRED_VERSION_ti-codec-engine=2_25_01_06
PREFERRED_VERSION_ti-codec-engine="2_25_01_06"

# prefix_native=/usr
prefix_native="/usr"

# PACKAGE_EXTRA_ARCHS= armv4 armv4t armv5te
PACKAGE_EXTRA_ARCHS="armv4 armv4t armv5te"

# PREFERRED_PROVIDER_hostap-modules_hx4700=hostap-modules
PREFERRED_PROVIDER_hostap-modules_hx4700="hostap-modules"

# PREFERRED_PROVIDER_virtual/java-initial=jamvm-initial
PREFERRED_PROVIDER_virtual/java-initial="jamvm-initial"

# PACKAGE_DEPENDS= file-native pax-utils-native desktop-file-utils-native
PACKAGE_DEPENDS="file-native pax-utils-native desktop-file-utils-native"

# BBFILE_PATTERN_localcommon=^${OE_HOME}/common/recipes/
BBFILE_PATTERN_localcommon="^/home/DRESEARCH/sledz/work/HydraIP/OE/common/recipes/"

# PREFERRED_VERSION_linux-libc-headers=2.6.24
PREFERRED_VERSION_linux-libc-headers="2.6.24"

# SOURCEFORGE_MIRROR=http://downloads.sourceforge.net
SOURCEFORGE_MIRROR="http://downloads.sourceforge.net"

# DBUS_SESSION_BUS_ADDRESS=None
# TOOLCHAIN_SYSPATH=${TOOLCHAIN_PATH}/${TARGET_SYS}
TOOLCHAIN_SYSPATH="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi"

# EFL_SRCREV=52678
EFL_SRCREV="52678"

# PREFERRED_VERSION_linux-handhelds-2.6=2.6.21-hh20
PREFERRED_VERSION_linux-handhelds-2.6="2.6.21-hh20"

# SOLIBS_darwin=.*.dylib
SOLIBS_darwin=".*.dylib"

# PN=${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[0] or 'defaultpkgname'}
PN="libsoup-2.4"

# OBJDUMP=${HOST_PREFIX}objdump
export OBJDUMP="arm-angstrom-linux-gnueabi-objdump"

# IMAGE_LINK_NAME=${IMAGE_BASENAME}-${MACHINE}
IMAGE_LINK_NAME="libsoup-2.4-hipox"

# IMAGE_BASENAME=${PN}
IMAGE_BASENAME="libsoup-2.4"

# PATCHTOOL=quilt
PATCHTOOL="quilt"

# XORG_MIRROR=http://xorg.freedesktop.org/releases
XORG_MIRROR="http://xorg.freedesktop.org/releases"

# SYSROOT_DESTDIR=${WORKDIR}/sysroot-destdir/
SYSROOT_DESTDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir/"

# PSTAGE_TASKS_COVERED=fetch unpack munge patch configure qa_configure rig_locales compile sizecheck install deploy package populate_sysroot package_write_deb package_write_ipk package_write package_stage qa_staging
PSTAGE_TASKS_COVERED="fetch unpack munge patch configure qa_configure rig_locales compile sizecheck install deploy package populate_sysroot package_write_deb package_write_ipk package_write package_stage qa_staging"

# IMAGE_ROOTFS_SIZE=65536
IMAGE_ROOTFS_SIZE="65536"

# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial=None
# PREFERRED_VERSION_opie-symlinker=${OPIE_VERSION}
PREFERRED_VERSION_opie-symlinker="1.2.4"

# BUILD_CFLAGS=${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}
export BUILD_CFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include -O2 -g"

# PREFERRED_VERSION_opie-calibrate=${OPIE_VERSION}
PREFERRED_VERSION_opie-calibrate="1.2.4"

# PREFERRED_PROVIDER_task-bootstrap=task-bootstrap
PREFERRED_PROVIDER_task-bootstrap="task-bootstrap"

# CPPFLAGS=${TARGET_CPPFLAGS}
export CPPFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include"

# AUTOTOOLS_NATIVE_STAGE_INSTALL=1
AUTOTOOLS_NATIVE_STAGE_INSTALL="1"

# TINDER_LOG=${TMPDIR}/tinder.log
TINDER_LOG="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/tinder.log"

# PREFERRED_VERSION_opie-search=${OPIE_VERSION}
PREFERRED_VERSION_opie-search="1.2.4"

# SPECIAL_PKGSUFFIX=-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian -sdk
SPECIAL_PKGSUFFIX="-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian -sdk"

# METADATA_REVISION=${@base_get_scm_revision(d)}
METADATA_REVISION="<unknown>"

# BUILD_EXEEXT=
# PREFERRED_PROVIDER_virtual/gail=gtk+
PREFERRED_PROVIDER_virtual/gail="gtk+"

# PREFERRED_VERSION_wget=1.11.4
PREFERRED_VERSION_wget="1.11.4"

# OLDEST_KERNEL=2.6.16
OLDEST_KERNEL="2.6.16"

# PREFERRED_PROVIDER_gpsd=gpsd
PREFERRED_PROVIDER_gpsd="gpsd"

# PREFERRED_PROVIDER_e-wm-menu=e-wm-menu
PREFERRED_PROVIDER_e-wm-menu="e-wm-menu"

# EXEEXT=${HOST_EXEEXT}
# ANGSTROM_BLACKLIST_pn-bluez-utils=bluez-utils 3.x has been replaced by bluez4
ANGSTROM_BLACKLIST_pn-bluez-utils="bluez-utils 3.x has been replaced by bluez4"

# ANGSTROM_PKG_FORMAT=ipk
ANGSTROM_PKG_FORMAT="ipk"

# SECTION_${PN}-doc=None
# PREFERRED_VERSION_opie-tableviewer=${OPIE_VERSION}
PREFERRED_VERSION_opie-tableviewer="1.2.4"

# PR=${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[2] or 'r0'}
PR="r0"

# PREFERRED_VERSION_ti-codec-engine-examples=2_25_01_06
PREFERRED_VERSION_ti-codec-engine-examples="2_25_01_06"

# PREFERRED_PROVIDER_hostap-conf=hostap-conf
PREFERRED_PROVIDER_hostap-conf="hostap-conf"

# PV=${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[1] or '1.0'}
PV="2.29.91"

# PREFERRED_VERSION_jamvm=1.5.2
PREFERRED_VERSION_jamvm="1.5.2"

# PSTAGE_PKGNAME=${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk
PSTAGE_PKGNAME="staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi_2.29.91-r0_armv5te-linux-gnueabi.ipk"

# AUTHOR=None
# PREFERRED_VERSION_myththemes=0.22
PREFERRED_VERSION_myththemes="0.22"

# TARGET_FPU_ppc603e=hard
TARGET_FPU_ppc603e="hard"

# PKGDEST=${WORKDIR}/packages-split
PKGDEST="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/packages-split"

# PREFERRED_VERSION_opie-lupdate-native=${OPIE_VERSION}
PREFERRED_VERSION_opie-lupdate-native="1.2.4"

# PREFERRED_VERSION_opie-multikey=${OPIE_VERSION}
PREFERRED_VERSION_opie-multikey="1.2.4"

# STAGING_BINDIR_NATIVE=${STAGING_DIR_NATIVE}${bindir_native}
STAGING_BINDIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/bin"

# OE_STRICT_CHECKSUMS=1
OE_STRICT_CHECKSUMS="1"

# PE=0
PE="0"

# PSTAGE_REMOVE_CMD=${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${TMPDIR} remove
PSTAGE_REMOVE_CMD="stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -force-depends -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 remove"

# PREFERRED_VERSION_glibc=2.9
PREFERRED_VERSION_glibc="2.9"

# PREFERRED_VERSION_ti-dm365mm-module=1_0_3
PREFERRED_VERSION_ti-dm365mm-module="1_0_3"

# ENABLE_BINARY_LOCALE_GENERATION_armeb=0
ENABLE_BINARY_LOCALE_GENERATION_armeb="0"

# PREFERRED_VERSION_libtool-native=2.2.6b
PREFERRED_VERSION_libtool-native="2.2.6b"

# DISTRO=angstrom
unset DISTRO

# IPKG_VARIANT=opkg angstrom-version ${ANGSTROM_FEED_CONFIGS}
IPKG_VARIANT="opkg angstrom-version angstrom-feed-configs"

# PREFERRED_PROVIDER_xserver=xserver-xorg
PREFERRED_PROVIDER_xserver="xserver-xorg"

# PREFERRED_VERSION_opie-remote=${OPIE_VERSION}
PREFERRED_VERSION_opie-remote="1.2.4"

# BUILD_OPTIMIZATION=-O2 -g
BUILD_OPTIMIZATION="-O2 -g"

# PREFERRED_VERSION_opie-networksettings=${OPIE_VERSION}
PREFERRED_VERSION_opie-networksettings="1.2.4"

# PREFERRED_PROVIDER_swt3.4-gtk=swt3.4-gtk
PREFERRED_PROVIDER_swt3.4-gtk="swt3.4-gtk"

# FILES_${PN}-dev=None
# PREFERRED_VERSION_mesa-xlib=7.6
PREFERRED_VERSION_mesa-xlib="7.6"

# PREFERRED_VERSION_opie-write=${OPIE_VERSION}
PREFERRED_VERSION_opie-write="1.2.4"

# S=${WORKDIR}/libsoup-${PV}
S="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91"

# E_CVS=cvs://anonymous@anoncvs.enlightenment.org/var/cvs/e
E_CVS="cvs://anonymous@anoncvs.enlightenment.org/var/cvs/e"

# QMAKE_MKSPEC_PATH=${STAGING_DATADIR_NATIVE}/qmake
export QMAKE_MKSPEC_PATH="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/share/qmake"

# IMAGE_DEPENDS=
# DEBUG_APPS= ${@base_conditional("DISTRO_TYPE", "release", "", "strace procps",d)}
DEBUG_APPS="strace procps"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc-intermediate=gcc-cross-intermediate
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc-intermediate="gcc-cross-intermediate"

# PREFERRED_PROVIDER_virtual/update-alternatives-native=opkg-native
PREFERRED_PROVIDER_virtual/update-alternatives-native="opkg-native"

# PREFERRED_VERSION_opie-keypebble=${OPIE_VERSION}
PREFERRED_VERSION_opie-keypebble="1.2.4"

# MKTEMPDIRCMD=mktemp -d -q ${TMPBASE}
MKTEMPDIRCMD="mktemp -d -q ${TMPBASE}"

# STAGING_KERNEL_DIR=${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel
STAGING_KERNEL_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/kernel"

# PREFERRED_VERSION_openssl-native=1.0.0a
PREFERRED_VERSION_openssl-native="1.0.0a"

# PREFERRED_PROVIDER_esound=pulseaudio
PREFERRED_PROVIDER_esound="pulseaudio"

# PREFERRED_VERSION_opie-zlines=${OPIE_VERSION}
PREFERRED_VERSION_opie-zlines="1.2.4"

# SEPPUKU_LOGIN=http://bugs.openembedded.net/query.cgi?
SEPPUKU_LOGIN="http://bugs.openembedded.net/query.cgi?"

# PREFERRED_PROVIDER_linux-libc-headers=linux-libc-headers
PREFERRED_PROVIDER_linux-libc-headers="linux-libc-headers"

# IMAGE_CMD_ext3.bz2=install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2
IMAGE_CMD_ext3.bz2="install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3 ; tune2fs -j /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3; bzip2 -f -9 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3; mv /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/tmp.bz2/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3.bz2 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.ext3.bz2"

# layout_localstatedir=${localstatedir}
layout_localstatedir="/var"

# QEMU_OPTIONS_armv7a=-cpu cortex-a8
QEMU_OPTIONS_armv7a="-cpu cortex-a8"

# ADOBE_MIRROR=http://fpdownload.macromedia.com/get/flashplayer/current/
ADOBE_MIRROR="http://fpdownload.macromedia.com/get/flashplayer/current/"

# PREFERRED_VERSION_opie-login=${OPIE_VERSION}
PREFERRED_VERSION_opie-login="1.2.4"

# SOLIBS=.so.*
SOLIBS=".so.*"

# PREFERRED_VERSION_opie-memoryapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-memoryapplet="1.2.4"

# PROVIDES=${P} ${PF} ${PN} 
PROVIDES="libsoup-2.4-2.29.91 libsoup-2.4-2.29.91-r0 libsoup-2.4"

# PKG_CONFIG_DIR=${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig
export PKG_CONFIG_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/pkgconfig"

# PACKAGE_PREPROCESS_FUNCS= autotools_prepackage_lamangler
PACKAGE_PREPROCESS_FUNCS="autotools_prepackage_lamangler"

# do_package_write_tar=None
# SRCREV_pn-bickley=de9431b7c6040bc3731157c05947159ad2c7a0a9
SRCREV_pn-bickley="de9431b7c6040bc3731157c05947159ad2c7a0a9"

# __inherit_cache=['classes/base.bbclass', 'classes/patch.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/patch.bbclass', 'classes/staging.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/staging.bbclass', 'classes/packaged-staging.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/packaged-staging.bbclass', 'classes/packagedata.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/packagedata.bbclass', 'classes/mirrors.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/mirrors.bbclass', 'classes/utils.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/utils.bbclass', 'classes/utility-tasks.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/utility-tasks.bbclass', 'classes/metadata_scm.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/metadata_scm.bbclass', 'classes/devshell.bbclass', 'classes/src_distribute_local.bbclass', 'classes/src_distribute.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute.bbclass', 'classes/debian.bbclass', 'classes/sanity.bbclass', 'classes/qemu.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/qemu.bbclass', 'classes/angstrom.bbclass', 'classes/angstrom-mirrors.bbclass', 'classes/insane.bbclass', 'classes/package.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/package.bbclass', 'classes/recipe_sanity.bbclass', 'classes/testlab.bbclass', 'classes/package_ipk.bbclass', 'classes/gnome.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/gnome.bbclass', 'classes/gnomebase.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/gnomebase.bbclass', 'classes/autotools.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/autotools.bbclass', 'classes/siteinfo.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/siteinfo.bbclass', 'classes/pkgconfig.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/pkgconfig.bbclass', 'classes/gtk-icon-cache.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/gtk-icon-cache.bbclass', 'classes/gconf.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/gconf.bbclass', 'classes/mime.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/mime.bbclass']
# docdir=${datadir}/doc
export docdir="/usr/share/doc"

# PREFERRED_VERSION_binutils-cross-sdk_avr32=2.17
PREFERRED_VERSION_binutils-cross-sdk_avr32="2.17"

# DISTRO_FEATURES=largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbgadget usbhost pci pam tk  ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}  ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}
DISTRO_FEATURES="largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbgadget usbhost pci pam tk  thumb-interwork  thumb-interwork"

# TARGET_SYS=${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}
TARGET_SYS="arm-angstrom-linux-gnueabi"

# IMAGE_DEPENDS_ext2.gz=genext2fs-native
IMAGE_DEPENDS_ext2.gz="genext2fs-native"

# DEPLOY_DIR_TAR=${DEPLOY_DIR}/tar
DEPLOY_DIR_TAR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/tar"

# PREFERRED_VERSION_opie-osearch=${OPIE_VERSION}
PREFERRED_VERSION_opie-osearch="1.2.4"

# TARGET_CC_ARCH_pn-cairo_armv5te=-march=armv4t
TARGET_CC_ARCH_pn-cairo_armv5te="-march=armv4t"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp="gtk+"

# PREFERRED_VERSION_binutils-cross-sdk=${ANGSTROM_BINUTILS_VERSION}
PREFERRED_VERSION_binutils-cross-sdk="2.18"

# EXTRA_IMAGECMD_jffs2=
# PREFERRED_VERSION_opie-ftp=${OPIE_VERSION}
PREFERRED_VERSION_opie-ftp="1.2.4"

# ANGSTROM_BLACKLIST_pn-fso-apm=regular apmd is good enough
ANGSTROM_BLACKLIST_pn-fso-apm="regular apmd is good enough"

# PREFERRED_VERSION_ti-lpm-utils=1_24_01
PREFERRED_VERSION_ti-lpm-utils="1_24_01"

# TERMCMD=xterm
TERMCMD="xterm"

# PREFERRED_VERSION_konqueror-embedded=20070316
PREFERRED_VERSION_konqueror-embedded="20070316"

# PREFERRED_VERSION_opie-style-flat=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-flat="1.2.4"

# PREFERRED_VERSION_opie-bartender=${OPIE_VERSION}
PREFERRED_VERSION_opie-bartender="1.2.4"

# BBFILE_PRIORITY_localcommon=9
BBFILE_PRIORITY_localcommon="9"

# layout_sysconfdir=${sysconfdir}
layout_sysconfdir="/etc"

# PREFERRED_PROVIDER_gtk+=gtk+
PREFERRED_PROVIDER_gtk+="gtk+"

# PREFERRED_VERSION_cairo=1.10.0
PREFERRED_VERSION_cairo="1.10.0"

# IMAGE_DEPENDS_ext3.gz=genext2fs-native e2fsprogs-native
IMAGE_DEPENDS_ext3.gz="genext2fs-native e2fsprogs-native"

# infodir=${datadir}/info
export infodir="/usr/share/info"

# PREFERRED_VERSION_opie-tetrix=${OPIE_VERSION}
PREFERRED_VERSION_opie-tetrix="1.2.4"

# PREFERRED_VERSION_opie-vmemo=${OPIE_VERSION}
PREFERRED_VERSION_opie-vmemo="1.2.4"

# PREFERRED_VERSION_opie-sh=${OPIE_VERSION}
PREFERRED_VERSION_opie-sh="1.2.4"

# libdir=${exec_prefix}/lib
export libdir="/usr/lib"

# LINUX_LIBC_HEADERS_VERSION=2.6.31
LINUX_LIBC_HEADERS_VERSION="2.6.31"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc=gcc-cross
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-gcc="gcc-cross"

# SPLASH= ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}
SPLASH=""

# IMAGE_CMD_jffs2=mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}
IMAGE_CMD_jffs2="mkfs.jffs2 -x lzo --root=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 --faketime --output=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.jffs2"

# KONSOLE_TERMCMD=konsole -T "$TERMWINDOWTITLE"
KONSOLE_TERMCMD="konsole -T \"$TERMWINDOWTITLE\""

# ALLOW_EMPTY_${PN}-dev=None
# PREFERRED_VERSION_qt4-embedded=${ANGSTROM_QT_VERSION}
PREFERRED_VERSION_qt4-embedded="4.6.3"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-png=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-png="gtk+"

# FILES_libsoup-gnome=${libdir}/libsoup-gnome*.so.*
FILES_libsoup-gnome="/usr/lib/libsoup-gnome*.so.*"

# base_prefix=
# SRC_DISTRIBUTE_DLONLY=0
SRC_DISTRIBUTE_DLONLY="0"

# layout_mandir=${mandir}
layout_mandir="/usr/share/man"

# __depends=[('/home/DRESEARCH/sledz/work/HydraIP/OE/hipox/conf/local.conf', 1296725026), ('/home/DRESEARCH/sledz/work/openembedded/conf/machine/hipox.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/machine/include/tune-arm926ejs.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/angstrom-2008.1.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-srcdates.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-srcrevs.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-2008-preferred-versions.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-codec-engine-2.25.01-preferred-versions.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/preferred-opie-versions-1.2.4.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/toolchain-internal.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/arm-thumb.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-glibc.inc', 1296639956), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/glibc-internal.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-toolchain-java.inc', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-jalimo.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-package-ipk.inc', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/documentation.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/sanity.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/abi_version.conf', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/enterprise.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/compatibility-providers.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/base.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/patch.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/staging.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/packaged-staging.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/packagedata.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/mirrors.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/utils.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/utility-tasks.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/metadata_scm.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/devshell.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute_local.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/debian.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/sanity.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/qemu.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/angstrom.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/devshell.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/angstrom-mirrors.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/insane.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/package.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/recipe_sanity.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/testlab.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/package_ipk.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/sanity.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/gnome.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/gnomebase.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/autotools.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/siteinfo.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/pkgconfig.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/gtk-icon-cache.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/gconf.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/mime.bbclass', 1284017760)]
# METADATA_BRANCH=${@base_get_scm_branch(d)}
METADATA_BRANCH="2010-10-01_oe_sync"

# PREFERRED_VERSION_ti-codecs-omap3530=1_00_01
PREFERRED_VERSION_ti-codecs-omap3530="1_00_01"

# CC=${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}
export CC="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-ico=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-ico="gtk+"

# GPE_SVN=svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}
GPE_SVN="svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=libsoup-2.4"

# SYSROOT_PREPROCESS_FUNCS= pkgconfig_sysroot_preprocess
SYSROOT_PREPROCESS_FUNCS="pkgconfig_sysroot_preprocess"

# HGDIR=${CO_DIR}/hg
HGDIR="/home/DRESEARCH/sledz/sources/hg"

# PREFERRED_VERSION_tiff=3.9.2+4.0.0beta5
PREFERRED_VERSION_tiff="3.9.2+4.0.0beta5"

# PREFERRED_VERSION_opie-sysinfo=${OPIE_VERSION}
PREFERRED_VERSION_opie-sysinfo="1.2.4"

# SEPPUKU_ATTACHMENT=http://bugs.openembedded.net/attachment.cgi?
SEPPUKU_ATTACHMENT="http://bugs.openembedded.net/attachment.cgi?"

# PREFERRED_VERSION_opie-style-fresh=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-fresh="1.2.4"

# BPN=${@base_prune_suffix('${PN}', '${SPECIAL_PKGSUFFIX}'.split(), d)}
BPN="libsoup-2.4"

# BB_DEFAULT_TASK=build
BB_DEFAULT_TASK="build"

# PREFERRED_VERSION_opie-stumbler=${OPIE_VERSION}
PREFERRED_VERSION_opie-stumbler="1.2.4"

# IMAGE_FSTYPES=tar
IMAGE_FSTYPES="tar"

# EXTRA_IMAGECMD_yaffs2=1
EXTRA_IMAGECMD_yaffs2="1"

# PREFERRED_VERSION_opie-mail=${OPIE_VERSION}
PREFERRED_VERSION_opie-mail="1.2.4"

# PREFERRED_VERSION_opie-embeddedkonsole=${OPIE_VERSION}
PREFERRED_VERSION_opie-embeddedkonsole="1.2.4"

# MACHINE_GUI_CLASS=smallscreen
MACHINE_GUI_CLASS="smallscreen"

# STAGING_LOADER_DIR=${STAGING_DIR_HOST}/loader
STAGING_LOADER_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/loader"

# ANGSTROM_GCC_VERSION_ppc405=4.1.1
ANGSTROM_GCC_VERSION_ppc405="4.1.1"

# RDEPENDS= hicolor-icon-theme
RDEPENDS="hicolor-icon-theme"

# DISTRO_EXTRA_RDEPENDS= angstrom-version ${ANGSTROM_FEED_CONFIGS} util-linux-ng-mount util-linux-ng-umount angstrom-libc-fixup-hack 
DISTRO_EXTRA_RDEPENDS="angstrom-version angstrom-feed-configs util-linux-ng-mount util-linux-ng-umount angstrom-libc-fixup-hack"

# PREFERRED_VERSION_opie-oxygen=${OPIE_VERSION}
PREFERRED_VERSION_opie-oxygen="1.2.4"

# LOCALE_UTF8_ONLY=1
LOCALE_UTF8_ONLY="1"

# IMAGE_DEPENDS_ext3=genext2fs-native e2fsprogs-native
IMAGE_DEPENDS_ext3="genext2fs-native e2fsprogs-native"

# IMAGE_DEPENDS_ext2=genext2fs-native
IMAGE_DEPENDS_ext2="genext2fs-native"

# PREFERRED_VERSION_icedtea6-native=1.7.3
PREFERRED_VERSION_icedtea6-native="1.7.3"

# PREFERRED_VERSION_opie-today-todolistplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-todolistplugin="1.2.4"

# DL_DIR=${HOME}/sources
DL_DIR="/home/DRESEARCH/sledz/sources"

# PREFERRED_PROVIDER_gnome-vfs-plugin-file=gnome-vfs
PREFERRED_PROVIDER_gnome-vfs-plugin-file="gnome-vfs"

# PREFERRED_VERSION_opie-solitaire=${OPIE_VERSION}
PREFERRED_VERSION_opie-solitaire="1.2.4"

# PREFERRED_VERSION_usbutils=0.86
PREFERRED_VERSION_usbutils="0.86"

# CACHE=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/cache/glibc/hipox
CACHE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/cache/glibc/hipox"

# PREFERRED_PROVIDER_virtual/libx11=libx11
PREFERRED_PROVIDER_virtual/libx11="libx11"

# TARGET_PREFIX=${TARGET_SYS}-
TARGET_PREFIX="arm-angstrom-linux-gnueabi-"

# PREFERRED_VERSION_opie-mindbreaker=${OPIE_VERSION}
PREFERRED_VERSION_opie-mindbreaker="1.2.4"

# expansion of SRCPV threw <class 'bb.fetch.ParameterError'>
# PREFERRED_VERSION_pulseaudio=0.9.15
PREFERRED_VERSION_pulseaudio="0.9.15"

# STAGING_ETCDIR=${STAGING_DIR_HOST}${sysconfdir}
STAGING_ETCDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/etc"

# ANGSTROM_GCC_VERSION=4.3.3
ANGSTROM_GCC_VERSION="4.3.3"

# IPKGCONF_SDK=${STAGING_ETCDIR_NATIVE}/opkg-sdk.conf
IPKGCONF_SDK="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-sdk.conf"

# TARGET_LDFLAGS=-L${STAGING_DIR_TARGET}${libdir} -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir} -Wl,-O1 ${TARGET_LINK_HASH_STYLE}
export TARGET_LDFLAGS="-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu"

# PREFERRED_VERSION_opie-eye=${OPIE_VERSION}
PREFERRED_VERSION_opie-eye="1.2.4"

# D=${WORKDIR}/image
D="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image"

# TERM=xterm
export TERM="xterm"

# PACKAGES=libsoup-gnome ${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-static ${PN}-locale
PACKAGES="libsoup-gnome libsoup-2.4-dbg libsoup-2.4 libsoup-2.4-doc libsoup-2.4-dev libsoup-2.4-static libsoup-2.4-locale"

# PREFERRED_PROVIDER_gnome-vfs=gnome-vfs
PREFERRED_PROVIDER_gnome-vfs="gnome-vfs"

# __recipe_sanity_reqvars=DESCRIPTION
__recipe_sanity_reqvars="DESCRIPTION"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-pcx=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-pcx="gtk+"

# IMAGE_DEPENDS_ext3.bz2=genext2fs-native e2fsprogs-native
IMAGE_DEPENDS_ext3.bz2="genext2fs-native e2fsprogs-native"

# MULTIMACH_HOST_SYS=${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}
MULTIMACH_HOST_SYS="armv5te-angstrom-linux-gnueabi"

# PREFERRED_PROVIDER_virtual/update-alternatives=opkg
PREFERRED_PROVIDER_virtual/update-alternatives="opkg"

# TARGET_FPU=soft
TARGET_FPU="soft"

# PREFERRED_VERSION_libopieobex0=${OPIE_VERSION}
PREFERRED_VERSION_libopieobex0="1.2.4"

# PREFERRED_VERSION_opie-camera=${OPIE_VERSION}
PREFERRED_VERSION_opie-camera="1.2.4"

# PSTAGE_NATIVEDEPENDS=    shasum-native     stagemanager-native     
PSTAGE_NATIVEDEPENDS="shasum-native     stagemanager-native"

# FILES_libsoup-2.4=${libdir}/libsoup-2*.so.*
FILES_libsoup-2.4="/usr/lib/libsoup-2*.so.*"

# PREFERRED_VERSION_opie-advancedfm=${OPIE_VERSION}
PREFERRED_VERSION_opie-advancedfm="1.2.4"

# PKG_CONFIG_DISABLE_UNINSTALLED=yes
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"

# PACKAGE_ARCH=${BASE_PACKAGE_ARCH}
PACKAGE_ARCH="armv5te"

# BUILDNAME=Angstrom ${DISTRO_VERSION}
BUILDNAME="Angstrom 2010.7-test-20110203"

# PREFERRED_VERSION_opie-pyquicklaunchapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-pyquicklaunchapplet="1.2.4"

# MACHINE_EXTRA_RDEPENDS=
# SITEINFO_ENDIANNESS=le
SITEINFO_ENDIANNESS="le"

# SANITY_PRFILE=${TMPDIR}/distro_pr
SANITY_PRFILE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/distro_pr"

# MULTIMACH_ARCH=armv5te
MULTIMACH_ARCH="armv5te"

# DISTRO_CHECK=2010.7-test-20110203
DISTRO_CHECK="2010.7-test-20110203"

# PREFERRED_VERSION_binutils-cross_avr32=2.17
PREFERRED_VERSION_binutils-cross_avr32="2.17"

# PREFERRED_VERSION_network-manager-applet=0.8.1
PREFERRED_VERSION_network-manager-applet="0.8.1"

# MACHINE_ESSENTIAL_EXTRA_RDEPENDS=
# STAMP=${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PF}
STAMP="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/stamps/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0"

# PREFERRED_VERSION_opie-datebook-birthdayplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-datebook-birthdayplugin="1.2.4"

# PREFERRED_VERSION_opie-securityplugin-pin=${OPIE_VERSION}
PREFERRED_VERSION_opie-securityplugin-pin="1.2.4"

# BBINCLUDELOGS=yes
BBINCLUDELOGS="yes"

# PREFERRED_VERSION_classpath=0.98
PREFERRED_VERSION_classpath="0.98"

# PREFERRED_PROVIDER_virtual/libintl=glibc
PREFERRED_PROVIDER_virtual/libintl="glibc"

# PREFERRED_VERSION_cacaoh-native=0.99.3
PREFERRED_VERSION_cacaoh-native="0.99.3"

# PREFERRED_VERSION_opie-icon-reload=${OPIE_VERSION}
PREFERRED_VERSION_opie-icon-reload="1.2.4"

# PYTHON=${@sys.executable}
PYTHON="/usr/bin/python"

# SECTION_libsoup-2.4-dbg=devel
SECTION_libsoup-2.4-dbg="devel"

# ANGSTROM_ARM_INSTRUCTION_SET=arm
ANGSTROM_ARM_INSTRUCTION_SET="arm"

# PREFERRED_VERSION_opie-qasteroids=${OPIE_VERSION}
PREFERRED_VERSION_opie-qasteroids="1.2.4"

# PREFERRED_PROVIDER_bluez-utils=bluez4
PREFERRED_PROVIDER_bluez-utils="bluez4"

# ALLOW_EMPTY_libsoup-2.4-dev=1
ALLOW_EMPTY_libsoup-2.4-dev="1"

# FILES_libsoup-2.4-locale=${datadir}/locale
FILES_libsoup-2.4-locale="/usr/share/locale"

# METADATA_SCM=${@base_get_scm(d)}
METADATA_SCM="git /home/DRESEARCH/sledz/work/openembedded"

# PREFERRED_VERSION_ti-codecs-omap3530-server=1_00_00
PREFERRED_VERSION_ti-codecs-omap3530-server="1_00_00"

# __recipe_sanity_reqdiffvars=LICENSE
__recipe_sanity_reqdiffvars="LICENSE"

# do_distribute_sources_all=None
# SRCREV=1
SRCREV="1"

# layout_servicedir=${servicedir}
layout_servicedir="/srv"

# PACKAGEFUNCS=perform_packagecopy                 ${PACKAGE_PREPROCESS_FUNCS} 		package_do_split_locales 		populate_packages 		package_do_shlibs 		package_do_pkgconfig 		read_shlibdeps 		package_depchains 		emit_pkgdata  do_package_qa 
PACKAGEFUNCS="perform_packagecopy                  autotools_prepackage_lamangler 		package_do_split_locales 		populate_packages 		package_do_shlibs 		package_do_pkgconfig 		read_shlibdeps 		package_depchains 		emit_pkgdata  do_package_qa"

# PREFERRED_VERSION_opie-parashoot=${OPIE_VERSION}
PREFERRED_VERSION_opie-parashoot="1.2.4"

# PREFERRED_VERSION_opie-mailapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-mailapplet="1.2.4"

# PREFERRED_VERSION_mesa-dri=7.6
PREFERRED_VERSION_mesa-dri="7.6"

# OPIE_VERSION=1.2.4
OPIE_VERSION="1.2.4"

# BUILDCFG_NEEDEDVARS=TARGET_ARCH TARGET_OS
BUILDCFG_NEEDEDVARS="TARGET_ARCH TARGET_OS"

# ANGSTROM_BLACKLIST_pn-ipkg=ipkg has been superseded by opkg
ANGSTROM_BLACKLIST_pn-ipkg="ipkg has been superseded by opkg"

# BZRDIR=${CO_DIR}/bzr
BZRDIR="/home/DRESEARCH/sledz/sources/bzr"

# PREFERRED_VERSION_automake-native=1.11.1
PREFERRED_VERSION_automake-native="1.11.1"

# EXTRA_IMAGECMD_squashfs-lzma=
# T=${WORKDIR}/temp
T="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp"

# PREFERRED_PROVIDER_openmoko-alsa-scenarios=fsodeviced
PREFERRED_PROVIDER_openmoko-alsa-scenarios="fsodeviced"

# PREFERRED_PROVIDER_atd=atd
PREFERRED_PROVIDER_atd="atd"

# PREFERRED_VERSION_busybox=1.13.2
PREFERRED_VERSION_busybox="1.13.2"

# IMAGE_DEPENDS_ubi=mtd-utils-native
IMAGE_DEPENDS_ubi="mtd-utils-native"

# PREFERRED_PROVIDER_virtual/db-native=db-native
PREFERRED_PROVIDER_virtual/db-native="db-native"

# FULL_OPTIMIZATION_pn-perl=-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1
FULL_OPTIMIZATION_pn-perl="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-ras=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-ras="gtk+"

# HOST_PREFIX=${TARGET_PREFIX}
HOST_PREFIX="arm-angstrom-linux-gnueabi-"

# PREFERRED_PROVIDER_virtual/db=db
PREFERRED_PROVIDER_virtual/db="db"

# BP=${BPN}-${PV}
BP="libsoup-2.4-2.29.91"

# PREFERRED_VERSION_opie-calculator=${OPIE_VERSION}
PREFERRED_VERSION_opie-calculator="1.2.4"

# XLIBS_MIRROR=http://xlibs.freedesktop.org/release
XLIBS_MIRROR="http://xlibs.freedesktop.org/release"

# SDK_ARCH=${BUILD_ARCH}
SDK_ARCH="i686"

# ANGSTROM_GCC_VERSION_armv4=4.4.2
ANGSTROM_GCC_VERSION_armv4="4.4.2"

# SHELL=/bin/bash
export SHELL="/bin/bash"

# TINDER_MACHINE=${MACHINE}-${LIBC}-build-image
TINDER_MACHINE="hipox-glibc-build-image"

# PREFERRED_VERSION_jamvm-native=1.5.3
PREFERRED_VERSION_jamvm-native="1.5.3"

# STAGING_PYDIR=${STAGING_DIR}/lib/python2.4
STAGING_PYDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/lib/python2.4"

# PREFERRED_PROVIDER_virtual/libx11-native=libx11-native
PREFERRED_PROVIDER_virtual/libx11-native="libx11-native"

# PREFERRED_VERSION_uclibc=0.9.30.2
PREFERRED_VERSION_uclibc="0.9.30.2"

# PREFERRED_PROVIDER_qemu-native=qemu-native
PREFERRED_PROVIDER_qemu-native="qemu-native"

# PREFERRED_VERSION_opie-pickboard=${OPIE_VERSION}
PREFERRED_VERSION_opie-pickboard="1.2.4"

# PREFERRED_VERSION_ti-codecs_omapl137-server=1_00_00
PREFERRED_VERSION_ti-codecs_omapl137-server="1_00_00"

# BBFILE_PATTERN=^${OE_HOME}/hipox/recipes/
BBFILE_PATTERN="^/home/DRESEARCH/sledz/work/HydraIP/OE/hipox/recipes/"

# IMAGE_PKGTYPE=ipk
IMAGE_PKGTYPE="ipk"

# SHLIBSDIR=${STAGING_DIR_HOST}/shlibs
SHLIBSDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/shlibs"

# EXTENDPKGV=${EXTENDPKGEVER}${PKGV}-${PKGR}
EXTENDPKGV="2.29.91-r0.6"

# TARGET_FPU_ixp4xx=soft
TARGET_FPU_ixp4xx="soft"

# PREFERRED_VERSION_cacao=0.99.3
PREFERRED_VERSION_cacao="0.99.3"

# PREFERRED_VERSION_ti-codecs-dm355=1_13_000
PREFERRED_VERSION_ti-codecs-dm355="1_13_000"

# MACHINE_FEATURES=kernel26 ext2 pci usbhost ethernet serial raid uboot
MACHINE_FEATURES="kernel26 ext2 pci usbhost ethernet serial raid uboot"

# FULL_OPTIMIZATION_sparc=-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
FULL_OPTIMIZATION_sparc="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"

# palmqtdir=${palmtopdir}
export palmqtdir="/usr/lib/opie"

# PREFERRED_VERSION_opie-homeapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-homeapplet="1.2.4"

# SOURCE_MIRROR_FETCH=None
# STAGING_SBINDIR_NATIVE=${STAGING_DIR_NATIVE}${sbindir_native}
STAGING_SBINDIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/sbin"

# ARM_THUMB_M_OPT=${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}
ARM_THUMB_M_OPT="-mno-thumb"

# PREFERRED_PROVIDER_ntp=ntp
PREFERRED_PROVIDER_ntp="ntp"

# ANGSTROM_GCC_VERSION_xilinx-ml403=4.1.1
ANGSTROM_GCC_VERSION_xilinx-ml403="4.1.1"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-bmpg=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-bmpg="gtk+"

# PREFERRED_VERSION_classpath-native=0.98
PREFERRED_VERSION_classpath-native="0.98"

# TARGET_CC_ARCH_pn-webkit-gtk_armv5te=-march=armv4t
TARGET_CC_ARCH_pn-webkit-gtk_armv5te="-march=armv4t"

# PREFERRED_VERSION_ti-codecs-dm6467=1_00_00_03
PREFERRED_VERSION_ti-codecs-dm6467="1_00_00_03"

# PSTAGE_EXTRAPATH=${LIBC}
PSTAGE_EXTRAPATH="glibc"

# do_package_write_rpm=None
# PREFERRED_VERSION_ti-linuxutils=2_25_01_06
PREFERRED_VERSION_ti-linuxutils="2_25_01_06"

# BBFILE_PRIORITY_local=10
BBFILE_PRIORITY_local="10"

# PREFERRED_VERSION_opie-jumpx=${OPIE_VERSION}
PREFERRED_VERSION_opie-jumpx="1.2.4"

# PREFERRED_VERSION_mplayer=0.0+1.0rc3+svnr30165
PREFERRED_VERSION_mplayer="0.0+1.0rc3+svnr30165"

# BBINCLUDELOGS_LINES=None
# USERDISTRO=angstrom-2008.1
USERDISTRO="angstrom-2008.1"

# PREFERRED_VERSION_ti-dmai=2_10_00_01+svnr%
PREFERRED_VERSION_ti-dmai="2_10_00_01+svnr%"

# CXX=${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}
export CXX="arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb"

# PREFERRED_VERSION_opie-drawpad=${OPIE_VERSION}
PREFERRED_VERSION_opie-drawpad="1.2.4"

# TOOLCHAIN_OPTIONS=
# PREFERRED_VERSION_lighttpd=1.4.26
PREFERRED_VERSION_lighttpd="1.4.26"

# STAGING_DIR_HOST=${STAGING_DIR}/${BASEPKG_HOST_SYS}
STAGING_DIR_HOST="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi"

# TARGET_CC_KERNEL_ARCH= -mno-thumb-interwork -mno-thumb
TARGET_CC_KERNEL_ARCH="-mno-thumb-interwork -mno-thumb"

# PREFERRED_VERSION_opie-systemtime=${OPIE_VERSION}
PREFERRED_VERSION_opie-systemtime="1.2.4"

# PREFERRED_VERSION=None
# palmtopdir=${libdir}/opie
export palmtopdir="/usr/lib/opie"

# TINDER_REPORT=1
TINDER_REPORT="1"

# layout_libexecdir=${libexecdir}
layout_libexecdir="/usr/libexec"

# BB_STAMP_WHITELIST=${PSTAGE_NATIVEDEPENDS}
BB_STAMP_WHITELIST="shasum-native     stagemanager-native"

# PREFERRED_VERSION_opie-mediaplayer2-skin-pod=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer2-skin-pod="1.2.4"

# BBFILE_PRIORITY_upstream=5
BBFILE_PRIORITY_upstream="5"

# PREFERRED_VERSION_ti-framework-components=2_25_01_05
PREFERRED_VERSION_ti-framework-components="2_25_01_05"

# PREFERRED_VERSION_ti-codecs-dm365-server=3_10_00_02
PREFERRED_VERSION_ti-codecs-dm365-server="3_10_00_02"

# SCREEN_TERMCMD=screen -D -m -t "$TERMWINDOWTITLE"
SCREEN_TERMCMD="screen -D -m -t \"$TERMWINDOWTITLE\""

# PREFERRED_PROVIDER_avahi=avahi
PREFERRED_PROVIDER_avahi="avahi"

# PREFERRED_VERSION_xserver-common=1.33
PREFERRED_VERSION_xserver-common="1.33"

# PREFERRED_VERSION_gtkmm=2.20.0
PREFERRED_VERSION_gtkmm="2.20.0"

# PREFERRED_PROVIDER_virtual/libgl=mesa
PREFERRED_PROVIDER_virtual/libgl="mesa"

# PREFERRED_PROVIDER_virtual/libusb0=libusb-compat
PREFERRED_PROVIDER_virtual/libusb0="libusb-compat"

# PREFERRED_PROVIDER_util-linux=util-linux-ng
PREFERRED_PROVIDER_util-linux="util-linux-ng"

# PF=${PN}-${EXTENDPE}${PV}-${PR}
PF="libsoup-2.4-2.29.91-r0"

# PREFERRED_VERSION_opie-today-addressbookplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-addressbookplugin="1.2.4"

# PREFERRED_PROVIDER_virtual/libiconv=glibc
PREFERRED_PROVIDER_virtual/libiconv="glibc"

# PREFERRED_PROVIDER_virtual/libqte2=${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}
PREFERRED_PROVIDER_virtual/libqte2="qte-mt"

# PREFERRED_VERSION_opie-reader=${OPIE_VERSION}
PREFERRED_VERSION_opie-reader="1.2.4"

# DEPLOY_DIR=${TMPDIR}/deploy/${LIBC}
DEPLOY_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc"

# LOCALCOUNT=0
LOCALCOUNT="0"

# OLDEST_KERNEL_linux-gnueabi=2.6.16
OLDEST_KERNEL_linux-gnueabi="2.6.16"

# TINDER_TREE=Angstrom
TINDER_TREE="Angstrom"

# BUILD_CC_ARCH=
# PREFERRED_VERSION_jamvm-initial=1.4.5
PREFERRED_VERSION_jamvm-initial="1.4.5"

# PREFERRED_VERSION_opie-pimconverter=${OPIE_VERSION}
PREFERRED_VERSION_opie-pimconverter="1.2.4"

# PKG_CONFIG_SYSROOT_DIR=${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
export PKG_CONFIG_SYSROOT_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi"

# BASEPKG_TARGET_SYS=${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
BASEPKG_TARGET_SYS="armv5te-angstrom-linux-gnueabi"

# BUILD_VENDOR=
# KERNELORG_MIRROR=http://kernel.org
KERNELORG_MIRROR="http://kernel.org"

# IMAGE_CMD=
# DEPCHAIN_PRE=
# ANGSTROM_QT_VERSION=4.6.3
ANGSTROM_QT_VERSION="4.6.3"

# PREFERRED_VERSION_libsdl-x11=1.2.14
PREFERRED_VERSION_libsdl-x11="1.2.14"

# SDK_VENDOR=${BUILD_VENDOR}
# FEED_ARCH=armv5te
FEED_ARCH="armv5te"

# ANGSTROM_GCC_VERSION_bfin=4.1.2
ANGSTROM_GCC_VERSION_bfin="4.1.2"

# RPROVIDES=
# FETCHCOMMAND=ERROR, this must be a BitBake bug
FETCHCOMMAND="ERROR, this must be a BitBake bug"

# FEED_BASEPATH=feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/
FEED_BASEPATH="feeds/unstable/ipk/glibc/"

# FULL_OPTIMIZATION_pn-glibc=-fexpensive-optimizations -fomit-frame-pointer -O2
FULL_OPTIMIZATION_pn-glibc="-fexpensive-optimizations -fomit-frame-pointer -O2"

# PKGD=${WORKDIR}/package
PKGD="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/package"

# BBFILES=/home/DRESEARCH/sledz/work/openembedded/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/hipox/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/common/recipes/*/*.bb
BBFILES="/home/DRESEARCH/sledz/work/openembedded/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/hipox/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/common/recipes/*/*.bb"

# PREFERRED_PROVIDER_virtual/psplash=psplash-angstrom
PREFERRED_PROVIDER_virtual/psplash="psplash-angstrom"

# PKG_CONFIG_PATH=${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig
export PKG_CONFIG_PATH="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/pkgconfig:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/pkgconfig"

# PREFERRED_PROVIDER_virtual/javac-native=ecj-bootstrap-native
PREFERRED_PROVIDER_virtual/javac-native="ecj-bootstrap-native"

# SYSROOT_LOCK=${STAGING_DIR}/staging.lock
SYSROOT_LOCK="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock"

# FULL_OPTIMIZATION_ep9312=-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O -fno-signed-zeros
FULL_OPTIMIZATION_ep9312="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O -fno-signed-zeros"

# _=/opt/bitbake/bin/bitbake
export _="/opt/bitbake/bin/bitbake"

# FILES=
# PSTAGE_PKG=${PSTAGE_DIR}/${PSTAGE_PKGPATH}/${PSTAGE_PKGNAME}
PSTAGE_PKG="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi_2.29.91-r0_armv5te-linux-gnueabi.ipk"

# XSERVER=xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev
XSERVER="xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev"

# PREFERRED_VERSION_opie-tinykate=${OPIE_VERSION}
PREFERRED_VERSION_opie-tinykate="1.2.4"

# GNOME_GIT=git://git.gnome.org
GNOME_GIT="git://git.gnome.org"

# AS=${HOST_PREFIX}as
export AS="arm-angstrom-linux-gnueabi-as"

# PREFERRED_PROVIDER_frameworkd-config=frameworkd-config
PREFERRED_PROVIDER_frameworkd-config="frameworkd-config"

# PREFERRED_PROVIDER_libxss=libxss
PREFERRED_PROVIDER_libxss="libxss"

# MACHINE_ARCH=${@oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE}', 'BASE_PACKAGE_ARCH')}
MACHINE_ARCH="hipox"

# FREEDESKTOP_CVS=cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs
FREEDESKTOP_CVS="cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs"

# BUILDCFG_HEADER=Build Configuration:
BUILDCFG_HEADER="Build Configuration:"

# PREFERRED_VERSION_opie-mediaplayer1-libwavplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1-libwavplugin="1.2.4"

# PREFERRED_VERSION_opie-powerchord=${OPIE_VERSION}
PREFERRED_VERSION_opie-powerchord="1.2.4"

# PREFERRED_VERSION_opie-oyatzee=${OPIE_VERSION}
PREFERRED_VERSION_opie-oyatzee="1.2.4"

# BUILD_CPPFLAGS=-isystem${STAGING_INCDIR_NATIVE}
export BUILD_CPPFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include"

# XTERM_TERMCMDRUN=${XTERM_TERMCMD} -e $SHELLCMDS
XTERM_TERMCMDRUN="xterm -T \"$TERMWINDOWTITLE\" -e $SHELLCMDS"

# PREFERRED_VERSION_opie-tonleiter=${OPIE_VERSION}
PREFERRED_VERSION_opie-tonleiter="1.2.4"

# ALLOW_EMPTY_libsoup-2.4-dbg=1
ALLOW_EMPTY_libsoup-2.4-dbg="1"

# PATCH_GET=0
export PATCH_GET="0"

# PREFERRED_VERSION_autoconf=2.65
PREFERRED_VERSION_autoconf="2.65"

# PREFERRED_VERSION_opie-euroconv=${OPIE_VERSION}
PREFERRED_VERSION_opie-euroconv="1.2.4"

# PREFERRED_VERSION_opie-keytabs=${OPIE_VERSION}
PREFERRED_VERSION_opie-keytabs="1.2.4"

# SEPPUKU_NEWREPORT=http://bugs.openembedded.net/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%20unstable&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&
SEPPUKU_NEWREPORT="http://bugs.openembedded.net/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%20unstable&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&"

# ARM_KEEP_OABI_pn-linux-openmoko-2.6.24_om-gta01=1
ARM_KEEP_OABI_pn-linux-openmoko-2.6.24_om-gta01="1"

# COMPATIBLE_MACHINE=None
# DEPLOY_DIR_IMAGE=${DEPLOY_DIR}/images/${MACHINE}
DEPLOY_DIR_IMAGE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox"

# ANGSTROM_BINUTILS_VERSION_armv4=2.20
ANGSTROM_BINUTILS_VERSION_armv4="2.20"

# PREFERRED_VERSION_glibc-initial=2.9
PREFERRED_VERSION_glibc-initial="2.9"

# DISPLAY=localhost:10.0
export DISPLAY="localhost:10.0"

# PREFERRED_VERSION_ti-dsplink-examples=1_64
PREFERRED_VERSION_ti-dsplink-examples="1_64"

# SLOT=0
SLOT="0"

# PREFERRED_PROVIDER_gconf=gconf
PREFERRED_PROVIDER_gconf="gconf"

# NM=${HOST_PREFIX}nm
export NM="arm-angstrom-linux-gnueabi-nm"

# SEPPUKU_ADDCOMMENT=http://bugs.openembedded.net/process_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&
SEPPUKU_ADDCOMMENT="http://bugs.openembedded.net/process_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&"

# PREFERRED_VERSION_opie-fifteen=${OPIE_VERSION}
PREFERRED_VERSION_opie-fifteen="1.2.4"

# PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm=gtk+
PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm="gtk+"

# PREFERRED_VERSION_opie-deco-flat=${OPIE_VERSION}
PREFERRED_VERSION_opie-deco-flat="1.2.4"

# PREFERRED_VERSION_qte=${QTE_VERSION}
PREFERRED_VERSION_qte="2.3.10"

# PREFERRED_VERSION_python-pycairo=1.8.0
PREFERRED_VERSION_python-pycairo="1.8.0"

# PREFERRED_VERSION_opie-today-mailplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-mailplugin="1.2.4"

# DEPENDS=pkgconfig-native ${@autotools_deps(d)}${@base_deps(d)} libproxy glib-2.0 gnutls libxml2 sqlite3 gnome-keyring gnome-common gconf gconf-native shared-mime-info-native shared-mime-info
DEPENDS="pkgconfig-native autoconf-native automake-native libtool-native libtool-cross gnu-config-native coreutils-native virtual/arm-angstrom-linux-gnueabi-gcc virtual/libc  libproxy glib-2.0 gnutls libxml2 sqlite3 gnome-keyring gnome-common gconf gconf-native shared-mime-info-native shared-mime-info"

# PREFERRED_VERSION_opie-clockapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-clockapplet="1.2.4"

# expansion of AUTOREV threw <class 'bb.fetch.ParameterError'>
# PREFERRED_VERSION_openjdk-6-jre=6b18-1.8
PREFERRED_VERSION_openjdk-6-jre="6b18-1.8"

# PSTAGE_PKGVERSION=${PV}-${PR}
PSTAGE_PKGVERSION="2.29.91-r0"

# ANGSTROM_FEED_CONFIGS=angstrom-feed-configs
ANGSTROM_FEED_CONFIGS="angstrom-feed-configs"

# PREFERRED_VERSION_opie-irdaapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-irdaapplet="1.2.4"

# TARGET_LINK_HASH_STYLE=${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}
TARGET_LINK_HASH_STYLE="-Wl,--hash-style=gnu"

# IMAGE_CMD_cpio=cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}
IMAGE_CMD_cpio="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && (find . | cpio -o -H newc >/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio)"

# PSTAGE_PKGARCH=${PACKAGE_ARCH}-${HOST_OS}
PSTAGE_PKGARCH="armv5te-linux-gnueabi"

# PSTAGE_UPDATE_CMD=${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -o ${TMPDIR} update
PSTAGE_UPDATE_CMD="stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 update"

# PREFERRED_VERSION_opie-sfcave=${OPIE_VERSION}
PREFERRED_VERSION_opie-sfcave="1.2.4"

# IMAGE_CMD_cpio.lzma=cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | lzma -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}
IMAGE_CMD_cpio.lzma="cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 && (find . | cpio -o -H newc | lzma -c -9 >/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.cpio.lzma)"

# SDK_CPPFLAGS=-isystem${STAGING_DIR_SDK}${includedir} -isystem${STAGING_DIR_HOST}${includedir}
export SDK_CPPFLAGS="-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/include -isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include"

# PREFERRED_VERSION_opie-theme=${OPIE_VERSION}
PREFERRED_VERSION_opie-theme="1.2.4"

# SRCREV_pn-moblin-menus=e1d63681739dd16195d005b3cf15752df294bd3c
SRCREV_pn-moblin-menus="e1d63681739dd16195d005b3cf15752df294bd3c"

# ARM_KEEP_OABI=0
ARM_KEEP_OABI="0"

# PREFERRED_VERSION_opie-brightnessapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-brightnessapplet="1.2.4"

# FILES_${PN}-locale=None
# __recipe_sanity_badruntimevars=RDEPENDS RPROVIDES RRECOMMENDS RCONFLICTS
__recipe_sanity_badruntimevars="RDEPENDS RPROVIDES RRECOMMENDS RCONFLICTS"

# PREFERRED_VERSION_opie-language=${OPIE_VERSION}
PREFERRED_VERSION_opie-language="1.2.4"

# DESCRIPTION=An HTTP library implementation in C
DESCRIPTION="An HTTP library implementation in C"

# PREFERRED_VERSION_opie-bluepin=${OPIE_VERSION}
PREFERRED_VERSION_opie-bluepin="1.2.4"

# IMAGE_CMD_squashfs-lzma=mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzma ${EXTRA_IMAGECMD} -noappend -comp lzma
IMAGE_CMD_squashfs-lzma="mksquashfs /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox.rootfs.squashfs-lzma  -noappend -comp lzma"

# PREFERRED_VERSION_opie-snake=${OPIE_VERSION}
PREFERRED_VERSION_opie-snake="1.2.4"

# __recipe_sanity_cfgdata={'STAGING_INCDIR_NATIVE': '${STAGING_DIR_NATIVE}${includedir_native}', 'PREFERRED_VERSION_autoconf-native': '2.65', 'PREFERRED_VERSION_opie-restartapplet': '${OPIE_VERSION}', 'localstatedir': '${base_prefix}/var', 'PREFERRED_VERSION_opie-today': '${OPIE_VERSION}', 'prefix': '/usr', 'FREESMARTPHONE_GIT': 'git://git.freesmartphone.org', 'CVSDIR': '${CO_DIR}/cvs', 'SVNDIR': '${CO_DIR}/svn', 'PREFERRED_VERSION_gcc-cross-intermediate': '${ANGSTROM_GCC_VERSION}', 'PREFERRED_VERSION_fontconfig': '2.8.0', 'bindir_cross': '/bin', 'PREFERRED_VERSION_ti-codecs-dm6446': '2_05_00_00', 'PREFERRED_VERSION_qt4-tools-native': '${ANGSTROM_QT_VERSION}', 'MACHINE_DISPLAY_WIDTH_PIXELS': '240', 'do_devshell': '\tdevshell_do_devshell\n', 'STRIP': '${HOST_PREFIX}strip', 'IMAGE_CMD_cpio.gz.u-boot': 'cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot', 'STAGING_DATADIR': '${STAGING_DIR_HOST}${datadir}', 'target_datadir': '/usr/share', 'PREFERRED_VERSION_opie-security': '${OPIE_VERSION}', '__BBANONFUNCS': ['__anon_184__home_DRESEARCH_sledz_work_openembedded_classes_staging_bbclass', '__anon_91__home_DRESEARCH_sledz_work_openembedded_classes_packaged_staging_bbclass', '__anon_416_classes_base_bbclass', '__anon_38_classes_src_distribute_local_bbclass', '__anon_18_classes_angstrom_bbclass', '__anon_148__home_DRESEARCH_sledz_work_openembedded_classes_package_bbclass', '__anon_320_classes_package_ipk_bbclass'], 'IMAGE_ROOTFS': '${TMPDIR}/rootfs/${PN}', 'FETCHCOMMAND_cvs': "/usr/bin/env 'PATH=${PATH}' cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}", 'STAGING_SIPDIR': '${STAGING_DATADIR_NATIVE}/sip', 'base_bindir_native': '/bin', 'IMAGE_DEPENDS_cpio.gz.u-boot': 'u-boot-mkimage-native', 'SECTION_${PN}-dbg': 'devel', 'PREFERRED_VERSION_opie-minesweep': '${OPIE_VERSION}', 'DATETIME': '${DATE}${TIME}', 'FILESPATHPKG': '${PF}:${P}:${PN}:${BP}:${BPN}:files:.', 'BUILDCFG_VARS': 'BB_VERSION METADATA_BRANCH METADATA_REVISION TARGET_ARCH TARGET_OS MACHINE DISTRO DISTRO_VERSION', 'BUILD_CC': '${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}', 'PREFERRED_VERSION_opie-citytime': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm': 'gtk+', 'PREFERRED_VERSION_opie-go': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-snake': '${OPIE_VERSION}', 'do_fetchall': '\t:\n', 'PREFERRED_VERSION_qt4-tools-sdk': '${ANGSTROM_QT_VERSION}', 'PREFERRED_VERSION_libmailwrapper': '${OPIE_VERSION}', 'SEPPUKU_AUTOBUILD': '1', 'PREFERRED_VERSION_xserver-kdrive': '1.4.0.90', 'SCREEN_TERMCMDRUN': '${SCREEN_TERMCMD} $SHELLCMDS', 'PREFERRED_VERSION_binutils_avr32': '2.17', 'EXTENDPEVER': "${@int('${PE}') and '${PE}:' or ''}", 'SRCREV_pn-librest': '14d35103d9649dc1e10c3e9ac2c690b3165c8184', 'layout_base_bindir': '${base_bindir}', 'do_rebuild': '\t"""rebuild a package"""\n', 'SOLIBSDEV_darwin8': '.dylib', 'PREFERRED_VERSION_opie-rotateapplet': '${OPIE_VERSION}', 'ANGSTROM_MODE': 'uclibc', 'USER': 'sledz', 'PREFERRED_VERSION_opie-textedit': '${OPIE_VERSION}', 'OES_BITBAKE_CONF': '1', 'SRCREV_pn-mozilla-headless-services': 'c7873654894af6c7c6c01194d6185db46667b81f', 'PREFERRED_VERSION_udev_libc-uclibc': '141', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc': 'glibc', 'PSTAGE_DIR': '${TMPDIR}/pstage', 'EXTENDPV': '${EXTENDPEVER}${PV}-${PR}${DISTRO_PR}', 'PREFERRED_VERSION_opie-handwriting': '${OPIE_VERSION}', 'UPDATECOMMAND': 'ERROR, this must be a BitBake bug', 'MACHINE_KERNEL_PR': '', 'EXTENDPE': "${@int('${PE}') and '${PE}_' or ''}", 'PREFERRED_VERSION_qte-mt': '${QTE_VERSION}', 'PREFERRED_VERSION_gcc-cross-initial': '${ANGSTROM_GCC_VERSION}', 'MACHINE_KERNEL_VERSION': '2.6', 'PREFERRED_PROVIDER_bluez-libs': 'bluez4', 'SDK_NAME': '${DISTRO}/${TARGET_ARCH}', 'IMAGE_CMD_tar.bz2': 'cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 .', 'TMPDIR': '${OE_HOME}/tmp${DISTRO_PR}', 'PREFERRED_VERSION_ti-dm355mm-module': '1_13', 'PSTAGING_ACTIVE': '0', 'do_build': '', 'layout_docdir': '${docdir}', 'ANGSTROM_GCC_VERSION_ppc405': '4.1.1', 'PREFERRED_VERSION_opie-zkbapplet': '${OPIE_VERSION}', 'QEMU_OPTIONS_iwmmxt': '-cpu pxa270-c5', 'PREFERRED_PROVIDER_libgpewidget': 'libgpewidget', 'PREFERRED_VERSION_opie-mediummount': '${OPIE_VERSION}', 'BBFILE_PATTERN_upstream': '^${OE_ROOT}/recipes/', 'libexecdir': '${exec_prefix}/libexec', 'PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-vmemo-settings': '${OPIE_VERSION}', 'OVERRIDE_INTERWORK': "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}", 'PREFERRED_PROVIDER_libfribidi': 'fribidi', 'IMAGE_DEPENDS_jffs2': 'mtd-utils-native', 'PREFERRED_VERSION_opie-tictac': '${OPIE_VERSION}', 'LDFLAGS_pn-libsoup': '-pg ', 'SRC_DISTRIBUTEDIR': '${DEPLOY_DIR}/sources', 'BB_MIN_VERSION': '1.8.18', 'datadir_native': '${prefix_native}/share', 'QTDIR': '${STAGING_DIR_HOST}/qt2', 'base_do_patch': "\tbb.build.exec_func('patch_do_patch', d)\n", 'PREFERRED_VERSION_opie-mediaplayer1-libmadplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-formatter': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_tslib': 'tslib', 'SDK_OS': '${BUILD_OS}', 'KONSOLE_TERMCMDRUN': '${KONSOLE_TERMCMD} -e $SHELLCMDS', 'PREFERRED_VERSION_networkmanager': '0.8.1', 'STAGING_ETCDIR_NATIVE': '${STAGING_DIR_NATIVE}${sysconfdir_native}', 'PSTAGE_PKGMANAGER': 'stage-manager-ipkg', 'layout_datadir': '${datadir}', 'FEED_URIS': None, 'HOST_EXEEXT': '', 'GNOME_TERMCMDRUN': '${GNOME_TERMCMD} -x $SHELLCMDS', 'PREFERRED_VERSION_xserver-xorg': '1.7.4', 'patch_do_patch': '\timport oe.patch\n\timport oe.unpack\n\n\tsrc_uri = (bb.data.getVar(\'SRC_URI\', d, 1) or \'\').split()\n\tif not src_uri:\n\t\treturn\n\n\tpatchsetmap = {\n\t\t"patch": oe.patch.PatchTree,\n\t\t"quilt": oe.patch.QuiltTree,\n\t\t"git": oe.patch.GitApplyTree,\n\t}\n\n\tcls = patchsetmap[bb.data.getVar(\'PATCHTOOL\', d, 1) or \'quilt\']\n\n\tresolvermap = {\n\t\t"noop": oe.patch.NOOPResolver,\n\t\t"user": oe.patch.UserResolver,\n\t}\n\n\trcls = resolvermap[bb.data.getVar(\'PATCHRESOLVE\', d, 1) or \'user\']\n\n\ts = bb.data.getVar(\'S\', d, 1)\n\n\tpath = os.getenv(\'PATH\')\n\tos.putenv(\'PATH\', bb.data.getVar(\'PATH\', d, 1))\n\n\tclasses = {}\n\n\tsrc_uri = d.getVar("SRC_URI", True).split()\n\tsrcurldata = bb.fetch.init(src_uri, d, True)\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, 1)\n\tfor url in d.getVar("SRC_URI", True).split():\n\t\turldata = srcurldata[url]\n\n\t\tlocal = urldata.localpath\n\t\tif not local:\n\t\t\traise bb.build.FuncFailed(\'Unable to locate local file for %s\' % url)\n\n\t\tbase, ext = os.path.splitext(os.path.basename(local))\n\t\tif ext in (\'.gz\', \'.bz2\', \'.Z\'):\n\t\t\tlocal = oe.path.join(workdir, base)\n\n\t\tif not oe.unpack.is_patch(local, urldata.parm):\n\t\t\tcontinue\n\n\t\tparm = urldata.parm\n\n\t\tif "striplevel" in parm:\n\t\t\tstriplevel = parm["striplevel"]\n\t\telif "pnum" in parm:\n\t\t\tbb.msg.warn(None, "Deprecated usage of \'pnum\' url parameter in \'%s\', please use \'striplevel\'" % url)\n\t\t\tstriplevel = parm["pnum"]\n\t\telse:\n\t\t\tstriplevel = \'1\'\n\n\t\tif "pname" in parm:\n\t\t\tpname = parm["pname"]\n\t\telse:\n\t\t\tpname = os.path.basename(local)\n\n\t\tif "mindate" in parm or "maxdate" in parm:\n\t\t\tpn = bb.data.getVar(\'PN\', d, 1)\n\t\t\tsrcdate = bb.data.getVar(\'SRCDATE_%s\' % pn, d, 1)\n\t\t\tif not srcdate:\n\t\t\t\tsrcdate = bb.data.getVar(\'SRCDATE\', d, 1)\n\n\t\t\tif srcdate == "now":\n\t\t\t\tsrcdate = bb.data.getVar(\'DATE\', d, 1)\n\n\t\t\tif "maxdate" in parm and parm["maxdate"] < srcdate:\n\t\t\t\tbb.note("Patch \'%s\' is outdated" % pname)\n\t\t\t\tcontinue\n\n\t\t\tif "mindate" in parm and parm["mindate"] > srcdate:\n\t\t\t\tbb.note("Patch \'%s\' is predated" % pname)\n\t\t\t\tcontinue\n\n\n\t\tif "minrev" in parm:\n\t\t\tsrcrev = bb.data.getVar(\'SRCREV\', d, 1)\n\t\t\tif srcrev and srcrev < parm["minrev"]:\n\t\t\t\tbb.note("Patch \'%s\' applies to later revisions" % pname)\n\t\t\t\tcontinue\n\n\t\tif "maxrev" in parm:\n\t\t\tsrcrev = bb.data.getVar(\'SRCREV\', d, 1)\n\t\t\tif srcrev and srcrev > parm["maxrev"]:\n\t\t\t\tbb.note("Patch \'%s\' applies to earlier revisions" % pname)\n\t\t\t\tcontinue\n\n\t\tif "patchdir" in parm:\n\t\t\tpatchdir = parm["patchdir"]\n\t\t\tif not os.path.isabs(patchdir):\n\t\t\t\tpatchdir = os.path.join(s, patchdir)\n\t\telse:\n\t\t\tpatchdir = s\n\n\t\tif not patchdir in classes:\n\t\t\tpatchset = cls(patchdir, d)\n\t\t\tresolver = rcls(patchset)\n\t\t\tclasses[patchdir] = (patchset, resolver)\n\t\t\tpatchset.Clean()\n\t\telse:\n\t\t\tpatchset, resolver = classes[patchdir]\n\n\t\tbb.note("Applying patch \'%s\' (%s)" % (pname, oe.path.format_display(local, d)))\n\t\ttry:\n\t\t\tpatchset.Import({"file":local, "remote":url, "strippath": striplevel}, True)\n\t\texcept Exception:\n\t\t\timport sys\n\t\t\traise bb.build.FuncFailed(str(sys.exc_value))\n\t\tresolver.Resolve()\n', 'PREFERRED_PROVIDER_gdk-pixbuf-csource-native': 'gtk+-native', 'GPEPHONE_MIRROR': 'http://gpephone.linuxtogo.org/download/gpephone', 'GPEPHONE_SVN': 'svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=${PN}', 'sbindir_native': '${prefix_native}/sbin', 'PREFERRED_VERSION_wget': '1.11.4', 'PREFERRED_VERSION_opie-pics': '${OPIE_VERSION}', 'PREFERRED_VERSION_ti-xdais': '6_25_01_08', 'ARM_KEEP_OABI_pn-linux-openmoko-2.6.28_om-gta01': '1', 'GUI_MACHINE_CLASS': '${MACHINE_GUI_CLASS}', 'IMAGE_EXTRA_SPACE': '10240', 'FETCHCMD_hg': '/usr/bin/env hg', 'PREFERRED_VERSION_opie-taskbar-images': '${OPIE_VERSION}', 'E_URI': 'http://enlightenment.freedesktop.org/files', 'do_recipe_sanity_all': '    :\n', 'PREFERRED_VERSION_opie-launcher-settings': '${OPIE_VERSION}', 'SDK_PATH': '/usr/local/${SDK_NAME}', 'BUILD_CXX': '${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}', 'sysconfdir': '${base_prefix}/etc', 'SRCREV_pn-mutter': 'aff4cf110307e149d3497d20543cde27b9699758', 'PREFERRED_VERSION_opie-restartapplet2': '${OPIE_VERSION}', 'UPDATECOMMAND_cvs': "/usr/bin/env 'PATH=${PATH}' cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}", 'PREFERRED_VERSION_opie-networkapplet': '${OPIE_VERSION}', 'DATE': '20110203', 'APACHE_MIRROR': 'http://archive.apache.org/dist', 'do_rootfs': None, 'PREFERRED_VERSION_opie-dagger': '${OPIE_VERSION}', 'BASEPKG_HOST_SYS': '${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-jpeg': 'gtk+', 'LD': '${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS}', 'HOST_VENDOR': '${TARGET_VENDOR}', 'PREFERRED_VERSION_eglibc-initial': '2.9', 'MACHINE_TASK_PROVIDER': '${DEFAULT_TASK_PROVIDER}', 'EXTRA_OEMAKE': '-e MAKEFLAGS=', 'UDEV_GE_141': '1', 'LDFLAGS': '${TARGET_LDFLAGS}', 'DISTRO_TYPE': 'debug', 'HOST_NONSYSV': None, 'MULTIMACH_TARGET_SYS': '${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', 'PREFERRED_VERSION_libtool-cross': '2.2.6b', 'MACHINE_DISPLAY_ORIENTATION': '0', 'EXTRA_IMAGECMD_squashfs': '', 'SYSVINIT_ENABLED_GETTYS': None, 'TARGET_CXXFLAGS': '${TARGET_CFLAGS} -fpermissive', 'perform_packagecopy': "\tdest = bb.data.getVar('D', d, True)\n\tdvar = bb.data.getVar('PKGD', d, True)\n\n\tbb.mkdirhier(dvar)\n\n\t# Start by package population by taking a copy of the installed\n\t# files to operate on\n\tos.system('rm -rf %s/*' % (dvar))\n\tos.system('cp -pPR %s/* %s/' % (dest, dvar))\n", 'PREFERRED_VERSION_opie-qss': '${OPIE_VERSION}', 'BUILD_ARCH': 'i686', 'GNOME_TERMCMD': 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"', 'MAKE': 'make', 'PREFERRED_VERSION_opie-securityplugin-blueping': '${OPIE_VERSION}', '__BBHANDLERS': ['packagedstage_stampfixing_eventhandler', 'oe_import', 'base_eventhandler', 'check_sanity_eventhandler', 'recipe_sanity_eh', 'check_sanity_eventhandler'], 'PREFERRED_PROVIDER_hostap-modules_h2200': 'hostap-modules', 'IMAGE_CMD_cramfs': 'mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}', 'includedir': '${exec_prefix}/include', 'package_depchains': '\t"""\n\tFor a given set of prefix and postfix modifiers, make those packages\n\tRRECOMMENDS on the corresponding packages for its RDEPENDS.\n\n\tExample:  If package A depends upon package B, and A\'s .bb emits an\n\tA-dev package, this would make A-dev Recommends: B-dev.\n\n\tIf only one of a given suffix is specified, it will take the RRECOMMENDS\n\tbased on the RDEPENDS of *all* other packages. If more than one of a given\n\tsuffix is specified, its will only use the RDEPENDS of the single parent\n\tpackage.\n\t"""\n\n\tpackages  = bb.data.getVar(\'PACKAGES\', d, True)\n\tpostfixes = (bb.data.getVar(\'DEPCHAIN_POST\', d, True) or \'\').split()\n\tprefixes  = (bb.data.getVar(\'DEPCHAIN_PRE\', d, True) or \'\').split()\n\n\tdef pkg_adddeprrecs(pkg, base, suffix, getname, depends, d):\n\n\t\t#bb.note(\'depends for %s is %s\' % (base, depends))\n\t\trreclist = explode_deps(bb.data.getVar(\'RRECOMMENDS_\' + pkg, d, True) or bb.data.getVar(\'RRECOMMENDS\', d, True) or "")\n\n\t\tfor depend in depends:\n\t\t\tif depend.find(\'-native\') != -1 or depend.find(\'-cross\') != -1 or depend.startswith(\'virtual/\'):\n\t\t\t\t#bb.note("Skipping %s" % depend)\n\t\t\t\tcontinue\n\t\t\tif depend.endswith(\'-dev\'):\n\t\t\t\tdepend = depend.replace(\'-dev\', \'\')\n\t\t\tif depend.endswith(\'-dbg\'):\n\t\t\t\tdepend = depend.replace(\'-dbg\', \'\')\n\t\t\tpkgname = getname(depend, suffix)\n\t\t\t#bb.note("Adding %s for %s" % (pkgname, depend))\n\t\t\tif not pkgname in rreclist:\n\t\t\t\trreclist.append(pkgname)\n\n\t\t#bb.note(\'setting: RRECOMMENDS_%s=%s\' % (pkg, \' \'.join(rreclist)))\n\t\tbb.data.setVar(\'RRECOMMENDS_%s\' % pkg, \' \'.join(rreclist), d)\n\n\tdef pkg_addrrecs(pkg, base, suffix, getname, rdepends, d):\n\n\t\t#bb.note(\'rdepends for %s is %s\' % (base, rdepends))\n\t\trreclist = explode_deps(bb.data.getVar(\'RRECOMMENDS_\' + pkg, d, True) or bb.data.getVar(\'RRECOMMENDS\', d, True) or "")\n\n\t\tfor depend in rdepends:\n\t\t\tif depend.endswith(\'-dev\'):\n\t\t\t\tdepend = depend.replace(\'-dev\', \'\')\n\t\t\tif depend.endswith(\'-dbg\'):\n\t\t\t\tdepend = depend.replace(\'-dbg\', \'\')\n\t\t\tpkgname = getname(depend, suffix)\n\t\t\tif not pkgname in rreclist:\n\t\t\t\trreclist.append(pkgname)\n\n\t\t#bb.note(\'setting: RRECOMMENDS_%s=%s\' % (pkg, \' \'.join(rreclist)))\n\t\tbb.data.setVar(\'RRECOMMENDS_%s\' % pkg, \' \'.join(rreclist), d)\n\n\tdef add_dep(list, dep):\n\t\tdep = dep.split(\' (\')[0].strip()\n\t\tif dep not in list:\n\t\t\tlist.append(dep)\n\n\tdepends = []\n\tfor dep in explode_deps(bb.data.getVar(\'DEPENDS\', d, True) or ""):\n\t\tadd_dep(depends, dep)\n\n\trdepends = []\n\tfor dep in explode_deps(bb.data.getVar(\'RDEPENDS\', d, True) or ""):\n\t\tadd_dep(rdepends, dep)\n\n\tfor pkg in packages.split():\n\t\tfor dep in explode_deps(bb.data.getVar(\'RDEPENDS_\' + pkg, d, True) or ""):\n\t\t\tadd_dep(rdepends, dep)\n\n\t#bb.note(\'rdepends is %s\' % rdepends)\n\n\tdef post_getname(name, suffix):\n\t\treturn \'%s%s\' % (name, suffix)\n\tdef pre_getname(name, suffix):\n\t\treturn \'%s%s\' % (suffix, name)\n\n\tpkgs = {}\n\tfor pkg in packages.split():\n\t\tfor postfix in postfixes:\n\t\t\tif pkg.endswith(postfix):\n\t\t\t\tif not postfix in pkgs:\n\t\t\t\t\tpkgs[postfix] = {}\n\t\t\t\tpkgs[postfix][pkg] = (pkg[:-len(postfix)], post_getname)\n\n\t\tfor prefix in prefixes:\n\t\t\tif pkg.startswith(prefix):\n\t\t\t\tif not prefix in pkgs:\n\t\t\t\t\tpkgs[prefix] = {}\n\t\t\t\tpkgs[prefix][pkg] = (pkg[:-len(prefix)], pre_getname)\n\n\tfor suffix in pkgs:\n\t\tfor pkg in pkgs[suffix]:\n\t\t\t(base, func) = pkgs[suffix][pkg]\n\t\t\tif suffix == "-dev" and not pkg.startswith("kernel-module-"):\n\t\t\t\tpkg_adddeprrecs(pkg, base, suffix, func, depends, d)\n\t\t\tif len(pkgs[suffix]) == 1:\n\t\t\t\tpkg_addrrecs(pkg, base, suffix, func, rdepends, d)\n\t\t\telse:\n\t\t\t\trdeps = []\n\t\t\t\tfor dep in explode_deps(bb.data.getVar(\'RDEPENDS_\' + base, d, True) or bb.data.getVar(\'RDEPENDS\', d, True) or ""):\n\t\t\t\t\tadd_dep(rdeps, dep)\n\t\t\t\tpkg_addrrecs(pkg, base, suffix, func, rdeps, d)\n', 'ANGSTROM_PKG_FORMAT': 'ipk', 'package_mapping_rename_hook': '\t"""\n\tRewrite variables to account for package renaming in things\n\tlike debian.bbclass or manual PKG variable name changes\n\t"""\n\truntime_mapping_rename("RDEPENDS", d)\n\truntime_mapping_rename("RRECOMMENDS", d)\n\truntime_mapping_rename("RSUGGESTS", d)\n\truntime_mapping_rename("RPROVIDES", d)\n\truntime_mapping_rename("RREPLACES", d)\n\truntime_mapping_rename("RCONFLICTS", d)\n', 'IMAGE_CMD_cpio.gz': 'cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}', 'PREFERRED_VERSION_opie-solitaire': '${OPIE_VERSION}', 'FILESPATHBASE': '${FILE_DIRNAME}', 'PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape': '${OPIE_VERSION}', 'populate_sysroot_preamble': '\tif [ "$PSTAGING_ACTIVE" = "1" ]; then\n\t\tstage-manager -p ${STAGING_DIR} -c ${PSTAGE_WORKDIR}/stamp-cache-staging -u || true\n\tfi\n', 'PREFERRED_VERSION_libopie2': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-mobilemsg': '${OPIE_VERSION}', 'IMAGE_CMD_ubi': 'echo \\[ubifs\\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=${UBI_VOLNAME} >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg', 'PREFERRED_VERSION_opie-button-settings': '${OPIE_VERSION}', 'PSTAGE_BUILD_CMD': 'stage-manager-ipkg-build -o 0 -g 0', 'IMAGE_CMD_ext2.bz2': 'install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2', 'PREFERRED_VERSION_libopietooth1': '${OPIE_VERSION}', 'PSTAGE_NATIVEDEPENDS': '    shasum-native     stagemanager-native     ', 'FILES_${PN}-doc': '${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc ${datadir}/gnome/help', 'ARM_INTERWORK_M_OPT': "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}", 'PRIORITY': 'optional', 'OPIEDIR': '${STAGING_DIR_HOST}', 'PREFERRED_VERSION_libtool-sdk': '2.2.6b', 'PREFERRED_VERSION_mythplugins': '0.22', 'SEPPUKU_QUERY': 'http://bugs.openembedded.net/buglist.cgi?', 'SECTION': 'base', 'DISTRO_PR': '.6', 'TARGET_FPU_armv6-novfp': 'soft', 'SDK_CC_ARCH': '${BUILD_CC_ARCH}', 'MAINTAINER': 'Angstrom Developers <angstrom-distro-devel@linuxtogo.org>', 'do_package_write_ipk': '\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\tif not packages:\n\t\tbb.debug(1, "No PACKAGES defined, nothing to package")\n\t\treturn\n\n\tbb.build.exec_func("read_subpackage_metadata", d)\n\tbb.build.exec_func("do_package_ipk", d)\n', 'BUILD_LDFLAGS': '-L${STAGING_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1', 'UBI_VOLNAME': '${MACHINE}-rootfs', 'EXTRA_IMAGECMD_ubi': '', 'STAGING_LIBDIR': '${STAGING_DIR_HOST}${libdir}', 'TARGET_ARCH': 'arm', 'populate_packages': '\timport glob, errno, re,os\n\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, True)\n\toutdir = bb.data.getVar(\'DEPLOY_DIR\', d, True)\n\tdvar = bb.data.getVar(\'PKGD\', d, True)\n\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\tpn = bb.data.getVar(\'PN\', d, True)\n\n\tbb.mkdirhier(outdir)\n\tos.chdir(dvar)\n\n\t# Sanity check PACKAGES for duplicates - should be moved to\n\t# sanity.bbclass once we have the infrastucture\n\tpackage_list = []\n\tfor pkg in packages.split():\n\t\tif pkg in package_list:\n\t\t\tbb.error("-------------------")\n\t\t\tbb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg)\n\t\t\tbb.error("Please fix the metadata/report this as bug to OE bugtracker.")\n\t\t\tbb.error("-------------------")\n\t\telse:\n\t\t\tpackage_list.append(pkg)\n\n\n\tif (bb.data.getVar(\'PACKAGE_STRIP\', d, True) != \'no\'):\n\t\tfor f in (bb.data.getVar(\'PACKAGESTRIPFUNCS\', d, True) or \'\').split():\n\t\t\tbb.build.exec_func(f, d)\n\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, True)\n\tos.system(\'rm -rf %s\' % pkgdest)\n\n\tseen = []\n\tmain_is_empty = 1\n\tmain_pkg = bb.data.getVar(\'PN\', d, True)\n\n\tfor pkg in package_list:\n\t\tlocaldata = bb.data.createCopy(d)\n\t\troot = os.path.join(pkgdest, pkg)\n\t\tbb.mkdirhier(root)\n\n\t\tbb.data.setVar(\'PKG\', pkg, localdata)\n\t\toverrides = bb.data.getVar(\'OVERRIDES\', localdata, True)\n\t\tif not overrides:\n\t\t\traise bb.build.FuncFailed(\'OVERRIDES not defined\')\n\t\tbb.data.setVar(\'OVERRIDES\', overrides + \':\' + pkg, localdata)\n\t\tbb.data.update_data(localdata)\n\n\t\tfilesvar = bb.data.getVar(\'FILES\', localdata, True) or ""\n\t\tfiles = filesvar.split()\n\t\tfor file in files:\n\t\t\tif os.path.isabs(file):\n\t\t\t\tfile = \'.\' + file\n\t\t\tif not os.path.islink(file):\n\t\t\t\tif os.path.isdir(file):\n\t\t\t\t\tnewfiles =  [ os.path.join(file,x) for x in os.listdir(file) ]\n\t\t\t\t\tif newfiles:\n\t\t\t\t\t\tfiles += newfiles\n\t\t\t\t\t\tcontinue\n\t\t\tglobbed = glob.glob(file)\n\t\t\tif globbed:\n\t\t\t\tif [ file ] != globbed:\n\t\t\t\t\tif not file in globbed:\n\t\t\t\t\t\tfiles += globbed\n\t\t\t\t\t\tcontinue\n\t\t\t\t\telse:\n\t\t\t\t\t\tglobbed.remove(file)\n\t\t\t\t\t\tfiles += globbed\n\t\t\tif (not os.path.islink(file)) and (not os.path.exists(file)):\n\t\t\t\tcontinue\n\t\t\tif file in seen:\n\t\t\t\tcontinue\n\t\t\tseen.append(file)\n\t\t\tif os.path.isdir(file) and not os.path.islink(file):\n\t\t\t\tbb.mkdirhier(os.path.join(root,file))\n\t\t\t\tos.chmod(os.path.join(root,file), os.stat(file).st_mode)\n\t\t\t\tcontinue\n\t\t\tfpath = os.path.join(root,file)\n\t\t\tdpath = os.path.dirname(fpath)\n\t\t\tbb.mkdirhier(dpath)\n\t\t\tret = bb.copyfile(file, fpath)\n\t\t\tif ret is False:\n\t\t\t\traise bb.build.FuncFailed("File population failed when copying %s to %s" % (file, fpath))\n\t\t\tif pkg == main_pkg and main_is_empty:\n\t\t\t\tmain_is_empty = 0\n\t\tdel localdata\n\tos.chdir(workdir)\n\n\tunshipped = []\n\tfor root, dirs, files in os.walk(dvar):\n\t\tfor f in files:\n\t\t\tpath = os.path.join(root[len(dvar):], f)\n\t\t\tif (\'.\' + path) not in seen:\n\t\t\t\tunshipped.append(path)\n\n\tif unshipped != []:\n\t\tbb.note("the following files were installed but not shipped in any package:")\n\t\tfor f in unshipped:\n\t\t\tbb.note("  " + f)\n\n\tbb.build.exec_func("package_name_hook", d)\n\n\tfor pkg in package_list:\n\t\tpkgname = bb.data.getVar(\'PKG_%s\' % pkg, d, True)\n\t\tif pkgname is None:\n\t\t\tbb.data.setVar(\'PKG_%s\' % pkg, pkg, d)\n\n\tdangling_links = {}\n\tpkg_files = {}\n\tfor pkg in package_list:\n\t\tdangling_links[pkg] = []\n\t\tpkg_files[pkg] = []\n\t\tinst_root = os.path.join(pkgdest, pkg)\n\t\tfor root, dirs, files in os.walk(inst_root):\n\t\t\tfor f in files:\n\t\t\t\tpath = os.path.join(root, f)\n\t\t\t\trpath = path[len(inst_root):]\n\t\t\t\tpkg_files[pkg].append(rpath)\n\t\t\t\ttry:\n\t\t\t\t\ts = os.stat(path)\n\t\t\t\texcept OSError, (err, strerror):\n\t\t\t\t\tif err != errno.ENOENT:\n\t\t\t\t\t\traise\n\t\t\t\t\ttarget = os.readlink(path)\n\t\t\t\t\tif target[0] != \'/\':\n\t\t\t\t\t\ttarget = os.path.join(root[len(inst_root):], target)\n\t\t\t\t\tdangling_links[pkg].append(os.path.normpath(target))\n\n\tfor pkg in package_list:\n\t\trdepends = explode_deps(bb.data.getVar(\'RDEPENDS_\' + pkg, d, 0) or bb.data.getVar(\'RDEPENDS\', d, 0) or "")\n\n\t\tremstr = "${PN} (= ${EXTENDPKGV})"\n\t\tif main_is_empty and remstr in rdepends:\n\t\t\trdepends.remove(remstr)\n\t\tfor l in dangling_links[pkg]:\n\t\t\tfound = False\n\t\t\tbb.debug(1, "%s contains dangling link %s" % (pkg, l))\n\t\t\tfor p in package_list:\n\t\t\t\tfor f in pkg_files[p]:\n\t\t\t\t\tif f == l:\n\t\t\t\t\t\tfound = True\n\t\t\t\t\t\tbb.debug(1, "target found in %s" % p)\n\t\t\t\t\t\tif p == pkg:\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\tif not p in rdepends:\n\t\t\t\t\t\t\trdepends.append(p)\n\t\t\t\t\t\tbreak\n\t\t\tif found == False:\n\t\t\t\tbb.note("%s contains dangling symlink to %s" % (pkg, l))\n\t\tbb.data.setVar(\'RDEPENDS_\' + pkg, " " + " ".join(rdepends), d)\n', 'oe_machinstall': "\t# Purpose: Install machine dependent files, if available\n\t#          If not available, check if there is a default\n\t#          If no default, just touch the destination\n\t# Example:\n\t#                $1  $2   $3         $4\n\t# oe_machinstall -m 0644 fstab ${D}/etc/fstab\n\t#\n\t# TODO: Check argument number?\n\t#\n\tfilename=`basename $3`\n\tdirname=`dirname $3`\n\n\tfor o in `echo ${OVERRIDES} | tr ':' ' '`; do\n\t\tif [ -e $dirname/$o/$filename ]; then\n\t\t\toenote $dirname/$o/$filename present, installing to $4\n\t\t\tinstall $1 $2 $dirname/$o/$filename $4\n\t\t\treturn\n\t\tfi\n\tdone\n#\toenote overrides specific file NOT present, trying default=$3...\n\tif [ -e $3 ]; then\n\t\toenote $3 present, installing to $4\n\t\tinstall $1 $2 $3 $4\n\telse\n\t\toenote $3 NOT present, touching empty $4\n\t\ttouch $4\n\tfi\n", 'ANGSTROM_GCC_VERSION_avr32': '4.2.2', 'PREFERRED_VERSION_linux-libc-headers-native': '${LINUX_LIBC_HEADERS_VERSION}', 'BUILD_F77': '${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}', 'insane_do_package_write': '\tpackage_do_package_write\n', 'BB_LOCALCOUNT_OVERRIDE': '1', 'ALLOW_EMPTY_${PN}-dbg': '1', 'FULL_OPTIMIZATION_ep9312': '-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O -fno-signed-zeros', 'QUILTRCFILE': '${STAGING_BINDIR_NATIVE}/quiltrc', 'EXTRA_IMAGECMD_cpio.lzma': '', 'PREFERRED_VERSION_opie-unikeyboard': '${OPIE_VERSION}', 'BOOTSTRAP_EXTRA_RDEPENDS': '', 'BUILD_LD': '${BUILD_PREFIX}ld', 'BUILD_SYS': '${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}', 'PREFERRED_VERSION_ti-codecs-dm6446-server': '2_05_00_00', 'PREFERRED_VERSION_glib-2.0': '2.24.1', 'STAGING_DIR_SDK': '${STAGING_DIR}/${SDK_SYS}', 'PREFERRED_VERSION_opie-irdaapplet': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_hotplug': 'udev', 'SELECTED_OPTIMIZATION_pn-libsoup': '${PROFILE_OPTIMIZATION}', 'IMAGE_ROOTFS_SIZE_ext3': '65536', 'IMAGE_ROOTFS_SIZE_ext2': '65536', 'PATCHDEPENDENCY': '${PATCHTOOL}-native:do_populate_sysroot', 'PREFERRED_VERSION_opie-bluetoothapplet': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-datebook': '${OPIE_VERSION}', 'DEPENDS_virtclass-native': None, 'PREFERRED_VERSION_opie-clipboardapplet': '${OPIE_VERSION}', 'TOOLCHAIN_PATH': '${STAGING_DIR_NATIVE}${prefix_native}/${BASE_PACKAGE_ARCH}', 'FETCHCOMMAND_wget': "/usr/bin/env 'PATH=${PATH}' wget -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'", 'PREFERRED_VERSION_opie-today-stocktickerplugin': '${OPIE_VERSION}', 'GPE_EXTRA_SVN': 'svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}', 'oldincludedir': '${exec_prefix}/include', 'ANGSTROM_BINUTILS_VERSION': '2.18', 'PREFERRED_VERSION_libecj-bootstrap': '3.6', 'ARM_INSTRUCTION_SET_pn-uclibc-initial': 'arm', 'SERIAL_CONSOLE': '115200 ttyS1', 'PREFERRED_VERSION_opie-sshkeys': '${OPIE_VERSION}', 'TINDER_URL': '/tinderbox', 'PREFERRED_VERSION_samba': '3.3.9', 'TIME': '095327', 'IMAGE_DEPENDS_cpio.lzma': 'lzma-native', 'UPDATECOMMAND_svn': '/usr/bin/env svn update --non-interactive --force --accept theirs-full ${SVNCOOPTS}', 'RRECOMMENDS_${PN}-dbg': '${PN} (= ${EXTENDPV})', 'SHELLCMDS': '${SHELLRCCMD}', 'do_configure': '\tbase_do_configure\n', 'IMAGE_CMD_ubifs': 'mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}', 'PREFERRED_VERSION_ti-local-power-manager': '1_24_01', 'SEPPUKU_USER': None, 'FEED_DEPLOYDIR_BASE_URI': None, 'PREFERRED_PROVIDER_virtual/java-native': 'jamvm-native', 'QPEDIR': '${STAGING_DIR_HOST}', 'BUILD_OPTIMIZATION_pn-perl-native': '-O1 -g', 'layout_exec_prefix': '${exec_prefix}', 'LANG': 'en_US.UTF-8', 'PREFERRED_VERSION_opie-kbill': '${OPIE_VERSION}', 'BUILD_CCLD': '${BUILD_PREFIX}gcc', 'STAGING_LIBDIR_NATIVE': '${STAGING_DIR_NATIVE}${libdir_native}', 'PREFERRED_VERSION_ti-dsplink-module': '1_64', 'OLDBBMASK': '', 'LDFLAGS_pn-libgssdp': '-pg ', 'B': '${S}', 'GROUP_fetcher': None, 'do_distribute_sources_all': None, 'insane_mapping_rename_hook': "\tbb.build.exec_func('package_mapping_rename_hook', d)\n", 'BBPATH': '/home/DRESEARCH/sledz/work/HydraIP/OE/:/home/DRESEARCH/sledz/work/HydraIP/OE/hipox:/home/DRESEARCH/sledz/work/HydraIP/OE/common:/home/DRESEARCH/sledz/work/openembedded', 'XTERM_TERMCMD': 'xterm -T "$TERMWINDOWTITLE"', 'layout_bindir': '${bindir}', 'SRC_DISTRIBUTECOMMAND': None, 'PREFERRED_VERSION_mythtv': '0.22', 'PREFERRED_VERSION_ti-codecs-dm6467-server': '1_00_00_03', 'PREFERRED_PROVIDER_tslib-conf': 'tslib', 'GROUP_dependencies': None, 'PREFERRED_VERSION_ti-dspbios': '5_41_02_14', 'PREFERRED_VERSION_opie-parashoot': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_swt3.4-gtk': 'swt3.4-gtk', 'IMAGE_CMD_ext2.gz': 'install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz', 'PREFERRED_VERSION_gcc-cross': '${ANGSTROM_GCC_VERSION}', 'PREMIRRORS': None, 'PREFERRED_VERSION_opie-doctab': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-sounds': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-bluetoothmanager': '${OPIE_VERSION}', 'PACKAGES': '${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-static ${PN}-locale', 'PREFERRED_VERSION_opie-today-weatherplugin': '${OPIE_VERSION}', 'IPKGCONF_TARGET': '${STAGING_ETCDIR_NATIVE}/opkg.conf', 'PREFERRED_PROVIDER_atd': 'atd', 'PREFERRED_VERSION_ti-dvsdk-demos': '3_10_00_11', 'PREFERRED_VERSION_opie-libqrsync': '${OPIE_VERSION}', 'PREFERRED_VERSION_gcc-cross-sdk': '${ANGSTROM_GCC_VERSION}', 'BUILD_CPP': '${BUILD_PREFIX}cpp', 'IMAGE_CMD_tar': 'cd ${IMAGE_ROOTFS} && tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar .', 'HOMEPAGE': 'unknown', 'PREFERRED_PROVIDER_virtual/libx11-native': 'libx11-native', 'PREFERRED_VERSION_opie-datebook-nationalholidayplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-lrelease-native': '${OPIE_VERSION}', 'do_clean': '\t"""clear the build and temp directories"""\n\tdir = bb.data.expand("${WORKDIR}", d)\n\tif dir == \'//\': raise bb.build.FuncFailed("wrong DATADIR")\n\tbb.note("removing " + base_path_out(dir, d))\n\tos.system(\'rm -rf \' + dir)\n\n\tdir = "%s.*" % bb.data.expand(bb.data.getVar(\'STAMP\', d), d)\n\tbb.note("removing " + base_path_out(dir, d))\n\tos.system(\'rm -f \'+ dir)\n', 'STAGING_DATADIR_NATIVE': '${STAGING_DIR_NATIVE}${datadir_native}', 'RESUMECOMMAND_wget': "/usr/bin/env 'PATH=${PATH}' wget -c -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'", 'ARM_KEEP_OABI': '0', 'SDK_CXXFLAGS': '${SDK_CFLAGS} -fpermissive', 'GPE_MIRROR': 'http://gpe.linuxtogo.org/download/source', 'PREFERRED_VERSION_opie-reader': '${OPIE_VERSION}', 'IMAGE_POSTPROCESS_COMMAND': '   do_testlab ;', 'SOC_FAMILY': 'Unknown', 'package_ipk_fn': "\tfrom bb import data\n\tbb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)\n", 'EXTENDPKGV': '${EXTENDPKGEVER}${PKGV}-${PKGR}', 'PREFERRED_VERSION_opie-help-en': '${OPIE_VERSION}', 'packagedstage_stampfixing_eventhandler': '    if bb.event.getName(e) == "StampUpdate":\n        taskscovered = bb.data.getVar("PSTAGE_TASKS_COVERED", e.data, 1).split()\n        for (fn, task) in e.targets:\n            # strip off \'do_\'\n            task = task[3:]\n            if task in taskscovered:\n                stamp = "%s.do_stage_package_populated" % e.stampPrefix[fn]\n                if os.path.exists(stamp):\n                    # We\'re targetting a task which was skipped with packaged staging\n                    # so we need to remove the autogenerated stamps.\n                    for task in taskscovered:\n                        covered = "%s.do_%s" % (e.stampPrefix[fn], task)\n                        oe.path.remove(covered)\n                    oe.path.remove(stamp)\n', 'SRCREV_pn-libgdbus': 'aeab6e3c0185b271ca343b439470491b99cc587f', 'CPPFLAGS': '${TARGET_CPPFLAGS}', 'PREFERRED_VERSION_opie-mediaplayer1-libmodplugin': '${OPIE_VERSION}', 'CE_VERSION': '2.25.01', 'HANDHELDS_CVS': 'cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs', 'IMAGE_DEPENDS_ext2.bz2': 'genext2fs-native', 'do_cleanall': '    pass\n', 'BOOTSTRAP_EXTRA_RRECOMMENDS': '', 'SELECTED_OPTIMIZATION_pn-libgupnp': '${PROFILE_OPTIMIZATION}', 'MACHINE_DISPLAY_BPP': '16', 'BBFILE_PRIORITY_local': '10', 'LICENSE': 'unknown', 'XDG_DATA_DIRS': '${STAGING_DATADIR}', 'PREFERRED_VERSION_opie-wirelessapplet': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-tga': 'gtk+', 'PREFERRED_VERSION_opie-zsafe': '${OPIE_VERSION}', 'PREFERRED_VERSION_pango': '1.24.4', 'ALLOWED_FLAGS': '-O -mcpu -march -pipe', 'PREFERRED_VERSION_pkgconfig-native': '0.23', 'PREFERRED_PROVIDER_virtual/java-initial': 'jamvm-initial', 'do_package_ipk': '\timport re, copy\n\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, 1)\n\tif not workdir:\n\t\tbb.error("WORKDIR not defined, unable to package")\n\t\treturn\n\n\n\toutdir = bb.data.getVar(\'DEPLOY_DIR_IPK\', d, 1)\n\tif not outdir:\n\t\tbb.error("DEPLOY_DIR_IPK not defined, unable to package")\n\t\treturn\n\n\tdvar = bb.data.getVar(\'D\', d, 1)\n\tif not dvar:\n\t\tbb.error("D not defined, unable to package")\n\t\treturn\n\tbb.mkdirhier(dvar)\n\n\ttmpdir = bb.data.getVar(\'TMPDIR\', d, 1)\n\n\tif os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), os.R_OK):\n\t\tos.unlink(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"))\n\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, 1)\n\tbb.mkdirhier(pkgdest)\n\n\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\tfor pkg in packages.split():\n\t\tlocaldata = bb.data.createCopy(d)\n\t\troot = "%s/%s" % (pkgdest, pkg)\n\t\tbb.mkdirhier(root)\n\n\t\tlf = bb.utils.lockfile(root + ".lock")\n\n\t\tbb.data.setVar(\'ROOT\', \'\', localdata)\n\t\tbb.data.setVar(\'ROOT_%s\' % pkg, root, localdata)\n\t\tpkgname = bb.data.getVar(\'PKG_%s\' % pkg, localdata, 1)\n\t\tif not pkgname:\n\t\t\tpkgname = pkg\n\t\tbb.data.setVar(\'PKG\', pkgname, localdata)\n\n\t\toverrides = bb.data.getVar(\'OVERRIDES\', localdata, True)\n\t\tif not overrides:\n\t\t\traise bb.build.FuncFailed(\'OVERRIDES not defined\')\n\t\tbb.data.setVar(\'OVERRIDES\', overrides + \':\' + pkg, localdata)\n\n\t\tbb.data.update_data(localdata)\n\t\tbasedir = os.path.join(os.path.dirname(root))\n\t\tarch = bb.data.getVar(\'PACKAGE_ARCH\', localdata, 1)\n\t\tpkgoutdir = "%s/%s" % (outdir, arch)\n\t\tbb.mkdirhier(pkgoutdir)\n\t\tos.chdir(root)\n\t\tfrom glob import glob\n\t\tg = glob(\'*\') + glob(\'.[!.]*\')\n\t\ttry:\n\t\t\tdel g[g.index(\'CONTROL\')]\n\t\t\tdel g[g.index(\'./CONTROL\')]\n\t\texcept ValueError:\n\t\t\tpass\n\t\tif not g and bb.data.getVar(\'ALLOW_EMPTY\', localdata) != "1":\n\t\t\tbb.note("Not creating empty archive for %s-%s" % (pkg, bb.data.expand(\'${PV}-${PR}${DISTRO_PR}\', localdata)))\n\t\t\tbb.utils.unlockfile(lf)\n\t\t\tcontinue\n\n\t\tcontroldir = os.path.join(root, \'CONTROL\')\n\t\tbb.mkdirhier(controldir)\n\t\ttry:\n\t\t\tctrlfile = file(os.path.join(controldir, \'control\'), \'w\')\n\t\texcept OSError:\n\t\t\tbb.utils.unlockfile(lf)\n\t\t\traise bb.build.FuncFailed("unable to open control file for writing.")\n\n\t\tfields = []\n\t\tpe = bb.data.getVar(\'PE\', d, 1)\n\t\tif pe and int(pe) > 0:\n\t\t\tfields.append(["Version: %s:%s-%s\\n", [\'PE\', \'PKGV\', \'PKGR\']])\n\t\telse:\n\t\t\tfields.append(["Version: %s-%s\\n", [\'PKGV\', \'PKGR\']])\n\t\tfields.append(["Description: %s\\n", [\'DESCRIPTION\']])\n\t\tfields.append(["Section: %s\\n", [\'SECTION\']])\n\t\tfields.append(["Priority: %s\\n", [\'PRIORITY\']])\n\t\tfields.append(["Maintainer: %s\\n", [\'MAINTAINER\']])\n\t\tfields.append(["License: %s\\n", [\'LICENSE\']])\n\t\tfields.append(["Architecture: %s\\n", [\'PACKAGE_ARCH\']])\n\t\tfields.append(["OE: %s\\n", [\'PN\']])\n\t\tfields.append(["Homepage: %s\\n", [\'HOMEPAGE\']])\n\n\t\tdef pullData(l, d):\n\t\t\tl2 = []\n\t\t\tfor i in l:\n\t\t\t\tl2.append(bb.data.getVar(i, d, 1))\n\t\t\treturn l2\n\n\t\tctrlfile.write("Package: %s\\n" % pkgname)\n\t\t# check for required fields\n\t\ttry:\n\t\t\tfor (c, fs) in fields:\n\t\t\t\tfor f in fs:\n\t\t\t\t\tif bb.data.getVar(f, localdata) is None:\n\t\t\t\t\t\traise KeyError(f)\n\t\t\t\tctrlfile.write(c % tuple(pullData(fs, localdata)))\n\t\texcept KeyError:\n\t\t\timport sys\n\t\t\t(type, value, traceback) = sys.exc_info()\n\t\t\tctrlfile.close()\n\t\t\tbb.utils.unlockfile(lf)\n\t\t\traise bb.build.FuncFailed("Missing field for ipk generation: %s" % value)\n\t\t# more fields\n\n\t\tbb.build.exec_func("mapping_rename_hook", localdata)\n\n\t\trdepends = explode_deps(bb.data.getVar("RDEPENDS", localdata, 1) or "")\n\t\trrecommends = explode_deps(bb.data.getVar("RRECOMMENDS", localdata, 1) or "")\n\t\trsuggests = (bb.data.getVar("RSUGGESTS", localdata, 1) or "").split()\n\t\trprovides = (bb.data.getVar("RPROVIDES", localdata, 1) or "").split()\n\t\trreplaces = (bb.data.getVar("RREPLACES", localdata, 1) or "").split()\n\t\trconflicts = (bb.data.getVar("RCONFLICTS", localdata, 1) or "").split()\n\n\t\tif not \'-locale-\' and not \'-dbg\' and not \'-dev\' in pkgname:\n\t\t\trdepends.append(\'%s-locale*\' % pkgname)\n\n\t\tif rdepends:\n\t\t\tctrlfile.write("Depends: %s\\n" % ", ".join(rdepends))\n\t\tif rsuggests:\n\t\t\tctrlfile.write("Suggests: %s\\n" % ", ".join(rsuggests))\n\t\tif rrecommends:\n\t\t\tctrlfile.write("Recommends: %s\\n" % ", ".join(rrecommends))\n\t\tif rprovides:\n\t\t\tctrlfile.write("Provides: %s\\n" % ", ".join(rprovides))\n\t\tif rreplaces:\n\t\t\tctrlfile.write("Replaces: %s\\n" % ", ".join(rreplaces))\n\t\tif rconflicts:\n\t\t\tctrlfile.write("Conflicts: %s\\n" % ", ".join(rconflicts))\n\t\tsrc_uri = bb.data.getVar("SRC_URI", localdata, 1) or d.getVar("FILE", True)\n\t\tsrc_uri = re.sub("\\s+", " ", src_uri)\n\t\tctrlfile.write("Source: %s\\n" % " ".join(src_uri.split()))\n\t\tctrlfile.close()\n\n\t\tfor script in ["preinst", "postinst", "prerm", "postrm"]:\n\t\t\tscriptvar = bb.data.getVar(\'pkg_%s\' % script, localdata, 1)\n\t\t\tif not scriptvar:\n\t\t\t\tcontinue\n\t\t\ttry:\n\t\t\t\tscriptfile = file(os.path.join(controldir, script), \'w\')\n\t\t\texcept OSError:\n\t\t\t\tbb.utils.unlockfile(lf)\n\t\t\t\traise bb.build.FuncFailed("unable to open %s script file for writing." % script)\n\t\t\tscriptfile.write(scriptvar)\n\t\t\tscriptfile.close()\n\t\t\tos.chmod(os.path.join(controldir, script), 0755)\n\n\t\tconffiles_str = bb.data.getVar("CONFFILES", localdata, 1)\n\t\tif conffiles_str:\n\t\t\ttry:\n\t\t\t\tconffiles = file(os.path.join(controldir, \'conffiles\'), \'w\')\n\t\t\texcept OSError:\n\t\t\t\tbb.utils.unlockfile(lf)\n\t\t\t\traise bb.build.FuncFailed("unable to open conffiles for writing.")\n\t\t\tfor f in conffiles_str.split():\n\t\t\t\tconffiles.write(\'%s\\n\' % f)\n\t\t\tconffiles.close()\n\n\t\tos.chdir(basedir)\n\t\tret = os.system("PATH=\\"%s\\" %s %s %s" % (bb.data.getVar("PATH", localdata, 1),\n                                                          bb.data.getVar("IPKGBUILDCMD",d,1), pkg, pkgoutdir))\n\t\tif ret != 0:\n\t\t\tbb.utils.unlockfile(lf)\n\t\t\traise bb.build.FuncFailed("ipkg-build execution failed")\n\n\t\tbb.utils.prunedir(controldir)\n\t\tbb.utils.unlockfile(lf)\n', 'BBFILE_PATTERN_localcommon': '^${OE_HOME}/common/recipes/', 'FILE_DIRNAME': "${@os.path.dirname(bb.data.getVar('FILE', d))}", 'SOURCEFORGE_MIRROR': 'http://downloads.sourceforge.net', 'DBUS_SESSION_BUS_ADDRESS': None, 'TOOLCHAIN_SYSPATH': '${TOOLCHAIN_PATH}/${TARGET_SYS}', 'PREFERRED_VERSION_linux-handhelds-2.6': '2.6.21-hh20', 'read_shlibdeps': '\tpackages = bb.data.getVar(\'PACKAGES\', d, True).split()\n\tfor pkg in packages:\n\t\trdepends = explode_deps(bb.data.getVar(\'RDEPENDS_\' + pkg, d, 0) or bb.data.getVar(\'RDEPENDS\', d, 0) or "")\n\t\tfor extension in ".shlibdeps", ".pcdeps", ".clilibdeps":\n\t\t\tdepsfile = bb.data.expand("${PKGDEST}/" + pkg + extension, d)\n\t\t\tif os.access(depsfile, os.R_OK):\n\t\t\t\tfd = file(depsfile)\n\t\t\t\tlines = fd.readlines()\n\t\t\t\tfd.close()\n\t\t\t\tfor l in lines:\n\t\t\t\t\trdepends.append(l.rstrip())\n\t\tbb.data.setVar(\'RDEPENDS_\' + pkg, " " + " ".join(rdepends), d)\n', 'STAGING_EXECPREFIXDIR': '${STAGING_DIR_HOST}${exec_prefix}', 'PSTAGE_TASKS_COVERED': 'fetch unpack munge patch configure qa_configure rig_locales compile sizecheck install deploy package populate_sysroot package_write_deb package_write_ipk package_write package_stage qa_staging', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial': 'glibc-initial', 'PREFERRED_VERSION_opie-symlinker': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-mediaplayer2': '${OPIE_VERSION}', 'do_distclean': '\t"""clear downloaded sources, build and temp directories"""\n\n\tbb.build.exec_func(\'do_clean\', d)\n\n\tsrc_uri = bb.data.getVar(\'SRC_URI\', d, 1)\n\tif not src_uri:\n\t\treturn\n\n\tfor uri in src_uri.split():\n\t\tif bb.decodeurl(uri)[0] == "file":\n\t\t\tcontinue\n\n\t\ttry:\n\t\t\tlocal = bb.data.expand(bb.fetch.localpath(uri, d), d)\n\t\texcept bb.MalformedUrl, e:\n\t\t\tbb.debug(1, \'Unable to generate local path for malformed uri: %s\' % e)\n\t\telse:\n\t\t\tbb.note("removing %s" % base_path_out(local, d))\n\t\t\ttry:\n\t\t\t\tif os.path.exists(local + ".md5"):\n\t\t\t\t\tos.remove(local + ".md5")\n\t\t\t\tif os.path.exists(local):\n\t\t\t\t\tos.remove(local)\n\t\t\texcept OSError, e:\n\t\t\t\tbb.note("Error in removal: %s" % e)\n', 'PREFERRED_PROVIDER_task-bootstrap': 'task-bootstrap', 'PREFERRED_VERSION_opie-search': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_virtual/gail': 'gtk+', 'OLDEST_KERNEL': '2.6.16', 'PREFERRED_PROVIDER_e-wm-menu': 'e-wm-menu', 'base_do_fetch': '\timport sys\n\n\tlocaldata = bb.data.createCopy(d)\n\tbb.data.update_data(localdata)\n\n\tsrc_uri = bb.data.getVar(\'SRC_URI\', localdata, 1)\n\tif not src_uri:\n\t\treturn 1\n\n\ttry:\n\t\tbb.fetch.init(src_uri.split(),d)\n\texcept bb.fetch.NoMethodError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("No method: %s" % value)\n\texcept bb.MalformedUrl:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Malformed URL: %s" % value)\n\n\ttry:\n\t\tbb.fetch.go(localdata)\n\texcept bb.fetch.MissingParameterError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Missing parameters: %s" % value)\n\texcept bb.fetch.FetchError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Fetch failed: %s" % value)\n\texcept bb.fetch.MD5SumError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("MD5  failed: %s" % value)\n\texcept:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Unknown fetch Error: %s" % value)\n\n\n\tpv = bb.data.getVar(\'PV\', d, True)\n\tpn = bb.data.getVar(\'PN\', d, True)\n\n\t# Check each URI\n\tfirst_uri = True\n\tfor url in src_uri.split():\n\t\tlocalpath = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)\n\t\t(type,host,path,_,_,params) = bb.decodeurl(url)\n\t\turi = "%s://%s%s" % (type,host,path)\n\t\ttry:\n\t\t\tif type in [ "http", "https", "ftp", "ftps" ]:\n\t\t\t\t# We provide a default shortcut of plain [] for the first fetch uri\n\t\t\t\t# Explicit names in any uri overrides this default.\n\t\t\t\tif not "name" in params and first_uri:\n\t\t\t\t\tfirst_uri = False\n\t\t\t\t\tparams["name"] = ""\n\t\t\t\tif not base_chk_file(pn, pv, uri, localpath, params, d):\n\t\t\t\t\tif not bb.data.getVar("OE_ALLOW_INSECURE_DOWNLOADS", d, True):\n\t\t\t\t\t\tbb.fatal("%s-%s: %s cannot check archive integrity" % (pn,pv,uri))\n\t\t\t\t\telse:\n\t\t\t\t\t\tbb.note("%s-%s: %s cannot check archive integrity" % (pn,pv,uri))\n\t\texcept Exception:\n\t\t\traise bb.build.FuncFailed("Checksum of \'%s\' failed" % uri)\n', 'ANGSTROM_BLACKLIST_pn-bluez-utils': 'bluez-utils 3.x has been replaced by bluez4', 'devshell_do_devshell': '\texport TERMWINDOWTITLE="Bitbake Developer Shell"\n\t${TERMCMD}\n\tif [ $? -ne 0 ]; then\n\t    echo "Fatal: \'${TERMCMD}\' not found. Check TERMCMD variable."\n\t    exit 1\n\tfi\n', 'SECTION_${PN}-doc': 'doc', 'PREFERRED_VERSION_ti-codec-engine-examples': '2_25_01_06', 'PREFERRED_PROVIDER_hostap-conf': 'hostap-conf', 'XAUTHORITY': '/home/DRESEARCH/sledz/.Xauthority', 'AUTHOR': None, 'do_populate_sysroot': '    #\n    # if do_stage exists, we\'re legacy. In that case run the do_stage,\n    # modify the SYSROOT_DESTDIR variable and then run the staging preprocess\n    # functions against staging directly.\n    #\n    # Otherwise setup a destdir, copy the results from do_install\n    # and run the staging preprocess against that\n    #\n    pstageactive = (bb.data.getVar("PSTAGING_ACTIVE", d, True) == "1")\n    lockfile = bb.data.getVar("SYSROOT_LOCK", d, True)\n    stagefunc = bb.data.getVar(\'do_stage\', d, True)\n    legacy = is_legacy_staging(d)\n    if legacy:\n        bb.data.setVar("SYSROOT_DESTDIR", "", d)\n        bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True))\n\n        try:\n            file = open("%s/legacy-staging.log" % bb.data.getVar("TMPDIR", d, 1), "a")\n\t    file.write("%s\\n" % bb.data.getVar("FILE", d, True))\n\t    file.close()\n        except:\n            pass\n\n        if bb.data.getVarFlags(\'do_stage\', d) is None:\n            bb.fatal("This recipe (%s) has a do_stage_prepend or do_stage_append and do_stage now doesn\'t exist. Please rename this to do_stage()" % bb.data.getVar("FILE", d, True))\n        lock = bb.utils.lockfile(lockfile)\n        bb.build.exec_func(\'populate_sysroot_prehook\', d)\n        bb.build.exec_func(\'do_stage\', d)\n        for f in (bb.data.getVar(\'SYSROOT_PREPROCESS_FUNCS\', d, True) or \'\').split():\n            bb.build.exec_func(f, d)\n        bb.build.exec_func(\'populate_sysroot_posthook\', d)\n        bb.utils.unlockfile(lock)\n    else:\n        dest = bb.data.getVar(\'D\', d, True)\n        sysrootdest = bb.data.expand(\'${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}\', d)\n        bb.mkdirhier(sysrootdest)\n\n        bb.build.exec_func("sysroot_stage_all", d)\n        #os.system(\'cp -pPR %s/* %s/\' % (dest, sysrootdest))\n        for f in (bb.data.getVar(\'SYSROOT_PREPROCESS_FUNCS\', d, True) or \'\').split():\n            bb.build.exec_func(f, d)\n        if pstageactive:\n            bb.build.exec_func("packagedstaging_fastpath", d)\n\n        lock = bb.utils.lockfile(lockfile)\n        os.system(bb.data.expand(\'cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/\', d))\n        bb.utils.unlockfile(lock)\n', 'TARGET_FPU_ppc603e': 'hard', 'staging_package_libtoolhack': '\t# Deal with libtool not supporting sysroots and add our new\n\t# staging location\n        tmpdir = bb.data.getVar(\'TMPDIR\', d, True)\n        staging = bb.data.getVar(\'STAGING_DIR\', d, True)\n        fixmefn =  staging + "/fixmepath"\n        try:\n            fixmefd = open(fixmefn,"r")\n            fixmefiles = fixmefd.readlines()\n            fixmefd.close()\n            oe.path.remove(fixmefn)\n            for file in fixmefiles:\n                oe_run(d, "sed -i -e s:FIXMESTAGINGDIR:%s:g %s" % (staging, tmpdir + \'/\' + file))\n        except IOError:\n            pass\n', 'PREFERRED_VERSION_glibc': '2.9', 'PREFERRED_VERSION_opie-remote': '${OPIE_VERSION}', 'BUILD_OPTIMIZATION': '-O2 -g', 'PREFERRED_VERSION_opie-networksettings': '${OPIE_VERSION}', 'FILES_${PN}-dev': '${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${base_libdir}/*.o ${datadir}/aclocal ${datadir}/pkgconfig', 'QMAKE_MKSPEC_PATH': '${STAGING_DATADIR_NATIVE}/qmake', 'PREFERRED_VERSION_opie-write': '${OPIE_VERSION}', 'sysroot_stage_dir': '\tsrc="$1"\n\tdest="$2"\n\t# This will remove empty directories so we can ignore them\n\trmdir "$src" 2> /dev/null || true\n\tif [ -d "$src" ]; then\n\t\tmkdir -p "$dest"\n\t\tcp -fpPR "$src"/* "$dest"\n\tfi\n', 'SEPPUKU_PRODUCT': 'Openembedded', 'package_name_hook': "\tbb.build.exec_func('debian_package_name_hook', d)\n", 'IMAGE_DEPENDS': '', 'DEBUG_APPS': ' ${@base_conditional("DISTRO_TYPE", "release", "", "strace procps",d)}', 'do_testlab': 'if [ -e  ${IMAGE_ROOTFS}/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full" ] ; then\n\n\tIPKG_TMP_DIR="${IMAGE_ROOTFS}-tmp"\n\tIPKG_ARGS="-f ${STAGING_ETCDIR_NATIVE}/opkg.conf -o ${IMAGE_ROOTFS} -t ${IPKG_TMP_DIR}"\n\n\tTESTLAB_DIR="${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-testlab"\n        mkdir -p ${TESTLAB_DIR}/\n        mkdir -p ${IPKG_TMP_DIR}/\n\tls -laR ${IMAGE_ROOTFS} > ${TESTLAB_DIR}/files-in-image.txt\n\n\techo > ${TESTLAB_DIR}/installed-packages.txt\n\techo -e "digraph depends {\\n    node [shape=plaintext]" > ${TESTLAB_DIR}/depends.dot\n\n\tfor pkg in $(opkg-cl ${IPKG_ARGS} list_installed | awk \'{print $1}\') ; do\n\t\topkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \\(\\(installed\\)\\|\\(unpacked\\)\\)" | awk \'/^Package/ {printf $2"_"} /^Version/ {printf $2"_"} /^Archi/ {print $2".ipk"}\'  >> ${TESTLAB_DIR}/installed-packages.txt\n\n    \t\tfor depends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Depends) ; do\n        \t\techo "$pkg OPP $depends;" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Depends" | sed -e \'s:,::g\' -e \'s:-:_:g\' -e \'s:\\.:_:g\' -e \'s:+::g\' |sed \'s:OPP:->:g\' >> ${TESTLAB_DIR}/depends.dot\n    \t\tdone\n\n\t\tfor recommends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Recom) ; do\n        \t\techo "$pkg OPP $recommends [style=dotted];" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Recom" | sed -e \'s:,::g\' -e \'s:-:_:g\' -e \'s:\\.:_:g\' -e \'s:+::g\' |sed \'s:OPP:->:g\' >> ${TESTLAB_DIR}/depends.dot\n    \t\tdone\n\tdone\n\n\techo "}" >>  ${TESTLAB_DIR}/depends.dot\n\trm -rf ${IPKG_TMP_DIR}\n\n\tgrep -v kernel_2 ${TESTLAB_DIR}/depends.dot | grep -v kernel_image > ${TESTLAB_DIR}/depends-nokernel.dot\n\tgrep -v libc6 ${TESTLAB_DIR}/depends-nokernel.dot | grep -v libgcc > ${TESTLAB_DIR}/depends-nokernel-nolibc.dot\n\tgrep -v update_ ${TESTLAB_DIR}/depends-nokernel-nolibc.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot\n        grep -v kernel_module ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot\n\n\t#dot has some library troubles when run under fakeroot, uncomment at your own risk\n\t#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies.png  ${TESTLAB_DIR}/depends.dot\n\t#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc.png ${TESTLAB_DIR}/depends-nokernel-nolibc.dot\n\t#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot\n\t#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate-nomodules.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot\n\n\tfor file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do\n     \t\tdu -k $(find ${DEPLOY_DIR_IPK} -name "$file") | head -n1\n\tdone | grep "\\.ipk" | sed -e s:${DEPLOY_DIR_IPK}::g | sort -n -r | awk \'{print $1 "\\tKiB " $2}\' > ${TESTLAB_DIR}/installed-package-sizes.txt\n\n\t# Log results to a git controlled directory structure than can be pushed to a remote location\n\tif [ "${TESTLABLOG}" = "remote" ] && [ -n "${TESTLABREMOTEDIR}" ] ; then\n\t\tTESTLABLOGDIR="${MACHINE_ARCH}/${IMAGE_BASENAME}"\n\t\tmkdir -p ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}\n\t\tcp ${TESTLAB_DIR}/*package* ${TESTLAB_DIR}/depends.dot ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}\n\t\t# force change to record builds where the testlab contents didn\'t change, but other things (e.g. git rev) did\n\t\techo "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION} using branch ${METADATA_BRANCH} and revision ${METADATA_REVISION} " > ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}/build-id\n\t\t# This runs inside fakeroot, so the git author is listed as root (or whatever root configured it to be) :(\n\t\t( cd ${TESTLABREMOTEDIR}/\n\t\t  git add ${TESTLABLOGDIR}/*\n\t\t  git commit ${TESTLABLOGDIR}/ -m "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION} using branch ${METADATA_BRANCH} and revision ${METADATA_REVISION}" --author "testlab <testlab@${DISTRO}>" || true)\n\tfi\nfi\n', 'PREFERRED_PROVIDER_virtual/update-alternatives-native': 'opkg-native', 'PREFERRED_VERSION_opie-keypebble': '${OPIE_VERSION}', 'MKTEMPDIRCMD': 'mktemp -d -q ${TMPBASE}', 'PREFERRED_PROVIDER_esound': 'pulseaudio', 'SEPPUKU_LOGIN': 'http://bugs.openembedded.net/query.cgi?', 'IPKGCONF_SDK': '${STAGING_ETCDIR_NATIVE}/opkg-sdk.conf', 'PREFERRED_VERSION_opie-login': '${OPIE_VERSION}', 'SOLIBS': '.so.*', 'MULTIMACH_ARCH': '${PACKAGE_ARCH}', 'PROVIDES': '', 'PACKAGE_PREPROCESS_FUNCS': '', 'do_setscene': "\tbb.build.exec_func('base_do_setscene', d)\n", 'do_package_write_tar': None, 'PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp': 'gtk+', 'docdir': '${datadir}/doc', 'base_scenefunction': '\tstamp = bb.data.getVar(\'STAMP\', d, 1) + ".needclean"\n\tif os.path.exists(stamp):\n\t        bb.build.exec_func("do_clean", d)\n', 'DISTRO_FEATURES': 'largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbgadget usbhost pci pam tk  ${@["", "thumb-interwork"][bb.data.getVar(\'THUMB_INTERWORK\', d, 1) == "yes"]}  ${@["", "thumb-interwork"][bb.data.getVar(\'THUMB_INTERWORK\', d, 1) == "yes"]}', 'IMAGE_DEPENDS_ext2.gz': 'genext2fs-native', 'PREFERRED_VERSION_opie-osearch': '${OPIE_VERSION}', 'PREFERRED_VERSION_binutils-cross-sdk': '${ANGSTROM_BINUTILS_VERSION}', 'PREFERRED_VERSION_ti-lpm-utils': '1_24_01', 'PREFERRED_VERSION_opie-ftp': '${OPIE_VERSION}', 'ANGSTROM_BLACKLIST_pn-fso-apm': 'regular apmd is good enough', 'TERMCMD': 'xterm', 'PREFERRED_VERSION_konqueror-embedded': '20070316', 'PREFERRED_VERSION_opie-bartender': '${OPIE_VERSION}', 'RESUMECOMMAND': 'ERROR, this must be a BitBake bug', 'layout_sysconfdir': '${sysconfdir}', 'PREFERRED_PROVIDER_gtk+': 'gtk+', 'IMAGE_DEPENDS_ext3.gz': 'genext2fs-native e2fsprogs-native', 'infodir': '${datadir}/info', 'SANITY_ABIFILE': '${TMPDIR}/abi_version', 'packagestage_scenefunc': '    import glob\n    if bb.data.getVar("PSTAGING_ACTIVE", d, 1) == "0":\n        return\n\n    bb.build.exec_func("staging_helper", d)\n\n    removepkg = bb.data.expand("${PSTAGE_PKGPN}", d)\n\n    pstage_cleanpackage(removepkg, d)\n\n    stagepkg = bb.data.expand("${PSTAGE_PKG}", d)\n    if not os.path.exists(stagepkg):\n        staging_fetch(stagepkg, d)\n\n    if os.path.exists(stagepkg):\n        pstage_set_pkgmanager(d)\n        file = bb.data.getVar("FILE", d, True)\n        bb.debug(2, "Packaged staging active for %s\\n" % file)\n\n        #\n        # Install the staging package somewhere temporarily so we can extract the stamp files\n        #\n        bb.mkdirhier(bb.data.expand("${WORKDIR}/tstage/${libdir_native}/opkg/info/ ", d))\n        cmd = bb.data.expand("${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${WORKDIR}/tstage install", d)\n        try:\n            oe_run(d, "%s %s" % (cmd, stagepkg))\n        except RuntimeError:\n            bb.fatal("Couldn\'t install the staging package to a temp directory")\n\n        #\n        # Grab the staging lock now so that we don\'t have other threads try and\n        # validate or install based on these stamps being valid.  This is a\n        # potential issue for certain BB_STAMP_POLICY values and enough\n        # concurrent threads.\n        #\n        lf = bb.utils.lockfile(bb.data.expand("${SYSROOT_LOCK}", d))\n\n        #\n        # Copy the stamp files into the main stamps directoy\n        #\n        cmd = bb.data.expand("cp -dpR ${WORKDIR}/tstage/stamps/* ${TMPDIR}/stamps/", d)\n        try:\n            ret = oe_run(d, cmd)\n        except RuntimeError:\n            bb.utils.unlockfile(lf)\n            bb.fatal("Couldn\'t copy the staging package stamp files")\n\n        #\n        # Iterate over the stamps seeing if they\'re valid. If we find any that\n        # are invalid or the task wasn\'t in the taskgraph, assume caution and\n        # do a rebuild.\n        #\n        # FIXME - some tasks are safe to ignore in the task graph. e.g. package_write_*\n        stageok = True\n        taskscovered = bb.data.getVar("PSTAGE_TASKS_COVERED", d, True).split()\n        stamp = bb.data.getVar("STAMP", d, True)\n        for task in taskscovered:\n            task = \'do_\' + task\n            stampfn = "%s.%s" % (stamp, task)\n            bb.debug(1, "Checking %s" % (stampfn))\n            if os.path.exists(stampfn):\n                stageok = bb.runqueue.check_stamp_fn(file, task, d)\n                bb.debug(1, "Result %s" % (stageok))\n                if not stageok:\n                    bb.utils.unlockfile(lf)\n                    break\n\n        # Remove the stamps and files we added above\n        # FIXME - we should really only remove the stamps we added\n        for fname in glob.glob(stamp + \'.*\'):\n            oe.path.remove(fname)\n\n        oe.path.remove(bb.data.expand("${WORKDIR}/tstage", d))\n        if stageok:\n            bb.note("Staging package found, using it for %s." % file)\n            installcmd = bb.data.getVar("PSTAGE_INSTALL_CMD", d, 1)\n            try:\n                ret = oe_run(d, "%s %s" % (installcmd, stagepkg))\n            except RuntimeError:\n                bb.note("Failure installing prestage package")\n            finally:\n                bb.utils.unlockfile(lf)\n\n            bb.build.exec_func("staging_package_libtoolhack", d)\n\n            bb.build.make_stamp("do_stage_package_populated", d)\n        else:\n            bb.note("Staging package found but invalid for %s" % file)\n\n', 'base_do_configure': '\t:\n', 'SDK_CPPFLAGS': '-isystem${STAGING_DIR_SDK}${includedir} -isystem${STAGING_DIR_HOST}${includedir}', 'IMAGE_CMD_squashfs-lzma': 'mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzma ${EXTRA_IMAGECMD} -noappend -comp lzma', 'base_prefix': '', '__depends': [('/home/DRESEARCH/sledz/work/HydraIP/OE/hipox/conf/local.conf', 1296725026), ('/home/DRESEARCH/sledz/work/openembedded/conf/machine/hipox.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/machine/include/tune-arm926ejs.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/angstrom-2008.1.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-srcdates.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-srcrevs.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-2008-preferred-versions.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-codec-engine-2.25.01-preferred-versions.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/preferred-opie-versions-1.2.4.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/toolchain-internal.inc', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/arm-thumb.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-glibc.inc', 1296639956), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/glibc-internal.inc', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/sane-toolchain-java.inc', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-jalimo.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/distro/include/angstrom-package-ipk.inc', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/documentation.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/sanity.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/conf/abi_version.conf', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/conf/enterprise.conf', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/conf/compatibility-providers.conf', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/base.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/patch.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/staging.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/packaged-staging.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/packagedata.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/mirrors.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/utils.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/utility-tasks.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/metadata_scm.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/devshell.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute_local.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/debian.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/sanity.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/qemu.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/angstrom.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/devshell.bbclass', 1284017760), ('/home/DRESEARCH/sledz/work/openembedded/classes/angstrom-mirrors.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/insane.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/package.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/recipe_sanity.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/testlab.bbclass', 1287649457), ('/home/DRESEARCH/sledz/work/openembedded/classes/package_ipk.bbclass', 1296491286), ('/home/DRESEARCH/sledz/work/openembedded/classes/sanity.bbclass', 1296491286)], 'PREFERRED_VERSION_ti-codecs-omap3530': '1_00_01', 'CC': '${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-ico': 'gtk+', 'HGDIR': '${CO_DIR}/hg', 'PREFERRED_VERSION_libqtaux2': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-gutenbrowser': '${OPIE_VERSION}', 'BUILD_OS': 'linux', 'IMAGE_FSTYPES': 'tar', 'MACHINE_GUI_CLASS': 'smallscreen', 'STAGING_LOADER_DIR': '${STAGING_DIR_HOST}/loader', 'RDEPENDS': '', 'DISTRO_EXTRA_RDEPENDS': ' angstrom-version ${ANGSTROM_FEED_CONFIGS} util-linux-ng-mount util-linux-ng-umount angstrom-libc-fixup-hack ', 'PREFERRED_VERSION_icedtea6-native': '1.7.3', 'PREFERRED_VERSION_usbutils': '0.86', 'PREFERRED_VERSION_opie-mindbreaker': '${OPIE_VERSION}', 'PREFERRED_VERSION_pulseaudio': '0.9.15', 'STAGING_ETCDIR': '${STAGING_DIR_HOST}${sysconfdir}', 'DISTRO_REVISION': '3', 'TARGET_LDFLAGS': '-L${STAGING_DIR_TARGET}${libdir} -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir} -Wl,-O1 ${TARGET_LINK_HASH_STYLE}', 'HOST_OS': '${TARGET_OS}', 'TERM': 'xterm', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-pcx': 'gtk+', 'IMAGE_DEPENDS_ext3.bz2': 'genext2fs-native e2fsprogs-native', 'MULTIMACH_HOST_SYS': '${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}', 'TARGET_FPU': None, 'STAGING_DIR_NATIVE': '${STAGING_DIR}/${BUILD_SYS}', 'PREFERRED_VERSION_opie-camera': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-keyview': '${OPIE_VERSION}', 'PREFERRED_VERSION_openssl-native': '1.0.0a', 'PREFERRED_VERSION_gtk+': '2.20.1', 'MACHINE_EXTRA_RDEPENDS': '', 'SANITY_PRFILE': '${TMPDIR}/distro_pr', 'MULTI_PROVIDER_WHITELIST': 'virtual/libintl', 'DISTRO_CHECK': '2010.7-test-20110203', 'STAMP': '${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PF}', 'BBINCLUDELOGS': 'yes', 'PREFERRED_VERSION_classpath': '0.98', 'PREFERRED_PROVIDER_virtual/libintl': 'glibc', 'PREFERRED_VERSION_opie-i18n': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_virtual/libsdl': 'libsdl-x11', 'PREFERRED_VERSION_ti-codecs-omap3530-server': '1_00_00', 'PREFERRED_VERSION_cacaoh-native': '0.99.3', 'layout_servicedir': '${servicedir}', 'TARGET_EXEEXT': '', 'PREFERRED_VERSION_opie-mailapplet': '${OPIE_VERSION}', 'do_buildall': '\t:\n', 'OPIE_VERSION': '1.2.4', 'BUILDCFG_NEEDEDVARS': 'TARGET_ARCH TARGET_OS', 'ANGSTROM_BLACKLIST_pn-ipkg': 'ipkg has been superseded by opkg', 'DEPLOY_DIR_TOOLS': '${DEPLOY_DIR}/tools', 'PREFERRED_PROVIDER_virtual/libgl': 'mesa', 'PREFERRED_VERSION_automake-native': '1.11.1', 'T': '${WORKDIR}/temp', 'PREFERRED_PROVIDER_openmoko-alsa-scenarios': 'fsodeviced', 'PREFERRED_VERSION_opie-deco-liquid': '${OPIE_VERSION}', 'PREFERRED_VERSION_busybox': '1.13.2', 'IMAGE_DEPENDS_ubi': 'mtd-utils-native', 'FULL_OPTIMIZATION_pn-perl': '-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1', 'package_generate_ipkg_conf': '\tmkdir -p ${STAGING_ETCDIR_NATIVE}/\n\techo "src oe file:${DEPLOY_DIR_IPK}" > ${IPKGCONF_TARGET}\n\techo "src oe file:${DEPLOY_DIR_IPK}" > ${IPKGCONF_SDK}\n\techo "src oe file:${DEPLOY_DIR_IPK}" > ${IPKGCONF_CANSDK}\n\tipkgarchs="${PACKAGE_ARCHS}"\n\tpriority=1\n\tfor arch in $ipkgarchs; do\n\t\techo "arch $arch $priority" >> ${IPKGCONF_TARGET}\n\t\techo "arch ${BUILD_ARCH}-$arch-sdk $priority" >> ${IPKGCONF_SDK}\n\t\techo "arch ${SDK_SYS}-sdk-$arch $priority" >> ${IPKGCONF_CANSDK}\n\t\tpriority=$(expr $priority + 5)\n\t\tif [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then\n\t\t        echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET}\n\t\tfi\n\t\tif [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages ] ; then\n\t\t        echo "src oe-${BUILD_ARCH}-$arch-sdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk" >> ${IPKGCONF_SDK}\n\t\tfi\n\t\tif [ -e ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/Packages ] ; then\n\t\t        echo "src oe-${SDK_SYS}-sdk-$arch file:${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch" >> ${IPKGCONF_CANSDK}\n\t\tfi\n\tdone\n\techo "lists_dir ext /var/lib/opkg" >> ${IPKGCONF_TARGET}\n\techo "lists_dir ext /var/lib/opkg" >> ${IPKGCONF_SDK}\n\techo "lists_dir ext /var/lib/opkg" >> ${IPKGCONF_CANSDK}\n', 'SRC_DISTRIBUTECOMMAND-move+symlink': '    if ! [ -L ${SRC} ]; then\n        src=`basename "${SRC}"`\n        mv ${SRC} .\n        ln -sf $src "${SRC}"\n        if [ -e ${SRC}.md5 ]; then\n            mv ${SRC}.md5 .\n            ln -sf $src "${SRC}.md5"\n        fi\n    fi\n', 'HOST_PREFIX': '${TARGET_PREFIX}', 'PREFERRED_VERSION_opie-calculator': '${OPIE_VERSION}', 'do_distribute_sources': '\tbb.build.exec_func("do_fetch", d)\n\n\tcmd = bb.data.getVar(\'SRC_DISTRIBUTECOMMAND\', d, 1)\n\tif not cmd:\n\t\traise bb.build.FuncFailed("Unable to distribute sources, SRC_DISTRIBUTECOMMAND not set")\n\n\ttry:\n\t\tdlonly = int(d.getVar("SRC_DISTRIBUTE_DLONLY", 1))\n\texcept ValueError:\n\t\traise bb.build.FuncFailed("Invalid value for SRC_DISTRIBUTE_DLONLY: expected integer.")\n\tdldir = os.path.realpath(d.getVar("DL_DIR", 1) or "")\n\n\tlicenses = (bb.data.getVar(\'LICENSE\', d, 1) or "unknown").split()\n\turldatadict = bb.fetch.init(d.getVar("SRC_URI", True).split(), d, True)\n\tfor url, urldata in urldatadict.iteritems():\n\t\tif not urldata.setup:\n\t\t\turldata.setup_localpath(d)\n\n\t\tlocal = urldata.localpath\n\t\tif dlonly and dldir and not \\\n\t\t   os.path.realpath(local).startswith(dldir + os.path.sep):\n\t\t\tcontinue\n\n\t\tbb.data.setVar(\'SRC\', os.path.abspath(local), d)\n\t\tfor license in licenses:\n\t\t\tfor entry in license.split("|"):\n\t\t\t\tbb.data.setVar(\'LIC\', entry, d)\n\t\t\t\tbb.build.exec_func(\'SRC_DISTRIBUTECOMMAND\', d)\n', 'PKGDATA_DIR': '${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}', 'sysconfdir_native': '/etc', 'XLIBS_MIRROR': 'http://xlibs.freedesktop.org/release', 'SDK_ARCH': '${BUILD_ARCH}', 'TINDER_MACHINE': '${MACHINE}-${LIBC}-build-image', 'PREFERRED_VERSION_jamvm-native': '1.5.3', 'PREFERRED_VERSION_opie-console': '${OPIE_VERSION}', 'STAGING_PYDIR': '${STAGING_DIR}/lib/python2.4', 'PREFERRED_PROVIDER_qemu-native': 'qemu-native', 'package_do_package': '\tpackages = (bb.data.getVar(\'PACKAGES\', d, True) or "").split()\n\tif len(packages) < 1:\n\t\tbb.debug(1, "No packages to build, skipping do_package")\n\t\treturn\n\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, True)\n\toutdir = bb.data.getVar(\'DEPLOY_DIR\', d, True)\n\tdest = bb.data.getVar(\'D\', d, True)\n\tdvar = bb.data.getVar(\'PKGD\', d, True)\n\tpn = bb.data.getVar(\'PN\', d, True)\n\n\tif not workdir or not outdir or not dest or not dvar or not pn or not packages:\n\t\tbb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")\n\t\treturn\n\n\tfor f in (bb.data.getVar(\'PACKAGEFUNCS\', d, True) or \'\').split():\n\t\tbb.build.exec_func(f, d)\n\t\tpackage_run_hooks(f, d)\n', 'ENTERPRISE_DISTRO': '0', 'PREFERRED_VERSION_ti-codecs_omapl137-server': '1_00_00', 'SRC_DISTRIBUTECOMMAND-copy': '    test -e "${SRC}.md5" && cp -f "${SRC}.md5" .\n    cp -fr "${SRC}" .\n', 'PREFERRED_VERSION_binutils-cross_avr32': '2.17', 'PREFERRED_VERSION_ti-codecs-dm355': '1_13_000', 'MACHINE_FEATURES': 'kernel26 ext2 pci usbhost ethernet serial raid uboot', 'D': '${WORKDIR}/image', 'GNU_MIRROR': 'ftp://ftp.gnu.org/gnu', 'IMAGE_ROOTFS_SIZE': '65536', 'STAGING_SBINDIR_NATIVE': '${STAGING_DIR_NATIVE}${sbindir_native}', 'RANLIB': '${HOST_PREFIX}ranlib', 'ANGSTROM_GCC_VERSION_xilinx-ml403': '4.1.1', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-bmpg': 'gtk+', 'PREFERRED_VERSION_opie-kpacman': '${OPIE_VERSION}', 'PREFERRED_VERSION_ti-codecs-dm6467': '1_00_00_03', 'do_package_write_rpm': None, 'PREFERRED_VERSION_ti-linuxutils': '2_25_01_06', 'PREFERRED_VERSION_opie-jumpx': '${OPIE_VERSION}', 'PREFERRED_VERSION_mplayer': '0.0+1.0rc3+svnr30165', 'base_sbindir': '${base_prefix}/sbin', 'PREFERRED_VERSION_ti-dsplink-examples': '1_64', 'PREFERRED_VERSION_ti-dmai': '2_10_00_01+svnr%', 'CXX': '${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}', 'PREFERRED_VERSION_opie-systemtime': '${OPIE_VERSION}', 'TINDER_REPORT': '1', 'layout_libexecdir': '${libexecdir}', 'ldconfig_postinst_fragment': 'if [ x"$D" = "x" ]; then\n\tif [ -e /etc/ld.so.conf ] ; then\n\t\t[ -x /sbin/ldconfig ] && /sbin/ldconfig\n\tfi\nfi\n', 'BUILDCFG_HEADER': 'Build Configuration:', 'MACHINE_ARCH': "${@oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE}', 'BASE_PACKAGE_ARCH')}", 'PREFERRED_VERSION_ti-framework-components': '2_25_01_05', 'PREFERRED_VERSION_ti-codecs-dm365-server': '3_10_00_02', 'SCREEN_TERMCMD': 'screen -D -m -t "$TERMWINDOWTITLE"', 'SDK_VENDOR': '${BUILD_VENDOR}', 'PREFERRED_VERSION_gtkmm': '2.20.0', 'PREFERRED_VERSION_opie-today-addressbookplugin': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_virtual/libiconv': 'glibc', 'PREFERRED_PROVIDER_virtual/libqte2': '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}', 'BUILD_RANLIB': '${BUILD_PREFIX}ranlib', 'LOCALCOUNT': '0', 'OLDEST_KERNEL_linux-gnueabi': '2.6.16', 'UBOOT_LOADADDRESS': '0x48008000', 'PKG_CONFIG_SYSROOT_DIR': '${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}', 'BUILD_VENDOR': '', 'KERNELORG_MIRROR': 'http://kernel.org', 'E_CVS': 'cvs://anonymous@anoncvs.enlightenment.org/var/cvs/e', 'IMAGE_DEPENDS_squashfs': 'squashfs-tools-native', 'FEED_ARCH': 'armv5te', 'RPROVIDES': '', 'PREFERRED_VERSION': None, 'FEED_BASEPATH': 'feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/', 'FULL_OPTIMIZATION_pn-glibc': '-fexpensive-optimizations -fomit-frame-pointer -O2', 'PKG_CONFIG_PATH': '${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig', 'SYSROOT_LOCK': '${STAGING_DIR}/staging.lock', 'FILES': '', 'PREFERRED_VERSION_opie-tinykate': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-stumbler': '${OPIE_VERSION}', 'COLORTERM': '1', 'PREFERRED_VERSION_opie-powerchord': '${OPIE_VERSION}', 'SOLIBSDEV_darwin9': '.dylib', 'PREFERRED_VERSION_opie-keytabs': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-performance': '${OPIE_VERSION}', 'ARM_KEEP_OABI_pn-linux-openmoko-2.6.24_om-gta01': '1', 'ANGSTROM_BINUTILS_VERSION_armv4': '2.20', 'PREFERRED_VERSION_glibc-initial': '2.9', 'SLOT': '0', 'PREFERRED_VERSION_opie-datebook-chrisholidayplugin': '${OPIE_VERSION}', '__inherit_cache': ['classes/base.bbclass', 'classes/patch.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/patch.bbclass', 'classes/staging.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/staging.bbclass', 'classes/packaged-staging.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/packaged-staging.bbclass', 'classes/packagedata.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/packagedata.bbclass', 'classes/mirrors.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/mirrors.bbclass', 'classes/utils.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/utils.bbclass', 'classes/utility-tasks.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/utility-tasks.bbclass', 'classes/metadata_scm.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/metadata_scm.bbclass', 'classes/devshell.bbclass', 'classes/src_distribute_local.bbclass', 'classes/src_distribute.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/src_distribute.bbclass', 'classes/debian.bbclass', 'classes/sanity.bbclass', 'classes/qemu.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/qemu.bbclass', 'classes/angstrom.bbclass', 'classes/angstrom-mirrors.bbclass', 'classes/insane.bbclass', 'classes/package.bbclass', '/home/DRESEARCH/sledz/work/openembedded/classes/package.bbclass', 'classes/recipe_sanity.bbclass', 'classes/testlab.bbclass', 'classes/package_ipk.bbclass'], 'PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm': 'gtk+', 'datadir': '${prefix}/share', 'PREFERRED_VERSION_python-pycairo': '1.8.0', 'PREFERRED_VERSION_opie-today-mailplugin': '${OPIE_VERSION}', 'package_do_split_locales': '\tif (bb.data.getVar(\'PACKAGE_NO_LOCALE\', d, True) == \'1\'):\n\t\tbb.debug(1, "package requested not splitting locales")\n\t\treturn\n\n\tpackages = (bb.data.getVar(\'PACKAGES\', d, True) or "").split()\n\n\tdatadir = bb.data.getVar(\'datadir\', d, True)\n\tif not datadir:\n\t\tbb.note("datadir not defined")\n\t\treturn\n\n\tdvar = bb.data.getVar(\'PKGD\', d, True)\n\tpn = bb.data.getVar(\'PN\', d, True)\n\n\tif pn + \'-locale\' in packages:\n\t\tpackages.remove(pn + \'-locale\')\n\n\tlocaledir = os.path.join(dvar + datadir, \'locale\')\n\n\tif not os.path.isdir(localedir):\n\t\tbb.debug(1, "No locale files in this package")\n\t\treturn\n\n\tlocales = os.listdir(localedir)\n\n\t# This is *really* broken\n\tmainpkg = packages[0]\n\t# At least try and patch it up I guess...\n\tif mainpkg.find(\'-dbg\'):\n\t\tmainpkg = mainpkg.replace(\'-dbg\', \'\')\n\tif mainpkg.find(\'-dev\'):\n\t\tmainpkg = mainpkg.replace(\'-dev\', \'\')\n\n\tfor l in locales:\n\t\tln = legitimize_package_name(l)\n\t\tpkg = pn + \'-locale-\' + ln\n\t\tpackages.append(pkg)\n\t\tbb.data.setVar(\'FILES_\' + pkg, os.path.join(datadir, \'locale\', l), d)\n\t\tbb.data.setVar(\'RDEPENDS_\' + pkg, \'%s virtual-locale-%s\' % (mainpkg, ln), d)\n\t\tbb.data.setVar(\'RPROVIDES_\' + pkg, \'%s-locale %s-translation\' % (pn, ln), d)\n\t\tbb.data.setVar(\'DESCRIPTION_\' + pkg, \'%s translation for %s\' % (l, pn), d)\n\n\tbb.data.setVar(\'PACKAGES\', \' \'.join(packages), d)\n', 'PSTAGE_PKGVERSION': '${PV}-${PR}', 'SOLIBSDEV_darwin': '.dylib', 'STAGING_DIR_HOST': '${STAGING_DIR}/${BASEPKG_HOST_SYS}', 'OE_STRICT_CHECKSUMS': '1', 'PREFERRED_VERSION_opie-brightnessapplet': '${OPIE_VERSION}', 'debian_package_name_hook': '\timport glob, copy, stat, errno, re\n\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, 1)\n\tpackages = bb.data.getVar(\'PACKAGES\', d, 1)\n\n\tdef socrunch(s):\n\t\ts = s.lower().replace(\'_\', \'-\')\n\t\tm = re.match("^(.*)(.)\\.so\\.(.*)$", s)\n\t\tif m is None:\n\t\t\treturn None\n\t\tif m.group(2) in \'0123456789\':\n\t\t\tbin = \'%s%s-%s\' % (m.group(1), m.group(2), m.group(3))\n\t\telse:\n\t\t\tbin = m.group(1) + m.group(2) + m.group(3)\n\t\tdev = m.group(1) + m.group(2)\n\t\treturn (bin, dev)\n\n\tdef isexec(path):\n\t\ttry:\n\t\t\ts = os.stat(path)\n\t\texcept (os.error, AttributeError):\n\t\t\treturn 0\n\t\treturn (s[stat.ST_MODE] & stat.S_IEXEC)\n\n\tdef auto_libname(packages, orig_pkg):\n\t\tbin_re = re.compile(".*/s?bin$")\n\t\tlib_re = re.compile(".*/lib$")\n\t\tso_re = re.compile("lib.*\\.so")\n\t\tsonames = []\n\t\thas_bins = 0\n\t\thas_libs = 0\n\t\tpkg_dir = os.path.join(pkgdest, orig_pkg)\n\t\tfor root, dirs, files in os.walk(pkg_dir):\n\t\t\tif bin_re.match(root) and files:\n\t\t\t\thas_bins = 1\n\t\t\tif lib_re.match(root) and files:\n\t\t\t\thas_libs = 1\n\t\t\t\tfor f in files:\n\t\t\t\t\tif so_re.match(f):\n\t\t\t\t\t\tfp = os.path.join(root, f)\n\t\t\t\t\t\tcmd = "PATH=" + bb.data.getVar(\'PATH\', d, 1) + " " + (bb.data.getVar(\'TARGET_PREFIX\', d, 1) or "") + "objdump -p " + fp + " 2>/dev/null"\n\t\t\t\t\t\tfd = os.popen(cmd)\n\t\t\t\t\t\tlines = fd.readlines()\n\t\t\t\t\t\tfd.close()\n\t\t\t\t\t\tfor l in lines:\n\t\t\t\t\t\t\tm = re.match("\\s+SONAME\\s+([^\\s]*)", l)\n\t\t\t\t\t\t\tif m and not m.group(1) in sonames:\n\t\t\t\t\t\t\t\tsonames.append(m.group(1))\n\n\t\tbb.debug(1, \'LIBNAMES: pkg %s libs %d bins %d sonames %s\' % (orig_pkg, has_libs, has_bins, sonames))\n\t\tsoname = None\n\t\tif len(sonames) == 1:\n\t\t\tsoname = sonames[0]\n\t\telif len(sonames) > 1:\n\t\t\tlead = bb.data.getVar(\'LEAD_SONAME\', d, 1)\n\t\t\tif lead:\n\t\t\t\tr = re.compile(lead)\n\t\t\t\tfiltered = []\n\t\t\t\tfor s in sonames:\n\t\t\t\t\tif r.match(s):\n\t\t\t\t\t\tfiltered.append(s)\n\t\t\t\tif len(filtered) == 1:\n\t\t\t\t\tsoname = filtered[0]\n\t\t\t\telif len(filtered) > 1:\n\t\t\t\t\tbb.note("Multiple matches (%s) for LEAD_SONAME \'%s\'" % (", ".join(filtered), lead))\n\t\t\t\telse:\n\t\t\t\t\tbb.note("Multiple libraries (%s) found, but LEAD_SONAME \'%s\' doesn\'t match any of them" % (", ".join(sonames), lead))\n\t\t\telse:\n\t\t\t\tbb.note("Multiple libraries (%s) found and LEAD_SONAME not defined" % ", ".join(sonames))\n\n\t\tif has_libs and not has_bins and soname:\n\t\t\tsoname_result = socrunch(soname)\n\t\t\tif soname_result:\n\t\t\t\t(pkgname, devname) = soname_result\n\t\t\t\tfor pkg in packages.split():\n\t\t\t\t\tif (bb.data.getVar(\'PKG_\' + pkg, d) or bb.data.getVar(\'DEBIAN_NOAUTONAME_\' + pkg, d)):\n\t\t\t\t\t\tcontinue\n\t\t\t\t\tdebian_pn = bb.data.getVar(\'DEBIANNAME_\' + pkg, d)\n\t\t\t\t\tif debian_pn:\n\t\t\t\t\t\tnewpkg = debian_pn\n\t\t\t\t\telif pkg == orig_pkg:\n\t\t\t\t\t\tnewpkg = pkgname\n\t\t\t\t\telse:\n\t\t\t\t\t\tnewpkg = pkg.replace(orig_pkg, devname, 1)\n\t\t\t\t\tif newpkg != pkg:\n\t\t\t\t\t\tbb.data.setVar(\'PKG_\' + pkg, newpkg, d)\n\n\tfor pkg in (bb.data.getVar(\'AUTO_LIBNAME_PKGS\', d, 1) or "").split():\n\t\tauto_libname(packages, pkg)\n', 'IMAGE_ROOTFS_SIZE_ext2.gz': '65536', 'PREFERRED_VERSION_opie-language': '${OPIE_VERSION}', 'IMAGE_LINK_NAME': '${IMAGE_BASENAME}-${MACHINE}', 'FETCHCMD_bzr': '/usr/bin/env bzr', 'ANGSTROMLIBC': 'glibc', 'PREFERRED_VERSION_opie-lupdate-native': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-qcop': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_avahi': 'avahi', 'IMAGE_ROOTFS_SIZE_ext3.gz': '65536', 'PSTAGE_MACHCONFIG': '${PSTAGE_WORKDIR}/opkg.conf', 'do_qa_staging': '    bb.debug(2, "QA checking staging")\n\n    if not package_qa_check_staged(bb.data.getVar(\'STAGING_LIBDIR\',d,True), d):\n        bb.fatal("QA staging was broken by the package built above")\n', 'ANGSTROM_BLACKLIST_pn-bluez-libs': 'bluez-libs 3.x has been replaced by bluez4', 'do_qa_configure': '    configs = []\n    bb.debug(1, "Checking sanity of the config.log file")\n    for root, dirs, files in os.walk(bb.data.getVar(\'WORKDIR\', d, True)):\n        statement = "grep \'CROSS COMPILE Badness:\' %s > /dev/null" % \\\n                    os.path.join(root,"config.log")\n        if "config.log" in files:\n            if os.system(statement) == 0:\n                bb.fatal("""This autoconf log indicates errors, it looked at host includes.\nRerun configure task after fixing this. The path was \'%s\'""" % root)\n\n        if "configure.ac" in files:\n            configs.append(os.path.join(root,"configure.ac"))\n        if "configure.in" in files:\n            configs.append(os.path.join(root, "configure.in"))\n\n    if "gettext" not in bb.data.getVar(\'P\', d, True):\n       if bb.data.inherits_class(\'native\', d) or bb.data.inherits_class(\'cross\', d) or bb.data.inherits_class(\'crosssdk\', d) or bb.data.inherits_class(\'nativesdk\', d):\n          gt = "gettext-native"\n       elif bb.data.inherits_class(\'cross-canadian\', d):\n          gt = "gettext-nativesdk"\n       else:\n          gt = "gettext"\n       deps = bb.utils.explode_deps(bb.data.getVar(\'DEPENDS\', d, True) or "")\n       if gt not in deps:\n          for config in configs:\n              gnu = "grep \\"^[[:space:]]*AM_GNU_GETTEXT\\" %s >/dev/null" % config\n              if os.system(gnu) == 0:\n                 bb.note("""Gettext required but not in DEPENDS for file %s.\nMissing inherit gettext?""" % config)\n', 'staging_helper': '\t# Assemble appropriate opkg.conf\n\tconffile=${PSTAGE_MACHCONFIG}\n\tmkdir -p ${PSTAGE_WORKDIR}/pstaging_lists\n\tarch="${PSTAGE_PKGARCH}"\n\tif [ ! -e $conffile ]; then\n\t\techo "arch $arch 1" > $conffile\n\t\techo "dest root /" >> $conffile\n\telif [ `grep -c " $arch " $conffile` -eq 0 ]; then\n\t\tpriority=$(expr `grep -cE "^arch" $conffile` + 1)\n\t\tsed -i -e "/dest/iarch $arch $priority" $conffile\n\tfi\n\tif [ ! -e ${TMPDIR}${libdir_native}/opkg/info/ ]; then\n\t\tmkdir -p ${TMPDIR}${libdir_native}/opkg/info/\n\tfi\n \tif [ ! -e ${TMPDIR}${libdir_native}/ipkg/ ]; then\n\t\tln -sf opkg/ ${TMPDIR}${libdir_native}/ipkg || true\n\tfi\n', 'MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS': '', 'PREFERRED_VERSION_eglibc': '2.9', 'LOCALE_UTF8_ONLY': '1', 'TINDER_CLOBBER': '1', 'TARGET_FPU_armv7a': 'hard', 'MIRRORS_append': None, 'SRCREV_pn-mojito': '0542c4b0e26c0e3b69c5ad1fa1898dc276fb9f48', 'BUILD_CFLAGS': '${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}', 'PREFERRED_VERSION_opie-logoutapplet': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-mediaplayer1-core': '${OPIE_VERSION}', 'FILES_${PN}-static': '${libdir}/*.a ${base_libdir}/*.a', 'mapping_rename_hook': "\tbb.build.exec_func('insane_mapping_rename_hook', d)\n", 'OE_HOME': '/home/DRESEARCH/sledz/work/HydraIP/OE', 'layout_libdir': '${libdir}', 'GNOME_MIRROR': 'http://ftp.gnome.org/pub/GNOME/sources', 'EXTRA_IMAGECMD': '', 'OLDEST_KERNEL_sparc64': '2.4.21', 'PREFERRED_VERSION_opie-kjumpx': '${OPIE_VERSION}', 'COMPATIBLE_HOST': None, 'SRC_DIST_LOCAL': 'symlink', 'BASE_PACKAGE_ARCH': 'armv5te', 'emit_pkgdata': '\tfrom glob import glob\n\n\tdef write_if_exists(f, pkg, var):\n\t\tdef encode(str):\n\t\t\timport codecs\n\t\t\tc = codecs.getencoder("string_escape")\n\t\t\treturn c(str)[0]\n\n\t\tval = bb.data.getVar(\'%s_%s\' % (var, pkg), d, True)\n\t\tif val:\n\t\t\tf.write(\'%s_%s: %s\\n\' % (var, pkg, encode(val)))\n \t\t\treturn\n \t\tval = bb.data.getVar(\'%s\' % (var), d, True)\n \t\tif val:\n \t\t\tf.write(\'%s: %s\\n\' % (var, encode(val)))\n \t\treturn\n\n\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, 1)\n\tpkgdatadir = bb.data.getVar(\'PKGDATA_DIR\', d, True)\n\n\tpstageactive = bb.data.getVar(\'PSTAGING_ACTIVE\', d, True)\n\tif pstageactive == "1":\n\t\tlf = bb.utils.lockfile(bb.data.expand("${STAGING_DIR}/staging.lock", d))\n\n\tdata_file = pkgdatadir + bb.data.expand("/${PN}" , d)\n\tf = open(data_file, \'w\')\n\tf.write("PACKAGES: %s\\n" % packages)\n\tf.close()\n\tpackage_stagefile(data_file, d)\n\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, True)\n\n\tfor pkg in packages.split():\n\t\tsubdata_file = pkgdatadir + "/runtime/%s" % pkg\n\t\tsf = open(subdata_file, \'w\')\n\t\twrite_if_exists(sf, pkg, \'PN\')\n\t\twrite_if_exists(sf, pkg, \'PV\')\n\t\twrite_if_exists(sf, pkg, \'PR\')\n\t\twrite_if_exists(sf, pkg, \'PKGV\')\n\t\twrite_if_exists(sf, pkg, \'PKGR\')\n\t\twrite_if_exists(sf, pkg, \'DESCRIPTION\')\n\t\twrite_if_exists(sf, pkg, \'RDEPENDS\')\n\t\twrite_if_exists(sf, pkg, \'RPROVIDES\')\n\t\twrite_if_exists(sf, pkg, \'RRECOMMENDS\')\n\t\twrite_if_exists(sf, pkg, \'RSUGGESTS\')\n\t\twrite_if_exists(sf, pkg, \'RREPLACES\')\n\t\twrite_if_exists(sf, pkg, \'RCONFLICTS\')\n\t\twrite_if_exists(sf, pkg, \'PKG\')\n\t\twrite_if_exists(sf, pkg, \'ALLOW_EMPTY\')\n\t\twrite_if_exists(sf, pkg, \'FILES\')\n\t\twrite_if_exists(sf, pkg, \'pkg_postinst\')\n\t\twrite_if_exists(sf, pkg, \'pkg_postrm\')\n\t\twrite_if_exists(sf, pkg, \'pkg_preinst\')\n\t\twrite_if_exists(sf, pkg, \'pkg_prerm\')\n\t\tsf.close()\n\n\t\tpackage_stagefile(subdata_file, d)\n\t\t#if pkgdatadir2:\n\t\t#\tbb.copyfile(subdata_file, pkgdatadir2 + "/runtime/%s" % pkg)\n\n\t\tallow_empty = bb.data.getVar(\'ALLOW_EMPTY_%s\' % pkg, d, True)\n\t\tif not allow_empty:\n\t\t\tallow_empty = bb.data.getVar(\'ALLOW_EMPTY\', d, True)\n\t\troot = "%s/%s" % (pkgdest, pkg)\n\t\tos.chdir(root)\n\t\tg = glob(\'*\') + glob(\'.[!.]*\')\n\t\tif g or allow_empty == "1":\n\t\t\tpackagedfile = pkgdatadir + \'/runtime/%s.packaged\' % pkg\n\t\t\tfile(packagedfile, \'w\').close()\n\t\t\tpackage_stagefile(packagedfile, d)\n\tif pstageactive == "1":\n\t\tbb.utils.unlockfile(lf)\n', 'DEPLOY_DIR_IPK': '${DEPLOY_DIR}/ipk', 'PREFERRED_VERSION_ti-xdctools': '3_16_01_27', 'STAGING_FIRMWARE_DIR': '${STAGING_DIR_HOST}/firmware', 'TOOLCHAIN_TYPE': 'internal', 'KERNEL_CCSUFFIX_archos5it': '-4.2.1+csl-arm-2007q3-53', 'do_distsrcall': None, 'AS': '${HOST_PREFIX}as', 'AR': '${HOST_PREFIX}ar', 'PREFERRED_PROVIDERS': 'virtual/qte:qte virtual/libqpe:libqpe-opie  virtual/libsdl:libsdl-x11  virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial  virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate  virtual/${TARGET_PREFIX}gcc:gcc-cross  virtual/${TARGET_PREFIX}g++:gcc-cross', 'PREFERRED_VERSION_xserver-common': '1.33', 'FILES_${PN}-locale': '${datadir}/locale', 'CVS_TARBALL_STASH': 'http://www.angstrom-distribution.org/unstable/sources/ ', 'WORKDIR': '${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}', 'TINDER_TREE': 'Angstrom', 'OVERRIDE_THUMB': "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}", 'BUILD_CPPFLAGS': '-isystem${STAGING_INCDIR_NATIVE}', 'sysroot_stage_libdir': '\tsrc="$1"\n\tdest="$2"\n\n\tolddir=`pwd`\n\tcd $src\n\tlas=$(find . -name \\*.la -type f)\n\tcd $olddir\n\techo "Found la files: $las"\n\tfor i in $las\n\tdo\n\t\tsed -e \'s/^installed=yes$/installed=no/\' \\\n\t\t    -e \'/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\\._+-]*/\\([[:alnum:]\\._+-]*\\),${STAGING_LIBDIR}/\\1,g\' \\\n\t\t    -e "/^dependency_libs=/s,\\([[:space:]\']\\)${libdir},\\1${STAGING_LIBDIR},g" \\\n\t\t    ${SYSROOTEXTRALIBDIRSED} \\\n\t\t    -i $src/$i\n\tdone\n\tsysroot_stage_dir $src $dest\n', 'QEMU_OPTIONS': '', 'PREFERRED_VERSION_libsdl-x11': '1.2.14', 'PREFERRED_VERSION_qt4-x11-free': '${ANGSTROM_QT_VERSION}', 'SRCREV_pn-libccss': '92bc59e1d39302c8be500d53cb5dd8b05c2e4a15', 'do_package_write_deb': None, 'layout_base_sbindir': '${base_sbindir}', 'QEMU_OPTIONS_armv6': '-cpu arm1136', 'PREFERRED_VERSION_opie-packagemanager': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-confeditor': '${OPIE_VERSION}', 'CPP': '${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS}', 'PREFERRED_VERSION_opie-mediaplayer2-skin-techno': '${OPIE_VERSION}', 'BBFILE_COLLECTIONS': 'upstream localcommon local', 'mandir': '${datadir}/man', 'PREFERRED_PROVIDER_virtual/update-alternatives': 'opkg', 'HOST_CC_ARCH': '${TARGET_CC_ARCH}', 'DISTRO_BLUETOOTH_MANAGER': 'blueprobe bluez4 ', 'PREFERRED_VERSION_opie-usermanager': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-style-web': '${OPIE_VERSION}', 'CCACHE': '', 'PREFERRED_VERSION_qt4-x11-free-gles': '${ANGSTROM_QT_VERSION}', 'IMAGE_CMD_ext3.gz': 'install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz', 'PSTAGE_PKGPN': "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}", 'do_listtasks': '\timport sys\n\t# emit variables and shell functions\n\t#bb.data.emit_env(sys.__stdout__, d)\n\t# emit the metadata which isnt valid shell\n\tfor e in d.keys():\n\t\tif bb.data.getVarFlag(e, \'task\', d):\n\t\t\tsys.__stdout__.write("%s\\n" % e)\n', 'P': '${PN}-${PV}', 'IMAGE_CMD_tar.gz': 'cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz .', 'PREFERRED_VERSION_opie-keyboard': '${OPIE_VERSION}', 'FILESPATH': "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':')])}", 'do_package_update_index_ipk': '\tset -x\n\n\tipkgarchs="${PACKAGE_ARCHS}"\n\n\tif [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then\n\t\treturn\n\tfi\n\n\tmkdir -p ${DEPLOY_DIR_IPK}\n\ttouch ${DEPLOY_DIR_IPK}/Packages\n\tipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}\n\n\tfor arch in $ipkgarchs; do\n\t\tif [ -e ${DEPLOY_DIR_IPK}/$arch/ ] ; then\n\t\t\ttouch ${DEPLOY_DIR_IPK}/$arch/Packages\n\t\t\tipkg-make-index -r ${DEPLOY_DIR_IPK}/$arch/Packages -p ${DEPLOY_DIR_IPK}/$arch/Packages -l ${DEPLOY_DIR_IPK}/$arch/Packages.filelist -m ${DEPLOY_DIR_IPK}/$arch/\n\t\tfi\n\t\tif [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/ ] ; then\n\t\t\ttouch ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages\n\t\t\tipkg-make-index -r ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -p ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -l ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages.filelist -m ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/\n\t\tfi\n\t\tif [ -e ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/ ] ; then\n\t\t\ttouch ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/Packages\n\t\t\tipkg-make-index -r ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/Packages -p ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/Packages -l ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/Packages.filelist -m ${DEPLOY_DIR_IPK}/${SDK_SYS}-sdk-$arch/\n\t\tfi\n\tdone\n', 'PREFERRED_VERSION_opie-deco-polished': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-style-phase': '${OPIE_VERSION}', 'staging_packager': '\n\tmkdir -p ${PSTAGE_TMPDIR_STAGE}/CONTROL\n\tmkdir -p ${PSTAGE_DIR}/${PSTAGE_PKGPATH}\n\n\techo "Package: ${PSTAGE_PKGPN}"         >  ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Version: ${PSTAGE_PKGVERSION}"    >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Description: ${DESCRIPTION}"      >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Section: ${SECTION}"              >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Priority: Optional"               >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Maintainer: ${MAINTAINER}"        >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\techo "Architecture: ${PSTAGE_PKGARCH}"  >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\n\t# Protect against empty SRC_URI\n\tsrcuri="${SRC_URI}"\n\tif [ "$srcuri" == "" ]; then\n\t\tsrcuri="OpenEmbedded"\n\tfi\n\techo "Source: $srcuri"               >> ${PSTAGE_TMPDIR_STAGE}/CONTROL/control\n\n\t# Deal with libtool not supporting sysroots\n\t# Need to remove hardcoded paths and fix these when we install the\n\t# staging packages.\n\t# Could someone please add sysroot support to libtool!\n        for i in `${PSTAGE_SCAN_CMD}` ; do \\\n                sed -i -e s:${STAGING_DIR}:FIXMESTAGINGDIR:g $i\n                echo $i | sed -e \'s:${PSTAGE_TMPDIR_STAGE}/::\' >> ${PSTAGE_TMPDIR_STAGE}/sysroots/fixmepath\n        done\n\n\t${PSTAGE_BUILD_CMD} ${PSTAGE_TMPDIR_STAGE} ${PSTAGE_DIR}/${PSTAGE_PKGPATH}\n', 'die': '\toefatal "$*"\n', 'base_do_install': '\t:\n', 'PROFILE_OPTIMIZATION': '-pg', 'BUILD_CXXFLAGS': '${BUILD_CFLAGS} -fpermissive', 'PREFERRED_VERSION_classpath-initial': '0.93', 'OBJCOPY': '${HOST_PREFIX}objcopy', 'TOPDIR': '/home/DRESEARCH/sledz/work/HydraIP/OE', 'PSTAGE_WORKDIR': '${TMPDIR}/pstage', 'PREFERRED_VERSION_ti-edma3lld': '01_11_00_03', 'PREFERRED_VERSION_mesa': '7.6', 'do_compile': '\tbase_do_compile\n', 'SRC_URI': 'file://${FILE}', 'includedir_native': '${prefix_native}/include', 'PREFERRED_VERSION_opie-dasher': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-addressbook': '${OPIE_VERSION}', 'MACHINE_EXTRA_RRECOMMENDS': '', 'STAGING_BINDIR': '${STAGING_DIR_HOST}${bindir}', 'IPKGBUILDCMD': 'ipkg-build -o 0 -g 0', 'ANGSTROM_URI': 'http://www.angstrom-distribution.org', 'ANGSTROM_GCC_VERSION_bfin': '4.1.2', 'OLDEST_KERNEL_ppc64': '2.4.21', 'QTE_VERSION': '2.3.10', 'MACHINE_DISPLAY_HEIGHT_PIXELS': '320', 'PREFERRED_VERSION_opie-notesapplet': '${OPIE_VERSION}', 'FILESDIR': "${@bb.which(d.getVar('FILESPATH', 1), '.')}", 'PREFERRED_VERSION_opie-dvorak': '${OPIE_VERSION}', 'ENABLE_BINARY_LOCALE_GENERATION_armeb': '0', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-pnm': 'gtk+', 'PREFERRED_VERSION_binutils-cross-sdk_avr32': '2.17', 'OELAYOUT_ABI': '5', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-png': 'gtk+', 'SELECTED_OPTIMIZATION_pn-libgssdp': '${PROFILE_OPTIMIZATION}', 'PACKAGESTRIPFUNCS': ' do_runstrip', 'base_libdir_native': '/lib', 'PKGR': '${PR}${DISTRO_PR}', 'IMAGE_DEPENDS_ubifs': 'mtd-utils-native', 'PREFERRED_VERSION_libtool': '2.2.6b', 'PREFERRED_VERSION_opie-advancedfm': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-today-fortuneplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-lockapplet': '${OPIE_VERSION}', 'PREFERRED_VERSION_gst-pulse': '0.9.7', 'PREFERRED_VERSION_opie-ftplib': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-examples-python': '${OPIE_VERSION}', 'LIBC': '${ANGSTROMLIBC}', 'IMAGE_PKGTYPE': 'ipk', 'FILES_${PN}-dbg': '${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug ${libdir}/matchbox-panel/.debug ${datadir}/gdb/autoload', 'servicedir': '${base_prefix}/srv', 'EXTRA_IMAGECMD_cpio': '', 'bindir_native': '${prefix_native}/bin', 'BUILD_PREFIX': '', 'HOME': '/home/DRESEARCH/sledz', 'ANGSTROM_BINUTILS_VERSION_armv7a': '2.18.50.0.7', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc': 'gcc-cross', 'PREFERRED_VERSION_jamvm-initial': '1.4.5', 'COMBINED_FEATURES': '${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "vfat", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pci", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)} ${@base_ifelse( base_contains(\'DISTRO_FEATURES\', (\'pci\', \'wifi\', \'madwifi\'), True, False, d) and base_contains(\'MACHINE_FEATURES\', \'pci\', True, False, d), \'madwifi\', \'\')} ${@base_ifelse( base_contains(\'DISTRO_FEATURES\', (\'wifi\', \'hostap\'), True, False, d) and ((base_contains(\'MACHINE_FEATURES\', \'pci\', True, False, d) and base_contains(\'DISTRO_FEATURES\', \'pci\', True, False, d)) or (base_contains(\'MACHINE_FEATURES\', \'pcmcia\', True, False, d) and base_contains(\'DISTRO_FEATURES\', \'pcmcia\', True, False, d))), \'hostap\', \'\')}', 'do_package_stage_all': '\t:\n', 'FULL_OPTIMIZATION': '-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2', 'PREFERRED_VERSION_qte': '${QTE_VERSION}', 'PREFERRED_VERSION_libtool-native': '2.2.6b', 'PREFERRED_VERSION_opie-suspendapplet': '${OPIE_VERSION}', 'populate_sysroot_prehook': '    bb.build.exec_func("populate_sysroot_preamble", d)\n', 'SRCDATE': '${DATE}', 'SEPPUKU_PASS': None, 'PREFERRED_VERSION_opie-cardapplet': '${OPIE_VERSION}', 'TINDER_HOST': 'ewi546.ewi.utwente.nl', 'PREFERRED_VERSION_opie-recorder': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-style-flat': '${OPIE_VERSION}', 'TARGET_CC_ARCH': '-march=armv5te -mtune=arm926ej-s', 'ROOT_FLASH_SIZE': '256', 'SHELLRCCMD': 'bash --rcfile $TERMRCFILE', 'HOST_ARCH': '${TARGET_ARCH}', 'ENABLE_BINARY_LOCALE_GENERATION': '0', 'base_do_setscene': '        for f in (bb.data.getVar(\'SCENEFUNCS\', d, 1) or \'\').split():\n                bb.build.exec_func(f, d)\n\tif not os.path.exists(bb.data.getVar(\'STAMP\', d, 1) + ".do_setscene"):\n\t\tbb.build.make_stamp("do_setscene", d)\n', 'TARGET_OS': "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}", 'PREFERRED_VERSION_dropbear': '0.51', 'PREFERRED_VERSION_opie-style-liquid': '${OPIE_VERSION}', 'SOURCE_MIRROR_URL': None, 'SOLIBS_darwin8': '.*.dylib', 'SOLIBS_darwin9': '.*.dylib', 'PREFERRED_VERSION_u-boot': '2009.03', 'PREFERRED_PROVIDER_qt4-x11-free': 'qt4-x11-free', 'PREFERRED_VERSION_opie-batteryapplet': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-gif': 'gtk+', 'PSTAGE_INSTALL_CMD': '${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${TMPDIR} install', 'PREFERRED_VERSION_opie-wellenreiter': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-style-metal': '${OPIE_VERSION}', 'MKTEMPCMD': 'mktemp -q ${TMPBASE}', 'FILES_${PN}': '${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${datadir}/${PN} ${libdir}/${PN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers', 'PREFERRED_VERSION_opie-rdesktop': '${OPIE_VERSION}', 'IMAGE_DEPENDS_squashfs-lzma': 'squashfs-tools-native', 'SDK_LDFLAGS': '-L${STAGING_DIR_SDK}${libdir} -Wl,-rpath-link,${STAGING_DIR_SDK}${libdir} -Wl,-O1', 'PATCHRESOLVE': 'noop', 'PREFERRED_VERSION_opie-quicklauncher': '${OPIE_VERSION}', 'do_fetch': "\tbb.build.exec_func('base_do_fetch', d)\n", 'ASSUME_PROVIDED': 'bc-native bzip2-native cvs-native diffstat-native patch-native perl-native-runtime python-native-runtime svn-native texinfo-native util-linux-native ', 'insane_do_package': "\tbb.build.exec_func('package_do_package', d)\n", 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial': 'gcc-cross-initial', 'PREFERRED_VERSION_opie-multikeyapplet': '${OPIE_VERSION}', 'TARGET_FPU_armv6': 'hard', 'DISTRO_NAME': 'Angstrom', 'layout_prefix': '${prefix}', 'FREEBSD_MIRROR': 'ftp://ftp.freebsd.org/pub/FreeBSD/', 'PREFERRED_VERSION_binutils-cross': '${ANGSTROM_BINUTILS_VERSION}', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils': 'binutils-cross', 'THUMB_INTERWORK': 'yes', 'SRCREV_pn-twitter-glib': '849bec29292df88590e0b2898b50b9b8d766817e', 'PREFERRED_VERSION_qt4-embedded-gles': '${ANGSTROM_QT_VERSION}', 'check_sanity_eventhandler': '    if isinstance(e, bb.event.BuildStarted):\n        check_sanity(e)\n', 'PREFERRED_VERSION_opie-wordgame': '${OPIE_VERSION}', 'SYSROOTEXTRALIBDIRSED': '', 'DISTRO_EXTRA_RRECOMMENDS': '  kernel-module-vfat kernel-module-ext2 kernel-module-ext3 kernel-module-af-packet avahi-daemon avahi-autoipd openssh-sftp-server ${DEBUG_APPS} ', 'TINDER_BRANCH': 'org.openembedded.dev', 'PREFERRED_VERSION_opie-vtapplet': '${OPIE_VERSION}', 'PKGD': '${WORKDIR}/package', 'HOST_SYS': '${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}', 'populate_sysroot_posthook': '    bb.build.exec_func("populate_sysroot_postamble", d)\n', 'PREFERRED_VERSION_libgemwidget': '1.0', 'PREFERRED_VERSION_libqpe-opie': '${OPIE_VERSION}', 'PKGV': '${PV}', 'base_do_compile': '\tif [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then\n\t\toe_runmake || die "make failed"\n\telse\n\t\toenote "nothing to compile"\n\tfi\n', 'TARGET_CPPFLAGS': '-isystem${STAGING_DIR_TARGET}${includedir}', 'PCMCIA_MANAGER': 'pcmciautils', 'PREFERRED_VERSION_ti-dmai-apps': '2_10_00_01+svnr%', 'base_do_package': '\t:\n', 'PREFERRED_VERSION_ti-biosutils': '1_02_02', 'PREFERRED_PROVIDER_opkg': 'opkg', 'PREFERRED_VERSION_glibmm': '2.24.0', 'FILE': 'conf/bitbake.conf', 'do_checkuri': '\timport sys\n\n\tlocaldata = bb.data.createCopy(d)\n\tbb.data.update_data(localdata)\n\n\tsrc_uri = bb.data.getVar(\'SRC_URI\', localdata, 1)\n\n\ttry:\n\t\tbb.fetch.init(src_uri.split(),d)\n\texcept bb.fetch.NoMethodError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("No method: %s" % value)\n\n\ttry:\n\t\tbb.fetch.checkstatus(localdata)\n\texcept bb.fetch.MissingParameterError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Missing parameters: %s" % value)\n\texcept bb.fetch.FetchError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Fetch failed: %s" % value)\n\texcept bb.fetch.MD5SumError:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("MD5  failed: %s" % value)\n\texcept:\n\t\t(type, value, traceback) = sys.exc_info()\n\t\traise bb.build.FuncFailed("Unknown fetch Error: %s" % value)\n', 'EXTENDPKGEVER': "${@['','${PKGE\\x7d:'][bb.data.getVar('PKGE',d,1) > 0]}", 'libdir_native': '${prefix_native}/lib', 'PREFERRED_PROVIDER_dbus-glib': 'dbus-glib', 'layout_includedir': '${includedir}', 'oewarn': '\techo "WARNING:" "$*"\n', 'BBFILE_PATTERN_local': '^${OE_HOME}/hipox/recipes/', 'PREFERRED_VERSION_binutils': '${ANGSTROM_BINUTILS_VERSION}', 'BBMASK': "${@base_conditional('ENTERPRISE_DISTRO', '1', base_conditional('OLDBBMASK', '', '', '(${OLDBBMASK})|', d) + '(mp3blaster|mpg123|mpg321|smpeg|liba52|lame|libmad|mpeg2dec|xmms-mad|madplay|python-mad|opie-mediaplayer1-libmadplugin|ffmpeg|mplayer)', '${OLDBBMASK}', d)}", 'FEED_ARCH_bfin': 'blackfin', 'oe_soinstall': "\t# Purpose: Install shared library file and\n\t#          create the necessary links\n\t# Example:\n\t#\n\t# oe_\n\t#\n\t#oenote installing shared library $1 to $2\n\t#\n\tlibname=`basename $1`\n\tinstall -m 755 $1 $2/$libname\n\tsonamelink=`${HOST_PREFIX}readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\\[\\(.*\\)\\].*/\\1/'`\n\tsolink=`echo $libname | sed -e 's/\\.so\\..*/.so/'`\n\tln -sf $libname $2/$sonamelink\n\tln -sf $libname $2/$solink\n", 'PREFERRED_PROVIDER_bluez-utils-dbus': 'bluez-utils', 'SDKPATH': '${SDK_PATH}', 'GROUP_locale': None, 'OPKG_SRCREV': '554', 'PREFERRED_VERSION_dbus': '1.2.24', 'FETCHCMD_cvs': '/usr/bin/env cvs', 'PREFERRED_PROVIDER_virtual/alsa-scenarios': 'fsodeviced', 'package_stagefile_shell': '\tif [ "$PSTAGING_ACTIVE" = "1" ]; then\n\t\tsrcfile=$1\n\t\tdestfile=`echo $srcfile | sed s#${TMPDIR}#${PSTAGE_TMPDIR_STAGE}#`\n\t\tdestdir=`dirname $destfile`\n\t\tmkdir -p $destdir\n\t\tcp -dp $srcfile $destfile\n\tfi\n', 'PREFERRED_VERSION_ti-codecs-dm355-server': '1_13_000', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate': 'gcc-cross-intermediate', 'layout_sbindir': '${sbindir}', 'GENTOO_MIRROR': 'http://distfiles.gentoo.org/distfiles', 'CO_DIR': '${DL_DIR}', 'bindir': '${exec_prefix}/bin', 'PREFERRED_VERSION_opie-alarm': '${OPIE_VERSION}', 'TARGET_VENDOR': '-angstrom', 'TOOLCHAIN_BRAND': '', 'PREFERRED_VERSION_openjdk-6-jre': '6b18-1.8', 'PREFERRED_VERSION_opie-autorotateapplet': '${OPIE_VERSION}', 'STAGING_INCDIR': '${STAGING_DIR_HOST}${includedir}', 'EXTRA_IMAGECMD_ubifs': '', 'BB_ENV_EXTRAWHITE': 'OE_HOME OE_ROOT', 'oefatal': '\techo "FATAL:" "$*"\n\texit 1\n', 'exec_prefix': '/usr', 'PREFERRED_VERSION_pango-native': '1.24.4', 'SDK_EXEEXT': '', 'PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++': 'gcc-cross', 'PREFERRED_VERSION_opie-todo': '${OPIE_VERSION}', 'PREFERRED_VERSION_automake': '1.11.1', 'PREFERRED_VERSION_opie-screenshotapplet': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-sh-snes': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_classpath': 'classpath', 'ANGSTROM_BLACKLIST_pn-libiconv': 'the glibc builtin iconv replacement is used', 'PREFERRED_VERSION_opie-clock': '${OPIE_VERSION}', 'KERNEL_CCSUFFIX_archos5': '-4.2.1+csl-arm-2007q3-53', 'PREFERRED_VERSION_opie-mediaplayer1': '${OPIE_VERSION}', 'FETCHCMD_svn': '/usr/bin/env svn --non-interactive', 'PREFERRED_VERSION_opie-helpbrowser': '${OPIE_VERSION}', 'PSTAGE_PKGPATH': '${DISTRO}${PSTAGE_EXTRAPATH}', 'TERMCMDRUN': '${GNOME_TERMCMDRUN}', 'PREFERRED_VERSION_openssl': '1.0.0a', 'PREFERRED_VERSION_opie-mediaplayer2-skin-default': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_virtual/kernel': 'linux', 'IPKGCONF_CANSDK': '${STAGING_ETCDIR_NATIVE}/opkg-canadian-sdk.conf', 'DEPENDS_virtclass-nativesdk': None, 'PSTAGE_LIST_CMD': '${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -o ${TMPDIR} list_installed', 'PREFERRED_VERSION_pkgconfig': '0.23', 'CCLD': '${CC}', 'SRCREV_pn-xf86-video-psb': 'b6b3bba06fe5a3fe0b1bd6e31a7369dd83812bab', 'PREFERRED_VERSION_gcc': '${ANGSTROM_GCC_VERSION}', 'SELECTED_OPTIMIZATION': "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}", 'KERNEL': 'kernel26', 'PREFERRED_VERSION_opie-odict': '${OPIE_VERSION}', 'TARGET_FPU_arm': 'soft', 'DEBIAN_NAMES': '1', 'PREFERRED_PROVIDER_qt4-embedded': 'qt4-embedded', 'PSTAGE_TMPDIR_STAGE': '${WORKDIR}/staging-pkg', 'DEPCHAIN_POST': '-dev -dbg', 'QA_LOG': '1', 'PREFERRED_VERSION_ti-lpm-module': '1_24_01', 'SRCREV_pn-json-glib': '930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8', 'PREFERRED_VERSION_opie-aboutapplet': '${OPIE_VERSION}', 'LDFLAGS_pn-libgupnp': '-pg ', 'IMAGE_NAME': '${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${ANGSTROM_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}', 'PREFERRED_VERSION_opie-light-and-power': '${OPIE_VERSION}', 'PREFERRED_VERSION_ti-codecs_omapl138': '1_00_00', 'GROUP_packaging': None, 'PREFERRED_VERSION_ti-codecs_omapl137': '1_00_00', 'PREFERRED_VERSION_qt4-embedded': '${ANGSTROM_QT_VERSION}', 'OVERRIDES': 'local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:${FEED_ARCH}:${SOC_FAMILY}:libc-glibc', 'TARGET_FPU_ppc405': 'soft', 'INHERIT': ' devshell src_distribute_local debian sanity angstrom devshell angstrom-mirrors insane recipe_sanity testlab package_ipk sanity', 'ANGSTROM_GCC_VERSION_armv4': '4.4.2', 'PREFERRED_VERSION_gtk+-native': '2.20.1', 'SDK_SYS': "${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''][bb.data.getVar('SDK_OS', d, 1) == ('' or 'custom')]}", 'PREFERRED_VERSION_libgpephone': '0.4', 'IMAGE_CMD_ext2': 'genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}', 'IMAGE_CMD_ext3': 'genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3', 'ASSUME_SHLIBS': None, 'base_libdir': '${base_prefix}/lib', 'FETCHCMD_wget': '/usr/bin/env wget -t 5 --no-check-certificate', 'STAGING_IDLDIR': '${STAGING_DATADIR}/idl', 'UBOOT_ENTRYPOINT': '0x48008000', 'PREFERRED_PROVIDER_xserver': 'xserver-xorg', 'oe_libinstall': '\t# Purpose: Install a library, in all its forms\n\t# Example\n\t#\n\t# oe_libinstall libltdl ${STAGING_LIBDIR}/\n\t# oe_libinstall -C src/libblah libblah ${D}/${libdir}/\n\tdir=""\n\tlibtool=""\n\tsilent=""\n\trequire_static=""\n\trequire_shared=""\n\tstaging_install=""\n\twhile [ "$#" -gt 0 ]; do\n\t\tcase "$1" in\n\t\t-C)\n\t\t\tshift\n\t\t\tdir="$1"\n\t\t\t;;\n\t\t-s)\n\t\t\tsilent=1\n\t\t\t;;\n\t\t-a)\n\t\t\trequire_static=1\n\t\t\t;;\n\t\t-so)\n\t\t\trequire_shared=1\n\t\t\t;;\n\t\t-*)\n\t\t\toefatal "oe_libinstall: unknown option: $1"\n\t\t\t;;\n\t\t*)\n\t\t\tbreak;\n\t\t\t;;\n\t\tesac\n\t\tshift\n\tdone\n\n\tlibname="$1"\n\tshift\n\tdestpath="$1"\n\tif [ -z "$destpath" ]; then\n\t\toefatal "oe_libinstall: no destination path specified"\n\tfi\n\tif echo "$destpath/" | egrep \'^${STAGING_LIBDIR}/\' >/dev/null\n\tthen\n\t\tstaging_install=1\n\tfi\n\n\t__runcmd () {\n\t\tif [ -z "$silent" ]; then\n\t\t\techo >&2 "oe_libinstall: $*"\n\t\tfi\n\t\t$*\n\t}\n\n\tif [ -z "$dir" ]; then\n\t\tdir=`pwd`\n\tfi\n\n\tdotlai=$libname.lai\n\n\t# Sanity check that the libname.lai is unique\n\tnumber_of_files=`(cd $dir; find . -name "$dotlai") | wc -l`\n\tif [ $number_of_files -gt 1 ]; then\n\t\toefatal "oe_libinstall: $dotlai is not unique in $dir"\n\tfi\n\n\n\tdir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\\.//;s/\\/$dotlai\\$//;q"`\n\tolddir=`pwd`\n\t__runcmd cd $dir\n\n\tlafile=$libname.la\n\n\t# If such file doesn\'t exist, try to cut version suffix\n\tif [ ! -f "$lafile" ]; then\n\t\tlibname1=`echo "$libname" | sed \'s/-[0-9.]*$//\'`\n\t\tlafile1=$libname.la\n\t\tif [ -f "$lafile1" ]; then\n\t\t\tlibname=$libname1\n\t\t\tlafile=$lafile1\n\t\tfi\n\tfi\n\n\tif [ -f "$lafile" ]; then\n\t\t# libtool archive\n\t\teval `cat $lafile|grep "^library_names="`\n\t\tlibtool=1\n\telse\n\t\tlibrary_names="$libname.so* $libname.dll.a"\n\tfi\n\n\t__runcmd install -d $destpath/\n\tdota=$libname.a\n\tif [ -f "$dota" -o -n "$require_static" ]; then\n\t\t__runcmd install -m 0644 $dota $destpath/\n\tfi\n\tif [ -f "$dotlai" -a -n "$libtool" ]; then\n\t\tif test -n "$staging_install"\n\t\tthen\n\t\t\t# stop libtool using the final directory name for libraries\n\t\t\t# in staging:\n\t\t\t__runcmd rm -f $destpath/$libname.la\n\t\t\t__runcmd sed -e \'s/^installed=yes$/installed=no/\' \\\n\t\t\t\t     -e \'/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\\._+-]*/\\([[:alnum:]\\._+-]*\\),${STAGING_LIBDIR}/\\1,g\' \\\n\t\t\t\t     -e "/^dependency_libs=/s,\\([[:space:]\']\\)${libdir},\\1${STAGING_LIBDIR},g" \\\n\t\t\t\t     $dotlai >$destpath/$libname.la\n\t\telse\n\t\t\t__runcmd install -m 0644 $dotlai $destpath/$libname.la\n\t\tfi\n\tfi\n\n\tfor name in $library_names; do\n\t\tfiles=`eval echo $name`\n\t\tfor f in $files; do\n\t\t\tif [ ! -e "$f" ]; then\n\t\t\t\tif [ -n "$libtool" ]; then\n\t\t\t\t\toefatal "oe_libinstall: $dir/$f not found."\n\t\t\t\tfi\n\t\t\telif [ -L "$f" ]; then\n\t\t\t\t__runcmd cp -P "$f" $destpath/\n\t\t\telif [ ! -L "$f" ]; then\n\t\t\t\tlibfile="$f"\n\t\t\t\t__runcmd install -m 0755 $libfile $destpath/\n\t\t\tfi\n\t\tdone\n\tdone\n\n\tif [ -z "$libfile" ]; then\n\t\tif  [ -n "$require_shared" ]; then\n\t\t\toefatal "oe_libinstall: unable to locate shared library"\n\t\tfi\n\telif [ -z "$libtool" ]; then\n\t\t# special case hack for non-libtool .so.#.#.# links\n\t\tbaselibfile=`basename "$libfile"`\n\t\tif (echo $baselibfile | grep -qE \'^lib.*\\.so\\.[0-9.]*$\'); then\n\t\t\tsonamelink=`${HOST_PREFIX}readelf -d $libfile |grep \'Library soname:\' |sed -e \'s/.*\\[\\(.*\\)\\].*/\\1/\'`\n\t\t\tsolink=`echo $baselibfile | sed -e \'s/\\.so\\..*/.so/\'`\n\t\t\tif [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then\n\t\t\t\t__runcmd ln -sf $baselibfile $destpath/$sonamelink\n\t\t\tfi\n\t\t\t__runcmd ln -sf $baselibfile $destpath/$solink\n\t\tfi\n\tfi\n\n\t__runcmd cd "$olddir"\n', 'SCENEFUNCS': ' packagestage_scenefunc base_scenefunction', 'BPN': "${@base_prune_suffix('${PN}', '${SPECIAL_PKGSUFFIX}'.split(), d)}", 'LOGNAME': 'sledz', 'PATH': '/opt/bitbake/bin:/opt/avr/bin/:/opt/avr/bin/:/home/DRESEARCH/sledz/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/usr/sbin:/sbin:/usr/sbin:/sbin', 'PREFERRED_PROVIDER_gnome-vfs-plugin-file': 'gnome-vfs', 'PREFERRED_VERSION_opie-appearance': '${OPIE_VERSION}', 'TARGET_CFLAGS': '${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}', 'base_bindir': '${base_prefix}/bin', 'layout_sharedstatedir': '${sharedstatedir}', 'PREFERRED_VERSION_jamvm': '1.5.2', 'IMAGE_CMD_ext3.bz2': 'install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2', 'layout_infodir': '${infodir}', 'PREFERRED_VERSION_opie-backgammon': '${OPIE_VERSION}', 'ARM_INSTRUCTION_SET_pn-uclibc': 'arm', 'IMAGE_CMD_yaffs2': 'mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2', 'IMAGE_DEPENDS_cramfs': 'cramfs-native', 'SEPPUKU_COMPONENT': 'org.openembedded.dev', 'MACHINE': 'hipox', 'GITDIR': '${CO_DIR}/git', 'do_package_qa': '    bb.debug(2, "DO PACKAGE QA")\n    pkgdest = bb.data.getVar(\'PKGDEST\', d, True)\n    packages = bb.data.getVar(\'PACKAGES\',d, True)\n\n    # no packages should be scanned\n    if not packages:\n        return\n\n    checks = [package_qa_check_rpath, package_qa_check_dev,\n              package_qa_check_perm, package_qa_check_arch,\n              package_qa_check_desktop, package_qa_hash_style,\n              package_qa_check_dbg]\n    walk_sane = True\n    rdepends_sane = True\n    for package in packages.split():\n        if bb.data.getVar(\'INSANE_SKIP_\' + package, d, True):\n            bb.note("package %s skipped" % package)\n            continue\n\n        bb.debug(1, "Checking Package: %s" % package)\n        path = "%s/%s" % (pkgdest, package)\n        if not package_qa_walk(path, checks, package, d):\n            walk_sane  = False\n        if not package_qa_check_rdepends(package, pkgdest, d):\n            rdepends_sane = False\n\n    if not walk_sane or not rdepends_sane:\n        bb.fatal("QA run found fatal errors. Please consider fixing them.")\n    bb.debug(2, "DONE with PACKAGE QA")\n', 'prefix_native': '/usr', 'SECTION_${PN}-dev': 'devel', 'base_sbindir_native': '/sbin', 'STAGING_DATADIR_JAVA': '${STAGING_DIR_JAVA}', 'sbindir': '${exec_prefix}/sbin', 'PREFERRED_VERSION_opie-taskbar': '${OPIE_VERSION}', 'CFLAGS': '${TARGET_CFLAGS}', 'PREFERRED_VERSION_opie-showimg': '${OPIE_VERSION}', 'BUILD_AR': '${BUILD_PREFIX}ar', 'AUTO_LIBNAME_PKGS': '${PACKAGES}', 'PREFERRED_VERSION_wpa-supplicant': '0.6.9', 'layout_base_libdir': '${base_libdir}', 'PREFERRED_PROVIDER_virtual/libqpe1': 'libqpe-opie', 'IPKG_VARIANT': 'opkg angstrom-version ${ANGSTROM_FEED_CONFIGS}', 'SHLIBSDIR': '${STAGING_DIR_HOST}/shlibs', 'sharedstatedir': '${base_prefix}/com', 'PREFERRED_VERSION_ti-dsplink': '1_64', 'DEBIAN_MIRROR': 'ftp://ftp.debian.org/debian/pool', 'PREFERRED_PROVIDER_virtual/libc': 'glibc', 'DEFAULT_TASK_PROVIDER': 'task-base', 'PREFERRED_VERSION_opie-sheet': '${OPIE_VERSION}', '__BBTASKS': ['do_patch', 'do_populate_sysroot', 'do_package_stage', 'do_package_stage_all', 'do_listtasks', 'do_clean', 'do_cleanall', 'do_rebuild', 'do_distclean', 'do_checkuri', 'do_checkuriall', 'do_fetchall', 'do_buildall', 'do_setscene', 'do_fetch', 'do_unpack', 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_devshell', 'do_distribute_sources', 'do_distribute_sources_all', 'do_distsrcall', 'do_package', 'do_package_write', 'do_qa_staging', 'do_qa_configure', 'do_recipe_sanity', 'do_recipe_sanity_all', 'do_package_write_ipk', 'do_package_update_index_ipk'], 'F77': '${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}', 'PREFERRED_VERSION_ti-cgt6x': '6_1_9', 'PREFERRED_VERSION_opie-volumeapplet': '${OPIE_VERSION}', 'KERNEL_IMAGETYPE': 'uImage', 'IMAGE_LINGUAS': '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}', 'PREFERRED_VERSION_opie-multikey': '${OPIE_VERSION}', 'ENABLE_BINARY_LOCALE_GENERATION_ep9312': '0', 'PARALLEL_MAKE': '-j 4', 'PREFERRED_VERSION_opie-examples': '${OPIE_VERSION}', 'STAGING_DIR_JAVA': '${STAGING_DIR}/java', 'PREFERRED_PROVIDER_hostap-modules_hx4700': 'hostap-modules', 'PREFERRED_VERSION_linux-libc-headers': '${LINUX_LIBC_HEADERS_VERSION}', 'EFL_SRCREV': '52678', 'PN': "${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[0] or 'defaultpkgname'}", 'OBJDUMP': '${HOST_PREFIX}objdump', 'IMAGE_BASENAME': '${PN}', 'PATCHTOOL': 'quilt', 'XORG_MIRROR': 'http://xorg.freedesktop.org/releases', 'SYSROOT_DESTDIR': '${WORKDIR}/sysroot-destdir/', 'PREFERRED_VERSION_opie-calibrate': '${OPIE_VERSION}', 'TINDER_LOG': '${TMPDIR}/tinder.log', 'PREFERRED_VERSION_opie-pimconverter': '${OPIE_VERSION}', 'SPECIAL_PKGSUFFIX': '-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian -sdk', 'BUILD_EXEEXT': '', 'PREFERRED_VERSION_opie-homeapplet': '${OPIE_VERSION}', 'SRC_DISTRIBUTECOMMAND-symlink': '    test -e "${SRC}.md5" && ln -sf "${SRC}.md5" .\n    ln -sf "${SRC}" .\n', 'DL_DIR': '${HOME}/sources', 'PREFERRED_PROVIDER_gpsd': 'gpsd', 'EXEEXT': '${HOST_EXEEXT}', 'PR': "${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[2] or 'r0'}", 'PV': "${@bb.parse.BBHandler.vars_from_file('${FILE}', d)[1] or '1.0'}", 'SOLIBSDEV': '.so', 'PSTAGE_PKGNAME': '${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk', 'PREFERRED_VERSION_myththemes': '0.22', 'SDK_PREFIX': '${SDK_SYS}-', 'PKGDEST': '${WORKDIR}/packages-split', '__anonymous': None, 'PF': '${PN}-${EXTENDPE}${PV}-${PR}', 'STAGING_BINDIR_NATIVE': '${STAGING_DIR_NATIVE}${bindir_native}', 'PE': '0', 'PSTAGE_REMOVE_CMD': '${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${TMPDIR} remove', 'PREFERRED_VERSION_ti-dm365mm-module': '1_0_3', 'DISTRO': 'angstrom', 'TARGET_FPU_armeb': 'soft', 'PREFERRED_VERSION_opie-tableviewer': '${OPIE_VERSION}', 'PREFERRED_VERSION_autoconf': '2.65', 'DISTRO_VERSION': '2010.7-test-${DATE}', 'S': '${WORKDIR}/${BP}', 'PREFERRED_VERSION_mesa-xlib': '7.6', 'sysroot_stage_all': '\tsysroot_stage_dirs ${D} ${SYSROOT_DESTDIR}\n', 'STAGING_KERNEL_DIR': '${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel', 'PREFERRED_VERSION_opie-zlines': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_linux-libc-headers': 'linux-libc-headers', 'layout_localstatedir': '${localstatedir}', 'QEMU_OPTIONS_armv7a': '-cpu cortex-a8', 'ADOBE_MIRROR': 'http://fpdownload.macromedia.com/get/flashplayer/current/', 'PREFERRED_VERSION_opie-memoryapplet': '${OPIE_VERSION}', 'PKG_CONFIG_DIR': '${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig', 'PREFERRED_VERSION_udev': '141', 'SRCREV': '1', 'SRCREV_pn-bickley': 'de9431b7c6040bc3731157c05947159ad2c7a0a9', 'PREFERRED_VERSION_opie-irc': '${OPIE_VERSION}', 'do_package': "\tbb.build.exec_func('insane_do_package', d)\n", 'TARGET_SYS': "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}", 'PREFERRED_VERSION_ti-codecs-dm365': '3_10_00_02', 'DEPLOY_DIR_TAR': '${DEPLOY_DIR}/tar', 'EXTRA_IMAGECMD_jffs2': '', 'PKG_CONFIG_DISABLE_UNINSTALLED': 'yes', 'BBFILE_PRIORITY_localcommon': '9', 'PREFERRED_VERSION_cairo': '1.10.0', 'XSERVER': 'xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev', 'PREFERRED_VERSION_opie-tetrix': '${OPIE_VERSION}', 'do_package_stage': '    if bb.data.getVar("PSTAGING_ACTIVE", d, 1) != "1":\n        return\n\n    #\n    # Handle deploy/ packages\n    #\n    bb.build.exec_func("read_subpackage_metadata", d)\n    stagepath = bb.data.getVar("PSTAGE_TMPDIR_STAGE", d, 1)\n    tmpdir = bb.data.getVar("TMPDIR", d, True)\n    packages = (bb.data.getVar(\'PACKAGES\', d, 1) or "").split()\n    if len(packages) > 0:\n        if bb.data.inherits_class(\'package_ipk\', d):\n            ipkpath = bb.data.getVar(\'DEPLOY_DIR_IPK\', d, True).replace(tmpdir, stagepath)\n        if bb.data.inherits_class(\'package_deb\', d):\n            debpath = bb.data.getVar(\'DEPLOY_DIR_DEB\', d, True).replace(tmpdir, stagepath)\n        if bb.data.inherits_class(\'package_rpm\', d):\n            rpmpath = bb.data.getVar(\'DEPLOY_DIR_RPM\', d, True).replace(tmpdir, stagepath)\n\n        for pkg in packages:\n            pkgname = bb.data.getVar(\'PKG_%s\' % pkg, d, 1)\n            if not pkgname:\n                pkgname = pkg\n            arch = bb.data.getVar(\'PACKAGE_ARCH_%s\' % pkg, d, 1)\n            if not arch:\n                arch = bb.data.getVar(\'PACKAGE_ARCH\', d, 1)\n            pr = bb.data.getVar(\'PR_%s\' % pkg, d, 1)\n            if not pr:\n                pr = bb.data.getVar(\'PR\', d, 1)\n            if not packaged(pkg, d):\n                continue\n            if bb.data.inherits_class(\'package_ipk\', d):\n                srcname = bb.data.expand(pkgname + "_${PKGV}-" + pr + "${DISTRO_PR}" + "_" + arch + ".ipk", d)\n                srcfile = bb.data.expand("${DEPLOY_DIR_IPK}/" + arch + "/" + srcname, d)\n                if os.path.exists(srcfile):\n                    destpath = ipkpath + "/" + arch + "/"\n                    bb.mkdirhier(destpath)\n                    bb.copyfile(srcfile, destpath + srcname)\n\n            if bb.data.inherits_class(\'package_deb\', d):\n                if arch == \'all\':\n                    srcname = bb.data.expand(pkgname + "_${PV}-" + pr + "${DISTRO_PR}" + "_all.deb", d)\n                else:\n                    srcname = bb.data.expand(pkgname + "_${PV}-" + pr + "${DISTRO_PR}" + "_${DPKG_ARCH}.deb", d)\n                srcfile = bb.data.expand("${DEPLOY_DIR_DEB}/" + arch + "/" + srcname, d)\n                if os.path.exists(srcfile):\n                    destpath = debpath + "/" + arch + "/"\n                    bb.mkdirhier(destpath)\n                    bb.copyfile(srcfile, destpath + srcname)\n\n            if bb.data.inherits_class(\'package_rpm\', d):\n\t\tversion = bb.data.getVar(\'PV\', d, 1)\n\t\tversion = version.replace(\'-\', \'+\')\n\t\tbb.data.setVar(\'RPMPV\', version, d)\n                srcname = bb.data.expand(pkgname + "-${RPMPV}-" + pr + "${DISTRO_PR}" + ".${TARGET_ARCH}.rpm", d)\n                srcfile = bb.data.expand("${DEPLOY_DIR_RPM}/" + arch + "/" + srcname, d)\n                if os.path.exists(srcfile):\n                    destpath = rpmpath + "/" + arch + "/"\n                    bb.mkdirhier(destpath)\n                    bb.copyfile(srcfile, destpath + srcname)\n\n\n    #\n    # Handle stamps/ files\n    #\n    stampfn = bb.data.getVar("STAMP", d, True)\n    destdir = os.path.dirname(stampfn.replace(tmpdir, stagepath))\n    bb.mkdirhier(destdir)\n    # We need to include the package_stage stamp in the staging package so create one\n    bb.build.make_stamp("do_package_stage", d)\n    oe_run(d, "cp -dpR %s.do_* %s/" % (stampfn, destdir))\n\n    pstage_set_pkgmanager(d)\n    bb.build.exec_func("staging_helper", d)\n    bb.build.exec_func("staging_packager", d)\n    lf = bb.utils.lockfile(bb.data.expand("${SYSROOT_LOCK}", d))\n    bb.build.exec_func("staging_package_installer", d)\n    bb.utils.unlockfile(lf)\n', 'PREFERRED_VERSION_opie-sh': '${OPIE_VERSION}', 'libdir': '${exec_prefix}/lib', 'LINUX_LIBC_HEADERS_VERSION': '2.6.31', 'SPLASH': ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}', 'IMAGE_CMD_jffs2': 'mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}', 'layout_base_prefix': '${base_prefix}', 'ALLOW_EMPTY_${PN}-dev': '1', 'PREFERRED_VERSION_hal': '0.5.14', 'SRC_DISTRIBUTE_DLONLY': '0', 'layout_mandir': '${mandir}', 'METADATA_BRANCH': '${@base_get_scm_branch(d)}', 'SYSROOT_PREPROCESS_FUNCS': '', 'PREFERRED_VERSION_tiff': '3.9.2+4.0.0beta5', 'PREFERRED_VERSION_opie-sysinfo': '${OPIE_VERSION}', 'SEPPUKU_ATTACHMENT': 'http://bugs.openembedded.net/attachment.cgi?', 'BB_DEFAULT_TASK': 'build', 'oe_import': '    if isinstance(e, bb.event.ConfigParsed):\n        import os, sys\n        bbpath = e.data.getVar("BBPATH", True).split(":")\n        sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath]\n\n        def inject(name, value):\n            """Make a python object accessible from the metadata"""\n            if hasattr(bb.utils, "_context"):\n                bb.utils._context[name] = value\n            else:\n                __builtins__[name] = value\n\n        for toimport in e.data.getVar("OE_IMPORTS", True).split():\n            imported = __import__(toimport)\n            inject(toimport.split(".", 1)[0], imported)\n', 'PREFERRED_VERSION_opie-mail': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-embeddedkonsole': '${OPIE_VERSION}', 'TOOLCHAIN_OPTIONS': '', 'BB_NUMBER_THREADS': '4', 'PREFERRED_VERSION_opie-oxygen': '${OPIE_VERSION}', 'IMAGE_DEPENDS_ext3': 'genext2fs-native e2fsprogs-native', 'IMAGE_DEPENDS_ext2': 'genext2fs-native', 'PREFERRED_VERSION_opie-today-todolistplugin': '${OPIE_VERSION}', 'PYTHON': '${@sys.executable}', 'CACHE': '/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/cache/glibc/hipox', 'PREFERRED_PROVIDER_virtual/libx11': 'libx11', 'TARGET_PREFIX': '${TARGET_SYS}-', 'SRCPV': '${@bb.fetch.get_srcrev(d)}', 'ANGSTROM_GCC_VERSION': '4.3.3', 'PREFERRED_VERSION_opie-eye': '${OPIE_VERSION}', 'do_unpack': "\tbb.build.exec_func('base_do_unpack', d)\n", 'PREFERRED_PROVIDER_gnome-vfs': 'gnome-vfs', '__recipe_sanity_reqvars': 'DESCRIPTION', 'PREFERRED_VERSION_opie-bounce': '${OPIE_VERSION}', 'PREFERRED_VERSION_libopieobex0': '${OPIE_VERSION}', 'PACKAGE_ARCHS': 'all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}', 'PREFERRED_VERSION_lighttpd': '1.4.26', 'PREFERRED_VERSION_opie-sfcave': '${OPIE_VERSION}', 'PACKAGE_ARCH': '${BASE_PACKAGE_ARCH}', 'BUILDNAME': 'Angstrom ${DISTRO_VERSION}', 'PREFERRED_VERSION_opie-pyquicklaunchapplet': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-ani': 'gtk+', 'do_install': '\tbase_do_install\n', 'PREFERRED_VERSION_network-manager-applet': '0.8.1', 'MACHINE_ESSENTIAL_EXTRA_RDEPENDS': '', 'PREFERRED_VERSION_opie-datebook-birthdayplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-securityplugin-pin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-icon-reload': '${OPIE_VERSION}', 'ANGSTROM_ARM_INSTRUCTION_SET': 'arm', 'PREFERRED_VERSION_opie-qasteroids': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_bluez-utils': 'bluez4', 'METADATA_SCM': '${@base_get_scm(d)}', 'PREFERRED_VERSION_opie-securityplugin-notice': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-style-fresh': '${OPIE_VERSION}', 'PACKAGEFUNCS': 'perform_packagecopy                 ${PACKAGE_PREPROCESS_FUNCS} \t\tpackage_do_split_locales \t\tpopulate_packages \t\tpackage_do_shlibs \t\tpackage_do_pkgconfig \t\tread_shlibdeps \t\tpackage_depchains \t\temit_pkgdata  do_package_qa ', 'PREFERRED_VERSION_mesa-dri': '7.6', 'PWD': '/home/DRESEARCH/sledz/work/HydraIP/OE', 'BZRDIR': '${CO_DIR}/bzr', 'PREMIRRORS_append': None, 'oenote': '\techo "NOTE:" "$*"\n', 'GPE_SVN': 'svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}', 'EXTRA_IMAGECMD_squashfs-lzma': '', 'IMAGE_DEPENDS_yaffs2': 'yaffs2-utils-native', 'do_package_write': '\t:\n', 'PREFERRED_PROVIDER_virtual/db-native': 'db-native', 'SOLIBS_darwin': '.*.dylib', 'PREFERRED_PROVIDER_virtual/db': 'db', 'BP': '${BPN}-${PV}', 'base_do_unpack': '    from glob import glob\n\n    src_uri = d.getVar("SRC_URI", True)\n    if not src_uri:\n        return\n    srcurldata = bb.fetch.init(src_uri.split(), d, True)\n    filespath = d.getVar("FILESPATH", True).split(":")\n\n    for url in src_uri.split():\n        urldata = srcurldata[url]\n        if urldata.type == "file" and "*" in urldata.path:\n            # The fetch code doesn\'t know how to handle globs, so\n            # we need to handle the local bits ourselves\n            for path in filespath:\n                srcdir = oe.path.join(path, urldata.host,\n                                      os.path.dirname(urldata.path))\n                if os.path.exists(srcdir):\n                    break\n            else:\n                bb.fatal("Unable to locate files for %s" % url)\n\n            for filename in glob(oe.path.join(srcdir,\n                                              os.path.basename(urldata.path))):\n                oe_unpack(d, filename, urldata)\n        else:\n            local = urldata.localpath\n            if not local:\n                raise bb.build.FuncFailed(\'Unable to locate local file for %s\' % url)\n\n            oe_unpack(d, local, urldata)\n', '__recipe_sanity_reqdiffvars': 'LICENSE', 'recipe_sanity_eh': '    from bb.event import getName\n\n    if getName(e) != "ConfigParsed":\n        return\n\n    d = e.data\n\n    cfgdata = {}\n    for k in d.keys():\n    #for k in ["S", "PR", "PV", "PN", "DESCRIPTION", "LICENSE", "DEPENDS",\n    #          "SECTION"]:\n        cfgdata[k] = d.getVar(k, 0)\n\n    d.setVar("__recipe_sanity_cfgdata", cfgdata)\n    #d.setVar("__recipe_sanity_cfgdata", d)\n\n    # Sick, very sick..\n    from bb.data_smart import DataSmart\n    old = DataSmart.renameVar\n    def myrename(self, key, newkey):\n        oldvalue = self.getVar(newkey, 0)\n        old(self, key, newkey)\n        newvalue = self.getVar(newkey, 0)\n        if oldvalue:\n            renames = self.getVar("__recipe_sanity_renames", 0) or set()\n            renames.add((key, newkey, oldvalue, newvalue))\n            self.setVar("__recipe_sanity_renames", renames)\n    DataSmart.renameVar = myrename\n', 'PREFERRED_VERSION_opie-mediaplayer2-skin-pod': '${OPIE_VERSION}', 'sysroot_stage_dirs': '\tfrom="$1"\n\tto="$2"\n\n\tsysroot_stage_dir $from${includedir} $to${STAGING_INCDIR}\n\tif [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then\n\t\tsysroot_stage_dir $from${bindir} $to${STAGING_DIR_HOST}${bindir}\n\t\tsysroot_stage_dir $from${sbindir} $to${STAGING_DIR_HOST}${sbindir}\n\t\tsysroot_stage_dir $from${base_bindir} $to${STAGING_DIR_HOST}${base_bindir}\n\t\tsysroot_stage_dir $from${base_sbindir} $to${STAGING_DIR_HOST}${base_sbindir}\n\t\tsysroot_stage_dir $from${libexecdir} $to${STAGING_DIR_HOST}${libexecdir}\n\t\tsysroot_stage_dir $from${sysconfdir} $to${STAGING_DIR_HOST}${sysconfdir}\n\t\tif [ "${prefix}/lib" != "${libdir}" ]; then\n\t\t\t# python puts its files in here, make sure they are staged as well\n\t\t\tsysroot_stage_dir $from/${prefix}/lib $to${STAGING_DIR_HOST}${prefix}/lib\n\t\tfi\n\tfi\n\tif [ -d $from${libdir} ]\n\tthen\n\t\tsysroot_stage_libdir $from/${libdir} $to${STAGING_LIBDIR}\n\tfi\n\tif [ -d $from${base_libdir} ]\n\tthen\n\t\tsysroot_stage_libdir $from${base_libdir} $to${STAGING_DIR_HOST}${base_libdir}\n\tfi\n\tsysroot_stage_dir $from${datadir} $to${STAGING_DATADIR}\n\tsysroot_stage_dir $from${sysconfdir} $to${STAGING_ETCDIR}\n', 'SHELL': '/bin/bash', 'do_clean_prepend': None, 'PREFERRED_VERSION_uclibc': '0.9.30.2', 'PREFERRED_VERSION_opie-pickboard': '${OPIE_VERSION}', 'DEPLOY_DIR': '${TMPDIR}/deploy/${LIBC}', 'TARGET_FPU_ixp4xx': 'soft', 'PREFERRED_VERSION_cacao': '0.99.3', 'FULL_OPTIMIZATION_sparc': '-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2', 'palmqtdir': '${palmtopdir}', 'SOURCE_MIRROR_FETCH': None, 'ARM_THUMB_M_OPT': "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}", 'PREFERRED_PROVIDER_ntp': 'ntp', 'PREFERRED_VERSION_classpath-native': '0.98', 'TARGET_CC_ARCH_pn-webkit-gtk_armv5te': '-march=armv4t', 'PSTAGE_EXTRAPATH': '${LIBC}', 'package_do_pkgconfig': '\timport re\n\n\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, True)\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, True)\n\n\tshlibs_dir = bb.data.getVar(\'SHLIBSDIR\', d, True)\n\tbb.mkdirhier(shlibs_dir)\n\n\tpc_re = re.compile(\'(.*)\\.pc$\')\n\tvar_re = re.compile(\'(.*)=(.*)\')\n\tfield_re = re.compile(\'(.*): (.*)\')\n\n\tpkgconfig_provided = {}\n\tpkgconfig_needed = {}\n\tfor pkg in packages.split():\n\t\tpkgconfig_provided[pkg] = []\n\t\tpkgconfig_needed[pkg] = []\n\t\ttop = os.path.join(pkgdest, pkg)\n\t\tfor root, dirs, files in os.walk(top):\n\t\t\tfor file in files:\n\t\t\t\tm = pc_re.match(file)\n\t\t\t\tif m:\n\t\t\t\t\tpd = bb.data.init()\n\t\t\t\t\tname = m.group(1)\n\t\t\t\t\tpkgconfig_provided[pkg].append(name)\n\t\t\t\t\tpath = os.path.join(root, file)\n\t\t\t\t\tif not os.access(path, os.R_OK):\n\t\t\t\t\t\tcontinue\n\t\t\t\t\tf = open(path, \'r\')\n\t\t\t\t\tlines = f.readlines()\n\t\t\t\t\tf.close()\n\t\t\t\t\tfor l in lines:\n\t\t\t\t\t\tm = var_re.match(l)\n\t\t\t\t\t\tif m:\n\t\t\t\t\t\t\tname = m.group(1)\n\t\t\t\t\t\t\tval = m.group(2)\n\t\t\t\t\t\t\tbb.data.setVar(name, bb.data.expand(val, pd), pd)\n\t\t\t\t\t\t\tcontinue\n\t\t\t\t\t\tm = field_re.match(l)\n\t\t\t\t\t\tif m:\n\t\t\t\t\t\t\thdr = m.group(1)\n\t\t\t\t\t\t\texp = bb.data.expand(m.group(2), pd)\n\t\t\t\t\t\t\tif hdr == \'Requires\':\n\t\t\t\t\t\t\t\tpkgconfig_needed[pkg] += exp.replace(\',\', \' \').split()\n\n\tpstageactive = bb.data.getVar(\'PSTAGING_ACTIVE\', d, True)\n\tif pstageactive == "1":\n\t\tlf = bb.utils.lockfile(bb.data.expand("${STAGING_DIR}/staging.lock", d))\n\n\tfor pkg in packages.split():\n\t\tpkgs_file = os.path.join(shlibs_dir, pkg + ".pclist")\n\t\tif os.path.exists(pkgs_file):\n\t\t\tos.remove(pkgs_file)\n\t\tif pkgconfig_provided[pkg] != []:\n\t\t\tf = open(pkgs_file, \'w\')\n\t\t\tfor p in pkgconfig_provided[pkg]:\n\t\t\t\tf.write(\'%s\\n\' % p)\n\t\t\tf.close()\n\t\t\tpackage_stagefile(pkgs_file, d)\n\n\tfor dir in [shlibs_dir]:\n\t\tif not os.path.exists(dir):\n\t\t\tcontinue\n\t\tfor file in os.listdir(dir):\n\t\t\tm = re.match(\'^(.*)\\.pclist$\', file)\n\t\t\tif m:\n\t\t\t\tpkg = m.group(1)\n\t\t\t\tfd = open(os.path.join(dir, file))\n\t\t\t\tlines = fd.readlines()\n\t\t\t\tfd.close()\n\t\t\t\tpkgconfig_provided[pkg] = []\n\t\t\t\tfor l in lines:\n\t\t\t\t\tpkgconfig_provided[pkg].append(l.rstrip())\n\n\tfor pkg in packages.split():\n\t\tdeps = []\n\t\tfor n in pkgconfig_needed[pkg]:\n\t\t\tfound = False\n\t\t\tfor k in pkgconfig_provided.keys():\n\t\t\t\tif n in pkgconfig_provided[k]:\n\t\t\t\t\tif k != pkg and not (k in deps):\n\t\t\t\t\t\tdeps.append(k)\n\t\t\t\t\tfound = True\n\t\t\tif found == False:\n\t\t\t\tbb.note("couldn\'t find pkgconfig module \'%s\' in any package" % n)\n\t\tdeps_file = os.path.join(pkgdest, pkg + ".pcdeps")\n\t\tif os.path.exists(deps_file):\n\t\t\tos.remove(deps_file)\n\t\tif len(deps):\n\t\t\tfd = open(deps_file, \'w\')\n\t\t\tfor dep in deps:\n\t\t\t\tfd.write(dep + \'\\n\')\n\t\t\tfd.close()\n\t\t\tpackage_stagefile(deps_file, d)\n\n\tif pstageactive == "1":\n\t\tbb.utils.unlockfile(lf)\n', 'BBINCLUDELOGS_LINES': None, 'USERDISTRO': 'angstrom-2008.1', 'base_eventhandler': '\tfrom bb import note, error, data\n\tfrom bb.event import getName\n\n\n\tname = getName(e)\n\tif name == "TaskCompleted":\n\t\tmsg = "package %s: task %s is complete." % (data.getVar("PF", e.data, 1), e.task)\n\telif name == "UnsatisfiedDep":\n\t\tmsg = "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower())\n\telse:\n\t\treturn\n\n\t# Only need to output when using 1.8 or lower, the UI code handles it\n\t# otherwise\n\tif (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8):\n\t\tif msg:\n\t\t\tnote(msg)\n\n\tif name.startswith("BuildStarted"):\n\t\tbb.data.setVar( \'BB_VERSION\', bb.__version__, e.data )\n\t\tstatusvars = bb.data.getVar("BUILDCFG_VARS", e.data, 1).split()\n\t\tstatuslines = ["%-17s = \\"%s\\"" % (i, bb.data.getVar(i, e.data, 1) or \'\') for i in statusvars]\n\t\tstatusmsg = "\\n%s\\n%s\\n" % (bb.data.getVar("BUILDCFG_HEADER", e.data, 1), "\\n".join(statuslines))\n\t\tprint statusmsg\n\n\t\tneeded_vars = bb.data.getVar("BUILDCFG_NEEDEDVARS", e.data, 1).split()\n\t\tpesteruser = []\n\t\tfor v in needed_vars:\n\t\t\tval = bb.data.getVar(v, e.data, 1)\n\t\t\tif not val or val == \'INVALID\':\n\t\t\t\tpesteruser.append(v)\n\t\tif pesteruser:\n\t\t\tbb.fatal(\'The following variable(s) were not set: %s\\nPlease set them directly, or choose a MACHINE or DISTRO that sets them.\' % \', \'.join(pesteruser))\n\n\t#\n\t# Handle removing stamps for \'rebuild\' task\n\t#\n\tif name.startswith("StampUpdate"):\n\t\tfor (fn, task) in e.targets:\n\t\t\t#print "%s %s" % (task, fn)\n\t\t\tif task == "do_rebuild":\n\t\t\t\tdir = "%s.*" % e.stampPrefix[fn]\n\t\t\t\tbb.note("Removing stamps: " + dir)\n\t\t\t\tos.system(\'rm -f \'+ dir)\n\t\t\t\tos.system(\'touch \' + e.stampPrefix[fn] + \'.needclean\')\n\n\tif not data in e.__dict__:\n\t\treturn\n\n\tlog = data.getVar("EVENTLOG", e.data, 1)\n\tif log:\n\t\tlogfile = file(log, "a")\n\t\tlogfile.write("%s\\n" % msg)\n\t\tlogfile.close()\n', 'PREFERRED_VERSION_opie-drawpad': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_virtual/libusb0': 'libusb-compat', 'BUILD_CC_ARCH': '', 'FETCHCOMMAND': 'ERROR, this must be a BitBake bug', 'palmtopdir': '${libdir}/opie', 'BB_STAMP_WHITELIST': '${PSTAGE_NATIVEDEPENDS}', 'PREFERRED_VERSION_opie-checkbook': '${OPIE_VERSION}', 'BBFILE_PRIORITY_upstream': '5', 'SRCREV_pn-moblin-menus': 'e1d63681739dd16195d005b3cf15752df294bd3c', 'PREFERRED_PROVIDER_util-linux': 'util-linux-ng', 'PREFERRED_VERSION_opie-freetype': '${OPIE_VERSION}', 'PREFERRED_VERSION_uclibc-initial': '0.9.30.2', 'MIRRORS': '${DEBIAN_MIRROR}/main\thttp://snapshot.debian.net/archive/pool\n${DEBIAN_MIRROR}\tftp://ftp.de.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.au.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.cl.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.hr.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.fi.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.hk.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.hu.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.ie.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.it.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.jp.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.no.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.pl.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.ro.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.si.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.es.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.se.debian.org/debian/pool\n${DEBIAN_MIRROR}\tftp://ftp.tr.debian.org/debian/pool\n${GNU_MIRROR}\tftp://mirrors.kernel.org/gnu\n${GNU_MIRROR}\tftp://ftp.cs.ubc.ca/mirror2/gnu\n${GNU_MIRROR}\tftp://sunsite.ust.hk/pub/gnu\n${GNU_MIRROR}\tftp://ftp.ayamura.org/pub/gnu\n${KERNELORG_MIRROR}\thttp://www.kernel.org/pub\n${KERNELORG_MIRROR}\tftp://ftp.us.kernel.org/pub\n${KERNELORG_MIRROR}\tftp://ftp.uk.kernel.org/pub\n${KERNELORG_MIRROR}\tftp://ftp.hk.kernel.org/pub\n${KERNELORG_MIRROR}\tftp://ftp.au.kernel.org/pub\n${KERNELORG_MIRROR}\tftp://ftp.jp.kernel.org/pub\nftp://ftp.gnupg.org/gcrypt/     ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/\nftp://ftp.gnupg.org/gcrypt/     ftp://ftp.surfnet.nl/pub/security/gnupg/\nftp://ftp.gnupg.org/gcrypt/     http://gulus.USherbrooke.ca/pub/appl/GnuPG/\nftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN\nftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/\nftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/\nftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/\nftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/\nftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/\nftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/\nftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/\nhttp://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/\nhttp://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tau.ac.il/pub/unix/admin/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.kaizo.org/pub/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://sunsite.ualberta.ca/pub/Mirror/lsof/\nftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/\nhttp://www.apache.org/dist  http://archive.apache.org/dist\nftp://.*/.*     http://mirrors.openembedded.org/\nhttps?$://.*/.* http://mirrors.openembedded.org/\nftp://.*/.*     http://sources.openembedded.org/\nhttps?$://.*/.* http://sources.openembedded.org/\n\n', 'populate_sysroot_postamble': '\tif [ "$PSTAGING_ACTIVE" = "1" ]; then\n\t\t# list the packages currently installed in staging\n\t\t# ${PSTAGE_LIST_CMD} | awk \'{print $1}\' > ${PSTAGE_WORKDIR}/installed-list\n\n\t\t# exitcode == 5 is ok, it means the files change\n\t\tset +e\n\t\tstage-manager -p ${STAGING_DIR} -c ${PSTAGE_WORKDIR}/stamp-cache-staging -u -d ${PSTAGE_TMPDIR_STAGE}/sysroots\n\t\texitcode=$?\n\t\tif [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then\n\t\t\texit $exitcode\n\t\tfi\n\t\tset -e\n\tfi\n', 'package_ipk_install': '\t#\n\t# Warning - this function is not multimachine safe (see stagingdir reference)!\n\t#\n\n\tpkg = bb.data.getVar(\'PKG\', d, 1)\n\tpkgfn = bb.data.getVar(\'PKGFN\', d, 1)\n\trootfs = bb.data.getVar(\'IMAGE_ROOTFS\', d, 1)\n\tipkdir = bb.data.getVar(\'DEPLOY_DIR_IPK\', d, 1)\n\tstagingdir = bb.data.getVar(\'STAGING_DIR\', d, 1)\n\ttmpdir = bb.data.getVar(\'TMPDIR\', d, 1)\n\n\tif None in (pkg,pkgfn,rootfs):\n\t\traise bb.build.FuncFailed("missing variables (one or more of PKG, PKGFN, IMAGEROOTFS)")\n\ttry:\n\t\tbb.mkdirhier(rootfs)\n\t\tos.chdir(rootfs)\n\texcept OSError:\n\t\timport sys\n\t\t(type, value, traceback) = sys.exc_info()\n\t\tprint value\n\t\traise bb.build.FuncFailed\n\n\t# Generate ipk.conf if it or the stamp doesnt exist\n\tconffile = os.path.join(stagingdir,"opkg.conf")\n\tif not os.access(conffile, os.R_OK):\n\t\tipkg_archs = bb.data.getVar(\'PACKAGE_ARCHS\',d)\n\t\tif ipkg_archs is None:\n\t\t\tbb.error("PACKAGE_ARCHS missing")\n\t\t\traise FuncFailed\n\t\tipkg_archs = ipkg_archs.split()\n\t\tarch_priority = 1\n\n\t\tf = open(conffile,"w")\n\t\tfor arch in ipkg_archs:\n\t\t\tf.write("arch %s %s\\n" % ( arch, arch_priority ))\n\t\t\tarch_priority += 1\n\t\tf.write("src local file:%s" % ipkdir)\n\t\tf.close()\n\n\n\tif (not os.access(os.path.join(ipkdir,"Packages"), os.R_OK) or\n\t\tnot os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),os.R_OK)):\n\t\tret = os.system(\'ipkg-make-index -p %s %s \' % (os.path.join(ipkdir, "Packages"), ipkdir))\n\t\tif (ret != 0 ):\n\t\t\traise bb.build.FuncFailed\n\t\tf = open(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),"w")\n\t\tf.close()\n\n\tret = os.system(\'opkg-cl  -o %s -f %s update\' % (rootfs, conffile))\n\tret = os.system(\'opkg-cl  -o %s -f %s install %s\' % (rootfs, conffile, pkgfn))\n\tif (ret != 0 ):\n\t\traise bb.build.FuncFailed\n', 'BASEPKG_TARGET_SYS': '${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}', 'do_recipe_sanity': '    p = d.getVar("P", 1)\n    p = "%s %s %s" % (d.getVar("PN", 1), d.getVar("PV", 1), d.getVar("PR", 1))\n\n    sanitychecks = [\n        (can_remove_FILESDIR, "candidate for removal of FILESDIR"),\n        (can_remove_FILESPATH, "candidate for removal of FILESPATH"),\n        #(can_use_autotools_base, "candidate for use of autotools_base"),\n        (incorrect_nonempty_PACKAGES, "native or cross recipe with non-empty PACKAGES"),\n    ]\n    cfgdata = d.getVar("__recipe_sanity_cfgdata", 0)\n\n    for (func, msg) in sanitychecks:\n        if func(cfgdata, d):\n            __note(msg, d)\n\n    can_remove_others(p, cfgdata, d)\n    var_renames_overwrite(cfgdata, d)\n    req_vars(cfgdata, d)\n    bad_runtime_vars(cfgdata, d)\n', 'IMAGE_CMD_squashfs': 'mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend', 'do_checkuriall': '\t:\n', 'DEPCHAIN_PRE': '', 'ANGSTROM_QT_VERSION': '4.6.3', 'packagedstaging_fastpath': '\tmkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/\n\tcp -fpPR ${SYSROOT_DESTDIR}/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/sysroots/ || /bin/true\n', 'GNOME_GIT': 'git://git.gnome.org', 'BBFILES': '/home/DRESEARCH/sledz/work/openembedded/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/hipox/recipes/*/*.bb /home/DRESEARCH/sledz/work/HydraIP/OE/common/recipes/*/*.bb', 'PREFERRED_PROVIDER_virtual/psplash': 'psplash-angstrom', 'PREFERRED_PROVIDER_virtual/javac-native': 'ecj-bootstrap-native', 'EXTRA_IMAGECMD_yaffs2': '1', '_': '/opt/bitbake/bin/bitbake', 'do_patch': "\tbb.build.exec_func('base_do_patch', d)\n", 'staging_package_installer': '\t#${PSTAGE_INSTALL_CMD} ${PSTAGE_PKG}\n\n\tSTATUSFILE=${TMPDIR}${libdir_native}/opkg/status\n\techo "Package: ${PSTAGE_PKGPN}"        >> $STATUSFILE\n\techo "Version: ${PSTAGE_PKGVERSION}"   >> $STATUSFILE\n\techo "Status: install user installed"  >> $STATUSFILE\n\techo "Architecture: ${PSTAGE_PKGARCH}" >> $STATUSFILE\n\techo "" >> $STATUSFILE\n\n\tCTRLFILE=${TMPDIR}${libdir_native}/opkg/info/${PSTAGE_PKGPN}.control\n\techo "Package: ${PSTAGE_PKGPN}"        > $CTRLFILE\n\techo "Version: ${PSTAGE_PKGVERSION}"   >> $CTRLFILE\n\techo "Architecture: ${PSTAGE_PKGARCH}" >> $CTRLFILE\n\n\tcd ${PSTAGE_TMPDIR_STAGE}\n\tfind -type f | grep -v ./CONTROL | sed -e \'s/^\\.//\' > ${TMPDIR}${libdir_native}/opkg/info/${PSTAGE_PKGPN}.list\n', 'PSTAGE_PKG': '${PSTAGE_DIR}/${PSTAGE_PKGPATH}/${PSTAGE_PKGNAME}', 'IMAGE_CMD': '', 'QEMU_OPTIONS_armv6-novfp': '-cpu arm1136', 'PREFERRED_VERSION_linux-libc-headers_hipox': '2.6.24', 'PREFERRED_PROVIDER_frameworkd-config': 'frameworkd-config', 'PREFERRED_PROVIDER_libxss': 'libxss', 'FREEDESKTOP_CVS': 'cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs', 'PREFERRED_VERSION_opie-vmemo': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-mediaplayer1-libwavplugin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-oyatzee': '${OPIE_VERSION}', 'XTERM_TERMCMDRUN': '${XTERM_TERMCMD} -e $SHELLCMDS', 'PREFERRED_VERSION_opie-tonleiter': '${OPIE_VERSION}', 'PATCH_GET': '0', 'PREFERRED_VERSION_opie-euroconv': '${OPIE_VERSION}', 'SEPPUKU_NEWREPORT': 'http://bugs.openembedded.net/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%20unstable&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&', 'CXXFLAGS': '${TARGET_CXXFLAGS} -fvisibility-inlines-hidden', 'COMPATIBLE_MACHINE': None, 'DEPLOY_DIR_IMAGE': '${DEPLOY_DIR}/images/${MACHINE}', 'PREFERRED_PROVIDER_virtual/xserver': 'xserver-xorg', 'DISPLAY': 'localhost:10.0', 'PREFERRED_PROVIDER_gconf': 'gconf', 'do_runstrip': "\timport stat\n\n\tdvar = bb.data.getVar('PKGD', d, True)\n\tdef isexec(path):\n\t\ttry:\n\t\t\ts = os.stat(path)\n\t\texcept (os.error, AttributeError):\n\t\t\treturn 0\n\t\treturn (s[stat.ST_MODE] & stat.S_IEXEC)\n\n\tfor root, dirs, files in os.walk(dvar):\n\t\tfor f in files:\n\t\t\tfile = os.path.join(root, f)\n\t\t\tif not os.path.islink(file) and not os.path.isdir(file) and isexec(file):\n\t\t\t\trunstrip(file, d)\n", 'NM': '${HOST_PREFIX}nm', 'SEPPUKU_ADDCOMMENT': 'http://bugs.openembedded.net/process_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&', 'PREFERRED_VERSION_opie-fifteen': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-aqpkg': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-deco-flat': '${OPIE_VERSION}', 'PREFERRED_PROVIDER_gdk-pixbuf-loader-ras': 'gtk+', 'DEPENDS': '', 'PREFERRED_VERSION_opie-clockapplet': '${OPIE_VERSION}', 'ANGSTROM_FEED_CONFIGS': 'angstrom-feed-configs', 'TARGET_LINK_HASH_STYLE': "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}", 'IMAGE_CMD_cpio': 'cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}', 'PSTAGE_PKGARCH': '${PACKAGE_ARCH}-${HOST_OS}', 'PSTAGE_UPDATE_CMD': '${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -o ${TMPDIR} update', 'IMAGE_CMD_cpio.lzma': 'cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | lzma -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}', 'KONSOLE_TERMCMD': 'konsole -T "$TERMWINDOWTITLE"', 'PREFERRED_VERSION_opie-theme': '${OPIE_VERSION}', 'oedebug': '\ttest $# -ge 2 || {\n\t\techo "Usage: oedebug level \\"message\\""\n\t\texit 1\n\t}\n\n\ttest ${OEDEBUG:-0} -ge $1 && {\n\t\tshift\n\t\techo "DEBUG:" $*\n\t}\n', '__recipe_sanity_badruntimevars': 'RDEPENDS RPROVIDES RRECOMMENDS RCONFLICTS', 'PREFERRED_VERSION_opie-bluepin': '${OPIE_VERSION}', 'PREFERRED_VERSION_opie-kcheckers': '${OPIE_VERSION}', 'PACKAGE_DEPENDS': ' file-native pax-utils-native desktop-file-utils-native', 'METADATA_REVISION': '${@base_get_scm_revision(d)}', 'UBOOT_ARCH': 'arm', 'EXTRA_IMAGEDEPENDS': '', 'BUILD_STRIP': '${BUILD_PREFIX}strip', 'PREFERRED_VERSION_ti-dmai-tests': '2_10_00_01+svnr%', 'read_subpackage_metadata': "\tdata = read_pkgdata(bb.data.getVar('PN', d, 1), d)\n\n\tfor key in data.keys():\n\t\tbb.data.setVar(key, data[key], d)\n\n\tfor pkg in bb.data.getVar('PACKAGES', d, 1).split():\n\t\tsdata = read_subpkgdata(pkg, d)\n\t\tfor key in sdata.keys():\n\t\t\tbb.data.setVar(key, sdata[key], d)\n", 'PREFERRED_VERSION_opie-backup': '${OPIE_VERSION}', 'package_do_shlibs': '\timport re\n\n\texclude_shlibs = bb.data.getVar(\'EXCLUDE_FROM_SHLIBS\', d, 0)\n\tif exclude_shlibs:\n\t\tbb.debug(1, "not generating shlibs")\n\t\treturn\n\n\tlib_re = re.compile("^lib.*\\.so")\n\tlibdir = bb.data.getVar(\'base_libdir\', d, True)\n\tlibdir_re = re.compile(".*%s$" % (libdir))\n\n\tpackages = bb.data.getVar(\'PACKAGES\', d, True)\n\n\tworkdir = bb.data.getVar(\'WORKDIR\', d, True)\n\n\tver = bb.data.getVar(\'PKGV\', d, True)\n\tif not ver:\n\t\tbb.error("PKGV not defined")\n\t\treturn\n\n\tpkgdest = bb.data.getVar(\'PKGDEST\', d, True)\n\n\tshlibs_dir = bb.data.getVar(\'SHLIBSDIR\', d, True)\n\tbb.mkdirhier(shlibs_dir)\n\n\tpstageactive = bb.data.getVar(\'PSTAGING_ACTIVE\', d, True)\n\tif pstageactive == "1":\n\t\tlf = bb.utils.lockfile(bb.data.expand("${STAGING_DIR}/staging.lock", d))\n\n\tif bb.data.getVar(\'PACKAGE_SNAP_LIB_SYMLINKS\', d, True) == "1":\n\t\tsnap_symlinks = True\n\telse:\n\t\tsnap_symlinks = False\n\n\tif (bb.data.getVar(\'USE_LDCONFIG\', d, True) or "1") == "1":\n\t\tuse_ldconfig = True\n\telse:\n\t\tuse_ldconfig = False\n\n\tneeded = {}\n\tprivate_libs = bb.data.getVar(\'PRIVATE_LIBS\', d, True)\n\tfor pkg in packages.split():\n\t\tneeds_ldconfig = False\n\t\tbb.debug(2, "calculating shlib provides for %s" % pkg)\n\n\t\tpkgver = bb.data.getVar(\'PKGV_\' + pkg, d, True)\n\t\tif not pkgver:\n\t\t\tpkgver = bb.data.getVar(\'PV_\' + pkg, d, True)\n\t\tif not pkgver:\n\t\t\tpkgver = ver\n\n\t\tneeded[pkg] = []\n\t\tsonames = list()\n\t\ttop = os.path.join(pkgdest, pkg)\n\t\trenames = []\n\t\tfor root, dirs, files in os.walk(top):\n\t\t\tfor file in files:\n\t\t\t\tsoname = None\n\t\t\t\tpath = os.path.join(root, file)\n\t\t\t\tif (os.access(path, os.X_OK) or lib_re.match(file)) and not os.path.islink(path):\n\t\t\t\t\tcmd = bb.data.getVar(\'OBJDUMP\', d, True) + " -p " + path + " 2>/dev/null"\n\t\t\t\t\tcmd = "PATH=\\"%s\\" %s" % (bb.data.getVar(\'PATH\', d, True), cmd)\n\t\t\t\t\tfd = os.popen(cmd)\n\t\t\t\t\tlines = fd.readlines()\n\t\t\t\t\tfd.close()\n\t\t\t\t\tfor l in lines:\n\t\t\t\t\t\tm = re.match("\\s+NEEDED\\s+([^\\s]*)", l)\n\t\t\t\t\t\tif m:\n\t\t\t\t\t\t\tneeded[pkg].append(m.group(1))\n\t\t\t\t\t\tm = re.match("\\s+SONAME\\s+([^\\s]*)", l)\n\t\t\t\t\t\tif m:\n\t\t\t\t\t\t\tthis_soname = m.group(1)\n\t\t\t\t\t\t\tif not this_soname in sonames:\n\t\t\t\t\t\t\t\t# if library is private (only used by package) then do not build shlib for it\n\t\t\t\t\t\t\t\tif not private_libs or -1 == private_libs.find(this_soname):\n\t\t\t\t\t\t\t\t\tsonames.append(this_soname)\n\t\t\t\t\t\t\tif libdir_re.match(root):\n\t\t\t\t\t\t\t\tneeds_ldconfig = True\n\t\t\t\t\t\t\tif snap_symlinks and (file != soname):\n\t\t\t\t\t\t\t\trenames.append((path, os.path.join(root, this_soname)))\n\t\tfor (old, new) in renames:\n\t\t\tos.rename(old, new)\n\t\tshlibs_file = os.path.join(shlibs_dir, pkg + ".list")\n\t\tif os.path.exists(shlibs_file):\n\t\t\tos.remove(shlibs_file)\n\t\tshver_file = os.path.join(shlibs_dir, pkg + ".ver")\n\t\tif os.path.exists(shver_file):\n\t\t\tos.remove(shver_file)\n\t\tif len(sonames):\n\t\t\tfd = open(shlibs_file, \'w\')\n\t\t\tfor s in sonames:\n\t\t\t\tfd.write(s + \'\\n\')\n\t\t\tfd.close()\n\t\t\tpackage_stagefile(shlibs_file, d)\n\t\t\tfd = open(shver_file, \'w\')\n\t\t\tfd.write(pkgver + \'\\n\')\n\t\t\tfd.close()\n\t\t\tpackage_stagefile(shver_file, d)\n\t\tif needs_ldconfig and use_ldconfig:\n\t\t\tbb.debug(1, \'adding ldconfig call to postinst for %s\' % pkg)\n\t\t\tpostinst = bb.data.getVar(\'pkg_postinst_%s\' % pkg, d, True) or bb.data.getVar(\'pkg_postinst\', d, True)\n\t\t\tif not postinst:\n\t\t\t\tpostinst = \'#!/bin/sh\\n\'\n\t\t\tpostinst += bb.data.getVar(\'ldconfig_postinst_fragment\', d, True)\n\t\t\tbb.data.setVar(\'pkg_postinst_%s\' % pkg, postinst, d)\n\n\tif pstageactive == "1":\n\t\tbb.utils.unlockfile(lf)\n\n\tshlib_provider = {}\n\tlist_re = re.compile(\'^(.*)\\.list$\')\n\tfor dir in [shlibs_dir]:\n\t\tif not os.path.exists(dir):\n\t\t\tcontinue\n\t\tfor file in os.listdir(dir):\n\t\t\tm = list_re.match(file)\n\t\t\tif m:\n\t\t\t\tdep_pkg = m.group(1)\n\t\t\t\tfd = open(os.path.join(dir, file))\n\t\t\t\tlines = fd.readlines()\n\t\t\t\tfd.close()\n\t\t\t\tver_file = os.path.join(dir, dep_pkg + \'.ver\')\n\t\t\t\tlib_ver = None\n\t\t\t\tif os.path.exists(ver_file):\n\t\t\t\t\tfd = open(ver_file)\n\t\t\t\t\tlib_ver = fd.readline().rstrip()\n\t\t\t\t\tfd.close()\n\t\t\t\tfor l in lines:\n\t\t\t\t\tshlib_provider[l.rstrip()] = (dep_pkg, lib_ver)\n\n\tassumed_libs = bb.data.getVar(\'ASSUME_SHLIBS\', d, True)\n\tif assumed_libs:\n\t    for e in assumed_libs.split():\n\t\tl, dep_pkg = e.split(":")\n\t\tlib_ver = None\n\t\tdep_pkg = dep_pkg.rsplit("_", 1)\n\t\tif len(dep_pkg) == 2:\n\t\t    lib_ver = dep_pkg[1]\n\t\tdep_pkg = dep_pkg[0]\n\t\tshlib_provider[l] = (dep_pkg, lib_ver)\n\n\tdep_packages = []\n\tfor pkg in packages.split():\n\t\tbb.debug(2, "calculating shlib requirements for %s" % pkg)\n\n\t\tdeps = list()\n\t\tfor n in needed[pkg]:\n\t\t\tif n in shlib_provider.keys():\n\t\t\t\t(dep_pkg, ver_needed) = shlib_provider[n]\n\n\t\t\t\tif dep_pkg == pkg:\n\t\t\t\t\tcontinue\n\n\t\t\t\tif ver_needed:\n\t\t\t\t\tdep = "%s (>= %s)" % (dep_pkg, ver_needed)\n\t\t\t\telse:\n\t\t\t\t\tdep = dep_pkg\n\t\t\t\tif not dep in deps:\n\t\t\t\t\tdeps.append(dep)\n\t\t\t\tif not dep_pkg in dep_packages:\n\t\t\t\t\tdep_packages.append(dep_pkg)\n\n\t\t\telse:\n\t\t\t\tbb.note("Couldn\'t find shared library provider for %s" % n)\n\n\t\tdeps_file = os.path.join(pkgdest, pkg + ".shlibdeps")\n\t\tif os.path.exists(deps_file):\n\t\t\tos.remove(deps_file)\n\t\tif len(deps):\n\t\t\tfd = open(deps_file, \'w\')\n\t\t\tfor dep in deps:\n\t\t\t\tfd.write(dep + \'\\n\')\n\t\t\tfd.close()\n', 'STAGING_DIR': '${TMPDIR}/sysroots', 'oe_runmake': '\toenote ${MAKE} ${EXTRA_OEMAKE} "$@"\n\t${MAKE} ${EXTRA_OEMAKE} "$@" || die "oe_runmake failed"\n', 'PREFERRED_VERSION_opie-buzzword': '${OPIE_VERSION}', 'PREFERRED_VERSION_ti-codecs-omapl138-server': '1_00_00', 'DEPLOY_DIR_RPM': '${DEPLOY_DIR}/rpm', 'PREFERRED_VERSION_opie-zsame': '${OPIE_VERSION}', 'PREFERRED_VERSION_ti-codec-engine': '2_25_01_06', 'PACKAGES_DYNAMIC': '${PN}-locale-*', 'PREFERRED_VERSION_opie-tabmanager': '${OPIE_VERSION}', 'TARGET_CC_KERNEL_ARCH': None, 'SDK_CFLAGS': '${SDK_CPPFLAGS} ${SELECTED_OPTIMIZATION}', 'PSTAGE_SCAN_CMD': 'find ${PSTAGE_TMPDIR_STAGE} \\( -name "*.la" -o -name "*-config" \\) -type f', 'ARM_INSTRUCTION_SET': '${ANGSTROM_ARM_INSTRUCTION_SET}', 'OESTATS_SERVER': 'tinderbox.openembedded.org', 'STAGING_DIR_TARGET': '${STAGING_DIR}/${BASEPKG_TARGET_SYS}', 'DEBUG_OPTIMIZATION': '-O -fno-omit-frame-pointer -g', 'DISTRO_FEED_CONFIGS': '${ANGSTROM_FEED_CONFIGS}', 'RDEPENDS_${PN}-dev': '${PN} (= ${EXTENDPV})', 'PREFERRED_VERSION_opie-today-datebookplugin': '${OPIE_VERSION}', 'OE_IMPORTS': ' oe.path oe.utils sys os time', 'AUTOREV': '${SRCPV}', 'DESCRIPTION': 'Version ${PV}-${PR} of package ${PN}', 'PREFERRED_VERSION_glib-2.0-native': '2.24.1', 'FETCHCOMMAND_svn': '/usr/bin/env svn co --non-interactive ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}', 'DEPLOY_DIR_DEB': '${DEPLOY_DIR}/deb', 'PACKAGE_EXTRA_ARCHS': ' armv4 armv4t armv5te', 'OE_ROOT': '/home/DRESEARCH/sledz/work/openembedded', 'EXTRA_IMAGECMD_cpio.gz': '', 'TARGET_CC_ARCH_pn-cairo_armv5te': '-march=armv4t', 'PALMTOP_USE_MULTITHREADED_QT': 'yes', 'STAGING_BINDIR_CROSS': '${STAGING_DIR_NATIVE}${prefix_native}/${BASE_PACKAGE_ARCH}${base_bindir_native}'}
# PREFERRED_VERSION_opie-kcheckers=${OPIE_VERSION}
PREFERRED_VERSION_opie-kcheckers="1.2.4"

# PREFERRED_VERSION_opie-console=${OPIE_VERSION}
PREFERRED_VERSION_opie-console="1.2.4"

# PREFERRED_VERSION_opie-style-liquid=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-liquid="1.2.4"

# FETCHCMD_bzr=/usr/bin/env bzr
FETCHCMD_bzr="/usr/bin/env bzr"

# MULTI_PROVIDER_WHITELIST=virtual/libintl
MULTI_PROVIDER_WHITELIST="virtual/libintl"

# UBOOT_ARCH=arm
UBOOT_ARCH="arm"

# PREFERRED_VERSION_hal=0.5.14
PREFERRED_VERSION_hal="0.5.14"

# ANGSTROMLIBC=glibc
ANGSTROMLIBC="glibc"

# TARGET_EXEEXT=
# PREFERRED_VERSION_opie-qcop=${OPIE_VERSION}
PREFERRED_VERSION_opie-qcop="1.2.4"

# EXTRA_IMAGEDEPENDS=
# BUILD_STRIP=${BUILD_PREFIX}strip
export BUILD_STRIP="strip"

# PREFERRED_VERSION_ti-dmai-tests=2_10_00_01+svnr%
PREFERRED_VERSION_ti-dmai-tests="2_10_00_01+svnr%"

# ANGSTROM_BLACKLIST_pn-libiconv=the glibc builtin iconv replacement is used
ANGSTROM_BLACKLIST_pn-libiconv="the glibc builtin iconv replacement is used"

# IMAGE_ROOTFS_SIZE_ext3.gz=65536
IMAGE_ROOTFS_SIZE_ext3.gz="65536"

# PSTAGE_MACHCONFIG=${PSTAGE_WORKDIR}/opkg.conf
PSTAGE_MACHCONFIG="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf"

# PREFERRED_VERSION_libecj-bootstrap=3.6
PREFERRED_VERSION_libecj-bootstrap="3.6"

# ANGSTROM_BLACKLIST_pn-bluez-libs=bluez-libs 3.x has been replaced by bluez4
ANGSTROM_BLACKLIST_pn-bluez-libs="bluez-libs 3.x has been replaced by bluez4"

# PREFERRED_VERSION_opie-backup=${OPIE_VERSION}
PREFERRED_VERSION_opie-backup="1.2.4"

# STAGING_DIR=${TMPDIR}/sysroots
STAGING_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots"

# PREFERRED_VERSION_opie-buzzword=${OPIE_VERSION}
PREFERRED_VERSION_opie-buzzword="1.2.4"

# PREFERRED_VERSION_ti-codecs-omapl138-server=1_00_00
PREFERRED_VERSION_ti-codecs-omapl138-server="1_00_00"

# DEPLOY_DIR_RPM=${DEPLOY_DIR}/rpm
DEPLOY_DIR_RPM="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/rpm"

# MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS=
# PREFERRED_VERSION_eglibc=2.9
PREFERRED_VERSION_eglibc="2.9"

# base_sbindir_native=/sbin
base_sbindir_native="/sbin"

# TINDER_CLOBBER=1
TINDER_CLOBBER="1"

# TARGET_FPU_armv7a=hard
TARGET_FPU_armv7a="hard"

# SRCREV_pn-mojito=0542c4b0e26c0e3b69c5ad1fa1898dc276fb9f48
SRCREV_pn-mojito="0542c4b0e26c0e3b69c5ad1fa1898dc276fb9f48"

# AUTOTOOLS_STAGE_PKGCONFIG=1
AUTOTOOLS_STAGE_PKGCONFIG="1"

# PREFERRED_VERSION_opie-logoutapplet=${OPIE_VERSION}
PREFERRED_VERSION_opie-logoutapplet="1.2.4"

# PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-binutils=binutils-cross
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-binutils="binutils-cross"

# PREFERRED_VERSION_opie-mediaplayer1-core=${OPIE_VERSION}
PREFERRED_VERSION_opie-mediaplayer1-core="1.2.4"

# PREFERRED_PROVIDER_qt4-embedded=qt4-embedded
PREFERRED_PROVIDER_qt4-embedded="qt4-embedded"

# STAGING_DATADIR_JAVA=${STAGING_DIR_JAVA}
STAGING_DATADIR_JAVA="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/java"

# layout_libdir=${libdir}
layout_libdir="/usr/lib"

# PREFERRED_VERSION_opie-style-web=${OPIE_VERSION}
PREFERRED_VERSION_opie-style-web="1.2.4"

# PACKAGES_DYNAMIC=${PN}-locale-*
PACKAGES_DYNAMIC="libsoup-2.4-locale-*"

# EXTRA_IMAGECMD=
# PREFERRED_VERSION_opie-tabmanager=${OPIE_VERSION}
PREFERRED_VERSION_opie-tabmanager="1.2.4"

# OLDEST_KERNEL_sparc64=2.4.21
OLDEST_KERNEL_sparc64="2.4.21"

# PREFERRED_VERSION_opie-kjumpx=${OPIE_VERSION}
PREFERRED_VERSION_opie-kjumpx="1.2.4"

# COMPATIBLE_HOST=None
# SRC_DIST_LOCAL=symlink
SRC_DIST_LOCAL="symlink"

# BASE_PACKAGE_ARCH=armv5te
BASE_PACKAGE_ARCH="armv5te"

# PSTAGE_SCAN_CMD=find ${PSTAGE_TMPDIR_STAGE} \( -name "*.la" -o -name "*-config" \) -type f
PSTAGE_SCAN_CMD="find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg \( -name \"*.la\" -o -name \"*-config\" \) -type f"

# ARM_INSTRUCTION_SET=${ANGSTROM_ARM_INSTRUCTION_SET}
ARM_INSTRUCTION_SET="arm"

# OESTATS_SERVER=tinderbox.openembedded.org
OESTATS_SERVER="tinderbox.openembedded.org"

# PREFERRED_VERSION_ti-xdctools=3_16_01_27
PREFERRED_VERSION_ti-xdctools="3_16_01_27"

# STAGING_FIRMWARE_DIR=${STAGING_DIR_HOST}/firmware
STAGING_FIRMWARE_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/firmware"

# TOOLCHAIN_TYPE=internal
TOOLCHAIN_TYPE="internal"

# KERNEL_CCSUFFIX_archos5it=-4.2.1+csl-arm-2007q3-53
KERNEL_CCSUFFIX_archos5it="-4.2.1+csl-arm-2007q3-53"

# do_distsrcall=None
# PREFERRED_VERSION_linux-libc-headers_hipox=2.6.24
PREFERRED_VERSION_linux-libc-headers_hipox="2.6.24"

# BUILD_RANLIB=${BUILD_PREFIX}ranlib
export BUILD_RANLIB="ranlib"

# DEBUG_OPTIMIZATION=-O -fno-omit-frame-pointer -g
DEBUG_OPTIMIZATION="-O -fno-omit-frame-pointer -g"

# GNOME_MIRROR=http://ftp.gnome.org/pub/GNOME/sources
GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"

# DISTRO_FEED_CONFIGS=${ANGSTROM_FEED_CONFIGS}
DISTRO_FEED_CONFIGS="angstrom-feed-configs"

# RDEPENDS_${PN}-dev=None
# STAGING_LIBDIR_NATIVE=${STAGING_DIR_NATIVE}${libdir_native}
STAGING_LIBDIR_NATIVE="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/lib"

# PREFERRED_VERSION_opie-today-datebookplugin=${OPIE_VERSION}
PREFERRED_VERSION_opie-today-datebookplugin="1.2.4"

# PREFERRED_PROVIDERS=virtual/qte:qte virtual/libqpe:libqpe-opie  virtual/libsdl:libsdl-x11  virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial  virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate  virtual/${TARGET_PREFIX}gcc:gcc-cross  virtual/${TARGET_PREFIX}g++:gcc-cross
PREFERRED_PROVIDERS="virtual/qte:qte virtual/libqpe:libqpe-opie  virtual/libsdl:libsdl-x11  virtual/arm-angstrom-linux-gnueabi-gcc-initial:gcc-cross-initial  virtual/arm-angstrom-linux-gnueabi-gcc-intermediate:gcc-cross-intermediate  virtual/arm-angstrom-linux-gnueabi-gcc:gcc-cross  virtual/arm-angstrom-linux-gnueabi-g++:gcc-cross"

# sysconfdir=${base_prefix}/etc
export sysconfdir="/etc"

# OE_IMPORTS= oe.path oe.utils sys os time
OE_IMPORTS="oe.path oe.utils sys os time"

# PREFERRED_VERSION_opie-bounce=${OPIE_VERSION}
PREFERRED_VERSION_opie-bounce="1.2.4"

# CVS_TARBALL_STASH=http://www.angstrom-distribution.org/unstable/sources/ 
CVS_TARBALL_STASH="http://www.angstrom-distribution.org/unstable/sources/"

# WORKDIR=${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
WORKDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0"

# PREFERRED_VERSION_uclibc-initial=0.9.30.2
PREFERRED_VERSION_uclibc-initial="0.9.30.2"

# OVERRIDE_THUMB=${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}
# FETCHCOMMAND_svn=/usr/bin/env svn co --non-interactive ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}
FETCHCOMMAND_svn="/usr/bin/env svn co --non-interactive ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}"

# PREFERRED_VERSION_libqtaux2=${OPIE_VERSION}
PREFERRED_VERSION_libqtaux2="1.2.4"

# OE_ROOT=/home/DRESEARCH/sledz/work/openembedded
export OE_ROOT="/home/DRESEARCH/sledz/work/openembedded"

# UBOOT_LOADADDRESS=0x48008000
UBOOT_LOADADDRESS="0x48008000"

# AUTO_LIBNAME_PKGS=${PACKAGES}
AUTO_LIBNAME_PKGS="libsoup-gnome libsoup-2.4-dbg libsoup-2.4 libsoup-2.4-doc libsoup-2.4-dev libsoup-2.4-static libsoup-2.4-locale"

# PALMTOP_USE_MULTITHREADED_QT=yes
PALMTOP_USE_MULTITHREADED_QT="yes"

# STAGING_BINDIR_CROSS=${STAGING_DIR_NATIVE}${prefix_native}/${BASE_PACKAGE_ARCH}${base_bindir_native}
STAGING_BINDIR_CROSS="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/usr/armv5te/bin"

do_devshell() {
	devshell_do_devshell

}

gtk_icon_cache_postrm() {
for icondir in /usr/share/icons/* ; do
    if [ -d $icondir ] ; then
        gtk-update-icon-cache -qt  $icondir
    fi
done

}

do_package_update_index_ipk() {
	set -x

	ipkgarchs="all any noarch arm  armv4 armv4t armv5te hipox"

	if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then
		return
	fi

	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk
	touch /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/Packages
	ipkg-make-index -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/Packages -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/Packages -l /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/Packages.filelist -m /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk

	for arch in $ipkgarchs; do
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/ ] ; then
			touch /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/Packages
			ipkg-make-index -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/Packages -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/Packages -l /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/Packages.filelist -m /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/
		fi
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/ ] ; then
			touch /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/Packages
			ipkg-make-index -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/Packages -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/Packages -l /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/Packages.filelist -m /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/
		fi
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/ ] ; then
			touch /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/Packages
			ipkg-make-index -r /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/Packages -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/Packages -l /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/Packages.filelist -m /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/
		fi
	done

}

die() {
	oefatal "$*"

}

base_do_install() {
	:

}

do_compile() {
	base_do_compile

}

do_package_stage_all() {
	:

}

do_recipe_sanity_all() {
    :

}

autotools_prepackage_lamangler() {
        for i in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/package -name "*.la"` ; do \
            sed -i -e 's:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib:/usr/lib:g;' \
                   -e 's:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image::g;' \
                   -e 's:-I/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0\S*: :g;' \
                   -e 's:-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0\S*: :g;' \
                   $i
	done

}

gtk_icon_cache_postinst() {
if [ "x$D" != "x" ]; then
        exit 1
fi

# Update the pixbuf loaders in case they haven't been registered yet
gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

for icondir in /usr/share/icons/* ; do
    if [ -d $icondir ] ; then
        gtk-update-icon-cache -qt  $icondir
    fi
done

}

base_do_package() {
	:

}

autotools_stage_includes() {
	if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
	then
		rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging
		mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging
		make DESTDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging" install
		cp -pPR /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging//usr/include/* /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
		rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging
	fi

}

oewarn() {
	echo "WARNING:" "$*"

}

oe_machinstall() {
	# Purpose: Install machine dependent files, if available
	#          If not available, check if there is a default
	#          If no default, just touch the destination
	# Example:
	#                $1  $2   $3         $4
	# oe_machinstall -m 0644 fstab /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image/etc/fstab
	#
	# TODO: Check argument number?
	#
	filename=`basename $3`
	dirname=`dirname $3`

	for o in `echo local:hipox:angstrom:linux-gnueabi:arm:build-linux:fail-fast:pn-libsoup-2.4:armv5te:Unknown:libc-glibc:thumb-interwork | tr ':' ' '`; do
		if [ -e $dirname/$o/$filename ]; then
			oenote $dirname/$o/$filename present, installing to $4
			install $1 $2 $dirname/$o/$filename $4
			return
		fi
	done
#	oenote overrides specific file NOT present, trying default=$3...
	if [ -e $3 ]; then
		oenote $3 present, installing to $4
		install $1 $2 $3 $4
	else
		oenote $3 NOT present, touching empty $4
		touch $4
	fi

}

package_stagefile_shell() {
	if [ "$PSTAGING_ACTIVE" = "1" ]; then
		srcfile=$1
		destfile=`echo $srcfile | sed s#/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6#/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg#`
		destdir=`dirname $destfile`
		mkdir -p $destdir
		cp -dp $srcfile $destfile
	fi

}

staging_packager() {

	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL
	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc

	echo "Package: staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi"         >  /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Version: 2.29.91-r0"    >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Description: An HTTP library implementation in C"      >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Section: x11/gnome/libs"              >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Priority: Optional"               >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org>"        >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control
	echo "Architecture: armv5te-linux-gnueabi"  >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control

	# Protect against empty SRC_URI
	srcuri="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.29/libsoup-2.29.91.tar.bz2;name=libsoup"
	if [ "$srcuri" == "" ]; then
		srcuri="OpenEmbedded"
	fi
	echo "Source: $srcuri"               >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/CONTROL/control

	# Deal with libtool not supporting sysroots
	# Need to remove hardcoded paths and fix these when we install the
	# staging packages.
	# Could someone please add sysroot support to libtool!
        for i in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg \( -name "*.la" -o -name "*-config" \) -type f` ; do \
                sed -i -e s:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots:FIXMESTAGINGDIR:g $i
                echo $i | sed -e 's:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/::' >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/sysroots/fixmepath
        done

	stage-manager-ipkg-build -o 0 -g 0 /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc

}

autotools_stage_libdir() {
	sysroot_stage_libdir $1 $2

}

autotools_stage_all() {
	if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
	then
		return
	fi
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging
	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging
	oe_runmake DESTDIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging" install
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging//usr/share/man || true
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging//usr/share/info || true
	sysroot_stage_dirs /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging 
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/temp-staging

}

SRC_DISTRIBUTECOMMAND() {
    test -e "${SRC}.md5" && ln -sf "${SRC}.md5" .
    ln -sf "${SRC}" .

}

oe_libinstall() {
	# Purpose: Install a library, in all its forms
	# Example
	#
	# oe_libinstall libltdl /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/
	# oe_libinstall -C src/libblah libblah /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image//usr/lib/
	dir=""
	libtool=""
	silent=""
	require_static=""
	require_shared=""
	staging_install=""
	while [ "$#" -gt 0 ]; do
		case "$1" in
		-C)
			shift
			dir="$1"
			;;
		-s)
			silent=1
			;;
		-a)
			require_static=1
			;;
		-so)
			require_shared=1
			;;
		-*)
			oefatal "oe_libinstall: unknown option: $1"
			;;
		*)
			break;
			;;
		esac
		shift
	done

	libname="$1"
	shift
	destpath="$1"
	if [ -z "$destpath" ]; then
		oefatal "oe_libinstall: no destination path specified"
	fi
	if echo "$destpath/" | egrep '^/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/' >/dev/null
	then
		staging_install=1
	fi

	__runcmd () {
		if [ -z "$silent" ]; then
			echo >&2 "oe_libinstall: $*"
		fi
		$*
	}

	if [ -z "$dir" ]; then
		dir=`pwd`
	fi

	dotlai=$libname.lai

	# Sanity check that the libname.lai is unique
	number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l`
	if [ $number_of_files -gt 1 ]; then
		oefatal "oe_libinstall: $dotlai is not unique in $dir"
	fi


	dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
	olddir=`pwd`
	__runcmd cd $dir

	lafile=$libname.la

	# If such file doesn't exist, try to cut version suffix
	if [ ! -f "$lafile" ]; then
		libname1=`echo "$libname" | sed 's/-[0-9.]*$//'`
		lafile1=$libname.la
		if [ -f "$lafile1" ]; then
			libname=$libname1
			lafile=$lafile1
		fi
	fi

	if [ -f "$lafile" ]; then
		# libtool archive
		eval `cat $lafile|grep "^library_names="`
		libtool=1
	else
		library_names="$libname.so* $libname.dll.a"
	fi

	__runcmd install -d $destpath/
	dota=$libname.a
	if [ -f "$dota" -o -n "$require_static" ]; then
		__runcmd install -m 0644 $dota $destpath/
	fi
	if [ -f "$dotlai" -a -n "$libtool" ]; then
		if test -n "$staging_install"
		then
			# stop libtool using the final directory name for libraries
			# in staging:
			__runcmd rm -f $destpath/$libname.la
			__runcmd sed -e 's/^installed=yes$/installed=no/' \
				     -e '/^dependency_libs=/s,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/\1,g' \
				     -e "/^dependency_libs=/s,\([[:space:]']\)/usr/lib,\1/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib,g" \
				     $dotlai >$destpath/$libname.la
		else
			__runcmd install -m 0644 $dotlai $destpath/$libname.la
		fi
	fi

	for name in $library_names; do
		files=`eval echo $name`
		for f in $files; do
			if [ ! -e "$f" ]; then
				if [ -n "$libtool" ]; then
					oefatal "oe_libinstall: $dir/$f not found."
				fi
			elif [ -L "$f" ]; then
				__runcmd cp -P "$f" $destpath/
			elif [ ! -L "$f" ]; then
				libfile="$f"
				__runcmd install -m 0755 $libfile $destpath/
			fi
		done
	done

	if [ -z "$libfile" ]; then
		if  [ -n "$require_shared" ]; then
			oefatal "oe_libinstall: unable to locate shared library"
		fi
	elif [ -z "$libtool" ]; then
		# special case hack for non-libtool .so.#.#.# links
		baselibfile=`basename "$libfile"`
		if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then
			sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
			solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'`
			if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then
				__runcmd ln -sf $baselibfile $destpath/$sonamelink
			fi
			__runcmd ln -sf $baselibfile $destpath/$solink
		fi
	fi

	__runcmd cd "$olddir"

}

gnomebase_do_configure() {
	autotools_do_configure

}

base_do_compile() {
	if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
		oe_runmake || die "make failed"
	else
		oenote "nothing to compile"
	fi

}

do_configure() {
	gnomebase_do_configure

}

gconf_prerm() {
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
        SCHEMA_LOCATION=/etc/gconf/schemas
        for SCHEMA in ${SCHEMA_FILES}; do
                if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then
                        HOME=/root GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
                                gconftool-2 \
                                        --makefile-uninstall-rule $SCHEMA_LOCATION/$SCHEMA > /dev/null
                fi
        done
fi

}

populate_sysroot_preamble() {
	if [ "$PSTAGING_ACTIVE" = "1" ]; then
		stage-manager -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots -c /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/stamp-cache-staging -u || true
	fi

}

devshell_do_devshell() {
	export TERMWINDOWTITLE="Bitbake Developer Shell"
	xterm
	if [ $? -ne 0 ]; then
	    echo "Fatal: 'xterm' not found. Check TERMCMD variable."
	    exit 1
	fi

}

oe_soinstall() {
	# Purpose: Install shared library file and
	#          create the necessary links
	# Example:
	#
	# oe_
	#
	#oenote installing shared library $1 to $2
	#
	libname=`basename $1`
	install -m 755 $1 $2/$libname
	sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
	solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
	ln -sf $libname $2/$sonamelink
	ln -sf $libname $2/$solink

}

sysroot_stage_dir() {
	src="$1"
	dest="$2"
	# This will remove empty directories so we can ignore them
	rmdir "$src" 2> /dev/null || true
	if [ -d "$src" ]; then
		mkdir -p "$dest"
		cp -fpPR "$src"/* "$dest"
	fi

}

sysroot_stage_all() {
	sysroot_stage_dirs /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir/

}

do_testlab() {
if [ -e  /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full" ] ; then

	IPKG_TMP_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4-tmp"
	IPKG_ARGS="-f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 -t ${IPKG_TMP_DIR}"

	TESTLAB_DIR="/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/images/hipox/Angstrom-libsoup-2.4-glibc-ipk-2010.7-test-20110203-hipox-testlab"
        mkdir -p ${TESTLAB_DIR}/
        mkdir -p ${IPKG_TMP_DIR}/
	ls -laR /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/rootfs/libsoup-2.4 > ${TESTLAB_DIR}/files-in-image.txt

	echo > ${TESTLAB_DIR}/installed-packages.txt
	echo -e "digraph depends {\n    node [shape=plaintext]" > ${TESTLAB_DIR}/depends.dot

	for pkg in $(opkg-cl ${IPKG_ARGS} list_installed | awk '{print $1}') ; do
		opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" | awk '/^Package/ {printf $2"_"} /^Version/ {printf $2"_"} /^Archi/ {print $2".ipk"}'  >> ${TESTLAB_DIR}/installed-packages.txt

    		for depends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Depends) ; do
        		echo "$pkg OPP $depends;" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Depends" | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
    		done

		for recommends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Recom) ; do
        		echo "$pkg OPP $recommends [style=dotted];" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Recom" | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
    		done
	done

	echo "}" >>  ${TESTLAB_DIR}/depends.dot
	rm -rf ${IPKG_TMP_DIR}

	grep -v kernel_2 ${TESTLAB_DIR}/depends.dot | grep -v kernel_image > ${TESTLAB_DIR}/depends-nokernel.dot
	grep -v libc6 ${TESTLAB_DIR}/depends-nokernel.dot | grep -v libgcc > ${TESTLAB_DIR}/depends-nokernel-nolibc.dot
	grep -v update_ ${TESTLAB_DIR}/depends-nokernel-nolibc.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot
        grep -v kernel_module ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot

	#dot has some library troubles when run under fakeroot, uncomment at your own risk
	#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies.png  ${TESTLAB_DIR}/depends.dot
	#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc.png ${TESTLAB_DIR}/depends-nokernel-nolibc.dot
	#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot
	#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate-nomodules.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot

	for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do
     		du -k $(find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk -name "$file") | head -n1
	done | grep "\.ipk" | sed -e s:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk::g | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${TESTLAB_DIR}/installed-package-sizes.txt

	# Log results to a git controlled directory structure than can be pushed to a remote location
	if [ "${TESTLABLOG}" = "remote" ] && [ -n "${TESTLABREMOTEDIR}" ] ; then
		TESTLABLOGDIR="hipox/libsoup-2.4"
		mkdir -p ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}
		cp ${TESTLAB_DIR}/*package* ${TESTLAB_DIR}/depends.dot ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}
		# force change to record builds where the testlab contents didn't change, but other things (e.g. git rev) did
		echo "hipox: libsoup-2.4 configured for angstrom 2010.7-test-20110203 using branch 2010-10-01_oe_sync and revision <unknown> " > ${TESTLABREMOTEDIR}/${TESTLABLOGDIR}/build-id
		# This runs inside fakeroot, so the git author is listed as root (or whatever root configured it to be) :(
		( cd ${TESTLABREMOTEDIR}/
		  git add ${TESTLABLOGDIR}/*
		  git commit ${TESTLABLOGDIR}/ -m "hipox: libsoup-2.4 configured for angstrom 2010.7-test-20110203 using branch 2010-10-01_oe_sync and revision <unknown>" --author "testlab <testlab@angstrom>" || true)
	fi
fi

}

mime_postrm() {
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
	if [ -x /usr/bin/update-mime-database ] ; then
		echo "Updating MIME database... this may take a while."
		update-mime-database $D/usr/share/mime
	else
		echo "Missing /usr/bin/update-mime-database, update of mime database failed!"
		exit 1
	fi
fi

}

base_do_configure() {
	:

}

oe_runconf() {
	if [ -x /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/configure ] ; then
		/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/configure  --build=i686-linux 		  --host=arm-angstrom-linux-gnueabi 		  --target=arm-angstrom-linux-gnueabi 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/libexec 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man ${EXTRA_OECONF} "$@"
	else
		oefatal "no configure script found"
	fi

}

do_install() {
	for i in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/ -name "*.pc" -type f` ; do \
		sed -i -e 's:-L/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib::g' \
			-e 's:-R/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib::g' \
			-e 's:-I/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include::g' \
			-e 's:-isystem/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include::g' \
			$i
        done
	gnomebase_do_install
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image/var/lib/scrollkeeper/*
	rm -rf /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image/var/scrollkeeper/*
	rm -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image/usr/share/applications/*.cache

}

autotools_stage_dir() {
 	sysroot_stage_dir $1 $2

}

do_checkuriall() {
	:

}

do_buildall() {
	:

}

pkgconfig_sysroot_preprocess() {
	install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir//home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/pkgconfig
	for pc in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91 -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
		pcname=`basename $pc`
		cat $pc > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir//home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/pkgconfig/$pcname
	done

}

oenote() {
	echo "NOTE:" "$*"

}

gconf_postinst() {
if [ "$1" = configure ]; then
	if [ "x$D" != "x" ]; then
		exit 1
	fi
	SCHEMA_LOCATION=/etc/gconf/schemas
	for SCHEMA in ${SCHEMA_FILES}; do
		if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then
			HOME=/root GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
				gconftool-2 \
				--makefile-install-rule $SCHEMA_LOCATION/$SCHEMA > /dev/null
		fi
	done
fi

}

do_package_write() {
	:

}

package_generate_ipkg_conf() {
	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/
	echo "src oe file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk" > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf
	echo "src oe file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk" > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-sdk.conf
	echo "src oe file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk" > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-canadian-sdk.conf
	ipkgarchs="all any noarch arm  armv4 armv4t armv5te hipox"
	priority=1
	for arch in $ipkgarchs; do
		echo "arch $arch $priority" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf
		echo "arch i686-$arch-sdk $priority" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-sdk.conf
		echo "arch i686-linux-sdk-$arch $priority" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-canadian-sdk.conf
		priority=$(expr $priority + 5)
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch/Packages ] ; then
		        echo "src oe-$arch file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/$arch" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf
		fi
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk/Packages ] ; then
		        echo "src oe-i686-$arch-sdk file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-$arch-sdk" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-sdk.conf
		fi
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch/Packages ] ; then
		        echo "src oe-i686-linux-sdk-$arch file:/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/i686-linux-sdk-$arch" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-canadian-sdk.conf
		fi
	done
	echo "lists_dir ext /var/lib/opkg" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg.conf
	echo "lists_dir ext /var/lib/opkg" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-sdk.conf
	echo "lists_dir ext /var/lib/opkg" >> /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/i686-linux/etc/opkg-canadian-sdk.conf

}

sysroot_stage_dirs() {
	from="$1"
	to="$2"

	sysroot_stage_dir $from/usr/include $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
	if [ "i686-linux" = "arm-angstrom-linux-gnueabi" ]; then
		sysroot_stage_dir $from/usr/bin $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/bin
		sysroot_stage_dir $from/usr/sbin $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/sbin
		sysroot_stage_dir $from/bin $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/bin
		sysroot_stage_dir $from/sbin $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/sbin
		sysroot_stage_dir $from/usr/libexec $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/libexec
		sysroot_stage_dir $from/etc $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/etc
		if [ "/usr/lib" != "/usr/lib" ]; then
			# python puts its files in here, make sure they are staged as well
			sysroot_stage_dir $from//usr/lib $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
		fi
	fi
	if [ -d $from/usr/lib ]
	then
		sysroot_stage_libdir $from//usr/lib $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
	fi
	if [ -d $from/lib ]
	then
		sysroot_stage_libdir $from/lib $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/lib
	fi
	sysroot_stage_dir $from/usr/share $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share
	sysroot_stage_dir $from/etc $to/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/etc

}

autotools_do_configure() {
	case libsoup-2.4 in
	autoconf*)
	;;
	automake*)
	;;
	*)
		# WARNING: gross hack follows:
		# An autotools built package generally needs these scripts, however only
		# automake or libtoolize actually install the current versions of them.
		# This is a problem in builds that do not use libtool or automake, in the case
		# where we -need- the latest version of these scripts.  e.g. running a build
		# for a package whose autotools are old, on an x86_64 machine, which the old
		# config.sub does not support.  Work around this by installing them manually
		# regardless.
		( for ac in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91 -name configure.in -o -name configure.ac`; do
			rm -f `dirname $ac`/configure
			done )
		if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/configure.in -o -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/configure.ac ]; then
			olddir=`pwd`
			cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91
			if [ x"default" = xdefault ]; then
				acpaths=
				for i in `find /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91 -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
					grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
					acpaths="$acpaths -I $i"
				done
			else
				acpaths="default"
			fi
			AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
			automake --version
			echo "AUTOV is $AUTOV"
			install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/aclocal
			install -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-$AUTOV
			acpaths="$acpaths -I/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-$AUTOV -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/aclocal"
			# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
			# like it was auto-generated.  Work around this by blowing it away
			# by hand, unless the package specifically asked not to run aclocal.
			if ! echo --exclude=autopoint | grep -q "aclocal"; then
				rm -f aclocal.m4
			fi
			if [ -e configure.in ]; then
			  CONFIGURE_AC=configure.in
			else
			  CONFIGURE_AC=configure.ac
			fi
			if grep "^[[:space:]]*AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
			  if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
			    : do nothing -- we still have an old unmodified configure.ac
			  else
			    oenote Executing glib-gettextize --force --copy
			    echo "no" | glib-gettextize --force --copy
			  fi
			else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
			  if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/gettext/config.rpath ]; then
			    cp /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/gettext/config.rpath /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/
			  else
			    oenote /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/share/gettext/config.rpath not found. gettext is not installed.
			  fi
			fi

			fi
			mkdir -p m4
			oenote Executing autoreconf --verbose --install --force --exclude=autopoint $acpaths
			autoreconf -Wcross --verbose --install --force --exclude=autopoint $acpaths || oefatal "autoreconf execution failed."
			if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
			  oenote Executing intltoolize --copy --force --automake
			  intltoolize --copy --force --automake
			fi
			cd $olddir
		fi
	;;
	esac
	if [ -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/libsoup-2.29.91/configure ]; then
		oe_runconf $@
	else
		oenote "nothing to configure"
	fi

}

mime_postinst() {
if [ "$1" = configure ]; then
	if [ -x /usr/bin/update-mime-database ] ; then
		echo "Updating MIME database... this may take a while."
		update-mime-database $D/usr/share/mime
	else
		echo "Missing /usr/bin/update-mime-database, update of mime database failed!"
		exit 1
	fi
fi

}

populate_sysroot_postamble() {
	if [ "$PSTAGING_ACTIVE" = "1" ]; then
		# list the packages currently installed in staging
		# stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 list_installed | awk '{print $1}' > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/installed-list

		# exitcode == 5 is ok, it means the files change
		set +e
		stage-manager -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots -c /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/stamp-cache-staging -u -d /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/sysroots
		exitcode=$?
		if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
			exit $exitcode
		fi
		set -e
	fi

}

packagedstaging_fastpath() {
	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/sysroots/
	cp -fpPR /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir///home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/* /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg/sysroots/ || /bin/true

}

staging_package_installer() {
	#stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -force-depends -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6 install /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi_2.29.91-r0_armv5te-linux-gnueabi.ipk

	STATUSFILE=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/opkg/status
	echo "Package: staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi"        >> $STATUSFILE
	echo "Version: 2.29.91-r0"   >> $STATUSFILE
	echo "Status: install user installed"  >> $STATUSFILE
	echo "Architecture: armv5te-linux-gnueabi" >> $STATUSFILE
	echo "" >> $STATUSFILE

	CTRLFILE=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/opkg/info/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi.control
	echo "Package: staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi"        > $CTRLFILE
	echo "Version: 2.29.91-r0"   >> $CTRLFILE
	echo "Architecture: armv5te-linux-gnueabi" >> $CTRLFILE

	cd /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/staging-pkg
	find -type f | grep -v ./CONTROL | sed -e 's/^\.//' > /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/opkg/info/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi.list

}

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
	if [ -e /etc/ld.so.conf ] ; then
		[ -x /sbin/ldconfig ] && /sbin/ldconfig
	fi
fi

}

do_fetchall() {
	:

}

autotools_do_install() {
	oe_runmake 'DESTDIR=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/image' install

}

oedebug() {
	test $# -ge 2 || {
		echo "Usage: oedebug level \"message\""
		exit 1
	}

	test ${OEDEBUG:-0} -ge $1 && {
		shift
		echo "DEBUG:" $*
	}

}

oe_runmake() {
	oenote make  "$@"
	make  "$@" || die "oe_runmake failed"

}

staging_helper() {
	# Assemble appropriate opkg.conf
	conffile=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf
	mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/pstaging_lists
	arch="armv5te-linux-gnueabi"
	if [ ! -e $conffile ]; then
		echo "arch $arch 1" > $conffile
		echo "dest root /" >> $conffile
	elif [ `grep -c " $arch " $conffile` -eq 0 ]; then
		priority=$(expr `grep -cE "^arch" $conffile` + 1)
		sed -i -e "/dest/iarch $arch $priority" $conffile
	fi
	if [ ! -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/opkg/info/ ]; then
		mkdir -p /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/opkg/info/
	fi
 	if [ ! -e /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/ipkg/ ]; then
		ln -sf opkg/ /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/usr/lib/ipkg || true
	fi

}

oefatal() {
	echo "FATAL:" "$*"
	exit 1

}

gnomebase_do_install() {
	autotools_do_install

}

MIRRORS() {
ftp://ftp.debian.org/debian/pool/main	http://snapshot.debian.net/archive/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.de.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.au.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.cl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hr.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.fi.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hk.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hu.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ie.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.it.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.jp.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.no.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.pl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ro.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.si.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.es.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.se.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.tr.debian.org/debian/pool
ftp://ftp.gnu.org/gnu	ftp://mirrors.kernel.org/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.cs.ubc.ca/mirror2/gnu
ftp://ftp.gnu.org/gnu	ftp://sunsite.ust.hk/pub/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.ayamura.org/pub/gnu
http://kernel.org	http://www.kernel.org/pub
http://kernel.org	ftp://ftp.us.kernel.org/pub
http://kernel.org	ftp://ftp.uk.kernel.org/pub
http://kernel.org	ftp://ftp.hk.kernel.org/pub
http://kernel.org	ftp://ftp.au.kernel.org/pub
http://kernel.org	ftp://ftp.jp.kernel.org/pub
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.surfnet.nl/pub/security/gnupg/
ftp://ftp.gnupg.org/gcrypt/     http://gulus.USherbrooke.ca/pub/appl/GnuPG/
ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN
ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/
ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/
http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/
http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tau.ac.il/pub/unix/admin/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.kaizo.org/pub/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/
http://www.apache.org/dist  http://archive.apache.org/dist
ftp://.*/.*     http://mirrors.openembedded.org/
https?$://.*/.* http://mirrors.openembedded.org/
ftp://.*/.*     http://sources.openembedded.org/
https?$://.*/.* http://sources.openembedded.org/

ftp://.*/.*	http://www.angstrom-distribution.org/unstable/sources/
https?$://.*/.*	http://www.angstrom-distribution.org/unstable/sources/

}

sysroot_stage_libdir() {
	src="$1"
	dest="$2"

	olddir=`pwd`
	cd $src
	las=$(find . -name \*.la -type f)
	cd $olddir
	echo "Found la files: $las"
	for i in $las
	do
		sed -e 's/^installed=yes$/installed=no/' \
		    -e '/^dependency_libs=/s,/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/\1,g' \
		    -e "/^dependency_libs=/s,\([[:space:]']\)/usr/lib,\1/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib,g" \
		     \
		    -i $src/$i
	done
	sysroot_stage_dir $src $dest

}



python base_do_setscene () {
        for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split():
                bb.build.exec_func(f, d)
	if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"):
		bb.build.make_stamp("do_setscene", d)
}


python do_listtasks () {
	import sys
	# emit variables and shell functions
	#bb.data.emit_env(sys.__stdout__, d)
	# emit the metadata which isnt valid shell
	for e in d.keys():
		if bb.data.getVarFlag(e, 'task', d):
			sys.__stdout__.write("%s\n" % e)
}


python populate_packages_append () {
None}


python do_rebuild () {
	"""rebuild a package"""
}


python insane_do_package () {
	bb.build.exec_func('package_do_package', d)
}


python check_sanity_eventhandler () {
    if isinstance(e, bb.event.BuildStarted):
        check_sanity(e)
}


python perform_packagecopy () {
	dest = bb.data.getVar('D', d, True)
	dvar = bb.data.getVar('PKGD', d, True)

	bb.mkdirhier(dvar)

	# Start by package population by taking a copy of the installed
	# files to operate on
	os.system('rm -rf %s/*' % (dvar))
	os.system('cp -pPR %s/* %s/' % (dest, dvar))
}


python populate_sysroot_posthook () {
    bb.build.exec_func("populate_sysroot_postamble", d)
}


python package_mapping_rename_hook () {
	"""
	Rewrite variables to account for package renaming in things
	like debian.bbclass or manual PKG variable name changes
	"""
	runtime_mapping_rename("RDEPENDS", d)
	runtime_mapping_rename("RRECOMMENDS", d)
	runtime_mapping_rename("RSUGGESTS", d)
	runtime_mapping_rename("RPROVIDES", d)
	runtime_mapping_rename("RREPLACES", d)
	runtime_mapping_rename("RCONFLICTS", d)
}


python populate_packages () {
	import glob, errno, re,os

	workdir = bb.data.getVar('WORKDIR', d, True)
	outdir = bb.data.getVar('DEPLOY_DIR', d, True)
	dvar = bb.data.getVar('PKGD', d, True)
	packages = bb.data.getVar('PACKAGES', d, True)
	pn = bb.data.getVar('PN', d, True)

	bb.mkdirhier(outdir)
	os.chdir(dvar)

	# Sanity check PACKAGES for duplicates - should be moved to
	# sanity.bbclass once we have the infrastucture
	package_list = []
	for pkg in packages.split():
		if pkg in package_list:
			bb.error("-------------------")
			bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg)
			bb.error("Please fix the metadata/report this as bug to OE bugtracker.")
			bb.error("-------------------")
		else:
			package_list.append(pkg)


	if (bb.data.getVar('PACKAGE_STRIP', d, True) != 'no'):
		for f in (bb.data.getVar('PACKAGESTRIPFUNCS', d, True) or '').split():
			bb.build.exec_func(f, d)

	pkgdest = bb.data.getVar('PKGDEST', d, True)
	os.system('rm -rf %s' % pkgdest)

	seen = []
	main_is_empty = 1
	main_pkg = bb.data.getVar('PN', d, True)

	for pkg in package_list:
		localdata = bb.data.createCopy(d)
		root = os.path.join(pkgdest, pkg)
		bb.mkdirhier(root)

		bb.data.setVar('PKG', pkg, localdata)
		overrides = bb.data.getVar('OVERRIDES', localdata, True)
		if not overrides:
			raise bb.build.FuncFailed('OVERRIDES not defined')
		bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)
		bb.data.update_data(localdata)

		filesvar = bb.data.getVar('FILES', localdata, True) or ""
		files = filesvar.split()
		for file in files:
			if os.path.isabs(file):
				file = '.' + file
			if not os.path.islink(file):
				if os.path.isdir(file):
					newfiles =  [ os.path.join(file,x) for x in os.listdir(file) ]
					if newfiles:
						files += newfiles
						continue
			globbed = glob.glob(file)
			if globbed:
				if [ file ] != globbed:
					if not file in globbed:
						files += globbed
						continue
					else:
						globbed.remove(file)
						files += globbed
			if (not os.path.islink(file)) and (not os.path.exists(file)):
				continue
			if file in seen:
				continue
			seen.append(file)
			if os.path.isdir(file) and not os.path.islink(file):
				bb.mkdirhier(os.path.join(root,file))
				os.chmod(os.path.join(root,file), os.stat(file).st_mode)
				continue
			fpath = os.path.join(root,file)
			dpath = os.path.dirname(fpath)
			bb.mkdirhier(dpath)
			ret = bb.copyfile(file, fpath)
			if ret is False:
				raise bb.build.FuncFailed("File population failed when copying %s to %s" % (file, fpath))
			if pkg == main_pkg and main_is_empty:
				main_is_empty = 0
		del localdata
	os.chdir(workdir)

	unshipped = []
	for root, dirs, files in os.walk(dvar):
		for f in files:
			path = os.path.join(root[len(dvar):], f)
			if ('.' + path) not in seen:
				unshipped.append(path)

	if unshipped != []:
		bb.note("the following files were installed but not shipped in any package:")
		for f in unshipped:
			bb.note("  " + f)

	bb.build.exec_func("package_name_hook", d)

	for pkg in package_list:
		pkgname = bb.data.getVar('PKG_%s' % pkg, d, True)
		if pkgname is None:
			bb.data.setVar('PKG_%s' % pkg, pkg, d)

	dangling_links = {}
	pkg_files = {}
	for pkg in package_list:
		dangling_links[pkg] = []
		pkg_files[pkg] = []
		inst_root = os.path.join(pkgdest, pkg)
		for root, dirs, files in os.walk(inst_root):
			for f in files:
				path = os.path.join(root, f)
				rpath = path[len(inst_root):]
				pkg_files[pkg].append(rpath)
				try:
					s = os.stat(path)
				except OSError, (err, strerror):
					if err != errno.ENOENT:
						raise
					target = os.readlink(path)
					if target[0] != '/':
						target = os.path.join(root[len(inst_root):], target)
					dangling_links[pkg].append(os.path.normpath(target))

	for pkg in package_list:
		rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "")

		remstr = "libsoup-2.4 (= 2.29.91-r0.6)"
		if main_is_empty and remstr in rdepends:
			rdepends.remove(remstr)
		for l in dangling_links[pkg]:
			found = False
			bb.debug(1, "%s contains dangling link %s" % (pkg, l))
			for p in package_list:
				for f in pkg_files[p]:
					if f == l:
						found = True
						bb.debug(1, "target found in %s" % p)
						if p == pkg:
							break
						if not p in rdepends:
							rdepends.append(p)
						break
			if found == False:
				bb.note("%s contains dangling symlink to %s" % (pkg, l))
		bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
	packages = bb.data.getVar('PACKAGES', d, 1).split()
	pkgdest =  bb.data.getVar('PKGDEST', d, 1)

	for pkg in packages:
		icon_dir = '%s/%s/%s/icons' % (pkgdest, pkg, bb.data.getVar('datadir', d, 1))
		if not os.path.exists(icon_dir):
			continue

		bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)

		postinst = bb.data.getVar('pkg_postinst_%s' % pkg, d, 1) or bb.data.getVar('pkg_postinst', d, 1)
		if not postinst:
			postinst = '#!/bin/sh\n'
		postinst += bb.data.getVar('gtk_icon_cache_postinst', d, 1)
		bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)

		postrm = bb.data.getVar('pkg_postrm_%s' % pkg, d, 1) or bb.data.getVar('pkg_postrm', d, 1)
		if not postrm:
			postrm = '#!/bin/sh\n'
		postrm += bb.data.getVar('gtk_icon_cache_postrm', d, 1)
		bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d)
	import re
	packages = bb.data.getVar('PACKAGES', d, 1).split()
	pkgdest =  bb.data.getVar('PKGDEST', d, 1)

	for pkg in packages:
		schema_dir = '%s/%s/etc/gconf/schemas' % (pkgdest, pkg)
		schemas = []
		schema_re = re.compile(".*\.schemas$")
		if os.path.exists(schema_dir):
			for f in os.listdir(schema_dir):
				if schema_re.match(f):
					schemas.append(f)
		if schemas != []:
			bb.note("adding gconf postinst and prerm scripts to %s" % pkg)
			bb.data.setVar('SCHEMA_FILES', " ".join(schemas), d)
			postinst = bb.data.getVar('pkg_postinst_%s' % pkg, d, 1) or bb.data.getVar('pkg_postinst', d, 1)
			if not postinst:
				postinst = '#!/bin/sh\n'
			postinst += bb.data.getVar('gconf_postinst', d, 1)
			bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)
			prerm = bb.data.getVar('pkg_prerm_%s' % pkg, d, 1) or bb.data.getVar('pkg_prerm', d, 1)
			if not prerm:
				prerm = '#!/bin/sh\n'
			prerm += bb.data.getVar('gconf_prerm', d, 1)
			bb.data.setVar('pkg_prerm_%s' % pkg, prerm, d)

	import os.path, re
	packages = bb.data.getVar('PACKAGES', d, 1).split()
	pkgdest =  bb.data.getVar('PKGDEST', d, 1)

	for pkg in packages:
		mime_dir = '%s/%s/usr/share/mime/packages' % (pkgdest, pkg)
		mimes = []
		mime_re = re.compile(".*\.xml$")
		if os.path.exists(mime_dir):
			for f in os.listdir(mime_dir):
				if mime_re.match(f):
					mimes.append(f)
		if mimes != []:
			bb.note("adding mime postinst and postrm scripts to %s" % pkg)
			postinst = bb.data.getVar('pkg_postinst_%s' % pkg, d, 1) or bb.data.getVar('pkg_postinst', d, 1)
			if not postinst:
				postinst = '#!/bin/sh\n'
			postinst += bb.data.getVar('mime_postinst', d, 1)
			bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)
			postrm = bb.data.getVar('pkg_postrm_%s' % pkg, d, 1) or bb.data.getVar('pkg_postrm', d, 1)
			if not postrm:
				postrm = '#!/bin/sh\n'
			postrm += bb.data.getVar('mime_postrm', d, 1)
			bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d)
			bb.note("adding freedesktop-mime-info dependency to %s" % pkg)
			rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "")
			rdepends.append("freedesktop-mime-info")
			bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
}


python do_clean () {
	"""
	Clear the build and temp directories
	"""

	removepkg = bb.data.expand("staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi", d)
	pstage_cleanpackage(removepkg, d)

	stagepkg = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi_2.29.91-r0_armv5te-linux-gnueabi.ipk", d)
	if os.path.exists(stagepkg):
		bb.note("Removing staging package %s" % base_path_out(stagepkg, d))
	oe.path.remove(stagepkg)
	oe.path.remove(stagepkg + ".md5")
	"""clear the build and temp directories"""
	dir = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0", d)
	if dir == '//': raise bb.build.FuncFailed("wrong DATADIR")
	bb.note("removing " + base_path_out(dir, d))
	os.system('rm -rf ' + dir)

	dir = "%s.*" % bb.data.expand(bb.data.getVar('STAMP', d), d)
	bb.note("removing " + base_path_out(dir, d))
	os.system('rm -f '+ dir)
}


python insane_mapping_rename_hook () {
	bb.build.exec_func('package_mapping_rename_hook', d)
}


python package_depchains () {
	"""
	For a given set of prefix and postfix modifiers, make those packages
	RRECOMMENDS on the corresponding packages for its RDEPENDS.

	Example:  If package A depends upon package B, and A's .bb emits an
	A-dev package, this would make A-dev Recommends: B-dev.

	If only one of a given suffix is specified, it will take the RRECOMMENDS
	based on the RDEPENDS of *all* other packages. If more than one of a given
	suffix is specified, its will only use the RDEPENDS of the single parent
	package.
	"""

	packages  = bb.data.getVar('PACKAGES', d, True)
	postfixes = (bb.data.getVar('DEPCHAIN_POST', d, True) or '').split()
	prefixes  = (bb.data.getVar('DEPCHAIN_PRE', d, True) or '').split()

	def pkg_adddeprrecs(pkg, base, suffix, getname, depends, d):

		#bb.note('depends for %s is %s' % (base, depends))
		rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, True) or bb.data.getVar('RRECOMMENDS', d, True) or "")

		for depend in depends:
			if depend.find('-native') != -1 or depend.find('-cross') != -1 or depend.startswith('virtual/'):
				#bb.note("Skipping %s" % depend)
				continue
			if depend.endswith('-dev'):
				depend = depend.replace('-dev', '')
			if depend.endswith('-dbg'):
				depend = depend.replace('-dbg', '')
			pkgname = getname(depend, suffix)
			#bb.note("Adding %s for %s" % (pkgname, depend))
			if not pkgname in rreclist:
				rreclist.append(pkgname)

		#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
		bb.data.setVar('RRECOMMENDS_%s' % pkg, ' '.join(rreclist), d)

	def pkg_addrrecs(pkg, base, suffix, getname, rdepends, d):

		#bb.note('rdepends for %s is %s' % (base, rdepends))
		rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, True) or bb.data.getVar('RRECOMMENDS', d, True) or "")

		for depend in rdepends:
			if depend.endswith('-dev'):
				depend = depend.replace('-dev', '')
			if depend.endswith('-dbg'):
				depend = depend.replace('-dbg', '')
			pkgname = getname(depend, suffix)
			if not pkgname in rreclist:
				rreclist.append(pkgname)

		#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
		bb.data.setVar('RRECOMMENDS_%s' % pkg, ' '.join(rreclist), d)

	def add_dep(list, dep):
		dep = dep.split(' (')[0].strip()
		if dep not in list:
			list.append(dep)

	depends = []
	for dep in explode_deps(bb.data.getVar('DEPENDS', d, True) or ""):
		add_dep(depends, dep)

	rdepends = []
	for dep in explode_deps(bb.data.getVar('RDEPENDS', d, True) or ""):
		add_dep(rdepends, dep)

	for pkg in packages.split():
		for dep in explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, True) or ""):
			add_dep(rdepends, dep)

	#bb.note('rdepends is %s' % rdepends)

	def post_getname(name, suffix):
		return '%s%s' % (name, suffix)
	def pre_getname(name, suffix):
		return '%s%s' % (suffix, name)

	pkgs = {}
	for pkg in packages.split():
		for postfix in postfixes:
			if pkg.endswith(postfix):
				if not postfix in pkgs:
					pkgs[postfix] = {}
				pkgs[postfix][pkg] = (pkg[:-len(postfix)], post_getname)

		for prefix in prefixes:
			if pkg.startswith(prefix):
				if not prefix in pkgs:
					pkgs[prefix] = {}
				pkgs[prefix][pkg] = (pkg[:-len(prefix)], pre_getname)

	for suffix in pkgs:
		for pkg in pkgs[suffix]:
			(base, func) = pkgs[suffix][pkg]
			if suffix == "-dev" and not pkg.startswith("kernel-module-"):
				pkg_adddeprrecs(pkg, base, suffix, func, depends, d)
			if len(pkgs[suffix]) == 1:
				pkg_addrrecs(pkg, base, suffix, func, rdepends, d)
			else:
				rdeps = []
				for dep in explode_deps(bb.data.getVar('RDEPENDS_' + base, d, True) or bb.data.getVar('RDEPENDS', d, True) or ""):
					add_dep(rdeps, dep)
				pkg_addrrecs(pkg, base, suffix, func, rdeps, d)
}


python do_package_qa () {
    bb.debug(2, "DO PACKAGE QA")
    pkgdest = bb.data.getVar('PKGDEST', d, True)
    packages = bb.data.getVar('PACKAGES',d, True)

    # no packages should be scanned
    if not packages:
        return

    checks = [package_qa_check_rpath, package_qa_check_dev,
              package_qa_check_perm, package_qa_check_arch,
              package_qa_check_desktop, package_qa_hash_style,
              package_qa_check_dbg]
    walk_sane = True
    rdepends_sane = True
    for package in packages.split():
        if bb.data.getVar('INSANE_SKIP_' + package, d, True):
            bb.note("package %s skipped" % package)
            continue

        bb.debug(1, "Checking Package: %s" % package)
        path = "%s/%s" % (pkgdest, package)
        if not package_qa_walk(path, checks, package, d):
            walk_sane  = False
        if not package_qa_check_rdepends(package, pkgdest, d):
            rdepends_sane = False

    if not walk_sane or not rdepends_sane:
        bb.fatal("QA run found fatal errors. Please consider fixing them.")
    bb.debug(2, "DONE with PACKAGE QA")
}


python package_ipk_fn () {
	from bb import data
	bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)
}


python packagedstage_stampfixing_eventhandler () {
    if bb.event.getName(e) == "StampUpdate":
        taskscovered = bb.data.getVar("PSTAGE_TASKS_COVERED", e.data, 1).split()
        for (fn, task) in e.targets:
            # strip off 'do_'
            task = task[3:]
            if task in taskscovered:
                stamp = "%s.do_stage_package_populated" % e.stampPrefix[fn]
                if os.path.exists(stamp):
                    # We're targetting a task which was skipped with packaged staging
                    # so we need to remove the autogenerated stamps.
                    for task in taskscovered:
                        covered = "%s.do_%s" % (e.stampPrefix[fn], task)
                        oe.path.remove(covered)
                    oe.path.remove(stamp)
}


python do_cleanall () {
    pass
}


python do_fetch () {
	bb.build.exec_func('base_do_fetch', d)
}


python do_package_ipk () {
	import re, copy

	workdir = bb.data.getVar('WORKDIR', d, 1)
	if not workdir:
		bb.error("WORKDIR not defined, unable to package")
		return


	outdir = bb.data.getVar('DEPLOY_DIR_IPK', d, 1)
	if not outdir:
		bb.error("DEPLOY_DIR_IPK not defined, unable to package")
		return

	dvar = bb.data.getVar('D', d, 1)
	if not dvar:
		bb.error("D not defined, unable to package")
		return
	bb.mkdirhier(dvar)

	tmpdir = bb.data.getVar('TMPDIR', d, 1)

	if os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), os.R_OK):
		os.unlink(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"))

	pkgdest = bb.data.getVar('PKGDEST', d, 1)
	bb.mkdirhier(pkgdest)

	packages = bb.data.getVar('PACKAGES', d, True)
	for pkg in packages.split():
		localdata = bb.data.createCopy(d)
		root = "%s/%s" % (pkgdest, pkg)
		bb.mkdirhier(root)

		lf = bb.utils.lockfile(root + ".lock")

		bb.data.setVar('ROOT', '', localdata)
		bb.data.setVar('ROOT_%s' % pkg, root, localdata)
		pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1)
		if not pkgname:
			pkgname = pkg
		bb.data.setVar('PKG', pkgname, localdata)

		overrides = bb.data.getVar('OVERRIDES', localdata, True)
		if not overrides:
			raise bb.build.FuncFailed('OVERRIDES not defined')
		bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)

		bb.data.update_data(localdata)
		basedir = os.path.join(os.path.dirname(root))
		arch = bb.data.getVar('PACKAGE_ARCH', localdata, 1)
		pkgoutdir = "%s/%s" % (outdir, arch)
		bb.mkdirhier(pkgoutdir)
		os.chdir(root)
		from glob import glob
		g = glob('*') + glob('.[!.]*')
		try:
			del g[g.index('CONTROL')]
			del g[g.index('./CONTROL')]
		except ValueError:
			pass
		if not g and bb.data.getVar('ALLOW_EMPTY', localdata) != "1":
			bb.note("Not creating empty archive for %s-%s" % (pkg, bb.data.expand('2.29.91-r0.6', localdata)))
			bb.utils.unlockfile(lf)
			continue

		controldir = os.path.join(root, 'CONTROL')
		bb.mkdirhier(controldir)
		try:
			ctrlfile = file(os.path.join(controldir, 'control'), 'w')
		except OSError:
			bb.utils.unlockfile(lf)
			raise bb.build.FuncFailed("unable to open control file for writing.")

		fields = []
		pe = bb.data.getVar('PE', d, 1)
		if pe and int(pe) > 0:
			fields.append(["Version: %s:%s-%s\n", ['PE', 'PKGV', 'PKGR']])
		else:
			fields.append(["Version: %s-%s\n", ['PKGV', 'PKGR']])
		fields.append(["Description: %s\n", ['DESCRIPTION']])
		fields.append(["Section: %s\n", ['SECTION']])
		fields.append(["Priority: %s\n", ['PRIORITY']])
		fields.append(["Maintainer: %s\n", ['MAINTAINER']])
		fields.append(["License: %s\n", ['LICENSE']])
		fields.append(["Architecture: %s\n", ['PACKAGE_ARCH']])
		fields.append(["OE: %s\n", ['PN']])
		fields.append(["Homepage: %s\n", ['HOMEPAGE']])

		def pullData(l, d):
			l2 = []
			for i in l:
				l2.append(bb.data.getVar(i, d, 1))
			return l2

		ctrlfile.write("Package: %s\n" % pkgname)
		# check for required fields
		try:
			for (c, fs) in fields:
				for f in fs:
					if bb.data.getVar(f, localdata) is None:
						raise KeyError(f)
				ctrlfile.write(c % tuple(pullData(fs, localdata)))
		except KeyError:
			import sys
			(type, value, traceback) = sys.exc_info()
			ctrlfile.close()
			bb.utils.unlockfile(lf)
			raise bb.build.FuncFailed("Missing field for ipk generation: %s" % value)
		# more fields

		bb.build.exec_func("mapping_rename_hook", localdata)

		rdepends = explode_deps(bb.data.getVar("RDEPENDS", localdata, 1) or "")
		rrecommends = explode_deps(bb.data.getVar("RRECOMMENDS", localdata, 1) or "")
		rsuggests = (bb.data.getVar("RSUGGESTS", localdata, 1) or "").split()
		rprovides = (bb.data.getVar("RPROVIDES", localdata, 1) or "").split()
		rreplaces = (bb.data.getVar("RREPLACES", localdata, 1) or "").split()
		rconflicts = (bb.data.getVar("RCONFLICTS", localdata, 1) or "").split()

		if not '-locale-' and not '-dbg' and not '-dev' in pkgname:
			rdepends.append('%s-locale*' % pkgname)

		if rdepends:
			ctrlfile.write("Depends: %s\n" % ", ".join(rdepends))
		if rsuggests:
			ctrlfile.write("Suggests: %s\n" % ", ".join(rsuggests))
		if rrecommends:
			ctrlfile.write("Recommends: %s\n" % ", ".join(rrecommends))
		if rprovides:
			ctrlfile.write("Provides: %s\n" % ", ".join(rprovides))
		if rreplaces:
			ctrlfile.write("Replaces: %s\n" % ", ".join(rreplaces))
		if rconflicts:
			ctrlfile.write("Conflicts: %s\n" % ", ".join(rconflicts))
		src_uri = bb.data.getVar("SRC_URI", localdata, 1) or d.getVar("FILE", True)
		src_uri = re.sub("\s+", " ", src_uri)
		ctrlfile.write("Source: %s\n" % " ".join(src_uri.split()))
		ctrlfile.close()

		for script in ["preinst", "postinst", "prerm", "postrm"]:
			scriptvar = bb.data.getVar('pkg_%s' % script, localdata, 1)
			if not scriptvar:
				continue
			try:
				scriptfile = file(os.path.join(controldir, script), 'w')
			except OSError:
				bb.utils.unlockfile(lf)
				raise bb.build.FuncFailed("unable to open %s script file for writing." % script)
			scriptfile.write(scriptvar)
			scriptfile.close()
			os.chmod(os.path.join(controldir, script), 0755)

		conffiles_str = bb.data.getVar("CONFFILES", localdata, 1)
		if conffiles_str:
			try:
				conffiles = file(os.path.join(controldir, 'conffiles'), 'w')
			except OSError:
				bb.utils.unlockfile(lf)
				raise bb.build.FuncFailed("unable to open conffiles for writing.")
			for f in conffiles_str.split():
				conffiles.write('%s\n' % f)
			conffiles.close()

		os.chdir(basedir)
		ret = os.system("PATH=\"%s\" %s %s %s" % (bb.data.getVar("PATH", localdata, 1),
                                                          bb.data.getVar("IPKGBUILDCMD",d,1), pkg, pkgoutdir))
		if ret != 0:
			bb.utils.unlockfile(lf)
			raise bb.build.FuncFailed("ipkg-build execution failed")

		bb.utils.prunedir(controldir)
		bb.utils.unlockfile(lf)
}


python read_shlibdeps () {
	packages = bb.data.getVar('PACKAGES', d, True).split()
	for pkg in packages:
		rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "")
		for extension in ".shlibdeps", ".pcdeps", ".clilibdeps":
			depsfile = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/packages-split/" + pkg + extension, d)
			if os.access(depsfile, os.R_OK):
				fd = file(depsfile)
				lines = fd.readlines()
				fd.close()
				for l in lines:
					rdepends.append(l.rstrip())
		bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
}


python do_distclean () {
	"""clear downloaded sources, build and temp directories"""

	bb.build.exec_func('do_clean', d)

	src_uri = bb.data.getVar('SRC_URI', d, 1)
	if not src_uri:
		return

	for uri in src_uri.split():
		if bb.decodeurl(uri)[0] == "file":
			continue

		try:
			local = bb.data.expand(bb.fetch.localpath(uri, d), d)
		except bb.MalformedUrl, e:
			bb.debug(1, 'Unable to generate local path for malformed uri: %s' % e)
		else:
			bb.note("removing %s" % base_path_out(local, d))
			try:
				if os.path.exists(local + ".md5"):
					os.remove(local + ".md5")
				if os.path.exists(local):
					os.remove(local)
			except OSError, e:
				bb.note("Error in removal: %s" % e)
}


python do_checkuri () {
	import sys

	localdata = bb.data.createCopy(d)
	bb.data.update_data(localdata)

	src_uri = bb.data.getVar('SRC_URI', localdata, 1)

	try:
		bb.fetch.init(src_uri.split(),d)
	except bb.fetch.NoMethodError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("No method: %s" % value)

	try:
		bb.fetch.checkstatus(localdata)
	except bb.fetch.MissingParameterError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Missing parameters: %s" % value)
	except bb.fetch.FetchError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Fetch failed: %s" % value)
	except bb.fetch.MD5SumError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("MD5  failed: %s" % value)
	except:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Unknown fetch Error: %s" % value)
}


python base_do_fetch () {
	import sys

	localdata = bb.data.createCopy(d)
	bb.data.update_data(localdata)

	src_uri = bb.data.getVar('SRC_URI', localdata, 1)
	if not src_uri:
		return 1

	try:
		bb.fetch.init(src_uri.split(),d)
	except bb.fetch.NoMethodError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("No method: %s" % value)
	except bb.MalformedUrl:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Malformed URL: %s" % value)

	try:
		bb.fetch.go(localdata)
	except bb.fetch.MissingParameterError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Missing parameters: %s" % value)
	except bb.fetch.FetchError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Fetch failed: %s" % value)
	except bb.fetch.MD5SumError:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("MD5  failed: %s" % value)
	except:
		(type, value, traceback) = sys.exc_info()
		raise bb.build.FuncFailed("Unknown fetch Error: %s" % value)


	pv = bb.data.getVar('PV', d, True)
	pn = bb.data.getVar('PN', d, True)

	# Check each URI
	first_uri = True
	for url in src_uri.split():
		localpath = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
		(type,host,path,_,_,params) = bb.decodeurl(url)
		uri = "%s://%s%s" % (type,host,path)
		try:
			if type in [ "http", "https", "ftp", "ftps" ]:
				# We provide a default shortcut of plain [] for the first fetch uri
				# Explicit names in any uri overrides this default.
				if not "name" in params and first_uri:
					first_uri = False
					params["name"] = ""
				if not base_chk_file(pn, pv, uri, localpath, params, d):
					if not bb.data.getVar("OE_ALLOW_INSECURE_DOWNLOADS", d, True):
						bb.fatal("%s-%s: %s cannot check archive integrity" % (pn,pv,uri))
					else:
						bb.note("%s-%s: %s cannot check archive integrity" % (pn,pv,uri))
		except Exception:
			raise bb.build.FuncFailed("Checksum of '%s' failed" % uri)
}


python do_populate_sysroot () {
    #
    # if do_stage exists, we're legacy. In that case run the do_stage,
    # modify the SYSROOT_DESTDIR variable and then run the staging preprocess
    # functions against staging directly.
    #
    # Otherwise setup a destdir, copy the results from do_install
    # and run the staging preprocess against that
    #
    pstageactive = (bb.data.getVar("PSTAGING_ACTIVE", d, True) == "1")
    lockfile = bb.data.getVar("SYSROOT_LOCK", d, True)
    stagefunc = bb.data.getVar('do_stage', d, True)
    legacy = is_legacy_staging(d)
    if legacy:
        bb.data.setVar("SYSROOT_DESTDIR", "", d)
        bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True))

        try:
            file = open("%s/legacy-staging.log" % bb.data.getVar("TMPDIR", d, 1), "a")
	    file.write("%s\n" % bb.data.getVar("FILE", d, True))
	    file.close()
        except:
            pass

        if bb.data.getVarFlags('do_stage', d) is None:
            bb.fatal("This recipe (%s) has a do_stage_prepend or do_stage_append and do_stage now doesn't exist. Please rename this to do_stage()" % bb.data.getVar("FILE", d, True))
        lock = bb.utils.lockfile(lockfile)
        bb.build.exec_func('populate_sysroot_prehook', d)
        bb.build.exec_func('do_stage', d)
        for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
            bb.build.exec_func(f, d)
        bb.build.exec_func('populate_sysroot_posthook', d)
        bb.utils.unlockfile(lock)
    else:
        dest = bb.data.getVar('D', d, True)
        sysrootdest = bb.data.expand('/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir//home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi', d)
        bb.mkdirhier(sysrootdest)

        bb.build.exec_func("sysroot_stage_all", d)
        #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
        for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
            bb.build.exec_func(f, d)
        if pstageactive:
            bb.build.exec_func("packagedstaging_fastpath", d)

        lock = bb.utils.lockfile(lockfile)
        os.system(bb.data.expand('cp -pPR /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/sysroot-destdir//home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/* /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/', d))
        bb.utils.unlockfile(lock)
}


python __anonymous () {
None}


python staging_package_libtoolhack () {
	# Deal with libtool not supporting sysroots and add our new
	# staging location
        tmpdir = bb.data.getVar('TMPDIR', d, True)
        staging = bb.data.getVar('STAGING_DIR', d, True)
        fixmefn =  staging + "/fixmepath"
        try:
            fixmefd = open(fixmefn,"r")
            fixmefiles = fixmefd.readlines()
            fixmefd.close()
            oe.path.remove(fixmefn)
            for file in fixmefiles:
                oe_run(d, "sed -i -e s:FIXMESTAGINGDIR:%s:g %s" % (staging, tmpdir + '/' + file))
        except IOError:
            pass
}


python read_subpackage_metadata () {
	data = read_pkgdata(bb.data.getVar('PN', d, 1), d)

	for key in data.keys():
		bb.data.setVar(key, data[key], d)

	for pkg in bb.data.getVar('PACKAGES', d, 1).split():
		sdata = read_subpkgdata(pkg, d)
		for key in sdata.keys():
			bb.data.setVar(key, sdata[key], d)
}


python do_setscene () {
	bb.build.exec_func('base_do_setscene', d)
}


python do_package () {
	bb.build.exec_func('insane_do_package', d)
}


python do_qa_staging () {
    bb.debug(2, "QA checking staging")

    if not package_qa_check_staged(bb.data.getVar('STAGING_LIBDIR',d,True), d):
        bb.fatal("QA staging was broken by the package built above")
}


python do_distribute_sources () {
	bb.build.exec_func("do_fetch", d)

	cmd = bb.data.getVar('SRC_DISTRIBUTECOMMAND', d, 1)
	if not cmd:
		raise bb.build.FuncFailed("Unable to distribute sources, SRC_DISTRIBUTECOMMAND not set")

	try:
		dlonly = int(d.getVar("SRC_DISTRIBUTE_DLONLY", 1))
	except ValueError:
		raise bb.build.FuncFailed("Invalid value for SRC_DISTRIBUTE_DLONLY: expected integer.")
	dldir = os.path.realpath(d.getVar("DL_DIR", 1) or "")

	licenses = (bb.data.getVar('LICENSE', d, 1) or "unknown").split()
	urldatadict = bb.fetch.init(d.getVar("SRC_URI", True).split(), d, True)
	for url, urldata in urldatadict.iteritems():
		if not urldata.setup:
			urldata.setup_localpath(d)

		local = urldata.localpath
		if dlonly and dldir and not \
		   os.path.realpath(local).startswith(dldir + os.path.sep):
			continue

		bb.data.setVar('SRC', os.path.abspath(local), d)
		for license in licenses:
			for entry in license.split("|"):
				bb.data.setVar('LIC', entry, d)
				bb.build.exec_func('SRC_DISTRIBUTECOMMAND', d)
}


python packagestage_scenefunc () {
    import glob
    if bb.data.getVar("PSTAGING_ACTIVE", d, 1) == "0":
        return

    bb.build.exec_func("staging_helper", d)

    removepkg = bb.data.expand("staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi", d)

    pstage_cleanpackage(removepkg, d)

    stagepkg = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/angstromglibc/staging-libsoup-2.4-armv5te-angstrom-linux-gnueabi_2.29.91-r0_armv5te-linux-gnueabi.ipk", d)
    if not os.path.exists(stagepkg):
        staging_fetch(stagepkg, d)

    if os.path.exists(stagepkg):
        pstage_set_pkgmanager(d)
        file = bb.data.getVar("FILE", d, True)
        bb.debug(2, "Packaged staging active for %s\n" % file)

        #
        # Install the staging package somewhere temporarily so we can extract the stamp files
        #
        bb.mkdirhier(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/tstage//usr/lib/opkg/info/ ", d))
        cmd = bb.data.expand("stage-manager-ipkg -f /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/pstage/opkg.conf -force-depends -o /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/tstage install", d)
        try:
            oe_run(d, "%s %s" % (cmd, stagepkg))
        except RuntimeError:
            bb.fatal("Couldn't install the staging package to a temp directory")

        #
        # Grab the staging lock now so that we don't have other threads try and
        # validate or install based on these stamps being valid.  This is a
        # potential issue for certain BB_STAMP_POLICY values and enough
        # concurrent threads.
        #
        lf = bb.utils.lockfile(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock", d))

        #
        # Copy the stamp files into the main stamps directoy
        #
        cmd = bb.data.expand("cp -dpR /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/tstage/stamps/* /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/stamps/", d)
        try:
            ret = oe_run(d, cmd)
        except RuntimeError:
            bb.utils.unlockfile(lf)
            bb.fatal("Couldn't copy the staging package stamp files")

        #
        # Iterate over the stamps seeing if they're valid. If we find any that
        # are invalid or the task wasn't in the taskgraph, assume caution and
        # do a rebuild.
        #
        # FIXME - some tasks are safe to ignore in the task graph. e.g. package_write_*
        stageok = True
        taskscovered = bb.data.getVar("PSTAGE_TASKS_COVERED", d, True).split()
        stamp = bb.data.getVar("STAMP", d, True)
        for task in taskscovered:
            task = 'do_' + task
            stampfn = "%s.%s" % (stamp, task)
            bb.debug(1, "Checking %s" % (stampfn))
            if os.path.exists(stampfn):
                stageok = bb.runqueue.check_stamp_fn(file, task, d)
                bb.debug(1, "Result %s" % (stageok))
                if not stageok:
                    bb.utils.unlockfile(lf)
                    break

        # Remove the stamps and files we added above
        # FIXME - we should really only remove the stamps we added
        for fname in glob.glob(stamp + '.*'):
            oe.path.remove(fname)

        oe.path.remove(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/libsoup-2.4-2.29.91-r0/tstage", d))
        if stageok:
            bb.note("Staging package found, using it for %s." % file)
            installcmd = bb.data.getVar("PSTAGE_INSTALL_CMD", d, 1)
            try:
                ret = oe_run(d, "%s %s" % (installcmd, stagepkg))
            except RuntimeError:
                bb.note("Failure installing prestage package")
            finally:
                bb.utils.unlockfile(lf)

            bb.build.exec_func("staging_package_libtoolhack", d)

            bb.build.make_stamp("do_stage_package_populated", d)
        else:
            bb.note("Staging package found but invalid for %s" % file)

}


python oe_import () {
    if isinstance(e, bb.event.ConfigParsed):
        import os, sys
        bbpath = e.data.getVar("BBPATH", True).split(":")
        sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath]

        def inject(name, value):
            """Make a python object accessible from the metadata"""
            if hasattr(bb.utils, "_context"):
                bb.utils._context[name] = value
            else:
                __builtins__[name] = value

        for toimport in e.data.getVar("OE_IMPORTS", True).split():
            imported = __import__(toimport)
            inject(toimport.split(".", 1)[0], imported)
}


python do_unpack () {
	bb.build.exec_func('base_do_unpack', d)
}


python package_do_pkgconfig () {
	import re

	packages = bb.data.getVar('PACKAGES', d, True)
	workdir = bb.data.getVar('WORKDIR', d, True)
	pkgdest = bb.data.getVar('PKGDEST', d, True)

	shlibs_dir = bb.data.getVar('SHLIBSDIR', d, True)
	bb.mkdirhier(shlibs_dir)

	pc_re = re.compile('(.*)\.pc$')
	var_re = re.compile('(.*)=(.*)')
	field_re = re.compile('(.*): (.*)')

	pkgconfig_provided = {}
	pkgconfig_needed = {}
	for pkg in packages.split():
		pkgconfig_provided[pkg] = []
		pkgconfig_needed[pkg] = []
		top = os.path.join(pkgdest, pkg)
		for root, dirs, files in os.walk(top):
			for file in files:
				m = pc_re.match(file)
				if m:
					pd = bb.data.init()
					name = m.group(1)
					pkgconfig_provided[pkg].append(name)
					path = os.path.join(root, file)
					if not os.access(path, os.R_OK):
						continue
					f = open(path, 'r')
					lines = f.readlines()
					f.close()
					for l in lines:
						m = var_re.match(l)
						if m:
							name = m.group(1)
							val = m.group(2)
							bb.data.setVar(name, bb.data.expand(val, pd), pd)
							continue
						m = field_re.match(l)
						if m:
							hdr = m.group(1)
							exp = bb.data.expand(m.group(2), pd)
							if hdr == 'Requires':
								pkgconfig_needed[pkg] += exp.replace(',', ' ').split()

	pstageactive = bb.data.getVar('PSTAGING_ACTIVE', d, True)
	if pstageactive == "1":
		lf = bb.utils.lockfile(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock", d))

	for pkg in packages.split():
		pkgs_file = os.path.join(shlibs_dir, pkg + ".pclist")
		if os.path.exists(pkgs_file):
			os.remove(pkgs_file)
		if pkgconfig_provided[pkg] != []:
			f = open(pkgs_file, 'w')
			for p in pkgconfig_provided[pkg]:
				f.write('%s\n' % p)
			f.close()
			package_stagefile(pkgs_file, d)

	for dir in [shlibs_dir]:
		if not os.path.exists(dir):
			continue
		for file in os.listdir(dir):
			m = re.match('^(.*)\.pclist$', file)
			if m:
				pkg = m.group(1)
				fd = open(os.path.join(dir, file))
				lines = fd.readlines()
				fd.close()
				pkgconfig_provided[pkg] = []
				for l in lines:
					pkgconfig_provided[pkg].append(l.rstrip())

	for pkg in packages.split():
		deps = []
		for n in pkgconfig_needed[pkg]:
			found = False
			for k in pkgconfig_provided.keys():
				if n in pkgconfig_provided[k]:
					if k != pkg and not (k in deps):
						deps.append(k)
					found = True
			if found == False:
				bb.note("couldn't find pkgconfig module '%s' in any package" % n)
		deps_file = os.path.join(pkgdest, pkg + ".pcdeps")
		if os.path.exists(deps_file):
			os.remove(deps_file)
		if len(deps):
			fd = open(deps_file, 'w')
			for dep in deps:
				fd.write(dep + '\n')
			fd.close()
			package_stagefile(deps_file, d)

	if pstageactive == "1":
		bb.utils.unlockfile(lf)
}


python base_do_unpack () {
    from glob import glob

    src_uri = d.getVar("SRC_URI", True)
    if not src_uri:
        return
    srcurldata = bb.fetch.init(src_uri.split(), d, True)
    filespath = d.getVar("FILESPATH", True).split(":")

    for url in src_uri.split():
        urldata = srcurldata[url]
        if urldata.type == "file" and "*" in urldata.path:
            # The fetch code doesn't know how to handle globs, so
            # we need to handle the local bits ourselves
            for path in filespath:
                srcdir = oe.path.join(path, urldata.host,
                                      os.path.dirname(urldata.path))
                if os.path.exists(srcdir):
                    break
            else:
                bb.fatal("Unable to locate files for %s" % url)

            for filename in glob(oe.path.join(srcdir,
                                              os.path.basename(urldata.path))):
                oe_unpack(d, filename, urldata)
        else:
            local = urldata.localpath
            if not local:
                raise bb.build.FuncFailed('Unable to locate local file for %s' % url)

            oe_unpack(d, local, urldata)
}


python base_scenefunction () {
	stamp = bb.data.getVar('STAMP', d, 1) + ".needclean"
	if os.path.exists(stamp):
	        bb.build.exec_func("do_clean", d)
}


python recipe_sanity_eh () {
    from bb.event import getName

    if getName(e) != "ConfigParsed":
        return

    d = e.data

    cfgdata = {}
    for k in d.keys():
    #for k in ["S", "PR", "PV", "PN", "DESCRIPTION", "LICENSE", "DEPENDS",
    #          "SECTION"]:
        cfgdata[k] = d.getVar(k, 0)

    d.setVar("__recipe_sanity_cfgdata", cfgdata)
    #d.setVar("__recipe_sanity_cfgdata", d)

    # Sick, very sick..
    from bb.data_smart import DataSmart
    old = DataSmart.renameVar
    def myrename(self, key, newkey):
        oldvalue = self.getVar(newkey, 0)
        old(self, key, newkey)
        newvalue = self.getVar(newkey, 0)
        if oldvalue:
            renames = self.getVar("__recipe_sanity_renames", 0) or set()
            renames.add((key, newkey, oldvalue, newvalue))
            self.setVar("__recipe_sanity_renames", renames)
    DataSmart.renameVar = myrename
}


python package_do_package () {
	packages = (bb.data.getVar('PACKAGES', d, True) or "").split()
	if len(packages) < 1:
		bb.debug(1, "No packages to build, skipping do_package")
		return

	workdir = bb.data.getVar('WORKDIR', d, True)
	outdir = bb.data.getVar('DEPLOY_DIR', d, True)
	dest = bb.data.getVar('D', d, True)
	dvar = bb.data.getVar('PKGD', d, True)
	pn = bb.data.getVar('PN', d, True)

	if not workdir or not outdir or not dest or not dvar or not pn or not packages:
		bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")
		return

	for f in (bb.data.getVar('PACKAGEFUNCS', d, True) or '').split():
		bb.build.exec_func(f, d)
		package_run_hooks(f, d)
}


python base_eventhandler () {
	from bb import note, error, data
	from bb.event import getName


	name = getName(e)
	if name == "TaskCompleted":
		msg = "package %s: task %s is complete." % (data.getVar("PF", e.data, 1), e.task)
	elif name == "UnsatisfiedDep":
		msg = "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower())
	else:
		return

	# Only need to output when using 1.8 or lower, the UI code handles it
	# otherwise
	if (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8):
		if msg:
			note(msg)

	if name.startswith("BuildStarted"):
		bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
		statusvars = bb.data.getVar("BUILDCFG_VARS", e.data, 1).split()
		statuslines = ["%-17s = \"%s\"" % (i, bb.data.getVar(i, e.data, 1) or '') for i in statusvars]
		statusmsg = "\n%s\n%s\n" % (bb.data.getVar("BUILDCFG_HEADER", e.data, 1), "\n".join(statuslines))
		print statusmsg

		needed_vars = bb.data.getVar("BUILDCFG_NEEDEDVARS", e.data, 1).split()
		pesteruser = []
		for v in needed_vars:
			val = bb.data.getVar(v, e.data, 1)
			if not val or val == 'INVALID':
				pesteruser.append(v)
		if pesteruser:
			bb.fatal('The following variable(s) were not set: %s\nPlease set them directly, or choose a MACHINE or DISTRO that sets them.' % ', '.join(pesteruser))

	#
	# Handle removing stamps for 'rebuild' task
	#
	if name.startswith("StampUpdate"):
		for (fn, task) in e.targets:
			#print "%s %s" % (task, fn)
			if task == "do_rebuild":
				dir = "%s.*" % e.stampPrefix[fn]
				bb.note("Removing stamps: " + dir)
				os.system('rm -f '+ dir)
				os.system('touch ' + e.stampPrefix[fn] + '.needclean')

	if not data in e.__dict__:
		return

	log = data.getVar("EVENTLOG", e.data, 1)
	if log:
		logfile = file(log, "a")
		logfile.write("%s\n" % msg)
		logfile.close()
}


python package_name_hook () {
	bb.build.exec_func('debian_package_name_hook', d)
}


python do_package_stage () {
    if bb.data.getVar("PSTAGING_ACTIVE", d, 1) != "1":
        return

    #
    # Handle deploy/ packages
    #
    bb.build.exec_func("read_subpackage_metadata", d)
    stagepath = bb.data.getVar("PSTAGE_TMPDIR_STAGE", d, 1)
    tmpdir = bb.data.getVar("TMPDIR", d, True)
    packages = (bb.data.getVar('PACKAGES', d, 1) or "").split()
    if len(packages) > 0:
        if bb.data.inherits_class('package_ipk', d):
            ipkpath = bb.data.getVar('DEPLOY_DIR_IPK', d, True).replace(tmpdir, stagepath)
        if bb.data.inherits_class('package_deb', d):
            debpath = bb.data.getVar('DEPLOY_DIR_DEB', d, True).replace(tmpdir, stagepath)
        if bb.data.inherits_class('package_rpm', d):
            rpmpath = bb.data.getVar('DEPLOY_DIR_RPM', d, True).replace(tmpdir, stagepath)

        for pkg in packages:
            pkgname = bb.data.getVar('PKG_%s' % pkg, d, 1)
            if not pkgname:
                pkgname = pkg
            arch = bb.data.getVar('PACKAGE_ARCH_%s' % pkg, d, 1)
            if not arch:
                arch = bb.data.getVar('PACKAGE_ARCH', d, 1)
            pr = bb.data.getVar('PR_%s' % pkg, d, 1)
            if not pr:
                pr = bb.data.getVar('PR', d, 1)
            if not packaged(pkg, d):
                continue
            if bb.data.inherits_class('package_ipk', d):
                srcname = bb.data.expand(pkgname + "_2.29.91-" + pr + ".6" + "_" + arch + ".ipk", d)
                srcfile = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/ipk/" + arch + "/" + srcname, d)
                if os.path.exists(srcfile):
                    destpath = ipkpath + "/" + arch + "/"
                    bb.mkdirhier(destpath)
                    bb.copyfile(srcfile, destpath + srcname)

            if bb.data.inherits_class('package_deb', d):
                if arch == 'all':
                    srcname = bb.data.expand(pkgname + "_2.29.91-" + pr + ".6" + "_all.deb", d)
                else:
                    srcname = bb.data.expand(pkgname + "_2.29.91-" + pr + ".6" + "_${DPKG_ARCH}.deb", d)
                srcfile = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/deb/" + arch + "/" + srcname, d)
                if os.path.exists(srcfile):
                    destpath = debpath + "/" + arch + "/"
                    bb.mkdirhier(destpath)
                    bb.copyfile(srcfile, destpath + srcname)

            if bb.data.inherits_class('package_rpm', d):
		version = bb.data.getVar('PV', d, 1)
		version = version.replace('-', '+')
		bb.data.setVar('RPMPV', version, d)
                srcname = bb.data.expand(pkgname + "-${RPMPV}-" + pr + ".6" + ".arm.rpm", d)
                srcfile = bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/deploy/glibc/rpm/" + arch + "/" + srcname, d)
                if os.path.exists(srcfile):
                    destpath = rpmpath + "/" + arch + "/"
                    bb.mkdirhier(destpath)
                    bb.copyfile(srcfile, destpath + srcname)


    #
    # Handle stamps/ files
    #
    stampfn = bb.data.getVar("STAMP", d, True)
    destdir = os.path.dirname(stampfn.replace(tmpdir, stagepath))
    bb.mkdirhier(destdir)
    # We need to include the package_stage stamp in the staging package so create one
    bb.build.make_stamp("do_package_stage", d)
    oe_run(d, "cp -dpR %s.do_* %s/" % (stampfn, destdir))

    pstage_set_pkgmanager(d)
    bb.build.exec_func("staging_helper", d)
    bb.build.exec_func("staging_packager", d)
    lf = bb.utils.lockfile(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock", d))
    bb.build.exec_func("staging_package_installer", d)
    bb.utils.unlockfile(lf)
}


python base_do_patch () {
	bb.build.exec_func('patch_do_patch', d)
}


python package_ipk_install () {
	#
	# Warning - this function is not multimachine safe (see stagingdir reference)!
	#

	pkg = bb.data.getVar('PKG', d, 1)
	pkgfn = bb.data.getVar('PKGFN', d, 1)
	rootfs = bb.data.getVar('IMAGE_ROOTFS', d, 1)
	ipkdir = bb.data.getVar('DEPLOY_DIR_IPK', d, 1)
	stagingdir = bb.data.getVar('STAGING_DIR', d, 1)
	tmpdir = bb.data.getVar('TMPDIR', d, 1)

	if None in (pkg,pkgfn,rootfs):
		raise bb.build.FuncFailed("missing variables (one or more of PKG, PKGFN, IMAGEROOTFS)")
	try:
		bb.mkdirhier(rootfs)
		os.chdir(rootfs)
	except OSError:
		import sys
		(type, value, traceback) = sys.exc_info()
		print value
		raise bb.build.FuncFailed

	# Generate ipk.conf if it or the stamp doesnt exist
	conffile = os.path.join(stagingdir,"opkg.conf")
	if not os.access(conffile, os.R_OK):
		ipkg_archs = bb.data.getVar('PACKAGE_ARCHS',d)
		if ipkg_archs is None:
			bb.error("PACKAGE_ARCHS missing")
			raise FuncFailed
		ipkg_archs = ipkg_archs.split()
		arch_priority = 1

		f = open(conffile,"w")
		for arch in ipkg_archs:
			f.write("arch %s %s\n" % ( arch, arch_priority ))
			arch_priority += 1
		f.write("src local file:%s" % ipkdir)
		f.close()


	if (not os.access(os.path.join(ipkdir,"Packages"), os.R_OK) or
		not os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),os.R_OK)):
		ret = os.system('ipkg-make-index -p %s %s ' % (os.path.join(ipkdir, "Packages"), ipkdir))
		if (ret != 0 ):
			raise bb.build.FuncFailed
		f = open(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),"w")
		f.close()

	ret = os.system('opkg-cl  -o %s -f %s update' % (rootfs, conffile))
	ret = os.system('opkg-cl  -o %s -f %s install %s' % (rootfs, conffile, pkgfn))
	if (ret != 0 ):
		raise bb.build.FuncFailed
}


python do_recipe_sanity () {
    p = d.getVar("P", 1)
    p = "%s %s %s" % (d.getVar("PN", 1), d.getVar("PV", 1), d.getVar("PR", 1))

    sanitychecks = [
        (can_remove_FILESDIR, "candidate for removal of FILESDIR"),
        (can_remove_FILESPATH, "candidate for removal of FILESPATH"),
        #(can_use_autotools_base, "candidate for use of autotools_base"),
        (incorrect_nonempty_PACKAGES, "native or cross recipe with non-empty PACKAGES"),
    ]
    cfgdata = d.getVar("__recipe_sanity_cfgdata", 0)

    for (func, msg) in sanitychecks:
        if func(cfgdata, d):
            __note(msg, d)

    can_remove_others(p, cfgdata, d)
    var_renames_overwrite(cfgdata, d)
    req_vars(cfgdata, d)
    bad_runtime_vars(cfgdata, d)
}


python do_patch () {
	bb.build.exec_func('base_do_patch', d)
}


python do_runstrip () {
	import stat

	dvar = bb.data.getVar('PKGD', d, True)
	def isexec(path):
		try:
			s = os.stat(path)
		except (os.error, AttributeError):
			return 0
		return (s[stat.ST_MODE] & stat.S_IEXEC)

	for root, dirs, files in os.walk(dvar):
		for f in files:
			file = os.path.join(root, f)
			if not os.path.islink(file) and not os.path.isdir(file) and isexec(file):
				runstrip(file, d)
}


python package_do_split_locales () {
	if (bb.data.getVar('PACKAGE_NO_LOCALE', d, True) == '1'):
		bb.debug(1, "package requested not splitting locales")
		return

	packages = (bb.data.getVar('PACKAGES', d, True) or "").split()

	datadir = bb.data.getVar('datadir', d, True)
	if not datadir:
		bb.note("datadir not defined")
		return

	dvar = bb.data.getVar('PKGD', d, True)
	pn = bb.data.getVar('PN', d, True)

	if pn + '-locale' in packages:
		packages.remove(pn + '-locale')

	localedir = os.path.join(dvar + datadir, 'locale')

	if not os.path.isdir(localedir):
		bb.debug(1, "No locale files in this package")
		return

	locales = os.listdir(localedir)

	# This is *really* broken
	mainpkg = packages[0]
	# At least try and patch it up I guess...
	if mainpkg.find('-dbg'):
		mainpkg = mainpkg.replace('-dbg', '')
	if mainpkg.find('-dev'):
		mainpkg = mainpkg.replace('-dev', '')

	for l in locales:
		ln = legitimize_package_name(l)
		pkg = pn + '-locale-' + ln
		packages.append(pkg)
		bb.data.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l), d)
		bb.data.setVar('RDEPENDS_' + pkg, '%s virtual-locale-%s' % (mainpkg, ln), d)
		bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d)
		bb.data.setVar('DESCRIPTION_' + pkg, '%s translation for %s' % (l, pn), d)

	bb.data.setVar('PACKAGES', ' '.join(packages), d)
}


python debian_package_name_hook () {
	import glob, copy, stat, errno, re

	pkgdest = bb.data.getVar('PKGDEST', d, 1)
	packages = bb.data.getVar('PACKAGES', d, 1)

	def socrunch(s):
		s = s.lower().replace('_', '-')
		m = re.match("^(.*)(.)\.so\.(.*)$", s)
		if m is None:
			return None
		if m.group(2) in '0123456789':
			bin = '%s%s-%s' % (m.group(1), m.group(2), m.group(3))
		else:
			bin = m.group(1) + m.group(2) + m.group(3)
		dev = m.group(1) + m.group(2)
		return (bin, dev)

	def isexec(path):
		try:
			s = os.stat(path)
		except (os.error, AttributeError):
			return 0
		return (s[stat.ST_MODE] & stat.S_IEXEC)

	def auto_libname(packages, orig_pkg):
		bin_re = re.compile(".*/s?bin$")
		lib_re = re.compile(".*/lib$")
		so_re = re.compile("lib.*\.so")
		sonames = []
		has_bins = 0
		has_libs = 0
		pkg_dir = os.path.join(pkgdest, orig_pkg)
		for root, dirs, files in os.walk(pkg_dir):
			if bin_re.match(root) and files:
				has_bins = 1
			if lib_re.match(root) and files:
				has_libs = 1
				for f in files:
					if so_re.match(f):
						fp = os.path.join(root, f)
						cmd = "PATH=" + bb.data.getVar('PATH', d, 1) + " " + (bb.data.getVar('TARGET_PREFIX', d, 1) or "") + "objdump -p " + fp + " 2>/dev/null"
						fd = os.popen(cmd)
						lines = fd.readlines()
						fd.close()
						for l in lines:
							m = re.match("\s+SONAME\s+([^\s]*)", l)
							if m and not m.group(1) in sonames:
								sonames.append(m.group(1))

		bb.debug(1, 'LIBNAMES: pkg %s libs %d bins %d sonames %s' % (orig_pkg, has_libs, has_bins, sonames))
		soname = None
		if len(sonames) == 1:
			soname = sonames[0]
		elif len(sonames) > 1:
			lead = bb.data.getVar('LEAD_SONAME', d, 1)
			if lead:
				r = re.compile(lead)
				filtered = []
				for s in sonames:
					if r.match(s):
						filtered.append(s)
				if len(filtered) == 1:
					soname = filtered[0]
				elif len(filtered) > 1:
					bb.note("Multiple matches (%s) for LEAD_SONAME '%s'" % (", ".join(filtered), lead))
				else:
					bb.note("Multiple libraries (%s) found, but LEAD_SONAME '%s' doesn't match any of them" % (", ".join(sonames), lead))
			else:
				bb.note("Multiple libraries (%s) found and LEAD_SONAME not defined" % ", ".join(sonames))

		if has_libs and not has_bins and soname:
			soname_result = socrunch(soname)
			if soname_result:
				(pkgname, devname) = soname_result
				for pkg in packages.split():
					if (bb.data.getVar('PKG_' + pkg, d) or bb.data.getVar('DEBIAN_NOAUTONAME_' + pkg, d)):
						continue
					debian_pn = bb.data.getVar('DEBIANNAME_' + pkg, d)
					if debian_pn:
						newpkg = debian_pn
					elif pkg == orig_pkg:
						newpkg = pkgname
					else:
						newpkg = pkg.replace(orig_pkg, devname, 1)
					if newpkg != pkg:
						bb.data.setVar('PKG_' + pkg, newpkg, d)

	for pkg in (bb.data.getVar('AUTO_LIBNAME_PKGS', d, 1) or "").split():
		auto_libname(packages, pkg)
}


python populate_sysroot_prehook () {
    bb.build.exec_func("populate_sysroot_preamble", d)
}


python package_do_shlibs () {
	import re

	exclude_shlibs = bb.data.getVar('EXCLUDE_FROM_SHLIBS', d, 0)
	if exclude_shlibs:
		bb.debug(1, "not generating shlibs")
		return

	lib_re = re.compile("^lib.*\.so")
	libdir = bb.data.getVar('base_libdir', d, True)
	libdir_re = re.compile(".*%s$" % (libdir))

	packages = bb.data.getVar('PACKAGES', d, True)

	workdir = bb.data.getVar('WORKDIR', d, True)

	ver = bb.data.getVar('PKGV', d, True)
	if not ver:
		bb.error("PKGV not defined")
		return

	pkgdest = bb.data.getVar('PKGDEST', d, True)

	shlibs_dir = bb.data.getVar('SHLIBSDIR', d, True)
	bb.mkdirhier(shlibs_dir)

	pstageactive = bb.data.getVar('PSTAGING_ACTIVE', d, True)
	if pstageactive == "1":
		lf = bb.utils.lockfile(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock", d))

	if bb.data.getVar('PACKAGE_SNAP_LIB_SYMLINKS', d, True) == "1":
		snap_symlinks = True
	else:
		snap_symlinks = False

	if (bb.data.getVar('USE_LDCONFIG', d, True) or "1") == "1":
		use_ldconfig = True
	else:
		use_ldconfig = False

	needed = {}
	private_libs = bb.data.getVar('PRIVATE_LIBS', d, True)
	for pkg in packages.split():
		needs_ldconfig = False
		bb.debug(2, "calculating shlib provides for %s" % pkg)

		pkgver = bb.data.getVar('PKGV_' + pkg, d, True)
		if not pkgver:
			pkgver = bb.data.getVar('PV_' + pkg, d, True)
		if not pkgver:
			pkgver = ver

		needed[pkg] = []
		sonames = list()
		top = os.path.join(pkgdest, pkg)
		renames = []
		for root, dirs, files in os.walk(top):
			for file in files:
				soname = None
				path = os.path.join(root, file)
				if (os.access(path, os.X_OK) or lib_re.match(file)) and not os.path.islink(path):
					cmd = bb.data.getVar('OBJDUMP', d, True) + " -p " + path + " 2>/dev/null"
					cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', d, True), cmd)
					fd = os.popen(cmd)
					lines = fd.readlines()
					fd.close()
					for l in lines:
						m = re.match("\s+NEEDED\s+([^\s]*)", l)
						if m:
							needed[pkg].append(m.group(1))
						m = re.match("\s+SONAME\s+([^\s]*)", l)
						if m:
							this_soname = m.group(1)
							if not this_soname in sonames:
								# if library is private (only used by package) then do not build shlib for it
								if not private_libs or -1 == private_libs.find(this_soname):
									sonames.append(this_soname)
							if libdir_re.match(root):
								needs_ldconfig = True
							if snap_symlinks and (file != soname):
								renames.append((path, os.path.join(root, this_soname)))
		for (old, new) in renames:
			os.rename(old, new)
		shlibs_file = os.path.join(shlibs_dir, pkg + ".list")
		if os.path.exists(shlibs_file):
			os.remove(shlibs_file)
		shver_file = os.path.join(shlibs_dir, pkg + ".ver")
		if os.path.exists(shver_file):
			os.remove(shver_file)
		if len(sonames):
			fd = open(shlibs_file, 'w')
			for s in sonames:
				fd.write(s + '\n')
			fd.close()
			package_stagefile(shlibs_file, d)
			fd = open(shver_file, 'w')
			fd.write(pkgver + '\n')
			fd.close()
			package_stagefile(shver_file, d)
		if needs_ldconfig and use_ldconfig:
			bb.debug(1, 'adding ldconfig call to postinst for %s' % pkg)
			postinst = bb.data.getVar('pkg_postinst_%s' % pkg, d, True) or bb.data.getVar('pkg_postinst', d, True)
			if not postinst:
				postinst = '#!/bin/sh\n'
			postinst += bb.data.getVar('ldconfig_postinst_fragment', d, True)
			bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)

	if pstageactive == "1":
		bb.utils.unlockfile(lf)

	shlib_provider = {}
	list_re = re.compile('^(.*)\.list$')
	for dir in [shlibs_dir]:
		if not os.path.exists(dir):
			continue
		for file in os.listdir(dir):
			m = list_re.match(file)
			if m:
				dep_pkg = m.group(1)
				fd = open(os.path.join(dir, file))
				lines = fd.readlines()
				fd.close()
				ver_file = os.path.join(dir, dep_pkg + '.ver')
				lib_ver = None
				if os.path.exists(ver_file):
					fd = open(ver_file)
					lib_ver = fd.readline().rstrip()
					fd.close()
				for l in lines:
					shlib_provider[l.rstrip()] = (dep_pkg, lib_ver)

	assumed_libs = bb.data.getVar('ASSUME_SHLIBS', d, True)
	if assumed_libs:
	    for e in assumed_libs.split():
		l, dep_pkg = e.split(":")
		lib_ver = None
		dep_pkg = dep_pkg.rsplit("_", 1)
		if len(dep_pkg) == 2:
		    lib_ver = dep_pkg[1]
		dep_pkg = dep_pkg[0]
		shlib_provider[l] = (dep_pkg, lib_ver)

	dep_packages = []
	for pkg in packages.split():
		bb.debug(2, "calculating shlib requirements for %s" % pkg)

		deps = list()
		for n in needed[pkg]:
			if n in shlib_provider.keys():
				(dep_pkg, ver_needed) = shlib_provider[n]

				if dep_pkg == pkg:
					continue

				if ver_needed:
					dep = "%s (>= %s)" % (dep_pkg, ver_needed)
				else:
					dep = dep_pkg
				if not dep in deps:
					deps.append(dep)
				if not dep_pkg in dep_packages:
					dep_packages.append(dep_pkg)

			else:
				bb.note("Couldn't find shared library provider for %s" % n)

		deps_file = os.path.join(pkgdest, pkg + ".shlibdeps")
		if os.path.exists(deps_file):
			os.remove(deps_file)
		if len(deps):
			fd = open(deps_file, 'w')
			for dep in deps:
				fd.write(dep + '\n')
			fd.close()
}


python do_package_write_ipk () {
	packages = bb.data.getVar('PACKAGES', d, True)
	if not packages:
		bb.debug(1, "No PACKAGES defined, nothing to package")
		return

	bb.build.exec_func("read_subpackage_metadata", d)
	bb.build.exec_func("do_package_ipk", d)
}


python do_qa_configure () {
    configs = []
    bb.debug(1, "Checking sanity of the config.log file")
    for root, dirs, files in os.walk(bb.data.getVar('WORKDIR', d, True)):
        statement = "grep 'CROSS COMPILE Badness:' %s > /dev/null" % \
                    os.path.join(root,"config.log")
        if "config.log" in files:
            if os.system(statement) == 0:
                bb.fatal("""This autoconf log indicates errors, it looked at host includes.
Rerun configure task after fixing this. The path was '%s'""" % root)

        if "configure.ac" in files:
            configs.append(os.path.join(root,"configure.ac"))
        if "configure.in" in files:
            configs.append(os.path.join(root, "configure.in"))

    if "gettext" not in bb.data.getVar('P', d, True):
       if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d):
          gt = "gettext-native"
       elif bb.data.inherits_class('cross-canadian', d):
          gt = "gettext-nativesdk"
       else:
          gt = "gettext"
       deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "")
       if gt not in deps:
          for config in configs:
              gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config
              if os.system(gnu) == 0:
                 bb.note("""Gettext required but not in DEPENDS for file %s.
Missing inherit gettext?""" % config)
}


python mapping_rename_hook () {
	bb.build.exec_func('insane_mapping_rename_hook', d)
}


python emit_pkgdata () {
	from glob import glob

	def write_if_exists(f, pkg, var):
		def encode(str):
			import codecs
			c = codecs.getencoder("string_escape")
			return c(str)[0]

		val = bb.data.getVar('%s_%s' % (var, pkg), d, True)
		if val:
			f.write('%s_%s: %s\n' % (var, pkg, encode(val)))
 			return
 		val = bb.data.getVar('%s' % (var), d, True)
 		if val:
 			f.write('%s: %s\n' % (var, encode(val)))
 		return

	packages = bb.data.getVar('PACKAGES', d, True)
	pkgdest = bb.data.getVar('PKGDEST', d, 1)
	pkgdatadir = bb.data.getVar('PKGDATA_DIR', d, True)

	pstageactive = bb.data.getVar('PSTAGING_ACTIVE', d, True)
	if pstageactive == "1":
		lf = bb.utils.lockfile(bb.data.expand("/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.6/sysroots/staging.lock", d))

	data_file = pkgdatadir + bb.data.expand("/libsoup-2.4" , d)
	f = open(data_file, 'w')
	f.write("PACKAGES: %s\n" % packages)
	f.close()
	package_stagefile(data_file, d)

	workdir = bb.data.getVar('WORKDIR', d, True)

	for pkg in packages.split():
		subdata_file = pkgdatadir + "/runtime/%s" % pkg
		sf = open(subdata_file, 'w')
		write_if_exists(sf, pkg, 'PN')
		write_if_exists(sf, pkg, 'PV')
		write_if_exists(sf, pkg, 'PR')
		write_if_exists(sf, pkg, 'PKGV')
		write_if_exists(sf, pkg, 'PKGR')
		write_if_exists(sf, pkg, 'DESCRIPTION')
		write_if_exists(sf, pkg, 'RDEPENDS')
		write_if_exists(sf, pkg, 'RPROVIDES')
		write_if_exists(sf, pkg, 'RRECOMMENDS')
		write_if_exists(sf, pkg, 'RSUGGESTS')
		write_if_exists(sf, pkg, 'RREPLACES')
		write_if_exists(sf, pkg, 'RCONFLICTS')
		write_if_exists(sf, pkg, 'PKG')
		write_if_exists(sf, pkg, 'ALLOW_EMPTY')
		write_if_exists(sf, pkg, 'FILES')
		write_if_exists(sf, pkg, 'pkg_postinst')
		write_if_exists(sf, pkg, 'pkg_postrm')
		write_if_exists(sf, pkg, 'pkg_preinst')
		write_if_exists(sf, pkg, 'pkg_prerm')
		sf.close()

		package_stagefile(subdata_file, d)
		#if pkgdatadir2:
		#	bb.copyfile(subdata_file, pkgdatadir2 + "/runtime/%s" % pkg)

		allow_empty = bb.data.getVar('ALLOW_EMPTY_%s' % pkg, d, True)
		if not allow_empty:
			allow_empty = bb.data.getVar('ALLOW_EMPTY', d, True)
		root = "%s/%s" % (pkgdest, pkg)
		os.chdir(root)
		g = glob('*') + glob('.[!.]*')
		if g or allow_empty == "1":
			packagedfile = pkgdatadir + '/runtime/%s.packaged' % pkg
			file(packagedfile, 'w').close()
			package_stagefile(packagedfile, d)
	if pstageactive == "1":
		bb.utils.unlockfile(lf)
}


python patch_do_patch () {
	import oe.patch
	import oe.unpack

	src_uri = (bb.data.getVar('SRC_URI', d, 1) or '').split()
	if not src_uri:
		return

	patchsetmap = {
		"patch": oe.patch.PatchTree,
		"quilt": oe.patch.QuiltTree,
		"git": oe.patch.GitApplyTree,
	}

	cls = patchsetmap[bb.data.getVar('PATCHTOOL', d, 1) or 'quilt']

	resolvermap = {
		"noop": oe.patch.NOOPResolver,
		"user": oe.patch.UserResolver,
	}

	rcls = resolvermap[bb.data.getVar('PATCHRESOLVE', d, 1) or 'user']

	s = bb.data.getVar('S', d, 1)

	path = os.getenv('PATH')
	os.putenv('PATH', bb.data.getVar('PATH', d, 1))

	classes = {}

	src_uri = d.getVar("SRC_URI", True).split()
	srcurldata = bb.fetch.init(src_uri, d, True)
	workdir = bb.data.getVar('WORKDIR', d, 1)
	for url in d.getVar("SRC_URI", True).split():
		urldata = srcurldata[url]

		local = urldata.localpath
		if not local:
			raise bb.build.FuncFailed('Unable to locate local file for %s' % url)

		base, ext = os.path.splitext(os.path.basename(local))
		if ext in ('.gz', '.bz2', '.Z'):
			local = oe.path.join(workdir, base)

		if not oe.unpack.is_patch(local, urldata.parm):
			continue

		parm = urldata.parm

		if "striplevel" in parm:
			striplevel = parm["striplevel"]
		elif "pnum" in parm:
			bb.msg.warn(None, "Deprecated usage of 'pnum' url parameter in '%s', please use 'striplevel'" % url)
			striplevel = parm["pnum"]
		else:
			striplevel = '1'

		if "pname" in parm:
			pname = parm["pname"]
		else:
			pname = os.path.basename(local)

		if "mindate" in parm or "maxdate" in parm:
			pn = bb.data.getVar('PN', d, 1)
			srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
			if not srcdate:
				srcdate = bb.data.getVar('SRCDATE', d, 1)

			if srcdate == "now":
				srcdate = bb.data.getVar('DATE', d, 1)

			if "maxdate" in parm and parm["maxdate"] < srcdate:
				bb.note("Patch '%s' is outdated" % pname)
				continue

			if "mindate" in parm and parm["mindate"] > srcdate:
				bb.note("Patch '%s' is predated" % pname)
				continue


		if "minrev" in parm:
			srcrev = bb.data.getVar('SRCREV', d, 1)
			if srcrev and srcrev < parm["minrev"]:
				bb.note("Patch '%s' applies to later revisions" % pname)
				continue

		if "maxrev" in parm:
			srcrev = bb.data.getVar('SRCREV', d, 1)
			if srcrev and srcrev > parm["maxrev"]:
				bb.note("Patch '%s' applies to earlier revisions" % pname)
				continue

		if "patchdir" in parm:
			patchdir = parm["patchdir"]
			if not os.path.isabs(patchdir):
				patchdir = os.path.join(s, patchdir)
		else:
			patchdir = s

		if not patchdir in classes:
			patchset = cls(patchdir, d)
			resolver = rcls(patchset)
			classes[patchdir] = (patchset, resolver)
			patchset.Clean()
		else:
			patchset, resolver = classes[patchdir]

		bb.note("Applying patch '%s' (%s)" % (pname, oe.path.format_display(local, d)))
		try:
			patchset.Import({"file":local, "remote":url, "strippath": striplevel}, True)
		except Exception:
			import sys
			raise bb.build.FuncFailed(str(sys.exc_value))
		resolver.Resolve()
}


  reply	other threads:[~2011-02-03 10:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  9:54 profiling howto? Steffen Sledz
2011-02-02 10:11 ` Holger Freyther
2011-02-02 11:12   ` Henning Heinold
2011-02-02 12:59 ` Steffen Sledz
2011-02-02 13:12   ` Holger Freyther
2011-02-03  8:05     ` Steffen Sledz
2011-02-03  9:00       ` Holger Freyther
2011-02-03 10:44         ` Steffen Sledz [this message]
2011-02-03  8:30   ` Steffen Sledz
2011-02-03  8:54     ` Jan Paesmans
2011-02-03 10:52       ` Steffen Sledz
2011-02-03 11:30         ` Holger Freyther
2011-02-03 11:50           ` Steffen Sledz
2011-02-03 11:53             ` Holger Freyther
2011-02-03 12:07               ` Steffen Sledz
2011-02-03 12:14                 ` Holger Freyther
2011-02-03 13:06                   ` Steffen Sledz
2011-02-03 13:10                     ` Holger Freyther
2011-02-04 12:09                       ` Steffen Sledz
2011-02-03 14:25                 ` Phil Blundell
     [not found]                 ` <1296735116.2258.44.camel@phil-desktop>
2011-02-03 14:25                   ` Phil Blundell
2011-02-03 22:34                     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D4A86FE.1010402@dresearch.de \
    --to=sledz@dresearch.de \
    --cc=holger+oe@freyther.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox