diff options
Diffstat (limited to 'meta/packages/maemo')
-rw-r--r-- | meta/packages/maemo/nokia770-init/fixup-770.sh | 25 | ||||
-rw-r--r-- | meta/packages/maemo/nokia770-init_1.0.bb | 42 | ||||
-rw-r--r-- | meta/packages/maemo/xpext/auxdir.patch | 13 | ||||
-rw-r--r-- | meta/packages/maemo/xpext_1.0-5.bb | 27 | ||||
-rw-r--r-- | meta/packages/maemo/xsp_1.0.0-8.bb | 20 |
5 files changed, 127 insertions, 0 deletions
diff --git a/meta/packages/maemo/nokia770-init/fixup-770.sh b/meta/packages/maemo/nokia770-init/fixup-770.sh new file mode 100644 index 0000000000..b65fb131e3 --- /dev/null +++ b/meta/packages/maemo/nokia770-init/fixup-770.sh @@ -0,0 +1,25 @@ +#! /bin/sh +case "$1" in + start) + echo -n "Unmounting virtual fs from initrd" + umount /mnt/initfs/sys + umount /mnt/initfs/proc + ln -s /dev/vc/0 /dev/tty0 + ln -s /dev/vc/1 /dev/tty1 + ln -s /dev/vc/2 /dev/tty2 + ln -s /dev/vc/3 /dev/tty3 + ln -s /dev/vc/4 /dev/tty4 + ln -s /dev/vc/5 /dev/tty5 + ln -s /dev/vc/6 /dev/tty6 + ln -s /dev/vc/7 /dev/tty7 + ;; + stop) + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop}" >&2 + exit 1 + ;; +esac + +exit 0 +
\ No newline at end of file diff --git a/meta/packages/maemo/nokia770-init_1.0.bb b/meta/packages/maemo/nokia770-init_1.0.bb new file mode 100644 index 0000000000..84c1e3c279 --- /dev/null +++ b/meta/packages/maemo/nokia770-init_1.0.bb @@ -0,0 +1,42 @@ +LICENSE = "GPL" +MAINTAINER = "Florian Boor <florian@kernelconcepts.de" +PR = "r5" + +DEPENDS = "base-passwd" +#RDEPENDS = "hotplug" + +SRC_URI = "file://fixup-770.sh" + +FILES_${PN} = "${sysconfdir} ${libdir}" + +inherit update-rc.d + + +INITSCRIPT_NAME = "fixup-770.sh" +INITSCRIPT_PARAMS = "defaults 01" + + +do_install () { + install -d ${D}${sysconfdir}/init.d + install -m 755 ${WORKDIR}/fixup-770.sh ${D}/${sysconfdir}/init.d/fixup-770.sh + + install -d ${D}/lib/firmware +} + +pkg_postinst () { +#!/bin/sh + +# can't do adduser stuff offline +if [ "x$D" != "x" ]; then + exit 1 +fi + +# set up some links to firmware and modules in initrd + mkdir -p /lib/firmware + ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm /lib/firmware/3825.arm + ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin + ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm + +# rm -rf /lib/modules +# ln -s /mnt/initfs/lib/modules /lib/modules +} diff --git a/meta/packages/maemo/xpext/auxdir.patch b/meta/packages/maemo/xpext/auxdir.patch new file mode 100644 index 0000000000..da5841a132 --- /dev/null +++ b/meta/packages/maemo/xpext/auxdir.patch @@ -0,0 +1,13 @@ +--- configure.ac.old 2005-06-03 12:53:28.000000000 +0200 ++++ configure.ac 2005-06-03 12:54:29.000000000 +0200 +@@ -25,9 +25,9 @@ + + AC_PREREQ([2.57]) + AC_INIT([spext], [1.0], [lauri.leukkunen@nokia.com], spext) ++AC_CONFIG_AUX_DIR(.) + AM_INIT_AUTOMAKE([dist-bzip2]) + AM_MAINTAINER_MODE +-AC_CONFIG_AUX_DIR(.) + + dnl PKG_CHECK_MODULES(FIXESEXT, fixesext) + diff --git a/meta/packages/maemo/xpext_1.0-5.bb b/meta/packages/maemo/xpext_1.0-5.bb new file mode 100644 index 0000000000..75b7903e84 --- /dev/null +++ b/meta/packages/maemo/xpext_1.0-5.bb @@ -0,0 +1,27 @@ +PR = "r0" +LICENSE= "MIT" +DESCRIPTION = "X Server Nokia 770 extensions library" +SECTION = "x11/libs" +PRIORITY = "optional" +DEPENDS = "libx11 xextensions libxext" + +SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \ + file://auxdir.patch;patch=1;pnum=0" +S = "${WORKDIR}/xpext-1.0" + +inherit autotools pkgconfig + +do_configure_prepend () { + cd ${S} + chmod +x ./autogen.sh + ./autogen.sh +} + +do_stage() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DATADIR}/man +} diff --git a/meta/packages/maemo/xsp_1.0.0-8.bb b/meta/packages/maemo/xsp_1.0.0-8.bb new file mode 100644 index 0000000000..068193c6aa --- /dev/null +++ b/meta/packages/maemo/xsp_1.0.0-8.bb @@ -0,0 +1,20 @@ +PR = "r0" +LICENSE= "MIT" +DESCRIPTION = "X Server Nokia 770 extensions library" +SECTION = "x11/libs" +PRIORITY = "optional" +DEPENDS = "libx11 xextensions libxext xpext" + +SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/xsp/${PN}_${PV}.tar.gz" +S = "${WORKDIR}/Xsp" + +inherit autotools pkgconfig + +do_stage() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DATADIR}/man +} |