summaryrefslogtreecommitdiff
path: root/recipes/meta
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/meta
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/meta')
-rw-r--r--recipes/meta/canadian-sdk.bb136
-rw-r--r--recipes/meta/cross-linkage_1.0.bb35
-rw-r--r--recipes/meta/distro-feed-configs.bb30
-rw-r--r--recipes/meta/external-toolchain.bb49
-rw-r--r--recipes/meta/foonas-packages.bb169
-rw-r--r--recipes/meta/meta-angstrom-2007.bb32
-rw-r--r--recipes/meta/meta-e-x11-core.bb10
-rw-r--r--recipes/meta/meta-e-x11.bb10
-rw-r--r--recipes/meta/meta-gpe-extras.bb11
-rw-r--r--recipes/meta/meta-gpe.bb13
-rw-r--r--recipes/meta/meta-maemo.bb11
-rw-r--r--recipes/meta/meta-mamona-light.bb13
-rw-r--r--recipes/meta/meta-mamona.bb102
-rw-r--r--recipes/meta/meta-nas-server.bb10
-rw-r--r--recipes/meta/meta-opie-all.bb16
-rw-r--r--recipes/meta/meta-opie.bb18
-rw-r--r--recipes/meta/meta-sdl.bb7
-rw-r--r--recipes/meta/meta-toolchain-fso.bb7
-rw-r--r--recipes/meta/meta-toolchain-gpe-sbox.bb12
-rw-r--r--recipes/meta/meta-toolchain-gpe.bb9
-rw-r--r--recipes/meta/meta-toolchain-neuros.bb15
-rw-r--r--recipes/meta/meta-toolchain-openmoko.bb7
-rw-r--r--recipes/meta/meta-toolchain-opie.bb7
-rw-r--r--recipes/meta/meta-toolchain-sbox.bb8
-rw-r--r--recipes/meta/meta-toolchain-slugos.bb7
-rw-r--r--recipes/meta/meta-toolchain.bb168
-rw-r--r--recipes/meta/nylon-feed.bb46
-rw-r--r--recipes/meta/nylon-feed.inc71
-rw-r--r--recipes/meta/openmoko-feed.bb10
-rw-r--r--recipes/meta/openprotium-packages.bb265
-rw-r--r--recipes/meta/oplinux-packages.bb646
-rw-r--r--recipes/meta/package-index.bb30
-rwxr-xr-xrecipes/meta/run-postinsts/run-postinsts36
-rw-r--r--recipes/meta/run-postinsts/run-postinsts.awk30
-rw-r--r--recipes/meta/run-postinsts_1.0.bb30
-rw-r--r--recipes/meta/slugos-native-packages.bb22
-rw-r--r--recipes/meta/slugos-native.bb102
-rw-r--r--recipes/meta/slugos-packages.bb293
-rw-r--r--recipes/meta/staging-linkage_1.0.bb29
-rw-r--r--recipes/meta/unslung-packages.bb19
-rw-r--r--recipes/meta/xbase-clients.bb13
41 files changed, 2554 insertions, 0 deletions
diff --git a/recipes/meta/canadian-sdk.bb b/recipes/meta/canadian-sdk.bb
new file mode 100644
index 0000000000..150c75222b
--- /dev/null
+++ b/recipes/meta/canadian-sdk.bb
@@ -0,0 +1,136 @@
+DESCRIPTION = "Meta package for building a installable toolchain"
+LICENSE = "MIT"
+DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native zip-native"
+PR = "r2"
+
+inherit canadian-sdk meta
+
+SDK_DIR = "${WORKDIR}/sdk"
+SDK_OUTPUT = "${SDK_DIR}/image"
+SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
+SDK_SUFFIX = "toolchain"
+
+FEED_ARCH ?= "${TARGET_ARCH}"
+
+IPKG_HOST = "ipkg-cl -f ${IPKGCONF_CANSDK} -o ${SDK_OUTPUT}"
+IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}${prefix}"
+
+TOOLCHAIN_CANADIAN_HOST_TASK ?= "task-sdk-canadian-host"
+TOOLCHAIN_TARGET_TASK ?= "task-sdk-bare"
+
+RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_CANADIAN_HOST_TASK}"
+
+do_populate_sdk() {
+ rm -rf ${SDK_OUTPUT}
+ mkdir -p ${SDK_OUTPUT}
+
+ package_update_index_ipk
+ package_generate_ipkg_conf
+
+ for arch in ${PACKAGE_ARCHS}; do
+ revipkgarchs="$arch $revipkgarchs"
+ done
+
+ ${IPKG_HOST} update
+ ${IPKG_HOST} -force-depends install ${TOOLCHAIN_CANADIAN_HOST_TASK}
+
+ ${IPKG_TARGET} update
+ ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK}
+
+ mkdir -p ${SDK_OUTPUT}${prefix}/${TARGET_SYS}
+ cp -pPR ${SDK_OUTPUT}${prefix}/usr ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/
+ rm -rf ${SDK_OUTPUT}${prefix}/usr
+
+ cp -pPR ${SDK_OUTPUT}${prefix}/lib/* ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/
+ rm -rf ${SDK_OUTPUT}${prefix}/lib/*
+
+ cp -pPR ${SDK_OUTPUT}/usr/lib/ipkg ${SDK_OUTPUT}${prefix}/lib/
+ rm -rf ${SDK_OUTPUT}/usr/lib/ipkg/*
+ rmdir -p --ignore-fail-on-non-empty ${SDK_OUTPUT}/usr/lib/ipkg
+
+ for fn in `ls ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/`; do
+ if [ -h ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/$fn ]; then
+ link=`readlink ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/$fn`
+ bname=`basename $link`
+ if [ ! -e $link -a -e ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/$bame ]; then
+ rm ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/$fn
+ ln -s $bname ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/$fn
+ fi
+ fi
+ done
+
+ mv ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/gcc ${SDK_OUTPUT}${prefix}/lib
+
+ echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/libpthread.so
+ echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/libc.so
+
+ # extract and store ipks, pkgdata and shlibs data
+ target_pkgs=`cat ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/usr/lib/ipkg/status | grep Package: | cut -f 2 -d ' '`
+ mkdir -p ${SDK_OUTPUT}/${prefix}/ipk/
+ mkdir -p ${SDK_OUTPUT}/${prefix}/pkgdata/runtime/
+ mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/shlibs/
+ for pkg in $target_pkgs ; do
+ for arch in $revipkgarchs; do
+ pkgnames=${DEPLOY_DIR_IPK}/$arch/${pkg}_*_$arch.ipk
+ if [ -e $pkgnames ]; then
+ oenote "Found $pkgnames"
+ cp $pkgnames ${SDK_OUTPUT}/${prefix}/ipk/
+ orig_pkg=`ipkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
+ pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}
+ mkdir -p ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/runtime
+ cp ${TMPDIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/
+ subpkgs=`cat ${TMPDIR}/pkgdata/$pkg_subdir/$orig_pkg | grep PACKAGES: | cut -b 10-`
+ for subpkg in $subpkgs; do
+ cp ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/runtime/
+ if [ -e ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ];then
+ cp ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/runtime/
+ fi
+ if [ -e ${STAGING_DIR_TARGET}/shlibs/$subpkg.list ]; then
+ cp ${STAGING_DIR_TARGET}/shlibs/$subpkg.* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/shlibs/
+ fi
+ done
+ break
+ fi
+ done
+ done
+
+ # add missing link to libgcc_s.so.1
+ # libgcc-dev should be responsible for that, but it's not getting built
+ # RP: it gets smashed up depending on the order that gcc, gcc-cross and
+ # gcc-cross-sdk get built :( (30/11/07)
+ ln -sf libgcc_s.so.1 ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libgcc_s.so
+
+ # Fix or remove broken .la files
+ for i in `find ${SDK_OUTPUT}/${prefix}/${TARGET_SYS} -name \*.la`; do
+ sed -i -e "/^dependency_libs=/s,\([[:space:]']\)${layout_base_libdir},\1${prefix}/${TARGET_SYS}${layout_base_libdir},g" \
+ -e "/^dependency_libs=/s,\([[:space:]']\)${layout_libdir},\1${prefix}/${TARGET_SYS}${layout_libdir},g" \
+ -e "/^dependency_libs=/s,\-\([LR]\)${layout_base_libdir},-\1${prefix}/${TARGET_SYS}${layout_base_libdir},g" \
+ -e "/^dependency_libs=/s,\-\([LR]\)${layout_libdir},-\1${prefix}/${TARGET_SYS}${layout_libdir},g" \
+ -e 's/^installed=yes$/installed=no/' $i
+ done
+ rm -f ${SDK_OUTPUT}/${prefix}/lib/*.la
+
+ # Setup site file for external use
+ siteconfig=${SDK_OUTPUT}/${prefix}/site-config
+ touch $siteconfig
+ for sitefile in ${CONFIG_SITE} ; do
+ cat $sitefile >> $siteconfig
+ done
+}
+
+do_package_sdk() {
+ # package it up
+ mkdir -p ${SDK_DEPLOY}
+ cd ${SDK_OUTPUT}
+ fakeroot tar cfj ${SDK_DEPLOY}/${SDK_SYS}-sdk-${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}.tar.bz2 .${prefix}
+ rm -f ${SDK_DEPLOY}/${SDK_SYS}-sdk-${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}.zip
+ zip -r -D ${SDK_DEPLOY}/${SDK_SYS}-sdk-${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}.zip .${prefix}
+}
+
+do_populate_sdk[nostamp] = "1"
+do_populate_sdk[recrdeptask] = "do_package_write"
+addtask populate_sdk before do_build after do_install
+
+do_package_sdk[nostamp] = "1"
+do_package_sdk[recrdeptask] = "do_populate_sdk"
+addtask package_sdk before do_build after do_populate_sdk
diff --git a/recipes/meta/cross-linkage_1.0.bb b/recipes/meta/cross-linkage_1.0.bb
new file mode 100644
index 0000000000..9be09aa6f8
--- /dev/null
+++ b/recipes/meta/cross-linkage_1.0.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things"
+SECTION = "devel"
+PACKAGES = ""
+
+INHIBIT_DEFAULT_DEPS = "1"
+EXCLUDE_FROM_WORLD = "1"
+PR = "r0"
+
+SRC_URI = ""
+
+do_configure() {
+ :
+}
+
+do_compile () {
+ :
+}
+
+do_install() {
+ :
+}
+
+do_stage () {
+ install -d ${CROSS_DIR}/${TARGET_SYS}/
+ if [ -e ${CROSS_DIR}/${TARGET_SYS}/include ]; then
+ cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/include/* ${STAGING_INCDIR}
+ mv ${CROSS_DIR}/${TARGET_SYS}/include/ ${CROSS_DIR}/${TARGET_SYS}/include-oldbackup
+ fi
+ ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include
+ if [ -e ${CROSS_DIR}/${TARGET_SYS}/lib ]; then
+ cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/lib/* ${STAGING_LIBDIR}
+ mv ${CROSS_DIR}/${TARGET_SYS}/lib/ ${CROSS_DIR}/${TARGET_SYS}/lib-oldbackup
+ fi
+ ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib
+}
diff --git a/recipes/meta/distro-feed-configs.bb b/recipes/meta/distro-feed-configs.bb
new file mode 100644
index 0000000000..2540af9692
--- /dev/null
+++ b/recipes/meta/distro-feed-configs.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Configuration files for online package repositories aka feeds"
+PR = "r1"
+
+DISTRO_FEED_PREFIX ?= "remote"
+DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/"
+
+do_compile() {
+ mkdir -p ${S}/${sysconfdir}/opkg
+ for feed in all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}; do
+ echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
+ done
+}
+do_install () {
+ install -d ${D}${sysconfdir}/opkg
+ install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+#def distro_feed_configs(d):
+# import bb
+# parchs = bb.data.getVar( "PACKAGE_EXTRA_ARCHS", d, 1 ).split()
+# march = bb.data.getVar( "MACHINE_ARCH", d, 1 ).split()
+# archs = [ "all" ] + parchs + march
+# confs = [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in archs ]
+# return " ".join( confs )
+#
+#CONFFILES_${PN} += '${@distro_feed_configs(d)}'
+
+CONFFILES_${PN} += '${@ " ".join( [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in "all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}".split() ] ) }'
diff --git a/recipes/meta/external-toolchain.bb b/recipes/meta/external-toolchain.bb
new file mode 100644
index 0000000000..4c70054b0f
--- /dev/null
+++ b/recipes/meta/external-toolchain.bb
@@ -0,0 +1,49 @@
+DESCRIPTION = "This package allows OE to work with an external toolchain generated \
+ by meta-toolchain instead of building its own. It expects that toolchain \
+ to be located in SDK_PATH/prefix."
+
+PROVIDES = "\
+ linux-libc-headers \
+ virtual/${TARGET_PREFIX}gcc \
+ virtual/${TARGET_PREFIX}gcc-initial \
+ virtual/${TARGET_PREFIX}gcc-intermediate \
+ virtual/${TARGET_PREFIX}binutils \
+ virtual/${TARGET_PREFIX}libc-for-gcc \
+ virtual/libc \
+ virtual/libintl \
+ virtual/libiconv \
+ "
+
+RPROVIDES = "glibc-utils libsegfault glibc-thread-db libgcc-dev libgcc libstdc++-dev libstdc++"
+PACKAGES_DYNAMIC = "glibc-gconv-*"
+PR = "r2"
+
+inherit sdk
+
+do_stage() {
+ if [ ! -e ${prefix}/package-status ]; then
+ echo "The external toolchain could not be found in ${prefix}!"
+ exit 1
+ fi
+
+ install -d ${STAGING_DIR}/pkgdata/
+ install -d ${STAGING_DIR_TARGET}/shlibs/
+
+ cp -pPRr ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/
+ cp -pPRr ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/
+
+ if [ -d ${prefix}/ipk ]; then
+ install -d ${DEPLOY_DIR_IPK}/
+ cp -pPRr ${prefix}/ipk/* ${DEPLOY_DIR_IPK}/
+ fi
+
+ if [ -d ${prefix}/deb ]; then
+ install -d ${DEPLOY_DIR_DEB}/
+ cp -pPRr ${prefix}/deb/* ${DEPLOY_DIR_DEB}/
+ fi
+
+ if [ -d ${prefix}/pstage -a "x${DEPLOY_DIR_PSTAGE}" != "x" ]; then
+ install -d ${DEPLOY_DIR_PSTAGE}/
+ cp -pPRr ${prefix}/pstage/* ${DEPLOY_DIR_PSTAGE}/
+ fi
+}
diff --git a/recipes/meta/foonas-packages.bb b/recipes/meta/foonas-packages.bb
new file mode 100644
index 0000000000..2bd8437f13
--- /dev/null
+++ b/recipes/meta/foonas-packages.bb
@@ -0,0 +1,169 @@
+DESCRIPTION = "Packages that are compatible with FooNAS"
+LICENSE = "MIT"
+PR = "r2"
+CONFLICTS = "db3"
+PROVIDES += "${FOONAS_IMAGENAME}-packages"
+
+EXCLUDE_FROM_WORLD = "1"
+INHIBIT_DEFAULT_DEPS = "1"
+ALLOW_EMPTY = "1"
+
+inherit meta
+
+FOONAS_PACKAGES = "\
+ adns \
+ alsa-lib \
+ alsa-utils \
+ apache2 \
+ asterisk \
+ audiofile \
+ aumix \
+ autoconf \
+ automake \
+ bash \
+ bash-completion \
+ bc \
+ beep \
+ bind \
+ binutils \
+ bison \
+ bridge-utils \
+ bonnie++ \
+ bzflag \
+ bzip2 \
+ ccxstream \
+ cdparanoia \
+ cdstatus \
+ cherokee \
+ chillispot \
+ coreutils \
+ cpusage \
+ cpuspeed \
+ cron \
+ ctorrent \
+ cvs \
+ dash \
+ db \
+ dbench \
+ devlabel \
+ dhcpcd \
+ dialog \
+ diffstat \
+ diffutils \
+ dircproxy \
+ dnsmasq \
+ dosfstools \
+ e2fsprogs \
+ e2fsprogs-libs \
+ e2tools \
+ eb \
+ ebtables \
+ elvis \
+ expat \
+ ez-ipupdate \
+ fetchmail \
+ file \
+ findutils \
+ flex \
+ flite \
+ gawk \
+ gcc \
+ gdbm \
+ gnu-config \
+ grep \
+ gtk-doc \
+ gzip \
+ hdparm \
+ ipkg-utils \
+ iptables \
+ ircp \
+ joe \
+ jpeg \
+ less \
+ libao \
+ libid3tag \
+ liblockfile \
+ libmad \
+ libmikmod \
+ libogg \
+ libol \
+ libpng \
+ libtool \
+ libupnp \
+ libusb \
+ libvorbis \
+ litestream \
+ lrzsz \
+ lsof \
+ lvm2 \
+ m4 \
+ madplay \
+ mailx \
+ make \
+ mdadm \
+ mgetty \
+ miau \
+ microcom \
+ minicom \
+ modphp \
+ mt-daapd \
+ mtd-utils \
+ mutt \
+ nail \
+ nano \
+ ncftp \
+ ncurses \
+ netcat \
+ nmap \
+ ntp \
+ openobex-apps \
+ openldap \
+ openntpd \
+ openobex \
+ openssh \
+ openvpn \
+ patch \
+ pciutils \
+ libpcre \
+ perl \
+ pkgconfig \
+ postgresql \
+ ppp \
+ procps \
+ quilt \
+ rng-tools \
+ rsync \
+ sed \
+ setserial \
+ smartmontools \
+ ssmtp \
+ strace \
+ streamripper \
+ sysfsutils \
+ syslog-ng \
+ tar \
+ thttpd \
+ tzdata \
+ tiff \
+ unzip \
+ usbutils \
+ util-linux \
+ vim \
+ vlan \
+ watchdog \
+ wget \
+ wireless-tools \
+ zip \
+ zlib \
+ "
+
+FOONAS_EXTRA_PACKAGES ?= ""
+
+# The package-index at the end causes regeneration of the Packages.gz and
+# other control files.
+DEPENDS = "\
+ foonas-image \
+ ${FOONAS_PACKAGES} \
+ ${FOONAS_EXTRA_PACKAGES} \
+ package-index \
+ "
diff --git a/recipes/meta/meta-angstrom-2007.bb b/recipes/meta/meta-angstrom-2007.bb
new file mode 100644
index 0000000000..a3a2c78a79
--- /dev/null
+++ b/recipes/meta/meta-angstrom-2007.bb
@@ -0,0 +1,32 @@
+# Meta file to inform the autobuilder which packages to build for the feeds
+# Any changes should be discussed first on the angstrom-distro-devel mailinglist
+
+# Try to keep it alphabetically sorted please
+
+inherit meta
+
+RDEPENDS = ""
+
+# Basic tools
+RDEPENDS += " \
+ task-proper-tools \
+ screen \
+ "
+
+# Browsers know to work on all archs
+RDEPENDS += " \
+ gpe-mini-browser \
+ midori \
+ minimo \
+ openmoko-browser2 \
+ webkit-gtklauncher \
+ "
+
+# Webservers
+RDEPENDS += " \
+ apache2 \
+ boa \
+ cherokee \
+ lighttpd \
+ thttpd \
+ "
diff --git a/recipes/meta/meta-e-x11-core.bb b/recipes/meta/meta-e-x11-core.bb
new file mode 100644
index 0000000000..cdc76402e1
--- /dev/null
+++ b/recipes/meta/meta-e-x11-core.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Meta-package for Enlightenment/X11"
+SECTION = "x11/base"
+ALLOW_EMPTY = "1"
+PR = "r1"
+PACKAGE_ARCH = "all"
+LICENSE = "MIT"
+
+RDEPENDS = "task-e-x11-core"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-e-x11.bb b/recipes/meta/meta-e-x11.bb
new file mode 100644
index 0000000000..1182b0cf42
--- /dev/null
+++ b/recipes/meta/meta-e-x11.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Meta-package for Enlightenment/X11"
+SECTION = "x11/base"
+ALLOW_EMPTY = "1"
+PR = "r1"
+PACKAGE_ARCH = "all"
+LICENSE = "MIT"
+
+RDEPENDS = "task-e-x11"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-gpe-extras.bb b/recipes/meta/meta-gpe-extras.bb
new file mode 100644
index 0000000000..24be1295e4
--- /dev/null
+++ b/recipes/meta/meta-gpe-extras.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Meta-package of extra applications for the GPE Palmtop Environment"
+LICENSE = "MIT"
+PR ="r3"
+
+RDEPENDS = "\
+ task-gpe-apps \
+ task-gpe-games \
+ task-gpe-web \
+ task-gpe-desktopapps"
+
+inherit meta
diff --git a/recipes/meta/meta-gpe.bb b/recipes/meta/meta-gpe.bb
new file mode 100644
index 0000000000..15e9fd1911
--- /dev/null
+++ b/recipes/meta/meta-gpe.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Meta-package for GPE Palmtop Environment"
+LICENSE = "MIT"
+PR = "r43"
+
+RDEPENDS = "\
+ task-gpe-base \
+ task-gpe-settings \
+ task-gpe-pim \
+ task-gpe-apps \
+ task-gpe-games \
+ task-gpe-connectivity"
+
+inherit meta
diff --git a/recipes/meta/meta-maemo.bb b/recipes/meta/meta-maemo.bb
new file mode 100644
index 0000000000..72216a6304
--- /dev/null
+++ b/recipes/meta/meta-maemo.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Meta-package for maemo environment"
+LICENSE = "MIT"
+PR = "r0"
+
+RDEPENDS = "\
+ maemo-task-base \
+ maemo-task-apps \
+ maemo-task-libs-install \
+ maemo-task-theme"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-mamona-light.bb b/recipes/meta/meta-mamona-light.bb
new file mode 100644
index 0000000000..562ba5b639
--- /dev/null
+++ b/recipes/meta/meta-mamona-light.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Meta package for Mamona"
+LICENSE = "MIT"
+PR = "r1"
+
+inherit meta
+EXCLUDE_FROM_WORLD = "1"
+
+RDEPENDS = " \
+task-mamona \
+"
+
+include mamona-buildall.inc
+
diff --git a/recipes/meta/meta-mamona.bb b/recipes/meta/meta-mamona.bb
new file mode 100644
index 0000000000..a7e3d9f89e
--- /dev/null
+++ b/recipes/meta/meta-mamona.bb
@@ -0,0 +1,102 @@
+DESCRIPTION = "Meta package for Mamona"
+LICENSE = "MIT"
+PR = "r2"
+
+inherit meta
+EXCLUDE_FROM_WORLD = "1"
+
+RDEPENDS = " \
+task-mamona-base \
+task-mamona \
+task-mamona-devel \
+task-mamona-sdk \
+task-mamona-sdk-noemu \
+task-mamona-wm \
+task-mamona-python \
+task-mamona-systemtap \
+coreutils \
+cpio \
+dbus \
+diffstat \
+dnsmasq \
+dosfstools \
+e2fsprogs \
+expat \
+findutils \
+firefox \
+fontconfig \
+gconf \
+glib-2.0 \
+gnome-common \
+gnome-vfs \
+groff \
+gstreamer \
+gtk+ \
+gtk+-doc \
+gtk-engines-dev \
+ifupdown \
+initscripts \
+intltool \
+libart-lgpl \
+libdbi \
+libelf \
+libfontenc \
+libmatchbox \
+liboil \
+libpng \
+libtelepathy \
+libtool \
+libusb \
+libxau \
+libxcursor \
+libxdmcp \
+libxext \
+libxfixes \
+libxfont \
+libxi \
+libxkbfile \
+libxml2 \
+libxpm \
+libxrandr \
+libxrender \
+libxslt \
+libxt \
+libxtst \
+libxv \
+lsof \
+makedev \
+matchbox-wm \
+midori \
+mime-support \
+module-init-tools \
+mplayer-maemo \
+ncurses \
+net-tools \
+netbase \
+openobex \
+portmap \
+ppp \
+procps \
+qt4-x11-free \
+quilt \
+renderproto-dev \
+samba \
+sgml-common \
+shared-mime-info \
+slang \
+sqlite \
+sqlite3 \
+sudo \
+sysvinit \
+telepathy-gabble \
+telepathy-glib \
+telepathy-mission-control \
+tslib \
+ttf-bitstream-vera \
+udev \
+util-linux \
+vim \
+wget \
+xkbd \
+xtrans-dev \
+"
diff --git a/recipes/meta/meta-nas-server.bb b/recipes/meta/meta-nas-server.bb
new file mode 100644
index 0000000000..3deb44c2bd
--- /dev/null
+++ b/recipes/meta/meta-nas-server.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Meta-package for a network attached storage server"
+LICENSE = "MIT"
+PR = "r0"
+
+RDEPENDS = "\
+ task-nas-server-everything \
+ "
+
+inherit meta
+
diff --git a/recipes/meta/meta-opie-all.bb b/recipes/meta/meta-opie-all.bb
new file mode 100644
index 0000000000..ccdbbe973d
--- /dev/null
+++ b/recipes/meta/meta-opie-all.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Meta-package for QPE stuff"
+SECTION = "opie/base"
+LICENSE = "MIT"
+PR = "r3"
+
+RDEPENDS = " \
+ task-qpe-applets \
+ task-qpe-games \
+ task-qpe-inputmethods \
+ task-qpe-multimedia \
+ task-qpe-emulators \
+ task-qpe-applications \
+ task-qpe-fonts \
+ task-qpe-settings"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-opie.bb b/recipes/meta/meta-opie.bb
new file mode 100644
index 0000000000..6a9c35c5e3
--- /dev/null
+++ b/recipes/meta/meta-opie.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Meta-package for Opie"
+SECTION = "opie/base"
+PR = "r34"
+LICENSE = "MIT"
+
+RDEPENDS = "task-opie-applets task-opie-apps task-opie-base \
+ task-opie-base-applets task-opie-base-apps \
+ task-opie-base-decorations task-opie-base-inputmethods \
+ task-opie-base-pim task-opie-base-settings \
+ task-opie-base-styles task-opie-bluetooth \
+ task-opie-datebookplugins task-opie-decorations \
+ task-opie-extra-apps task-opie-extra-settings \
+ task-opie-extra-styles task-opie-extra-games \
+ task-opie-games task-opie-inputmethods task-opie-irda \
+ task-opie-multimedia task-opie-pim task-opie-settings \
+ task-opie-styles task-opie-todayplugins task-opie-wlan"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-sdl.bb b/recipes/meta/meta-sdl.bb
new file mode 100644
index 0000000000..a1ab3918b7
--- /dev/null
+++ b/recipes/meta/meta-sdl.bb
@@ -0,0 +1,7 @@
+DESCRIPTION = "Meta-package for SDL"
+LICENSE = "MIT"
+PR = "r2"
+
+RDEPENDS = "task-sdl-libs task-sdl-games task-sdl-emulators"
+
+inherit meta \ No newline at end of file
diff --git a/recipes/meta/meta-toolchain-fso.bb b/recipes/meta/meta-toolchain-fso.bb
new file mode 100644
index 0000000000..fbfbb0a2cd
--- /dev/null
+++ b/recipes/meta/meta-toolchain-fso.bb
@@ -0,0 +1,7 @@
+PR = "r0"
+
+TOOLCHAIN_TARGET_TASK = "task-fso-toolchain-target"
+TOOLCHAIN_HOST_TASK = "task-fso-toolchain-host"
+
+require meta-toolchain.bb
+SDK_SUFFIX = "toolchain-fso"
diff --git a/recipes/meta/meta-toolchain-gpe-sbox.bb b/recipes/meta/meta-toolchain-gpe-sbox.bb
new file mode 100644
index 0000000000..74ba03825f
--- /dev/null
+++ b/recipes/meta/meta-toolchain-gpe-sbox.bb
@@ -0,0 +1,12 @@
+TOOLCHAIN_TARGET_TASK = "\
+ task-sdk-base \
+ task-sdk-sbox \
+ task-sdk-sbox-gpe \
+ task-sdk-x11 \
+ task-sdk-x11-ext \
+ task-sdk-gpe \
+ task-sdk-gpephone"
+
+require meta-toolchain.bb
+
+SDK_SUFFIX = "toolchain-gpe-sbox" \ No newline at end of file
diff --git a/recipes/meta/meta-toolchain-gpe.bb b/recipes/meta/meta-toolchain-gpe.bb
new file mode 100644
index 0000000000..bcfb1e1b38
--- /dev/null
+++ b/recipes/meta/meta-toolchain-gpe.bb
@@ -0,0 +1,9 @@
+TOOLCHAIN_TARGET_TASK = "\
+ task-sdk-base \
+ task-sdk-x11 \
+ task-sdk-x11-ext \
+ task-sdk-gpe"
+
+require meta-toolchain.bb
+
+SDK_SUFFIX = "toolchain-gpe" \ No newline at end of file
diff --git a/recipes/meta/meta-toolchain-neuros.bb b/recipes/meta/meta-toolchain-neuros.bb
new file mode 100644
index 0000000000..f60fbf0063
--- /dev/null
+++ b/recipes/meta/meta-toolchain-neuros.bb
@@ -0,0 +1,15 @@
+# Toolchain for neuros-osd devices
+
+PR = "r3"
+
+TOOLCHAIN_HOST_TASK = "task-sdk-host \
+ qmake2-sdk uicmoc4-sdk"
+
+require meta-toolchain.bb
+
+TOOLCHAIN_TARGET_TASK += " \
+ dbus dbus-dev \
+ qt-embedded qt-embedded-dev \
+ "
+
+SDK_SUFFIX = "toolchain-neuros"
diff --git a/recipes/meta/meta-toolchain-openmoko.bb b/recipes/meta/meta-toolchain-openmoko.bb
new file mode 100644
index 0000000000..b7e5626f61
--- /dev/null
+++ b/recipes/meta/meta-toolchain-openmoko.bb
@@ -0,0 +1,7 @@
+PR = "r1"
+
+TOOLCHAIN_TARGET_TASK = "task-openmoko-toolchain-target"
+TOOLCHAIN_HOST_TASK = "task-openmoko-toolchain-host"
+
+require meta-toolchain.bb
+SDK_SUFFIX = "toolchain-openmoko"
diff --git a/recipes/meta/meta-toolchain-opie.bb b/recipes/meta/meta-toolchain-opie.bb
new file mode 100644
index 0000000000..c72208c822
--- /dev/null
+++ b/recipes/meta/meta-toolchain-opie.bb
@@ -0,0 +1,7 @@
+TOOLCHAIN_TARGET_TASK = "\
+ task-sdk-base \
+ task-sdk-opie"
+
+require meta-toolchain.bb
+
+SDK_SUFFIX = "toolchain-opie"
diff --git a/recipes/meta/meta-toolchain-sbox.bb b/recipes/meta/meta-toolchain-sbox.bb
new file mode 100644
index 0000000000..1283c599c6
--- /dev/null
+++ b/recipes/meta/meta-toolchain-sbox.bb
@@ -0,0 +1,8 @@
+TOOLCHAIN_TARGET_TASK = "\
+ task-sdk-bare \
+ task-sdk-sbox"
+
+require meta-toolchain.bb
+
+SDK_SUFFIX = "toolchain-sbox"
+
diff --git a/recipes/meta/meta-toolchain-slugos.bb b/recipes/meta/meta-toolchain-slugos.bb
new file mode 100644
index 0000000000..21d9a84442
--- /dev/null
+++ b/recipes/meta/meta-toolchain-slugos.bb
@@ -0,0 +1,7 @@
+PR = "r1"
+
+TOOLCHAIN_HOST_TASK = "task-slugos-toolchain-host"
+TOOLCHAIN_TARGET_TASK = "task-slugos-toolchain-target"
+
+require meta-toolchain.bb
+SDK_SUFFIX = "toolchain-slugos" \ No newline at end of file
diff --git a/recipes/meta/meta-toolchain.bb b/recipes/meta/meta-toolchain.bb
new file mode 100644
index 0000000000..f892d22fd1
--- /dev/null
+++ b/recipes/meta/meta-toolchain.bb
@@ -0,0 +1,168 @@
+DESCRIPTION = "Meta package for building a installable toolchain"
+LICENSE = "MIT"
+DEPENDS = "opkg-native ipkg-utils-native fakeroot-native sed-native"
+
+# NOTE: We need to save and restore PACKAGE_ARCHS, because sdk.bbclass
+# will change HOST_ARCH, which can result in SITEINFO_ENDIANESS (which
+# is computed in siteinfo.bbclass) in changing if the original HOST_ARCH
+# endianess differs from the new HOST_ARCH endianess. SITEINFO_ENDIANNESS
+# is used in a number of places, including the construction of the
+# PACKAGE_EXTRA_ARCHS list for machines that are capable of running in
+# either endianess. There may be better ways to fix this.
+
+# Save value of PACKAGE_ARCHS (note the ":=" syntax to force immediate eval)
+REAL_PACKAGE_ARCHS := "${PACKAGE_ARCHS}"
+
+inherit sdk meta
+
+# Restore PACKAGE_ARCHS (sdk.bbclass may have caused it to change)
+PACKAGE_ARCHS := "${REAL_PACKAGE_ARCHS}"
+
+SDK_DIR = "${WORKDIR}/sdk"
+SDK_OUTPUT = "${SDK_DIR}/image"
+SDK_OUTPUT2 = "${SDK_DIR}/image-extras"
+SDK_DEPLOY = "${DEPLOY_DIR}/sdk"
+
+IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
+IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDK_PATH}/${TARGET_SYS}"
+
+TOOLCHAIN_HOST_TASK ?= "task-sdk-host"
+TOOLCHAIN_TARGET_TASK ?= "task-sdk-bare"
+FEED_ARCH ?= "${TARGET_ARCH}"
+SDK_SUFFIX = "toolchain"
+TOOLCHAIN_OUTPUTNAME ?= "${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}-${SDK_SUFFIX}"
+
+RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
+
+TOOLCHAIN_FEED_URI ?= "${DISTRO_FEED_URI}"
+
+modify_opkg_conf () {
+ OUTPUT_OPKGCONF_TARGET="${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}/opkg.conf"
+ OUTPUT_OPKGCONF_HOST="${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}/opkg-sdk.conf"
+ OUTPUT_OPKGCONF_SDK="${SDK_OUTPUT}/${sysconfdir}/opkg-sdk.conf"
+ rm ${OUTPUT_OPKGCONF_TARGET}
+ rm ${OUTPUT_OPKGCONF_HOST}
+ rm ${OUTPUT_OPKGCONF_SDK}
+ opkgarchs="${PACKAGE_ARCHS}"
+ priority=1
+ for arch in ${opkgarchs}; do
+ echo "arch ${arch} ${priority}" >> ${OUTPUT_OPKGCONF_TARGET};
+ echo "src/gz ${arch} ${TOOLCHAIN_FEED_URI}/${arch}" >> ${OUTPUT_OPKGCONF_TARGET};
+ priority=$(expr ${priority} + 5);
+ done
+}
+
+do_populate_sdk() {
+ rm -rf ${SDK_OUTPUT}
+ mkdir -p ${SDK_OUTPUT}
+
+ package_update_index_ipk
+ package_generate_ipkg_conf
+
+ for arch in ${PACKAGE_ARCHS}; do
+ revipkgarchs="$arch $revipkgarchs"
+ done
+
+ mkdir -p ${SDK_OUTPUT}/usr/lib/opkg
+ ${IPKG_HOST} update
+ ${IPKG_HOST} -force-depends install ${TOOLCHAIN_HOST_TASK}
+
+ mkdir -p ${SDK_OUTPUT}/${SDK_PATH}/${TARGET_SYS}/usr/lib/opkg
+ ${IPKG_TARGET} update
+ ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK}
+
+ install -d ${SDK_OUTPUT}/${prefix}/usr/lib/opkg
+ mv ${SDK_OUTPUT}/usr/lib/opkg/* ${SDK_OUTPUT}/${prefix}/usr/lib/opkg/
+ rm -Rf ${SDK_OUTPUT}/usr/lib
+
+ install -d ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}
+ install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}/
+
+ install -d ${SDK_OUTPUT}/${sysconfdir}
+ install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${sysconfdir}/
+
+ # extract and store ipks, pkgdata and shlibs data
+ target_pkgs=`cat ${SDK_OUTPUT}/${prefix}/package-status | grep Package: | cut -f 2 -d ' '`
+ mkdir -p ${SDK_OUTPUT2}/${prefix}/ipk/
+ mkdir -p ${SDK_OUTPUT2}/${prefix}/pkgdata/runtime/
+ mkdir -p ${SDK_OUTPUT2}/${prefix}/${TARGET_SYS}/shlibs/
+ for pkg in $target_pkgs ; do
+ for arch in $revipkgarchs; do
+ pkgnames=${DEPLOY_DIR_IPK}/$arch/${pkg}_*_$arch.ipk
+ if [ -e $pkgnames ]; then
+ oenote "Found $pkgnames"
+ cp $pkgnames ${SDK_OUTPUT2}/${prefix}/ipk/
+ orig_pkg=`ipkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
+ pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}
+ mkdir -p ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime
+ cp ${STAGING_DIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/
+ subpkgs=`cat ${STAGING_DIR}/pkgdata/$pkg_subdir/$orig_pkg | grep PACKAGES: | cut -b 10-`
+ for subpkg in $subpkgs; do
+ cp ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/
+ if [ -e ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ];then
+ cp ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/
+ fi
+ if [ -e ${STAGING_DIR_TARGET}/shlibs/$subpkg.list ]; then
+ cp ${STAGING_DIR_TARGET}/shlibs/$subpkg.* ${SDK_OUTPUT2}/${prefix}/${TARGET_SYS}/shlibs/
+ fi
+ done
+ break
+ fi
+ done
+ done
+
+ # add missing link to libgcc_s.so.1
+ # libgcc-dev should be responsible for that, but it's not getting built
+ # RP: it gets smashed up depending on the order that gcc, gcc-cross and
+ # gcc-cross-sdk get built :( (30/11/07)
+ ln -sf libgcc_s.so.1 ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libgcc_s.so
+
+ # Fix or remove broken .la files
+ for i in `find ${SDK_OUTPUT}/${prefix}/${TARGET_SYS} -name \*.la`; do
+ sed -i -e "/^dependency_libs=/s,\([[:space:]']\)${layout_base_libdir},\1${prefix}/${TARGET_SYS}${layout_base_libdir},g" \
+ -e "/^dependency_libs=/s,\([[:space:]']\)${layout_libdir},\1${prefix}/${TARGET_SYS}${layout_libdir},g" \
+ -e "/^dependency_libs=/s,\-\([LR]\)${layout_base_libdir},-\1${prefix}/${TARGET_SYS}${layout_base_libdir},g" \
+ -e "/^dependency_libs=/s,\-\([LR]\)${layout_libdir},-\1${prefix}/${TARGET_SYS}${layout_libdir},g" \
+ -e 's/^installed=yes$/installed=no/' $i
+ done
+ rm -f ${SDK_OUTPUT}/${prefix}/lib/*.la
+
+ # Setup site file for external use
+ siteconfig=${SDK_OUTPUT}/${prefix}/site-config
+ touch $siteconfig
+ for sitefile in ${CONFIG_SITE} ; do
+ cat $sitefile >> $siteconfig
+ done
+
+ # Create environment setup script
+ script=${SDK_OUTPUT}/${prefix}/environment-setup
+ touch $script
+ echo 'export PATH=${prefix}/bin:$PATH' >> $script
+ echo 'export LIBTOOL_SYSROOT_PATH=${prefix}/${TARGET_SYS}' >> $script
+ echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script
+ echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script
+ echo 'export CONFIG_SITE=${prefix}/site-config' >> $script
+ echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg-sdk.conf -o ${prefix}'" >> $script
+ echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${prefix}/${TARGET_SYS}${layout_sysconfdir}/opkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script
+
+ # Add version information
+ versionfile=${SDK_OUTPUT}/${prefix}/version
+ touch $versionfile
+ echo 'Distro: ${DISTRO}' >> $versionfile
+ echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
+ echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
+ echo 'Timestamp: ${DATETIME}' >> $versionfile
+
+ modify_opkg_conf
+
+ # Package it up
+ mkdir -p ${SDK_DEPLOY}
+ cd ${SDK_OUTPUT}
+ fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
+ cd ${SDK_OUTPUT2}
+ fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}-extras.tar.bz2 .
+}
+
+do_populate_sdk[nostamp] = "1"
+do_populate_sdk[recrdeptask] = "do_package_write"
+addtask populate_sdk before do_build after do_install
diff --git a/recipes/meta/nylon-feed.bb b/recipes/meta/nylon-feed.bb
new file mode 100644
index 0000000000..2cc11814d9
--- /dev/null
+++ b/recipes/meta/nylon-feed.bb
@@ -0,0 +1,46 @@
+LICENSE = "MIT"
+
+include nylon-feed.inc
+DEPENDS = "${NYLON_FEED} \
+ boost \
+ db3 \
+ dhcp \
+ dhcp-forwarder \
+ expat \
+ glib-2.0 \
+ glibc \
+ gmp \
+ iproute2 \
+ libcgicc \
+ libedit \
+ libmail-sendmail-perl \
+ libnetserver-generic-perl \
+ libpcre \
+ lzo \
+ make \
+ mystun-server \
+ mc \
+ net-snmp \
+ openssl \
+ openswan \
+ openvpn \
+ python \
+ ppp-dsl \
+ rp-pppoe \
+ simple-firewall \
+ thttpd \
+ wget \
+ wlan-ng-modules \
+ zlib \
+"
+
+# vsftpd \
+#
+
+do_index() {
+ touch ${DEPLOY_DIR_IPK}/Packages
+ ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
+}
+
+addtask index before do_build after do_install
+
diff --git a/recipes/meta/nylon-feed.inc b/recipes/meta/nylon-feed.inc
new file mode 100644
index 0000000000..d7b83e8edb
--- /dev/null
+++ b/recipes/meta/nylon-feed.inc
@@ -0,0 +1,71 @@
+NYLON_FEED = " \
+base-files \
+bash \
+binutils \
+bridge-utils \
+busybox \
+chillispot \
+dash \
+ddclient \
+dnsmasq \
+elvis \
+gdb \
+gnupg \
+hostap-modules \
+hostap-utils \
+hostap-daemon \
+htb-init \
+ifplugd \
+initscripts \
+iperf \
+ipkg \
+iptables \
+ksymoops \
+less \
+linux-hotplug \
+lsof \
+madwifi-modules \
+maradns \
+minicom \
+mobilemesh \
+modutils \
+mtd-utils \
+mtr \
+nano \
+ncurses \
+netbase \
+netperf \
+ntp \
+nylon-scripts \
+nylon-statistics \
+olsrd \
+openssh \
+pciutils \
+pcmcia-cs \
+perl \
+pmacct \
+ppp \
+pptp-linux \
+rrdtool \
+ser \
+shorewall \
+stunnel \
+sysvinit \
+tcl \
+tcpdump \
+tinc \
+tzdata \
+usbutils \
+vtun \
+wireless-tools \
+wpa-supplicant \
+yamonenv \
+"
+
+# TODO:
+# strace: SYS_read?
+# gdb-cross: install paths, sdk?
+# screen: sgttyb?
+
+#kismet \
+#
diff --git a/recipes/meta/openmoko-feed.bb b/recipes/meta/openmoko-feed.bb
new file mode 100644
index 0000000000..9cc227c62e
--- /dev/null
+++ b/recipes/meta/openmoko-feed.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Meta-package for Openmoko Misc. Feed Items"
+LICENSE = "MIT"
+
+RDEPENDS = "\
+ task-openmoko-debug \
+ task-openmoko-native-sdk \
+ task-openmoko-feed \
+"
+
+inherit meta
diff --git a/recipes/meta/openprotium-packages.bb b/recipes/meta/openprotium-packages.bb
new file mode 100644
index 0000000000..7d66ee5d61
--- /dev/null
+++ b/recipes/meta/openprotium-packages.bb
@@ -0,0 +1,265 @@
+# Meta package containing all the packages which build for SlugOS
+#
+# All packages in here must build with the slugos-???.conf distros,
+# they do not necessarily work.
+DESCRIPTION = "Packages that are compatible with the Openprotium on the iomega Storcenter"
+HOMEPAGE = "http://www.openprotium.org"
+LICENSE = "MIT"
+PR = "r4"
+CONFLICTS = "db3"
+PROVIDES += "${OPENPROTIUM_IMAGENAME}-packages"
+
+EXCLUDE_FROM_WORLD = "1"
+INHIBIT_DEFAULT_DEPS = "1"
+ALLOW_EMPTY = "1"
+
+inherit meta
+
+# The list of packages to build for the slugos DISTRO.
+# KEEP IN ALPHABETICAL ORDER
+# Do *not* simply comment out a line. That will break. Instead
+# remove the package and place it in the corresponding "broken" list
+
+# deleted from "base" as they don't immediately build...
+# asterisk \
+# asterisk-sounds \
+# beep \
+# cherokee \
+# cyrus-sasl \
+# atftp \
+# flac \
+# gphoto2 \
+# gdb \
+# lirc \
+# masqmail \
+# wakelan \
+# wireless-tools \
+# wpa-supplicant \
+# openldap \
+# bluez-utils-nodbus \
+# lcdproc \
+# libxml2 \
+# libdvb \
+# madwifi-ng \
+# motion \
+# ftpd-topfield \
+# eciadsl \
+# netpbm \
+# reiserfsprogs reiser4progs \
+# libgphoto2 \
+# python \
+# mpd \
+# memtester \
+# puppy \
+# samba \
+# sane-backends \
+# vsftpd \
+# syslog-ng \
+# zd1211 \
+# cdparanoia \
+# litestream \
+# pvrusb2-mci \
+# pwc \
+# fetchmail \
+
+OPENPROTIUM_PACKAGES = "\
+ alsa-lib \
+ alsa-utils \
+ apache2 \
+ audiofile \
+ aumix \
+ autoconf \
+ automake \
+ bash \
+ bind \
+ binutils \
+ bison \
+ bridge-utils \
+ bzip2 \
+ ccxstream \
+ cdstatus \
+ coreutils \
+ cron \
+ ctorrent \
+ cvs \
+ db \
+ devlabel \
+ diffstat \
+ diffutils \
+ dnsmasq \
+ e2fsprogs \
+ e2fsprogs-libs \
+ expat \
+ ez-ipupdate \
+ file \
+ findutils \
+ flex \
+ flite \
+ gallery \
+ gawk \
+ gcc \
+ gdbm \
+ glib-2.0 \
+ gnu-config \
+ grep \
+ gtk-doc \
+ gzip \
+ hdparm \
+ ifupdown \
+ ipkg-utils \
+ iptables \
+ ircp \
+ joe \
+ jpeg \
+ libao \
+ libid3tag \
+ liblockfile \
+ libmad \
+ libmikmod \
+ libogg \
+ libol \
+ libpng \
+ libtool \
+ libupnp \
+ libusb \
+ libvorbis \
+ lrzsz \
+ lsof \
+ lvm2 \
+ m4 \
+ madplay \
+ mailx \
+ make \
+ mdadm \
+ mgetty \
+ miau \
+ microcom \
+ minicom \
+ modphp \
+ mt-daapd \
+ mtd-utils \
+ mutt \
+ nail \
+ nano \
+ ncftp \
+ ncurses \
+ netcat \
+ nmap \
+ ntp \
+ openobex-apps \
+ openntpd \
+ openobex \
+ openssh \
+ openvpn \
+ patch \
+ pciutils \
+ libpcre \
+ perl \
+ pkgconfig \
+ ppp \
+ procps \
+ quilt \
+ rng-tools \
+ rsync \
+ sed \
+ setpwc \
+ setserial \
+ smartmontools \
+ ssmtp \
+ strace \
+ streamripper \
+ sysfsutils \
+ tar \
+ thttpd \
+ tiff \
+ unzip \
+ usbutils \
+ util-linux \
+ vim \
+ vlan \
+ wget \
+ zip \
+ zlib \
+ "
+
+# Packages currently broken on all platforms
+SLUGOS_BROKEN_PACKAGES = "\
+ irssi \
+ obexftp \
+ qc-usb-messenger \
+ unionfs-modules \
+ unionfs-utils \
+ icecast \
+ cyrus-imapd \
+ "
+
+# These packages will never build because uclibc lacks (and always will lack)
+# appropriate support. This define is for documentation of this fact! The
+# normal cause is that the package uses the "NIS" interfaces (once known as
+# YP - a trademark of BT which SUN used without license - the missing function
+# calls often still have 'yp' in the name).
+
+# NOTE: rng-tools is only here until argp-standalone can be built!
+UCLIBC_UNSUPPORTABLE_PACKAGES = "\
+ libpam \
+ nfs-utils \
+ rng-tools \
+ postfix \
+ yp-tools ypbind ypserv \
+ "
+
+# These packages work with glibc, but break on uclibc.
+UCLIBC_BROKEN_PACKAGES = "\
+ apr \
+ bogofilter \
+ boost \
+ bwmon \
+ erlang \
+ linphone \
+ sudo \
+ ushare \
+ "
+
+# Packages which build only with glibc (some of these use internal
+# glibc functions and so will probably never run on uclibc).
+SLUGOS_PACKAGES_append_linux = "\
+ ${UCLIBC_UNSUPPORTABLE_PACKAGES} \
+ ${UCLIBC_BROKEN_PACKAGES} \
+ ctrlproxy \
+ dsniff \
+ iperf \
+ groff \
+ man man-pages \
+ psmisc \
+ screen \
+ tzdata \
+ wview-sim wview-vpro wview-wxt510 \
+ wview-sim-mysql wview-vpro-mysql \
+ wview-wxt510-mysql \
+ xinetd \
+ "
+
+SLUGOS_PACKAGES_append_linux-uclibc = "\
+ "
+
+# These packages are not in the build because they have a significant compilation
+# time, add them to SLUGOS_EXTRA_PACKAGES if required
+SLUGOS_OPTIONAL_PACKAGES = "\
+ mysql \
+ "
+
+#
+# you can place these in the top level openembedded/conf/distro/openprotium.conf
+# file to fine-tune what's happening
+#
+OPENPROTIUM_EXTRA_PACKAGES ?= ""
+
+# The package-index at the end causes regeneration of the Packages.gz and
+# other control files.
+# openprotium-native \
+DEPENDS = "\
+ openprotium-image \
+ ${OPENPROTIUM_PACKAGES} \
+ ${OPENPROTIUM_EXTRA_PACKAGES} \
+ package-index \
+ "
diff --git a/recipes/meta/oplinux-packages.bb b/recipes/meta/oplinux-packages.bb
new file mode 100644
index 0000000000..190f323838
--- /dev/null
+++ b/recipes/meta/oplinux-packages.bb
@@ -0,0 +1,646 @@
+# Meta package containing all the packages which build for OPLinux and OPLinux uclibc distro
+# Copyright (C) 2007, Stelios Koroneos - Digital OPSiS, All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+DESCRIPTION = "Packages that are compatible with the OPLinux distro"
+HOMEPAGE = "http://www.digital-opsis/oplinux"
+LICENSE = "MIT"
+PR = "r2"
+PROVIDES += "${OPLINUX_IMAGENAME}-packages"
+
+EXCLUDE_FROM_WORLD = "1"
+INHIBIT_DEFAULT_DEPS = "1"
+ALLOW_EMPTY = "1"
+
+
+python __anonymous () {
+
+ import bb
+
+ #Get all the packages we can build/exist in OE
+ package_list = bb.data.getVar('PACKAGES_LIST', d) or "none"
+ package_list=package_list.split()
+
+ #Get the packages that are broken on all architectures
+ broken_package_list = bb.data.expand('${OPLINUX_BROKEN_PACKAGES}', d)
+
+ # Get the arch we are building for
+ building_arch = bb.data.getVar('FEED_ARCH',d)
+
+ #Now add the broken packages list the ones that fail for the arch we build now
+ if (building_arch=="i486") or (building_arch=="i586") or (building_arch=="i686"):
+ broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_x86}', d)
+
+ elif (building_arch=="ppc405"):
+ broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_PPC}', d)
+
+ elif (building_arch=="ppc603e"):
+ broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_POWERPC}', d)
+
+
+ for chk_package in package_list :
+ build_package="yes"
+ if chk_package in broken_package_list:
+ build_package="no"
+ else :
+ bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + chk_package +" "), d)
+
+#add the OPLinux extra packages to the DEPENDS list
+ bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + bb.data.getVar('OPLINUX_EXTRA_PACKAGES', d)), d)
+
+
+ bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + "package-index"), d)
+}
+
+
+
+
+
+# The list of packages availiable to OE
+# KEEP IN ALPHABETICAL ORDER
+# Do *not* simply comment out a line. That will break. Instead
+# remove the package and place it in the corresponding "broken" list
+PACKAGES_LIST = "\
+ acct \
+ acpid \
+ adns \
+ aiostress \
+ aircrack \
+ alsa-lib \
+ alsa-utils \
+ apache2 \
+ appweb \
+ apmd \
+ apt \
+ ark3116 \
+ arpwatch \
+ at \
+ atd \
+ atftp \
+ atmelwlandriver \
+ audiofile \
+ aumix \
+ autoconf \
+ automake \
+ autofs \
+ aspell \
+ avahi \
+ bacula-client \
+ balsa \
+ bash \
+ bazaar \
+ bb \
+ bc \
+ beep \
+ beecrypt \
+ beepmp \
+ bind \
+ binutils \
+ bing \
+ bison \
+ bitchx \
+ blueprobe \
+ bmon \
+ boa \
+ bochs \
+ bogofilter \
+ boost \
+ boost-asio \
+ bonnie++ \
+ bootchart \
+ bootmenu \
+ bootsplash \
+ bridge-utils \
+ bt950-cs \
+ btscanner \
+ btsco \
+ btsco-module \
+ btxml \
+ bvi \
+ bwmon \
+ bluez-utils \
+ bzflag \
+ bzflag-server \
+ bzip2 \
+ came \
+ chillispot \
+ camsource \
+ cscope \
+ cups \
+ ccxstream \
+ cdparanoia \
+ cdstatus \
+ cetools \
+ cherokee \
+ ckermit \
+ clish \
+ coreutils \
+ conserver \
+ corkscrew \
+ cpusage \
+ cron \
+ ctorrent \
+ cvs \
+ cyrus-sasl \
+ cyrus-imapd \
+ dialog \
+ db \
+ ddclient \
+ dhclient \
+ dhcp \
+ didiwiki \
+ devlabel \
+ diffstat \
+ diffutils \
+ dnsmasq \
+ ebtables \
+ elftoaout \
+ emul \
+ enscript \
+ e2fsprogs \
+ e2fsprogs-libs \
+ esmtp \
+ etherpuppet \
+ ethload \
+ ethtool \
+ ettercap \
+ expat \
+ ez-ipupdate \
+ fortune-mod \
+ fakeconnect \
+ fbgrab \
+ fetchmail \
+ file \
+ findutils \
+ flac \
+ flex \
+ flite \
+ frotz \
+ fush \
+ g15daemon \
+ gallery \
+ gammu \
+ gawk \
+ gcc \
+ gdb \
+ gdbm \
+ genext2fs \
+ gphoto2 \
+ git \
+ gift \
+ glib-2.0 \
+ gpm \
+ gpsbabel \
+ gs \
+ gnu-config \
+ gnuplot \
+ gpsd \
+ grep \
+ gtk-doc \
+ gzip \
+ hdparm \
+ hydra \
+ ifupdown \
+ iputils \
+ ipkg-utils \
+ iptables \
+ intercom \
+ ircp \
+ irssi \
+ joe \
+ jpeg \
+ kismet \
+ kbdd \
+ ksymoops \
+ lame \
+ lxt \
+ lcdproc \
+ less \
+ libao \
+ libpcre \
+ libid3tag \
+ liblockfile \
+ libmad \
+ libmikmod \
+ libogg \
+ libol \
+ libpng \
+ libtool \
+ libupnp \
+ libusb \
+ libvorbis \
+ litestream \
+ lrzsz \
+ lsof \
+ lvm2 \
+ m4 \
+ madplay \
+ mailx \
+ make \
+ mc \
+ mikmod \
+ mdadm \
+ memtester \
+ mgetty \
+ miau \
+ microcom \
+ minicom \
+ modphp \
+ modplugplay \
+ mp3blaster \
+ mpg321 \
+ mt-daapd \
+ mtd-utils \
+ mutt \
+ mysql \
+ mystun-server \
+ nail \
+ nano \
+ ncftp \
+ ncurses \
+ netcat \
+ nmap \
+ nmixer \
+ ntp \
+ netkit-ftp \
+ netperf \
+ net-snmp \
+ nfs-utils \
+ ngrep \
+ nmap \
+ nsd \
+ ntp \
+ ntpdate \
+ openobex-apps \
+ openldap \
+ openntpd \
+ openobex \
+ obexftp \
+ obexpush \
+ olsrd \
+ openswan \
+ openssh \
+ openvpn \
+ patch \
+ pciutils \
+ pcmcia-cs \
+ portmap \
+ privoxy \
+ perl \
+ pkgconfig \
+ ppp \
+ procps \
+ pvrusb2-mci \
+ pwc \
+ quilt \
+ rng-tools \
+ rsync \
+ samba \
+ sane-backends \
+ sed \
+ setpwc \
+ setserial \
+ shorewall \
+ smartmontools \
+ ssmtp \
+ strace \
+ streamripper \
+ sysfsutils \
+ syslog-ng \
+ stunnel \
+ spandsp \
+ subversion \
+ slutils \
+ strace \
+ sudo \
+ tcpdump \
+ tor \
+ tar \
+ thttpd \
+ tiff \
+ texinfo \
+ unzip \
+ unrar \
+ usbutils \
+ util-linux \
+ vim \
+ vlan \
+ vorbis-tools \
+ vpnc \
+ vsftpd \
+ vtun \
+ watchdog \
+ wget \
+ zd1211-firmware \
+ zip \
+ zlib \
+ zsh \
+ lirc \
+ masqmail \
+ wakelan \
+ wireless-tools \
+ wpa-supplicant \
+ libxml2 \
+ libdvb \
+ madwifi-ng \
+ motion \
+ ftpd-topfield \
+ eciadsl \
+ netpbm \
+ reiserfsprogs reiser4progs \
+ python \
+ mpd \
+ memtester \
+ puppy \
+
+ ctrlproxy \
+ dsniff \
+ iperf \
+ groff \
+ man man-pages \
+ psmisc \
+ screen \
+ tzdata \
+ wview-sim wview-vpro wview-wxt510 \
+ wview-sim-mysql wview-vpro-mysql \
+ wview-wxt510-mysql \
+ xinetd \
+ obexftp \
+ qc-usb-messenger \
+ unionfs-modules \
+ unionfs-utils \
+ erlang \
+ ctrlproxy \
+ dsniff \
+ fortune-mod \
+ libpam \
+ nfs-utils \
+ rng-tools \
+ postfix \
+ yp-tools ypbind ypserv \
+
+"
+
+
+
+# Packages currently broken on all platforms (glibc)
+OPLINUX_BROKEN_PACKAGES = "irssi \
+ unionfs-modules \
+ unionfs-utils \
+
+"
+
+#Here we define the packages that are broken on a specific architecture
+#i486, i586, i686
+OPLINUX_BROKEN_PACKAGES_ARCH_x86 =" \
+ aircrack \
+ appweb \
+ apt \
+ ark3116 \
+ at \
+ atmelwlandriver \
+ atftp \
+ autofs \
+ balsa \
+ bazaar \
+ bb \
+ beecrypt \
+ beepmp \
+ bitchx \
+ bochs \
+ bmon \
+ bt950-cs \
+ btscanner \
+ btsco-module \
+ bwmon \
+ came \
+ ctrlproxy \
+ cyrus-sasl \
+ cyrus-imapd \
+ dsniff \
+ eciadsl \
+ erlang \
+ fortune-mod \
+ gphoto2 \
+ gpsd \
+ intercom \
+ lcdproc \
+ lirc \
+ mpd \
+ puppy \
+ pvrusb2-mci \
+ pwc \
+ qc-usb-messenger \
+ sane-backends \
+ setpwc \
+ slutils \
+ texinfo \
+ vsftpd \
+ libpam \
+ aircrack \
+ appweb \
+ apt \
+ ark3116 \
+ gcc \
+ gpsd \
+ pvrusb2-mci \
+ pwc \
+ setpwc \
+ cyrus-sasl \
+ atftp \
+ gphoto2 \
+ lirc \
+ libdvb \
+ netpbm \
+"
+#
+#ppc405
+OPLINUX_BROKEN_PACKAGES_ARCH_PPC = " \
+ aircrack \
+ appweb \
+ apt \
+ ark3116 \
+ at \
+ atmelwlandriver \
+ atftp \
+ autofs \
+ balsa \
+ bazaar \
+ bb \
+ beecrypt \
+ beepmp \
+ bitchx \
+ bochs \
+ bmon \
+ bt950-cs \
+ btscanner \
+ btsco-module \
+ bwmon \
+ came \
+ ctrlproxy \
+ cyrus-sasl \
+ cyrus-imapd \
+ dsniff \
+ eciadsl \
+ erlang \
+ fortune-mod \
+ gphoto2 \
+ gpsd \
+ intercom \
+ lcdproc \
+ lirc \
+ mpd \
+ puppy \
+ pvrusb2-mci \
+ pwc \
+ qc-usb-messenger \
+ sane-backends \
+ setpwc \
+ slutils \
+ texinfo \
+ vsftpd \
+"
+
+
+
+#
+#ppc440 ppc603e
+OPLINUX_BROKEN_PACKAGES_ARCH_POWERPC = " \
+ aircrack \
+ appweb \
+ apt \
+ ark3116 \
+ arpwatch \
+ at \
+ atmelwlandriver \
+ atftp \
+ autofs \
+ balsa \
+ bazaar \
+ bb \
+ beecrypt \
+ beepmp \
+ bitchx \
+ bochs \
+ bmon \
+ bt950-cs \
+ btscanner \
+ btsco-module \
+ bwmon \
+ came \
+ ctrlproxy \
+ cyrus-sasl \
+ cyrus-imapd \
+ dsniff \
+ eciadsl \
+ erlang \
+ fortune-mod \
+ gphoto2 \
+ gpsd \
+ intercom \
+ lcdproc \
+ lirc \
+ mpd \
+ puppy \
+ pvrusb2-mci \
+ pwc \
+ qc-usb-messenger \
+ sane-backends \
+ setpwc \
+ slutils \
+ spandsp \
+ texinfo \
+ vsftpd \
+
+ libpam \
+ aircrack \
+ appweb \
+ apt \
+ ark3116 \
+ gcc \
+ gpsd \
+ pvrusb2-mci \
+ pwc \
+ setpwc \
+ cyrus-sasl \
+ atftp \
+ gphoto2 \
+ lirc \
+ libdvb \
+ netpbm \
+"
+
+
+
+
+#Packages broken per machine (if we ever need such a thing)
+OPLINUX_BROKEN_PACKAGES_append_x86 =" \
+"
+OPLINUX_BROKEN_PACKAGES_append_i586-generic =" \
+"
+OPLINUX_BROKEN_PACKAGES_append_i686-generic =" \
+"
+OPLINUX_BROKEN_PACKAGES_append_epia =" \
+"
+OPLINUX_BROKEN_PACKAGES_append_wrap = "\
+"
+
+#ppc targets
+OPLINUX_BROKEN_PACKAGES_append_magicbox = "\
+"
+OPLINUX_BROKEN_PACKAGES_append_dht-walnut = "\
+"
+#powerpc targets
+OPLINUX_BROKEN_PACKAGES_append_efika = "\
+"
+
+
+#
+#
+OPLINUX_UCLIBC_UNSUPPORTABLE_PACKAGES = "\
+ libpam \
+ nfs-utils \
+ rng-tools \
+ postfix \
+ yp-tools ypbind ypserv \
+ "
+
+# These packages work with glibc, but break on uclibc.
+OPLINUX_UCLIBC_BROKEN_PACKAGES = "\
+# bwmon \
+# erlang \
+# apr \
+# bogofilter \
+# boost \
+# linphone \
+# sudo \
+# ushare \
+ "
+
+OPLINUX_UCLIBC_BROKEN_PACKAGES_append_x86 = "\
+ "
+
+OPLINUX_UCLIBC_BROKEN_PACKAGES_append_epia = "\
+ "
+
+OPLINUX_UCLIBC_BROKEN_PACKAGES_append_wrap = "\
+ "
+
+OPLINUX_UCLIBC_BROKEN_PACKAGES_append_magicbox = "\
+ "
+
+OPLINUX_UCLIBC_BROKEN_PACKAGES_append_dht-walnut = "\
+ "
+
+
+# Packages which build only with glibc (some of these use internal
+# glibc functions and so will probably never run on uclibc).
+OPLINUX_BROKEN_PACKAGES_append_uclibc-linux = "\
+ ${OPLINUX_UCLIBC_UNSUPPORTABLE_PACKAGES} \
+ ${OPLINUX_UCLIBC_BROKEN_PACKAGES} \
+
+"
+
+#
+#Any extra packages defined
+#
+OPLINUX_EXTRA_PACKAGES ?= ""
diff --git a/recipes/meta/package-index.bb b/recipes/meta/package-index.bb
new file mode 100644
index 0000000000..f52fb6c72b
--- /dev/null
+++ b/recipes/meta/package-index.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Rebuild the package index"
+LICENSE = "MIT"
+DEPENDS = "ipkg-utils-native"
+
+INHIBIT_DEFAULT_DEPS = "1"
+ALLOW_EMPTY = "1"
+PACKAGES = ""
+
+do_fetch() {
+}
+do_unpack() {
+}
+do_patch() {
+}
+do_configure() {
+}
+do_compile() {
+}
+do_install() {
+}
+do_stage() {
+}
+
+do_build[nostamp] = "1"
+do_build[dirs] = "${DEPLOY_DIR_IPK}"
+do_build() {
+ set -ex
+ package_update_index_ipk
+ set +ex
+}
diff --git a/recipes/meta/run-postinsts/run-postinsts b/recipes/meta/run-postinsts/run-postinsts
new file mode 100755
index 0000000000..f632d1c7d3
--- /dev/null
+++ b/recipes/meta/run-postinsts/run-postinsts
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# Copyright 2007 Openedhand Ltd.
+#
+# Author: Richard Purdie <rpurdie@openedhand.com>
+#
+
+PKGSYSTEM=/var/dpkg
+
+if [ ! -e $PKGSYSTEM/status ]; then
+ if [ -e /usr/lib/opkg/status ]; then
+ PKGSYSTEM=/usr/lib/opkg
+ else
+ echo "No package system found"
+ exit 1
+ fi
+fi
+
+STAMP=$PKGSYSTEM/postinsts-done
+STATFILE=$PKGSYSTEM/status
+STATFILE2=$PKGSYSTEM/status2
+
+if [ -e $STAMP ]; then
+ exit 0
+fi
+
+awk -f /usr/share/run-postinsts/run-postinsts.awk $STATFILE > $STATFILE2
+if [ $? = 0 ]; then
+ mv $STATFILE2 $STATFILE
+ touch $STAMP
+ exit 0
+else
+ rm -f $STATFILE2
+ rm -f $STAMP
+ exit 1
+fi
diff --git a/recipes/meta/run-postinsts/run-postinsts.awk b/recipes/meta/run-postinsts/run-postinsts.awk
new file mode 100644
index 0000000000..09a1400cf4
--- /dev/null
+++ b/recipes/meta/run-postinsts/run-postinsts.awk
@@ -0,0 +1,30 @@
+#
+# Copyright 2007 Openedhand Ltd.
+#
+# Author: Richard Purdie <rpurdie@openedhand.com>
+#
+# Rather hacky proof of concept
+#
+
+BEGIN {
+ rc=system("test -d /usr/dpkg/info/")
+ if (rc==0)
+ pkgdir="/var/dpkg/info"
+ else
+ pkgdir="/usr/lib/opkg/info"
+ package=""
+}
+/Package:.*/ {
+ package = substr($0, 10)
+}
+/Status:.*unpacked.*/ {
+ print "Configuring: " package > "/dev/stderr"
+ ret = system(pkgdir "/" package ".postinst 1>&2")
+ if (ret == 0)
+ $0 = gensub("unpacked", "installed", 1)
+ else
+ print "Postinstall failed for " package > "/dev/stderr"
+}
+{
+ print $0
+}
diff --git a/recipes/meta/run-postinsts_1.0.bb b/recipes/meta/run-postinsts_1.0.bb
new file mode 100644
index 0000000000..79333dc7fe
--- /dev/null
+++ b/recipes/meta/run-postinsts_1.0.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Run postinstall scripts on device using awk"
+SECTION = "devel"
+PR = "r6"
+
+SRC_URI = "file://run-postinsts file://run-postinsts.awk"
+
+INITSCRIPT_NAME = "run-postinsts"
+INITSCRIPT_PARAMS = "start 98 S ."
+
+inherit update-rc.d
+
+do_configure() {
+ :
+}
+
+do_compile () {
+ :
+}
+
+do_install() {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/
+
+ install -d ${D}${datadir}/${PN}/
+ install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/
+}
+
+do_stage () {
+ :
+}
diff --git a/recipes/meta/slugos-native-packages.bb b/recipes/meta/slugos-native-packages.bb
new file mode 100644
index 0000000000..1e60e8c8af
--- /dev/null
+++ b/recipes/meta/slugos-native-packages.bb
@@ -0,0 +1,22 @@
+# Only list packages which will not build 'cross' in here.
+DESCRIPTION = "Packages that are to be compiled natively for the SlugOS firmware"
+LICENSE = "MIT"
+PR = "r2"
+
+INHIBIT_DEFAULT_DEPS = "1"
+EXCLUDE_FROM_WORLD = "1"
+ALLOW_EMPTY = "1"
+PACKAGES = "${PN}"
+
+inherit meta
+
+SLUGOS_NATIVE_PACKAGES = "\
+ apache \
+ php-native \
+ "
+
+SLUGOS_BROKEN_NATIVE_PACKAGES = "\
+ "
+
+DEPENDS = '${SLUGOS_NATIVE_PACKAGES} \
+ package-index'
diff --git a/recipes/meta/slugos-native.bb b/recipes/meta/slugos-native.bb
new file mode 100644
index 0000000000..9dae7e8df3
--- /dev/null
+++ b/recipes/meta/slugos-native.bb
@@ -0,0 +1,102 @@
+# SlugOS native build tools
+#
+# For the most part these are generic tools which should work for any
+# SlugOS variant, however there is a dependency on the libc implementation
+#
+DESCRIPTION = "Packages that are required for the SlugOS native build environment"
+LICENSE = "MIT"
+PR = "r7"
+
+INHIBIT_DEFAULT_DEPS = "1"
+EXCLUDE_FROM_WORLD = "1"
+ALLOW_EMPTY = "1"
+PACKAGES = "${PN}"
+
+inherit meta
+
+do_package_write_ipk() {
+}
+
+# Run-time only (RDEPENDS) stuff - no package explicitly provides
+# these targets.
+SLUGOS_NATIVE_RT_prepend_linux = "\
+ glibc-extra-nss glibc-utils glibc \
+ "
+SLUGOS_NATIVE_RT_prepend_linux-uclibc = "\
+ uclibc-dev uclibc-utils \
+ "
+SLUGOS_NATIVE_RT = "\
+ binutils-dev binutils-symlinks \
+ cpp cpp-symlinks \
+ g++ g++-symlinks \
+ gcc gcc-symlinks \
+ gdbm \
+ libstdc++-dev \
+ ncurses-dev ncurses-terminfo \
+ perl perl-modules \
+ python-core python-crypt python-io python-lang python-pickle python-shell python-textutils \
+ readline \
+ "
+
+# Run-time and DEPENDS
+SLUGOS_NATIVE_prepend_linux = "\
+ glibc \
+ "
+SLUGOS_NATIVE_prepend_linux-uclibc = "\
+ libiconv \
+ uclibc \
+ "
+SLUGOS_NATIVE = "\
+ autoconf \
+ automake \
+ bash \
+ binutils \
+ bison \
+ bzip2 \
+ coreutils \
+ cvs \
+ diffstat \
+ file \
+ flex \
+ gawk \
+ gcc \
+ gnu-config \
+ gzip \
+ libtool \
+ lrzsz \
+ m4 \
+ make \
+ ncurses \
+ patch \
+ perl \
+ pkgconfig \
+ quilt \
+ sed \
+ tar \
+ util-linux \
+ wget \
+ ${SLUGOS_NATIVE_THUMB_BROKEN} \
+ "
+
+# If a tool won't build *on thumb libc* add it to the following list.
+# Normally such a tool should be built with the ARM instruction set
+# even on a thumb system (and this can be set in the tool's .bb file),
+# however even this doesn't work for very large programs at present
+# (only monotone!)
+####### *-*-* TEMPORARY: mwester - remove monotone as it wont' build.
+#SLUGOS_NATIVE_THUMB_BROKEN = "\
+# monotone-6 \
+# "
+SLUGOS_NATIVE_THUMB_BROKEN = ""
+###### *-*-*
+
+SLUGOS_NATIVE_THUMB_BROKEN_thumb = ""
+
+# These things are required but are not valid RDEPENDS
+SLUGOS_NATIVE_DP = "\
+ gdbm \
+ python \
+ "
+
+RDEPENDS = '${SLUGOS_NATIVE_RT} ${SLUGOS_NATIVE}'
+DEPENDS = '${SLUGOS_NATIVE_DP} ${SLUGOS_NATIVE}'
diff --git a/recipes/meta/slugos-packages.bb b/recipes/meta/slugos-packages.bb
new file mode 100644
index 0000000000..1428fdcd7b
--- /dev/null
+++ b/recipes/meta/slugos-packages.bb
@@ -0,0 +1,293 @@
+# Meta package containing all the packages which build for SlugOS
+#
+# All packages in here must build with the slugos-???.conf distros,
+# they do not necessarily work.
+DESCRIPTION = "Packages that are compatible with the SlugOS firmware"
+HOMEPAGE = "http://www.nslu2-linux.org"
+LICENSE = "MIT"
+PR = "r63"
+CONFLICTS = "db3"
+
+COMPATIBLE_MACHINE = "nslu2|ixp4xx"
+EXCLUDE_FROM_WORLD = "1"
+INHIBIT_DEFAULT_DEPS = "1"
+ALLOW_EMPTY = "1"
+
+# The list of packages to build for the slugos DISTRO.
+# KEEP IN ALPHABETICAL ORDER
+# Do *not* simply comment out a line. That will break. Instead
+# remove the package and place it in the corresponding "broken" list
+
+SLUGOS_PACKAGES = "\
+ alsa-lib \
+ alsa-utils \
+ apex-env \
+ apr \
+ asterisk \
+ asterisk-core-sounds-en-alaw \
+ asterisk-core-sounds-en-g729 \
+ asterisk-core-sounds-en-gsm \
+ asterisk-core-sounds-en-ulaw \
+ asterisk-extra-sounds-en-alaw \
+ asterisk-extra-sounds-en-g729 \
+ asterisk-extra-sounds-en-gsm \
+ asterisk-extra-sounds-en-ulaw \
+ asterisk-moh-freeplay-alaw \
+ asterisk-moh-freeplay-g729 \
+ asterisk-moh-freeplay-gsm \
+ asterisk-moh-freeplay-ulaw \
+ atftp \
+ audiofile \
+ aumix \
+ autoconf \
+ autofs \
+ automake \
+ bash \
+ beep \
+ bind \
+ binutils \
+ bison \
+ bluez-utils \
+ bluez-hcidump \
+ bluez4 \
+ bogofilter \
+ bonnie++ \
+ boost \
+ bridge-utils \
+ bwmon \
+ bzip2 \
+ ccxstream \
+ cdparanoia \
+ cdstatus \
+ cherokee \
+ coreutils \
+ cron \
+ cryptsetup \
+ ctrlproxy \
+ cups \
+ curl \
+ cvs \
+ db \
+ devio \
+ devlabel \
+ diffstat \
+ diffutils \
+ dircproxy \
+ dnsmasq \
+ dropbear \
+ e2fsprogs \
+ e2fsprogs-libs \
+ expat \
+ ez-ipupdate \
+ fconfig \
+ fetchmail \
+ file \
+ findutils \
+ fis \
+ flac \
+ flex \
+ flite \
+ ftpd-topfield \
+ fuse \
+ gawk \
+ gcc \
+ gdb \
+ gdbm \
+ glib-2.0 \
+ gnu-config \
+ gphoto2 \
+ gpsd \
+ grep \
+ groff \
+ gtk-doc \
+ gzip \
+ hdparm \
+ hostap-daemon \
+ ifupdown \
+ inetutils \
+ iozone3 \
+ iperf \
+ ipkg-utils \
+ iptables \
+ ircp \
+ irssi \
+ joe \
+ jpeg \
+ kexec-tools \
+ lcdproc \
+ less \
+ libao \
+ libdvb \
+ libexif \
+ libid3tag \
+ liblockfile \
+ libmad \
+ libmikmod \
+ libogg \
+ libol \
+ libpam \
+ libpcre \
+ libpng \
+ libtool \
+ libupnp \
+ libusb1 libusb-compat \
+ libvorbis \
+ libxml2 \
+ lighttpd \
+ litestream \
+ logrotate \
+ lrzsz \
+ lsof \
+ lvm2 \
+ m4 \
+ madplay \
+ madwifi-ng \
+ mailx \
+ make \
+ man man-pages \
+ masqmail \
+ mdadm \
+ mediatomb \
+ memtester \
+ mgetty \
+ miau \
+ microcom \
+ minicom \
+ monit \
+ mpd \
+ mt-daapd \
+ mtd-utils \
+ mutt \
+ mysql \
+ nail \
+ nano \
+ ncftp \
+ ncurses \
+ net-tools \
+ netatalk \
+ netcat \
+ netpbm \
+ nfs-utils \
+ ngrep \
+ nmap \
+ ntfs-3g \
+ ntp \
+ ntpclient \
+ obexftp \
+ obexpush \
+ openobex-apps \
+ openntpd \
+ openobex \
+ openssh \
+ openvpn \
+ patch \
+ pciutils \
+ perl \
+ picocom \
+ pkgconfig \
+ popt \
+ portmap \
+ ppp \
+ procps \
+ psmisc \
+ puppy \
+ python \
+ quilt \
+ reiserfsprogs reiser4progs \
+ rng-tools \
+ rsync \
+ rtorrent \
+ samba \
+ sane-backends \
+ screen \
+ sed \
+ setpwc \
+ setserial \
+ sipsak \
+ slugimage \
+ smartmontools \
+ spandsp \
+ sqlite \
+ squid \
+ sshfs-fuse \
+ ssmtp \
+ strace \
+ streamripper \
+ stunnel \
+ sudo \
+ sysfsutils \
+ syslog-ng \
+ tar \
+ task-mokogateway-everything \
+ tcpdump \
+ thttpd \
+ tiff \
+ tzdata \
+ unrar \
+ unzip \
+ upslug2 \
+ usbutils \
+ ushare \
+ util-linux \
+ vim \
+ vlan \
+ vsftpd \
+ w3cam \
+ wakelan \
+ watchdog \
+ webcam-server \
+ wget \
+ wireless-tools \
+ wireshark \
+ wpa-supplicant \
+ wview-sim \
+ wview-vpro \
+ wview-wxt510 \
+ xinetd \
+ yp-tools ypbind ypserv \
+ zd1211-firmware \
+ zip \
+ zlib \
+ "
+
+# Packages currently broken on all platforms
+SLUGOS_BROKEN_PACKAGES = "\
+ ctorrent \
+ cyrus-imapd \
+ cyrus-sasl \
+ dsniff \
+ eciadsl \
+ gspcav1 \
+ linphone \
+ lirc-modules lirc \
+ madfu \
+ motion \
+ openldap \
+ postfix \
+ pvrusb2-mci \
+ pwc \
+ qc-usb-messenger \
+ task-native-sdk \
+ unionfs-modules unionfs-utils \
+ wview-sim-mysql wview-wxt510-mysql wview-vpro-mysql \
+ yeaphone \
+ zd1211 \
+ "
+
+SLUGOS_EXTRA_PACKAGES ?= ""
+
+# The package-index at the end causes regeneration of the Packages.gz and
+# other control files.
+DEPENDS = "\
+ slugos-image \
+ slugos-native \
+ task-proper-tools \
+ ${SLUGOS_PACKAGES} \
+ ${SLUGOS_EXTRA_PACKAGES} \
+ package-index \
+ "
+
+inherit meta
+
+do_package_write_ipk() {
+}
diff --git a/recipes/meta/staging-linkage_1.0.bb b/recipes/meta/staging-linkage_1.0.bb
new file mode 100644
index 0000000000..95d82d3273
--- /dev/null
+++ b/recipes/meta/staging-linkage_1.0.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "staging-linkage sets up symlinks in staging so old compilers continue to work with the sysroot staging layout changes"
+SECTION = "devel"
+PACKAGES = ""
+
+INHIBIT_DEFAULT_DEPS = "1"
+EXCLUDE_FROM_WORLD = "1"
+PR = "r0"
+
+SRC_URI = ""
+
+do_configure() {
+ :
+}
+
+do_compile () {
+ :
+}
+
+do_install() {
+ :
+}
+
+do_stage () {
+ if [ -e ${STAGING_DIR_HOST}${layout_base_libdir} ]; then
+ cp -pPRr ${STAGING_DIR_HOST}${layout_base_libdir}/* ${STAGING_LIBDIR}
+ mv ${STAGING_DIR_HOST}${layout_base_libdir}/ ${STAGING_DIR_HOST}${layout_libdir}-oldbackup
+ fi
+ ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${layout_base_libdir}
+}
diff --git a/recipes/meta/unslung-packages.bb b/recipes/meta/unslung-packages.bb
new file mode 100644
index 0000000000..ca194979e7
--- /dev/null
+++ b/recipes/meta/unslung-packages.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Packages that are compatible with the Unslung firmware"
+LICENSE = "MIT"
+PR = "r5"
+COMPATIBLE_MACHINE = "nslu2"
+
+ALLOW_EMPTY = "1"
+PACKAGES = "${PN}"
+
+inherit meta
+
+UNSLUNG_PACKAGES = "\
+ "
+
+BROKEN_PACKAGES = "\
+ "
+
+DEPENDS = 'unslung-image \
+ ${UNSLUNG_PACKAGES} \
+ package-index'
diff --git a/recipes/meta/xbase-clients.bb b/recipes/meta/xbase-clients.bb
new file mode 100644
index 0000000000..5f3c640f00
--- /dev/null
+++ b/recipes/meta/xbase-clients.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Basic X clients (meta package)"
+LICENSE = "MIT"
+PR = "r1"
+
+ALLOW_EMPTY = "1"
+PACKAGES = "${PN}"
+
+RDEPENDS = 'xauth \
+ xhost \
+ xmodmap \
+ xrdb \
+ xset'
+