diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-02-21 15:41:08 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-02-21 15:41:08 -0800 |
commit | 0773447006cd2aa0b2c3ac364ce6e1c151215087 (patch) | |
tree | 625cc9e19b9e608492f6c5e8789882a756784ee5 /packages | |
parent | 36d3e3dfc03b4dee70c0a804d2045f3f0ba3234d (diff) | |
parent | dcbeaf393bed4d0b7071c100bf9e5d92ad3c20c5 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages')
21 files changed, 92 insertions, 162 deletions
diff --git a/packages/apache2/apache2-native_2.2.3.bb b/packages/apache2/apache2-native_2.2.3.bb index 73f9b8baec..3ea987c718 100644 --- a/packages/apache2/apache2-native_2.2.3.bb +++ b/packages/apache2/apache2-native_2.2.3.bb @@ -3,7 +3,7 @@ DEPENDS = "expat pcre" inherit native -PR ="r9" +PR ="r10" SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2" S = "${WORKDIR}/httpd-${PV}" @@ -20,25 +20,20 @@ do_stage () { cp srclib/apr-util/apu-1-config ${STAGING_BINDIR_NATIVE} cp support/apxs ${STAGING_BINDIR_NATIVE} chmod 755 ${STAGING_BINDIR_NATIVE}/apxs - mkdir -p ${STAGING_DIR}/build - cp build/*.mk ${STAGING_DIR}/build - cat build/config_vars.mk | \ - sed -e '/^prefix/s,staging,staging/${HOST_SYS},' | \ - sed -e '/^includedir/s,/include,/include/apache2,' | \ - sed -e 's,staging/bin,staging/${HOST_SYS}/bin,' > \ - ${STAGING_DIR}/build/config_vars.mk - cp build/instdso.sh ${STAGING_DIR}/build + mkdir -p ${STAGING_DIR_NATIVE}//usr/build + cp build/*.mk ${STAGING_DIR_NATIVE}/usr/build + cp build/instdso.sh ${STAGING_DIR_NATIVE}/usr/build cp .libs/httpd ${STAGING_BINDIR_NATIVE} (cd srclib/apr/.libs; tar -cf - libapr-*.so* ) | - (cd ${STAGING_LIBDIR}; tar -xf - ) + (cd ${STAGING_LIBDIR_NATIVE}; tar -xf - ) (cd srclib/apr-util/.libs; tar -cf - libaprutil-*.so* ) | - (cd ${STAGING_LIBDIR}; tar -xf - ) + (cd ${STAGING_LIBDIR_NATIVE}; tar -xf - ) - mkdir -p ${STAGING_INCDIR}/apache2 - cp include/* ${STAGING_INCDIR}/apache2 - cp os/unix/os.h ${STAGING_INCDIR}/apache2 - cp os/unix/unixd.h ${STAGING_INCDIR}/apache2 + mkdir -p ${STAGING_INCDIR_NATIVE}/apache2 + cp include/* ${STAGING_INCDIR_NATIVE}/apache2 + cp os/unix/os.h ${STAGING_INCDIR_NATIVE}/apache2 + cp os/unix/unixd.h ${STAGING_INCDIR_NATIVE}/apache2 cp support/envvars-std ${STAGING_BINDIR_NATIVE}/envvars chmod 755 ${STAGING_BINDIR_NATIVE}/envvars diff --git a/packages/dsplink/files/dsplink-add-class-device-create-support.patch b/packages/dsplink/files/dsplink-add-class-device-create-support.patch new file mode 100644 index 0000000000..b43c3481e1 --- /dev/null +++ b/packages/dsplink/files/dsplink-add-class-device-create-support.patch @@ -0,0 +1,55 @@ +diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c +--- codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2008-10-24 20:58:01.000000000 +0100 ++++ codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2009-02-20 23:46:42.000000000 +0000 +@@ -37,6 +37,10 @@ + #endif
+
+ /* ----------------------------------- OS Specific Headers */
++#include <linux/version.h>
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
++#include <linux/device.h>
++#endif
+ #include <linux/autoconf.h>
+ #include <linux/spinlock.h>
+ #include <linux/module.h>
+@@ -190,6 +194,16 @@ + */
+ STATIC Int32 major = 230 ;
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
++/** ----------------------------------------------------------------------------
++ * @name dsplink_class
++ *
++ * @desc class struct for device create.
++ * ----------------------------------------------------------------------------
++ */
++STATIC struct class *dsplink_class;
++#endif
++
+ /** ----------------------------------------------------------------------------
+ * @name DRV_IsInitialized
+ *
+@@ -673,6 +687,11 @@ + }
+ #endif /* if defined (CHNL_COMPONENT) */
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
++ dsplink_class = class_create(THIS_MODULE, "dsplink");
++ device_create(dsplink_class, NULL, MKDEV(major, 0), NULL, "dsplink");
++#endif
++
+ if (DSP_SUCCEEDED (status)) {
+ DRV_IsInitialized = TRUE ;
+ }
+@@ -717,6 +736,11 @@ + }
+ #endif /* if defined (CHNL_COMPONENT) */
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
++ device_destroy(dsplink_class, MKDEV(major, 0));
++ class_destroy(dsplink_class);
++#endif
++
+ unregister_chrdev (major, "dsplink") ;
+
+ DRV_IsInitialized = FALSE ;
diff --git a/packages/dsplink/files/loadmodules-ti-codec-engine-apps.sh b/packages/dsplink/files/loadmodules-ti-codec-engine-apps.sh index 743a07ebba..9f9233d12b 100755 --- a/packages/dsplink/files/loadmodules-ti-codec-engine-apps.sh +++ b/packages/dsplink/files/loadmodules-ti-codec-engine-apps.sh @@ -29,8 +29,8 @@ modprobe cmemk phys_start=0x85000000 phys_end=0x86000000 pools=20x4096,8x131072, modprobe dsplinkk # make /dev/dsplink -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 +#rm -f /dev/dsplink +#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 # insert Local Power Manager driver # diff --git a/packages/dsplink/files/loadmodules-ti-dmai-apps.sh b/packages/dsplink/files/loadmodules-ti-dmai-apps.sh index af4cef9f3f..7120b74483 100755 --- a/packages/dsplink/files/loadmodules-ti-dmai-apps.sh +++ b/packages/dsplink/files/loadmodules-ti-dmai-apps.sh @@ -29,8 +29,8 @@ modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072, modprobe dsplinkk # make /dev/dsplink -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 +#rm -f /dev/dsplink +#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 # insert Local Power Manager driver # diff --git a/packages/dsplink/files/loadmodules-ti-dsplink-apps.sh b/packages/dsplink/files/loadmodules-ti-dsplink-apps.sh index c93b637867..9cfb19d5c1 100755 --- a/packages/dsplink/files/loadmodules-ti-dsplink-apps.sh +++ b/packages/dsplink/files/loadmodules-ti-dsplink-apps.sh @@ -21,5 +21,5 @@ awk '/MemTotal:/ { modprobe dsplinkk # make /dev/dsplink -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 +#rm -f /dev/dsplink +#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 diff --git a/packages/dsplink/files/unloadmodules-ti-codec-engine-apps.sh b/packages/dsplink/files/unloadmodules-ti-codec-engine-apps.sh index 17436a5937..f990d99771 100755 --- a/packages/dsplink/files/unloadmodules-ti-codec-engine-apps.sh +++ b/packages/dsplink/files/unloadmodules-ti-codec-engine-apps.sh @@ -5,7 +5,7 @@ rmmod lpm_omap3530 # remove DSP/BIOS Link driver rmmod dsplinkk -rm -f /dev/dsplink +#rm -f /dev/dsplink # remove cmem module rmmod cmemk diff --git a/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh b/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh index 2465c43fe9..793d727f39 100755 --- a/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh +++ b/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh @@ -5,7 +5,7 @@ rmmod lpm_omap3530 # remove DSP/BIOS Link driver rmmod dsplinkk -rm -f /dev/dsplink +#rm -f /dev/dsplink # remove cmem module rmmod cmemk diff --git a/packages/dsplink/files/unloadmodules-ti-dsplink-apps.sh b/packages/dsplink/files/unloadmodules-ti-dsplink-apps.sh index 8694114a70..48fa84b03d 100755 --- a/packages/dsplink/files/unloadmodules-ti-dsplink-apps.sh +++ b/packages/dsplink/files/unloadmodules-ti-dsplink-apps.sh @@ -2,4 +2,4 @@ # remove DSP/BIOS Link driver rmmod dsplinkk -rm -f /dev/dsplink +#rm -f /dev/dsplink diff --git a/packages/dsplink/ti-codec-engine_2.21.bb b/packages/dsplink/ti-codec-engine_2.21.bb index c2055c1495..607cbd06ee 100644 --- a/packages/dsplink/ti-codec-engine_2.21.bb +++ b/packages/dsplink/ti-codec-engine_2.21.bb @@ -8,7 +8,7 @@ RDEPENDS = "update-modules" inherit module # tconf from xdctools dislikes '.' in pwd :/ -PR = "r15" +PR = "r16" PV = "221" # Get CE tarball from TI website, place in sources and calculate @@ -19,6 +19,7 @@ SRC_URI = "http://install.tarball.in.source.dir/codec_engine_2_21.tar.gz \ file://cmem-class-device-27-and-sched-include-fix.patch;patch=1 \ file://sdma-class-device-and-includes-fix.patch;patch=1 \ file://dsplink-semaphore-27.patch;patch=1 \ + file://dsplink-add-class-device-create-support.patch;patch=1 \ file://lpm-device-create-and-semaphore-include-fix.patch;patch=1 \ file://lpm-make-symbol-warnings-fix.patch;patch=1 \ file://Makefile-dsplink-gpp \ diff --git a/packages/libdaemon/libdaemon_0.10.bb b/packages/libdaemon/libdaemon_0.10.bb deleted file mode 100644 index ba7140ffdb..0000000000 --- a/packages/libdaemon/libdaemon_0.10.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." -SECTION = "libs" -AUTHOR = "Lennart Poettering <lennart@poettering.net>" -HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" -LICENSE = "LGPL" -PR = "r1" - -SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-lynx --disable-doxygen" - -do_stage () { - oe_libinstall -a -so -C libdaemon libdaemon ${STAGING_LIBDIR} - install -d ${STAGING_INCDIR}/libdaemon - for i in daemon.h dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do - install -m 0644 ${S}/libdaemon/$i ${STAGING_INCDIR}/libdaemon/ - done -} diff --git a/packages/libdaemon/libdaemon_0.11.bb b/packages/libdaemon/libdaemon_0.11.bb deleted file mode 100644 index c91f6351ff..0000000000 --- a/packages/libdaemon/libdaemon_0.11.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." -SECTION = "libs" -AUTHOR = "Lennart Poettering <lennart@poettering.net>" -HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" -LICENSE = "LGPL" -PR = "r0" - -SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-lynx --disable-doxygen" - -do_stage () { - oe_libinstall -a -so -C libdaemon libdaemon ${STAGING_LIBDIR} - install -d ${STAGING_INCDIR}/libdaemon - for i in daemon.h dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do - install -m 0644 ${S}/libdaemon/$i ${STAGING_INCDIR}/libdaemon/ - done -} diff --git a/packages/libdaemon/libdaemon_0.12.bb b/packages/libdaemon/libdaemon_0.12.bb deleted file mode 100644 index c91f6351ff..0000000000 --- a/packages/libdaemon/libdaemon_0.12.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." -SECTION = "libs" -AUTHOR = "Lennart Poettering <lennart@poettering.net>" -HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" -LICENSE = "LGPL" -PR = "r0" - -SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-lynx --disable-doxygen" - -do_stage () { - oe_libinstall -a -so -C libdaemon libdaemon ${STAGING_LIBDIR} - install -d ${STAGING_INCDIR}/libdaemon - for i in daemon.h dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do - install -m 0644 ${S}/libdaemon/$i ${STAGING_INCDIR}/libdaemon/ - done -} diff --git a/packages/libdaemon/libdaemon_0.13.bb b/packages/libdaemon/libdaemon_0.13.bb new file mode 100644 index 0000000000..3a6b2051d5 --- /dev/null +++ b/packages/libdaemon/libdaemon_0.13.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "libdaemon is a lightweight C library that eases the writing of UNIX daemons." +SECTION = "libs" +AUTHOR = "Lennart Poettering <lennart@poettering.net>" +HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" +LICENSE = "LGPL" +PR = "r0" + +SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" + +inherit autotools_stage pkgconfig + +EXTRA_OECONF = "--disable-lynx --disable-doxygen" diff --git a/packages/libdaemon/libdaemon_0.6.bb b/packages/libdaemon/libdaemon_0.6.bb deleted file mode 100644 index bdf52503c0..0000000000 --- a/packages/libdaemon/libdaemon_0.6.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." -SECTION = "libs" -AUTHOR = "Lennart Poettering <lennart@poettering.net>" -HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" -LICENSE = "GPLv2" - -SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-lynx --disable-doxygen" - -do_stage () { - oe_libinstall -a -so -C src libdaemon ${STAGING_LIBDIR} - install -d ${STAGING_INCDIR}/libdaemon - for i in dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do - install -m 0644 ${S}/src/$i ${STAGING_INCDIR}/libdaemon/ - done -} diff --git a/packages/modphp/modphp5.inc b/packages/modphp/modphp5.inc index e8701b0b99..3aaaf03e62 100644 --- a/packages/modphp/modphp5.inc +++ b/packages/modphp/modphp5.inc @@ -13,7 +13,8 @@ inherit autotools FILES_${PN} = "${libdir}/apache2 /etc" FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug" -CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" +CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR_NATIVE}/apache2" + EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \ --without-mysql \ --enable-force-cgi-redirect \ @@ -29,7 +30,7 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \ --disable-simplexml \ --disable-libxml \ --disable-dom \ - --with-zlib --with-zlib-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \ + --with-zlib --with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \ --with-config-file-path=/etc/php/apache2-php5" # --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \ diff --git a/packages/modphp/modphp_5.1.6.bb b/packages/modphp/modphp_5.1.6.bb index 7c421c1d0f..70a578cd0a 100644 --- a/packages/modphp/modphp_5.1.6.bb +++ b/packages/modphp/modphp_5.1.6.bb @@ -1,2 +1,2 @@ include modphp5.inc -PR ='r2' +PR ='r3' diff --git a/packages/vala/files/0001-glib-2.0.vapi-add-necessary-struct-members-to-use-B.patch b/packages/vala/files/0001-glib-2.0.vapi-add-necessary-struct-members-to-use-B.patch deleted file mode 100644 index 46b9cf7fa9..0000000000 --- a/packages/vala/files/0001-glib-2.0.vapi-add-necessary-struct-members-to-use-B.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c0f61469875c232727bab3b63f239f0e9122520c Mon Sep 17 00:00:00 2001 -From: Michael 'Mickey' Lauer <mickey@vanille-media.de> -Date: Thu, 19 Feb 2009 17:40:13 +0100 -Subject: [PATCH] glib-2.0.vapi: add necessary struct members to use ByteArray class - -Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> ---- - vapi/glib-2.0.vapi | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi -index 5faee07..26b73e7 100644 ---- a/vapi/glib-2.0.vapi -+++ b/vapi/glib-2.0.vapi -@@ -3144,6 +3144,9 @@ namespace GLib { - public void sort (CompareFunc compare_func); - public void sort_with_data (CompareDataFunc compare_func); - public void set_size (uint length); -+ -+ public uint len; -+ public uint8[] data; - } - - /* N-ary Trees */ --- -1.6.0.2 - diff --git a/packages/vala/files/0002-glib-2.0-bind-g_io_channel_add_watch_full.patch b/packages/vala/files/0002-glib-2.0-bind-g_io_channel_add_watch_full.patch deleted file mode 100644 index de03f288bc..0000000000 --- a/packages/vala/files/0002-glib-2.0-bind-g_io_channel_add_watch_full.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ec0865757033416b3ca1d4d046c4308d59aadf85 Mon Sep 17 00:00:00 2001 -From: Michael 'Mickey' Lauer <mickey@vanille-media.de> -Date: Thu, 19 Feb 2009 17:52:10 +0100 -Subject: [PATCH] glib-2.0: bind g_io_channel_add_watch_full - -Signed-Off: Michael 'Mickey' Lauer <mlauer@vanille-media.de> ---- - vapi/glib-2.0.vapi | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi -index 26b73e7..24c3c93 100644 ---- a/vapi/glib-2.0.vapi -+++ b/vapi/glib-2.0.vapi -@@ -1443,6 +1443,8 @@ namespace GLib { - public GLib.Source create_watch (IOCondition condition); - [CCode (cname = "g_io_add_watch")] - public uint add_watch (IOCondition condition, IOFunc func); -+ [CCode (cname = "g_io_add_watch_full")] -+ public uint add_watch_full (int priority, IOCondition condition, IOFunc func, DestroyNotify? notify); - public size_t get_buffer_size (); - public void set_buffer_size (size_t size); - public IOCondition get_buffer_condition (); --- -1.6.0.2 - diff --git a/packages/vala/vala-native_0.5.6.bb b/packages/vala/vala-native_0.5.7.bb index bc99ebf0a6..bc99ebf0a6 100644 --- a/packages/vala/vala-native_0.5.6.bb +++ b/packages/vala/vala-native_0.5.7.bb diff --git a/packages/vala/vala.inc b/packages/vala/vala.inc index 422571ca8f..f5ea1ee520 100644 --- a/packages/vala/vala.inc +++ b/packages/vala/vala.inc @@ -9,8 +9,6 @@ MAJV = "${@bb.data.getVar('PV',d,1)[:3]}" SRC_URI = "\ http://download.gnome.org/sources/vala/${MAJV}/vala-${PV}.tar.bz2 \ - file://0001-glib-2.0.vapi-add-necessary-struct-members-to-use-B.patch;patch=1 \ - file://0002-glib-2.0-bind-g_io_channel_add_watch_full.patch;patch=1 \ file://static-dbus-methods.patch;patch=1 \ " S = "${WORKDIR}/vala-${PV}" diff --git a/packages/vala/vala_0.5.6.bb b/packages/vala/vala_0.5.7.bb index 7b2b4e293c..7b2b4e293c 100644 --- a/packages/vala/vala_0.5.6.bb +++ b/packages/vala/vala_0.5.7.bb |