diff options
Diffstat (limited to 'packages')
29 files changed, 1004 insertions, 0 deletions
diff --git a/packages/mamona/.mtn2git_empty b/packages/mamona/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/.mtn2git_empty diff --git a/packages/mamona/bash-noemu-3.2/.mtn2git_empty b/packages/mamona/bash-noemu-3.2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/bash-noemu-3.2/.mtn2git_empty diff --git a/packages/mamona/bash-noemu_3.2.bb b/packages/mamona/bash-noemu_3.2.bb new file mode 100644 index 0000000000..c638b038fc --- /dev/null +++ b/packages/mamona/bash-noemu_3.2.bb @@ -0,0 +1,29 @@ +require ../bash/bash.inc +PR = "r1" + +SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ + file://001-005.patch;patch=1" + +S = "${WORKDIR}/bash-${PV}" + +EXTRA_OECONF += "--enable-static-link --without-bash-malloc" + +#HOST_SYS = "${BUILD_SYS}" +#CONFIG_SITE = "" + +do_configure () { + export CPP="gcc -E" + export CC=gcc + export AS=as + export LD=ld + export CXX=g++ + export AR=ar + export OBJCOPY=objcopy + export OBJDUMP=objdump + export RANLIB=ranlib + export NM=nm + export STRIP=strip + export CFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" + export CXXFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden" + oe_runconf +} diff --git a/packages/mamona/binutils-noemu-2.17.50.0.5/.mtn2git_empty b/packages/mamona/binutils-noemu-2.17.50.0.5/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/binutils-noemu-2.17.50.0.5/.mtn2git_empty diff --git a/packages/mamona/binutils-noemu_2.17.50.0.5.bb b/packages/mamona/binutils-noemu_2.17.50.0.5.bb new file mode 100644 index 0000000000..cefc2af1c4 --- /dev/null +++ b/packages/mamona/binutils-noemu_2.17.50.0.5.bb @@ -0,0 +1,32 @@ +require ../binutils/binutils.inc + +PR = "r1" + +SRC_URI = \ + "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ + file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ + file://binutils-configure-texinfo-version.patch;patch=1 \ + file://110-arm-eabi-conf.patch;patch=1 \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ + file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ + " + +EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ + --program-prefix=${TARGET_PREFIX} --disable-shared" + +HOST_SYS = "${BUILD_SYS}" + +do_configure () { + CC=gcc AS=as LD=ld CXX=g++ AR=ar OBJCOPY=objcopy OBJDUMP=objdump RANLIB=ranlib NM=nm STRIP=strip oe_runconf +} + +do_compile() { + make configure-host + make LDFLAGS=\"-all-static\" +} + +do_stage() { + : +} diff --git a/packages/mamona/gcc-noemu-4.1.1/.mtn2git_empty b/packages/mamona/gcc-noemu-4.1.1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/gcc-noemu-4.1.1/.mtn2git_empty diff --git a/packages/mamona/gcc-noemu_4.1.1.bb b/packages/mamona/gcc-noemu_4.1.1.bb new file mode 100644 index 0000000000..bfd0b4a769 --- /dev/null +++ b/packages/mamona/gcc-noemu_4.1.1.bb @@ -0,0 +1,82 @@ +PR = "r14" +DESCRIPTION = "The GNU cc and gcc C compilers." +HOMEPAGE = "http://www.gnu.org/software/gcc/" +SECTION = "devel" +LICENSE = "GPL" + +inherit autotools gettext + +require gcc-package-noemu.inc + +SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \ + file://100-uclibc-conf.patch;patch=1 \ + file://110-arm-eabi.patch;patch=1 \ + file://200-uclibc-locale.patch;patch=1 \ + file://300-libstdc++-pic.patch;patch=1 \ + file://301-missing-execinfo_h.patch;patch=1 \ + file://302-c99-snprintf.patch;patch=1 \ + file://303-c99-complex-ugly-hack.patch;patch=1 \ + file://304-index_macro.patch;patch=1 \ + file://602-sdk-libstdc++-includes.patch;patch=1 \ + file://740-sh-pr24836.patch;patch=1 \ + file://800-arm-bigendian.patch;patch=1 \ + file://801-arm-bigendian-eabi.patch;patch=1 \ + file://arm-nolibfloat.patch;patch=1 \ + file://arm-softfloat.patch;patch=1 \ + file://gcc41-configure.in.patch;patch=1 \ + file://arm-thumb.patch;patch=1 \ + file://arm-thumb-cache.patch;patch=1 \ + file://ldflags.patch;patch=1 \ + file://cse.patch;patch=1 \ + file://zecke-xgcc-cpp.patch;patch=1 \ + file://unbreak-armv4t.patch;patch=1 \ + file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ + file://gcc-4.1.1-pr13685-1.patch;patch=1 \ + file://gcc-ignore-cache.patch;patch=1 \ + " + +SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " + +#This is a dirty hack to get gcc 4.1.1 to compile for glibc AND uclibc on ppc +#the patch that is need it to get gcc support soft-floats with glibc, makes gcc fail with uclibc +SRC_URI_append_linux = " file://ppc-gcc-41-20060515.patch;patch=1 \ + file://ppc-sfp-long-double-gcc411-7.patch;patch=1 " + + +#Set the fortran bits +# 'fortran' or '', not 'f77' like gcc3 had +FORTRAN = "" +HAS_GFORTRAN = "no" +HAS_G2C = "no" + +#Set the java bits +JAVA_arm = "" +JAVA = "" + +LANGUAGES = "c,c++${FORTRAN}${JAVA}" +require ../gcc/gcc3-build.inc + +EXTRA_OECONF += "--disable-libspp --with-slibdir=\"/lib\"" + +EXTRA_OEMAKE += "LDFLAGS=\"-static\" build_tooldir=\"${STAGING_DIR}/${TARGET_SYS}\"" + +HOST_SYS = ${BUILD_SYS} + +CONFIG_SITE="" + +do_configure () { + export CPP="gcc -E" + export CC=gcc + export AS=as + export LD=ld + export CXX=g++ + export AR=ar + export OBJCOPY=objcopy + export OBJDUMP=objdump + export RANLIB=ranlib + export NM=nm + export STRIP=strip + export CFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" + export CXXFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden" + oe_runconf +} diff --git a/packages/mamona/gcc-package-noemu.inc b/packages/mamona/gcc-package-noemu.inc new file mode 100644 index 0000000000..548c3d4f01 --- /dev/null +++ b/packages/mamona/gcc-package-noemu.inc @@ -0,0 +1,126 @@ +gcclibdir ?= "${libdir}/gcc" +BINV ?= "${PV}" + +PACKAGES = "libgcc ${PN} ${PN}-symlinks \ + g++-noemu g++-noemu-symlinks \ + cpp-noemu cpp-noemu-symlinks \ + g77-noemu g77-noemu-symlinks \ + gcov-noemu gcov-noemu-symlinks \ + libmudflap-noemu libmudflap-noemu-dev \ + libstdc++-noemu libg2c-noemu \ + libstdc++-noemu-dev libg2c-noemu-dev \ + ${PN}-doc" + +FILES_${PN} = "${bindir}/${TARGET_PREFIX}gcc \ + ${bindir}/${TARGET_PREFIX}gccbug \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1 \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \ + ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ + ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ + ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \ + ${gcclibdir}/${TARGET_SYS}/${BINV}/include" +FILES_${PN}-symlinks = "${bindir}/cc \ + ${bindir}/gcc \ + ${bindir}/gccbug" + +FILES_g77-noemu = "${bindir}/${TARGET_PREFIX}g77 \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771" +FILES_g77-noemu-symlinks = "${bindir}/g77 \ + ${bindir}/f77" + +FILES_cpp-noemu = "${bindir}/${TARGET_PREFIX}cpp \ + ${base_libdir}/cpp" +FILES_cpp-noemu-symlinks = "${bindir}/cpp" + +FILES_gcov-noemu = "${bindir}/${TARGET_PREFIX}gcov" +FILES_gcov-noemu-symlinks = "${bindir}/gcov" + +FILES_libgcc-noemu = "${base_libdir}/libgcc*.so.*" +FILES_libgcc-noemu-dev = "${base_libdir}/libgcc*.so" + +# Called from within gcc-cross, so libdir is set wrong +FILES_libg2c-noemu = "${target_libdir}/libg2c.so.*" +FILES_libg2c-noemu-dev = "${libdir}/libg2c.so \ + ${libdir}/libg2c.a \ + ${libdir}/libfrtbegin.a" + +FILES_g++-noemu = "${bindir}/${TARGET_PREFIX}g++ \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus" +FILES_g++-noemu-symlinks = "${bindir}/c++ \ + ${bindir}/g++" + +FILES_libstdc++-noemu = "${libdir}/libstdc++.so.*" +FILES_libstdc++-noemu-dev = "${includedir}/c++/${BINV} \ + ${libdir}/libstdc++.so \ + ${libdir}/libstdc++.la \ + ${libdir}/libstdc++.a \ + ${libdir}/libsupc++.la \ + ${libdir}/libsupc++.a" + +FILES_libmudflap-noemu = "${libdir}/libmudflap*.so.*" +FILES_libmudflap-noemu-dev = "${libdir}/libmudflap*.so \ + ${libdir}/libmudflap*.a \ + ${libdir}/libmudflap*.a" + + +FILES_${PN}-doc = "${infodir} \ + ${mandir} \ + ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README" + +python do_package() { + if bb.data.getVar('DEBIAN_NAMES', d, 1): + bb.data.setVar('PKG_libgcc', 'libgcc1', d) + bb.build.exec_func('package_do_package', d) +} + + +do_install () { + autotools_do_install + + # Cleanup some of the ${libdir}{,exec}/gcc stuff ... + rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools + rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools + + # Hack around specs file assumptions + test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs + + # Using --with-slibdir instead of this hack below.. + ## Move libgcc_s into /lib + #mkdir -p ${D}${base_libdir} + #mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir} + #rm -f ${D}${libdir}/libgcc_s.so + #ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${BINV} \ + # | tr -s / \ + # | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.1 \ + # ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/libgcc_s.so + + # We don't need libtool libraries + rm -f ${D}${libdir}/libg2c.la &>/dev/null || true + + # Cleanup manpages.. + rm -rf ${D}${mandir}/man7 + + # We use libiberty from binutils + rm -f ${D}${libdir}/libiberty.a + + cd ${D}${bindir} + + # We care about g++ not c++ + rm -f *c++ + + # We don't care about the gcc-<version> ones for this + rm -f *gcc-?.?* + + # These sometimes show up, they are strange, we remove them + rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* + + # Symlinks so we can use these trivially on the target + ln -sf ${TARGET_SYS}-g77 g77 + ln -sf ${TARGET_SYS}-g++ g++ + ln -sf ${TARGET_SYS}-gcc gcc + ln -sf g77 f77 + ln -sf g++ c++ + ln -sf gcc cc + ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp + ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp +} diff --git a/packages/mamona/mamona-sound-n800/.mtn2git_empty b/packages/mamona/mamona-sound-n800/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/mamona-sound-n800/.mtn2git_empty diff --git a/packages/mamona/mamona-sound-n800/asound.conf b/packages/mamona/mamona-sound-n800/asound.conf new file mode 100644 index 0000000000..b105912443 --- /dev/null +++ b/packages/mamona/mamona-sound-n800/asound.conf @@ -0,0 +1,22 @@ +# PCM +pcm.!default { + type alsa_dsp + playback_device_file ["/dev/dsptask/pcm3"] + recording_device_file ["/dev/dsptask/pcm_rec1"] +} + +# Mixer +ctl.!master { + type hw + card 0 +} + +ctl.!default { + type dsp_ctl + playback_devices ["/dev/dsptask/pcm3"] + recording_devices ["/dev/dsptask/pcm_rec1"] +} + +# OSS emulation +pcm.dsp0 pcm.default +ctl.mixer0 mixer.default diff --git a/packages/mamona/mamona-sound-n800/asound.state b/packages/mamona/mamona-sound-n800/asound.state new file mode 100644 index 0000000000..6ae874c2e2 --- /dev/null +++ b/packages/mamona/mamona-sound-n800/asound.state @@ -0,0 +1,105 @@ +state.EAC { + control.1 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'Capture Switch' + value.0 false + value.1 false + } + control.2 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '6 - 127' + iface MIXER + name 'Capture Volume' + value.0 87 + value.1 87 + } + control.3 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'PCM Playback Switch' + value.0 true + value.1 true + } + control.4 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 127' + iface MIXER + name 'PCM Playback Volume' + value.0 103 + value.1 103 + } + control.5 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'Line Playback Switch' + value.0 false + value.1 false + } + control.6 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '31 - 127' + iface MIXER + name 'Line Playback Volume' + value.0 103 + value.1 103 + } + control.7 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '1 - 3' + iface MIXER + name 'Mic Boost' + value 0 + } + control.8 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 2 + comment.item.0 Mic + comment.item.1 Line + comment.item.2 'Line swapped' + comment.item.3 'Line mono' + iface MIXER + name 'Capture Source' + value.0 Mic + value.1 Mic + } + control.9 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Headset Amplifier' + value false + } + control.10 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Speaker Amplifier' + value true + } + control.11 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Headset Mic Select' + value false + } +} diff --git a/packages/mamona/mamona-sound-n800/dsp-n800.rules b/packages/mamona/mamona-sound-n800/dsp-n800.rules new file mode 100644 index 0000000000..ae01361899 --- /dev/null +++ b/packages/mamona/mamona-sound-n800/dsp-n800.rules @@ -0,0 +1,6 @@ +# dsp dev +KERNEL=="dspctl", NAME="dspctl/ctl" +KERNEL=="dspmem", NAME="dspctl/mem", MODE="0640", GROUP="kmem" +KERNEL=="dsptwch", NAME="dspctl/twch", MODE="0640" +KERNEL=="dsperr", NAME="dspctl/err", MODE="0440" +KERNEL=="dsptask[0-9]*", MODE="0666" diff --git a/packages/mamona/mamona-sound-n800_0.1.0.bb b/packages/mamona/mamona-sound-n800_0.1.0.bb new file mode 100644 index 0000000000..c1c66720bc --- /dev/null +++ b/packages/mamona/mamona-sound-n800_0.1.0.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Mamona's sound configuration for Nokia N800" +HOMEPAGE = "http://dev.openbossa.org/trac/mamona/" +#SECTION = "console/utils" +LICENSE = "GPL" +RDEPENDS = "dspgw-utils udev alsa-lib alsa-utils-alsactl alsa-state" +PR = "r1" + +PACKAGES = "${PN}" + +SRC_URI = "file://dsp-n800.rules \ + file://asound.conf \ + file://asound.state \ + " + +# Skipping... +do_configure () { +} + +# Skipping... +do_stage () { +} + +# Skipping... +do_compile () { +} + +do_install () { + install -d ${D}${sysconfdir}/udev/rules.d + install -m 0755 ${WORKDIR}/dsp-n800.rules ${D}${sysconfdir}/udev/rules.d/ + + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/asound.conf ${D}${sysconfdir}/ + + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/asound.state ${D}${sysconfdir}/ +} diff --git a/packages/mamona/usbnet/.mtn2git_empty b/packages/mamona/usbnet/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/usbnet/.mtn2git_empty diff --git a/packages/mamona/usbnet/default/.mtn2git_empty b/packages/mamona/usbnet/default/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mamona/usbnet/default/.mtn2git_empty diff --git a/packages/mamona/usbnet/default/usbnet b/packages/mamona/usbnet/default/usbnet new file mode 100644 index 0000000000..eeabaf9c70 --- /dev/null +++ b/packages/mamona/usbnet/default/usbnet @@ -0,0 +1,4 @@ +# Defaults for usbnet initscript +# sourced by /etc/init.d/usbnet + +INTERFACE_CONF=/etc/network/interfaces.usbnet diff --git a/packages/mamona/usbnet/interfaces.usbnet b/packages/mamona/usbnet/interfaces.usbnet new file mode 100644 index 0000000000..86600d9c69 --- /dev/null +++ b/packages/mamona/usbnet/interfaces.usbnet @@ -0,0 +1,5 @@ +iface usb0 inet static + address 10.0.1.10 + netmask 255.255.255.0 + broadcast 10.0.1.255 + up route add default gw 10.0.1.11 diff --git a/packages/mamona/usbnet/usbnet b/packages/mamona/usbnet/usbnet new file mode 100644 index 0000000000..6b0ac1c250 --- /dev/null +++ b/packages/mamona/usbnet/usbnet @@ -0,0 +1,113 @@ +#!/bin/sh +# USB Networking script +# Copyright (C) 2007 INdT. +# @author Abner Jose de Faria Silva <abner.silva@indt.org.br> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +DESC="USB Networking" + +INITFSPATH=/mnt/initfs +MODULENAME="g_ether" +MODULEPATH=$INITFSPATH/lib/modules/$(uname -r)/$MODULENAME.ko +CONFIGPATH=/etc/default/usbnet + +MOUNTPOINT=/media/mmc + +LSMOD=/bin/lsmod +RMMOD=/sbin/rmmod +INSMOD=/sbin/insmod +IFUP=/sbin/ifup +IFDOWN=/sbin/ifdown + +test -e "$MODULEPATH" || exit 0 +test -x "$IFUP" || exit 0 +test -x "$IFDOWN" || exit 0 +test -x "$LSMOD" || exit 0 +test -x "$RMMOD" || exit 0 +test -x "$INSMOD" || exit 0 + +test -r "$CONFIGPATH" && . $CONFIGPATH + + +print_error() +{ + echo "failed." + echo "$1" +} + +start_usbnet() +{ + if $LSMOD | grep -q "$MODULENAME"; then + echo "$DESC is already configured." + return + fi + + echo -n "Starting $DESC: " + + for f in 1 2; do + umount "$MOUNTPOINT$f" > /dev/null 2>&1 + done + + if ! $INSMOD "$MODULEPATH" > /dev/null 2>&1; then + print_error "Error loading $MODULEPATH." + return + fi + + if ! $IFUP -i "$INTERFACE_CONF" usb0 > /dev/null 2>&1; then + print_error "Error configuring usb0." + return; + fi + + echo "done." +} + +stop_usbnet() +{ + echo -n "Stopping $DESC: " + + if ! $IFDOWN -i "$INTERFACE_CONF" usb0 > /dev/null 2>&1; then + print_error "Error deconfiguring usb0." + return; + fi + + if ! $RMMOD "$MODULENAME" > /dev/null 2>&1; then + print_error "Error unloading $MODULENAME" + return + fi + + echo "done." +} + +case "$1" in + start) + start_usbnet + ;; + stop) + stop_usbnet + ;; + restart|force-reload) + stop_usbnet + start_usbnet + ;; + *) + echo "Usage: $(basename $0) {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +echo "" + +exit 0 diff --git a/packages/mamona/usbnet_0.1.0.bb b/packages/mamona/usbnet_0.1.0.bb new file mode 100644 index 0000000000..37c4189082 --- /dev/null +++ b/packages/mamona/usbnet_0.1.0.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "USB Networking" +HOMEPAGE = "http://dev.openbossa.org/trac/mamona/" +SECTION = "utils" +LICENSE = "GPL" +RDEPENDS = "module-init-tools busybox" +PR = "r1" + +PACKAGES = "${PN}" + +SRC_URI = "file://usbnet \ + file://default/usbnet \ + file://interfaces.usbnet" + +inherit update-rc.d + +INITSCRIPT_NAME = "usbnet" +INITSCRIPT_PARAMS = "defaults" + +# Skipping... +do_configure () { +} + +# Skipping... +do_stage () { +} + +# Skipping... +do_compile () { +} + +do_install () { + install -d ${D}${sysconfdir}/init.d + install -d ${D}${sysconfdir}/default + install -d ${D}${sysconfdir}/network + install -m 0755 ${WORKDIR}/usbnet ${D}${sysconfdir}/init.d + install -m 0644 ${WORKDIR}/default/usbnet ${D}${sysconfdir}/default + install -m 0644 ${WORKDIR}/interfaces.usbnet ${D}${sysconfdir}/network +} diff --git a/packages/meta/mamona-buildall.inc b/packages/meta/mamona-buildall.inc new file mode 100644 index 0000000000..735243a5c8 --- /dev/null +++ b/packages/meta/mamona-buildall.inc @@ -0,0 +1,4 @@ +# Forcing build all rdepends +do_mamona[nostamp] = "1" +do_mamona[recrdeptask] = "do_package_write" +addtask mamona before do_build after do_install diff --git a/packages/meta/meta-mamona-light.bb b/packages/meta/meta-mamona-light.bb new file mode 100644 index 0000000000..562ba5b639 --- /dev/null +++ b/packages/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/packages/meta/meta-mamona.bb b/packages/meta/meta-mamona.bb new file mode 100644 index 0000000000..e4fb4bdfb7 --- /dev/null +++ b/packages/meta/meta-mamona.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Meta package for Mamona" +LICENSE = "MIT" +PR = "r1" + +inherit meta +EXCLUDE_FROM_WORLD = "1" + +RDEPENDS = " \ +task-mamona-base \ +task-mamona-devel \ +task-mamona-extras \ +task-mamona-nokia-it \ +task-mamona-noemu \ +task-mamona-e \ +" + +include mamona-buildall.inc diff --git a/packages/tasks/task-mamona-base.bb b/packages/tasks/task-mamona-base.bb new file mode 100644 index 0000000000..76f84ccaac --- /dev/null +++ b/packages/tasks/task-mamona-base.bb @@ -0,0 +1,56 @@ +DESCRIPTION = "task mamona base" +LICENSE = "MIT" +PR = "r1" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ + apt \ + base-files \ + base-passwd \ + bash \ + binutils \ + busybox \ + bzip2 \ + coreutils \ + dpkg \ + e2fsprogs \ + e2fsprogs-badblocks \ + e2fsprogs-blkid \ + e2fsprogs-uuidgen \ + file \ + gawk \ + gawk-common \ + libgcc \ + libstdc++ \ + zlib \ + ncurses \ + netbase \ + perl \ + perl-module-base \ + perl-module-carp \ + perl-module-exporter \ + perl-module-strict \ + perl-module-vars \ + perl-module-warnings \ + perl-module-warnings-register \ + procps \ + sed \ + sysvinit \ + sysvinit-inittab \ + tar \ + udev \ + update-alternatives-dpkg \ + update-rc.d \ + util-linux \ + util-linux-losetup \ + util-linux-swaponoff \ + util-linux-umount \ + pkgconfig \ + initscripts \ + makedevs \ + patch \ + tinylogin \ + sudo \ +" diff --git a/packages/tasks/task-mamona-devel.bb b/packages/tasks/task-mamona-devel.bb new file mode 100644 index 0000000000..a1d8d2398d --- /dev/null +++ b/packages/tasks/task-mamona-devel.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Necessary packages for development" +LICENSE = "MIT" +PR = "r1" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ + automake \ + bison \ + fakeroot \ + flex \ + gcc \ + gcc-symlinks \ + g++ \ + g++-symlinks \ + gdb \ + gettext \ + groff \ + libc6-dev \ + libstdc++-dev \ + make \ + cvs \ + subversion \ + pkgconfig \ +"
\ No newline at end of file diff --git a/packages/tasks/task-mamona-e.bb b/packages/tasks/task-mamona-e.bb new file mode 100644 index 0000000000..cc8af8b3f9 --- /dev/null +++ b/packages/tasks/task-mamona-e.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "Necessary packages for Enlightenment on Mamona" +LICENSE = "MIT" +PR = "r2" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ +eet \ +embryo \ +imlib2 \ +edb \ +evas \ +libevas-engine-software-x11 \ +libevas-engine-software-16 \ +libevas-engine-software-16-x11 \ +libevas-saver-eet \ +libevas-saver-edb \ +libevas-saver-jpeg \ +libevas-saver-tiff \ +libevas-loader-eet \ +libevas-loader-edb \ +libevas-loader-jpeg \ +libevas-loader-tiff \ +ecore \ +efreet \ +edje \ +etk \ +ewl \ +epeg \ +esmart \ +epsilon \ +emotion \ +enhance \ +edbus \ +e-wm \ +" diff --git a/packages/tasks/task-mamona-extras.bb b/packages/tasks/task-mamona-extras.bb new file mode 100644 index 0000000000..7a5e7a6a29 --- /dev/null +++ b/packages/tasks/task-mamona-extras.bb @@ -0,0 +1,174 @@ +DESCRIPTION = "Task mamona extras: Dummy package to build extra packages to mamona repository" +LICENSE = "MIT" +PR = "r1" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ + tinylogin \ + bluez-utils \ + bluez-utils-compat \ + bluez-utils-alsa \ + bluez-libs \ + coreutils \ + cpio \ + dbus \ + diffstat \ + dnsmasq \ + dosfstools \ + e2fsprogs \ + expat \ + findutils \ + fontconfig \ + gconf \ + gnome-common \ + gtk+-doc \ + glib-2.0 \ + ifupdown \ + initscripts \ + intltool \ + iptables \ + libelf \ + libfontenc \ + libmatchbox \ + liboil \ + libpng \ + libtool \ + libusb \ + libxau \ + libxcursor \ + libxdmcp \ + libxext \ + libxfixes \ + libxfont \ + libxi \ + libxkbfile \ + libxml2 \ + libxpm \ + libxrandr \ + libxrender \ + libxslt \ + libxt \ + libxtst \ + libxv \ + lsof \ + makedev \ + mime-support \ + module-init-tools \ + ncurses \ + net-tools \ + netbase \ + osso-af-utils \ + osso-core-config \ + osso-esd \ + osso-sounds \ + portmap \ + ppp \ + procps \ + samba \ + sbrsh \ + sdk-default-icons \ + sdk-default-theme \ + sdk-default-theme-config \ + sgml-common \ + shared-mime-info \ + slang \ + sqlite \ + sqlite3 \ + sudo \ + sysvinit \ + telepathy-gabble \ + libtelepathy \ + telepathy-glib \ + telepathy-mission-control \ + tslib \ + ttf-bitstream-vera \ + udev \ + util-linux \ + wireless-tools \ + xkbd \ + xtrans-dev \ + gnome-vfs \ + groff \ + gstreamer \ + gtk-engines-dev \ + gtk+ \ + libart-lgpl \ + libdbi \ + libosso \ + libosso-gsf \ + matchbox-wm \ + nfs-utils \ + osso-af-settings-dev \ + osso-af-startup \ + osso-af-utils \ + osso-core-config \ + osso-dsp-headers-dev \ + osso-esd \ + python \ + python-ao \ + python-cheetah \ + python-constraint \ + python-pycrypto \ + python-dbus \ + python-dialog \ + python-fnorb \ + python-fpconst \ + python-gmpy \ + python-gnosis \ + python-hmm \ + python-imaging \ + python-imdbpy \ + python-inotify \ + python-irclib \ + python-itools \ + python-libgmail \ + python-libgmail \ + python-logilab-common \ + python-lxml \ + python-mad \ + python-numarray \ + python-numeric \ + python-ogg \ + python-pexpect \ + python-pybluez \ + python-pycairo \ + python-pychecker \ + python-pycodes \ + python-pyephem \ + python-pyfits \ + python-pyflakes \ + python-pygobject \ + python-pygoogle \ + python-pygtk \ + python-pyiw \ + python-pylinda \ + python-pylint \ + python-pymetar \ + python-pymp3 \ + python-pyraf \ + python-pyreverse \ + python-pyrex \ + python-pyro \ + python-pyserial \ + python-pythondaap \ + python-pyvisa \ + python-pyweather \ + python-pywpa \ + python-pyzeroconf \ + python-scons \ + python-sgmlop \ + python-snmplib \ + python-soappy \ + python-tlslite \ + python-urwid \ + python-vmaps \ + python-vorbis \ + python-webpy \ + renderproto-dev \ + wget \ + zlib \ +" + +# strace \ diff --git a/packages/tasks/task-mamona-noemu.bb b/packages/tasks/task-mamona-noemu.bb new file mode 100644 index 0000000000..73659593dd --- /dev/null +++ b/packages/tasks/task-mamona-noemu.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Noemu packages are i386 packages thar run inside ARM chroot environment" +LICENSE = "MIT" +PR = "r1" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ + bash-noemu \ + binutils-noemu \ + gcc-noemu \ +"
\ No newline at end of file diff --git a/packages/tasks/task-mamona-nokia-it.bb b/packages/tasks/task-mamona-nokia-it.bb new file mode 100644 index 0000000000..05bc7e773c --- /dev/null +++ b/packages/tasks/task-mamona-nokia-it.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Necessary packages for Mamona run on Nokia Internet Tablets" +LICENSE = "MIT" +PR = "r0" +ALLOW_EMPTY = "1" + +RDEPENDS = "\ + task-mamona \ + xmodmap \ + xdpyinfo \ + xtscal \ + wireless-tools \ + wpa-supplicant \ + bluez-utils \ + bluez-utils-compat \ + dspgw-utils \ + libasound-module-ctl-dsp-ctl \ + libasound-module-pcm-alsa-dsp \ + alsa-conf-base \ + alsa-utils-alsamixer \ + alsa-lib \ + alsa-utils-alsactl \ + alsa-state \ + mamona-sound-n800 \ + usbnet \ + openssh-sshd \ + openssh-scp \ +" diff --git a/packages/tasks/task-mamona.bb b/packages/tasks/task-mamona.bb new file mode 100644 index 0000000000..67c8ed524f --- /dev/null +++ b/packages/tasks/task-mamona.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "Task mamona: Build and Install Mamona Platform" +LICENSE = "MIT" +PR = "r1" +ALLOW_EMPTY = "1" + +PACKAGES = "${PN}" + +RDEPENDS = "\ + task-mamona-base \ + dbus \ + dbus-glib \ + expat \ + freetype \ + glib-2.0 \ + glibc \ + hal \ + hal-info \ + intltool \ + libfontenc \ + libusb \ + libx11 \ + libxau \ + libxdmcp \ + libxext \ + libxfont \ + libxkbfile \ + libxrandr \ + libxrender \ + pointercal \ + tslib \ + tslib-calibrate \ + udev \ + update-modules \ + xserver-kdrive-xomap \ + xserver-kdrive-common \ + xserver-nodm-init \ + xcalibrate \ + xinit \ + xsp \ +" |