[OE-core] [PATCH 1/1] task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
From: Xiaofeng Yan xiaofeng@windriver.com Due to tools-profile and tools-testapps were removed from variable \ EXTRA_IMAGE_FEATURES in meta-yocto/conf/local.conf.sample, some libraries \ needed by LSB Test Suite were absent in an lsb image. I add these absent \ libraries to task-core-lsb.bb. Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com --- meta/recipes-extended/tasks/task-core-lsb.bb |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb index 9fbacf9..2ec63cc 100644 --- a/meta/recipes-extended/tasks/task-core-lsb.bb +++ b/meta/recipes-extended/tasks/task-core-lsb.bb @@ -3,7 +3,7 @@ # DESCRIPTION = Create Small Image Tasks -PR = r4 +PR = r5 LICENSE = MIT LIC_FILES_CHKSUM = file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 @@ -54,6 +54,7 @@ RDEPENDS_task-core-lsb = \ RDEPENDS_task-core-sys-extended = \ binutils \ +binutils-symlinks \ chkconfig \ curl \ dhcp-client \ @@ -169,6 +170,9 @@ RDEPENDS_task-core-lsb-graphic-add = \ gdk-pixbuf-loader-bmp \ gdk-pixbuf-loader-ani \ liberation-fonts \ +gtk+ \ +atk \ +libasound \ RDEPENDS_task-core-lsb-graphic-add_qemux86 = \ -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
From: Xiaofeng Yan xiaofeng@windriver.com tools-profile and tools-testapps which include three packages owl-video , sysprof and alsa-utils-amixer beside other packages were removed from variable EXTRA_IMAGE_FEATURES in meta-yocto/conf/local.conf.sample. The absent libraries in an lsb image depended by the above three packages will be installed into lsb image by dependence relationship. Absent command: |--strip Absent Libraries: |--libatk-1.0.so.0 |--libgdk-x11-2.0.so |--libcairo.so.2 |--libpango-1.0.so |--libpangoft2-1.0.so.0 |--libpangoxft-1.0.so.0 |--libpangocairo-1.0.so Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: xiaofeng/task-core-lsb Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/task-core-lsb Thanks, Xiaofeng Yan xiaofeng@windriver.com --- Xiaofeng Yan (1): task-core-lsb: Add absent libraries and commands to task-core-lsb.bb meta/recipes-extended/tasks/task-core-lsb.bb |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] Remove obsolete gnome-vfs
Koen Kooi wrote: Op 21 jun 2011, om 09:12 heeft edwin.z...@intel.com het volgende geschreven: From: Zhai Edwin edwin.z...@intel.com This patch removed obsolete gnome-vfs in favor of GIO/GVFS. Thanks for the patch! I've gone through meta-oe and only libgnome requires gnome-vfs at this point, but virtually nothing depends on libgnome itself anymore. I have no libgnome on my side. After going through the source tar ball of libgnome, I found it's hard coded to depend on gnome-vfs without any configure option. And no progress indicated in the migration webpage @ http://live.gnome.org/GioPort. If virtually nothing depends on libgnome, we are safe for this point:) regards, Koen ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH] alsa-utils 1.0.24.2: fix packaging
Put the rules and scripts associated with alsactl in the alsactl subpackage Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb index 4cb31a9..52a7871 100644 --- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb +++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb @@ -6,7 +6,7 @@ LICENSE = GPLv2+ LIC_FILES_CHKSUM = file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9 DEPENDS = alsa-lib ncurses -PR = r0 +PR = r1 SRC_URI = ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ file://ncursesfix.patch \ @@ -26,7 +26,7 @@ EXTRA_OECONF_append_libc-uclibc = --disable-nls inherit autotools gettext # This are all packages that we need to make. Also, the now empty alsa-utils -# ipk depend on them. +# ipk depends on them. PACKAGES += \ alsa-utils-alsamixer \ @@ -39,7 +39,10 @@ PACKAGES += \ alsa-utils-aseqnet \ alsa-utils-aseqdump \ alsa-utils-alsaconf \ - alsa-utils-alsactl + alsa-utils-alsactl \ + alsa-utils-alsaloop \ + alsa-utils-alsaucm \ + # We omit alsaconf, because # a) this is a bash script @@ -54,9 +57,12 @@ FILES_alsa-utils-midi= ${bindir}/aplaymidi ${bindir}/arecordmidi ${bind FILES_alsa-utils-aconnect= ${bindir}/aconnect FILES_alsa-utils-aseqnet = ${bindir}/aseqnet FILES_alsa-utils-iecset = ${bindir}/iecset -FILES_alsa-utils-alsactl = ${sbindir}/alsactl +FILES_alsa-utils-alsactl = ${sbindir}/alsactl ${base_libdir}/udev/rules.d ${base_libdir}/systemd FILES_alsa-utils-aseqdump= ${bindir}/aseqdump FILES_alsa-utils-alsaconf= ${sbindir}/alsaconf +FILES_alsa-utils-alsaloop= ${bindir}/alsaloop +FILES_alsa-utils-alsaucm = ${bindir}/alsaucm + DESCRIPTION_alsa-utils-aplay= play (and record) sound files via ALSA DESCRIPTION_alsa-utils-amixer = command-line based control for ALSA mixer and settings @@ -67,5 +73,6 @@ DESCRIPTION_alsa-utils-aconnect = ALSA sequencer connection manager DESCRIPTION_alsa-utils-aseqnet = network client/server on ALSA sequencer DESCRIPTION_alsa-utils-alsactl = saves/restores ALSA-settings in /etc/asound.state DESCRIPTION_alsa-utils-alsaconf = a bash script that creates ALSA configuration files +DESCRIPTION_alsa-utils-alsaucm = ALSA Use Case Manager ALLOW_EMPTY_alsa-utils = 1 -- 1.6.6.1 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1 v2][PULL] libc locale split
Hi Richard and Saul, This pull request is the second version of libc locale split, please help to review and pull. This version reflects the comments from Phil Blundell p...@pbcl.net that keep the eglibc locale package name unchanged. Thanks, Dongxiao The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b: systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:14:06 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib dxu4/libc-locale-v2 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/libc-locale-v2 Dongxiao Xu (1): libc-locale: split locale handling from libc recipe. meta/classes/libc-common.bbclass | 23 meta/classes/libc-package.bbclass | 24 meta/conf/distro/include/tclibc-eglibc.inc |2 +- meta/conf/distro/include/tclibc-glibc.inc |2 +- meta/recipes-core/eglibc/eglibc-initial_2.13.bb|4 ++ meta/recipes-core/eglibc/eglibc-locale_2.13.bb | 58 meta/recipes-core/eglibc/eglibc-package.inc| 32 +-- meta/recipes-core/eglibc/eglibc.inc|4 +- meta/recipes-core/eglibc/eglibc_2.13.bb| 12 meta/recipes-core/glibc/glibc-initial_2.10.1.bb|4 ++ meta/recipes-core/glibc/glibc-locale_2.10.1.bb | 50 + meta/recipes-core/glibc/glibc-package.inc | 29 ++- meta/recipes-core/glibc/glibc.inc |2 +- meta/recipes-core/glibc/glibc_2.10.1.bb| 12 .../meta/external-csl-toolchain_2008q3-72.bb |1 + 15 files changed, 176 insertions(+), 83 deletions(-) create mode 100644 meta/classes/libc-common.bbclass create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.13.bb create mode 100644 meta/recipes-core/glibc/glibc-locale_2.10.1.bb ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] glib-2.0 2.28.x: update to 2.28.8
This fixes the mkenum problem people keep reporting, so can this go in before Saul gets back from his holiday? Op 20 jun 2011, om 10:24 heeft Koen Kooi het volgende geschreven: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- ...003-gatomic-proper-pointer-get-cast.patch.patch | 28 .../0005-glib-mkenums-interpreter.patch.patch | 25 + meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb | 18 meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb | 22 +++ meta/recipes-core/glib-2.0/glib.inc|3 +- 5 files changed, 77 insertions(+), 19 deletions(-) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0003-gatomic-proper-pointer-get-cast.patch.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0005-glib-mkenums-interpreter.patch.patch delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb create mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0003-gatomic-proper-pointer-get-cast.patch.patch b/meta/recipes-core/glib-2.0/glib-2.0/0003-gatomic-proper-pointer-get-cast.patch.patch new file mode 100644 index 000..ad1ca12 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/0003-gatomic-proper-pointer-get-cast.patch.patch @@ -0,0 +1,28 @@ +From 3d371334d5668bcd02a38ff99884bd343c244d68 Mon Sep 17 00:00:00 2001 +From: Koen Kooi k...@dominion.thruhere.net +Date: Sat, 18 Jun 2011 23:51:35 +0200 +Subject: [PATCH 3/7] gatomic-proper-pointer-get-cast.patch + +Upstream-Status: Unknown + +Signed-off-by: Koen Kooi k...@dominion.thruhere.net +--- + glib/gatomic.h |2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/glib/gatomic.h b/glib/gatomic.h +index ddd39b8..b758142 100644 +--- a/glib/gatomic.h b/glib/gatomic.h +@@ -70,7 +70,7 @@ void g_atomic_pointer_set (volatile gpointer G_GNUC_MAY_ALI + (g_atomic_int_set) ((volatile gint G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval))) + # define g_atomic_pointer_get(atomic) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ +- (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic))) ++ (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void G_GNUC_MAY_ALIAS *) (atomic))) + # define g_atomic_pointer_set(atomic, newval) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ + (g_atomic_pointer_set) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval))) +-- +1.6.6.1 + diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0005-glib-mkenums-interpreter.patch.patch b/meta/recipes-core/glib-2.0/glib-2.0/0005-glib-mkenums-interpreter.patch.patch new file mode 100644 index 000..6780330 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/0005-glib-mkenums-interpreter.patch.patch @@ -0,0 +1,25 @@ +From a8e5c4a808e7f8572bd5023645a6cb4386b9aff8 Mon Sep 17 00:00:00 2001 +From: Koen Kooi k...@dominion.thruhere.net +Date: Sat, 18 Jun 2011 23:52:17 +0200 +Subject: [PATCH 5/7] don't leak buildpaths into perl hashbang + +Upstream-Status: Unknown + +Signed-off-by: Koen Kooi k...@dominion.thruhere.net +--- + gobject/glib-mkenums.in |2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in +index 6372245..b486fe9 100755 +--- a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in +@@ -1,4 +1,4 @@ +-#! @PERL_PATH@ ++#! /usr/bin/env perl + + use warnings; + use File::Basename; +-- +1.6.6.1 + diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb deleted file mode 100644 index ca5f4c8..000 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb +++ /dev/null @@ -1,18 +0,0 @@ -require glib.inc - -PE = 1 -PR = r1 - -SRC_URI = ${GNOME_MIRROR}/glib/2.28/glib-${PV}.tar.bz2 \ - file://configure-libtool.patch \ - file://60_wait-longer-for-threads-to-die.patch \ - file://g_once_init_enter.patch \ - -# Only apply this patch for target recipe on uclibc -SRC_URI_append_libc-uclibc = ${@['', 'file://no-iconv.patch']['${PN}' == '${BPN}']} - -SRC_URI[md5sum] = 7d8fc15ae70d5111c0cf2a79d50ef717 -SRC_URI[sha256sum] = 557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578 - -SRC_URI_append_virtclass-native = file://glib-gettextize-dir.patch -BBCLASSEXTEND = native diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb new file mode 100644 index 000..e84aea5 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb @@ -0,0 +1,22 @@ +require glib.inc + +PR = r1 +PE = 1 + +SRC_URI = ${GNOME_MIRROR}/glib/2.28/glib-${PV}.tar.bz2 \ +
Re: [OE-core] [RFC PATCH 3/5] linux-kernel-base: add support for Linux 3.x
On Tue, 2011-06-21 at 21:10 +0200, Anders Darander wrote: If we keep the kernel_majorversion, we'll need to have something similar to this, as the major version up to 2.6 was determined by X.Y. From 3.0, only the first digit represents the major number; while the second digit (0 in 3.0) is equal to x in 2.6.x. Thus, the function to determine the major version has to return either 2.6 or 3. Well, the thing is that OE's kernelmajorversion was always something of an artificial construct. It was introduced purely as a way of coping with some of the differences between 2.4 and 2.6: this was primarily the different module format, but it also happened to coincide with major rewrites of the iPAQ and Zaurus kernels which were the main ones we were using in OE at the time. Returning 3 here isn't going to be helpful since none of the classes will know what to do with that value: all they ever do is compare it against either 2.4 or 2.6. The exact form of those tests has never been standardised, so there is a risk that you might encounter if [ $KERNEL_MAJORVERSION != 2.6 ]; then # must be 2.4! fi which would evidently lose quite badly if the major version were suddenly to become 3. Since there are no material differences between Linux 2.6 and Linux 3.0 that OE needs to be aware of, I think it would make most sense for kernelmajorversion() to continue returning 2.6 for Linux 3.0 and future versions if we did want to keep that mechanism. However, since the whole purpose of the mechanism was to ease the transition from 2.4 to 2.6, I am fairly confident that it can just be deleted altogether if support for 2.4 is being removed. p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [RFC PATCH 3/5] linux-kernel-base: add support for Linux 3.x
On Wed, Jun 22, 2011 at 12:22, Phil Blundell p...@pbcl.net wrote: On Tue, 2011-06-21 at 21:10 +0200, Anders Darander wrote: If we keep the kernel_majorversion, we'll need to have something similar to this, as the major version up to 2.6 was determined by X.Y. From 3.0, only the first digit represents the major number; while the second digit (0 in 3.0) is equal to x in 2.6.x. Thus, the function to determine the major version has to return either 2.6 or 3. Well, the thing is that OE's kernelmajorversion was always something of an artificial construct. It was introduced purely as a way of coping with some of the differences between 2.4 and 2.6: this was primarily the different module format, but it also happened to coincide with major rewrites of the iPAQ and Zaurus kernels which were the main ones we were using in OE at the time. Returning 3 here isn't going to be helpful since none of the classes will know what to do with that value: all they ever do is compare it against either 2.4 or 2.6. The exact form of those tests has never been standardised, so there is a risk that you might encounter I assumed that the reason was that; and it's nice to get a better grip of the older history. (At that time I was more concerned with Buildroot and uCLinux). Since there are no material differences between Linux 2.6 and Linux 3.0 that OE needs to be aware of, I think it would make most sense for kernelmajorversion() to continue returning 2.6 for Linux 3.0 and future versions if we did want to keep that mechanism. Yes, and that's why I completely removed the tests in the bbclasses that I've touch sofar. However, since the whole purpose of the mechanism was to ease the transition from 2.4 to 2.6, I am fairly confident that it can just be deleted altogether if support for 2.4 is being removed. Sounds good. I'll grep through a few more classes to see if the tests seems to occur in more places. Unless I find that the major version is used for something else, I'll remove it. Regards, Anders ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
I still don't quite understand why the virtual/libiconv provider has moved from eglibc to eglibc-locale. Can you explain what's going on there? p. On Wed, 2011-06-22 at 17:01 +0800, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. Signed-off-by: Dongxiao Xu dongxiao...@intel.com --- meta/classes/libc-common.bbclass | 23 meta/classes/libc-package.bbclass | 24 meta/conf/distro/include/tclibc-eglibc.inc |2 +- meta/conf/distro/include/tclibc-glibc.inc |2 +- meta/recipes-core/eglibc/eglibc-initial_2.13.bb|4 ++ meta/recipes-core/eglibc/eglibc-locale_2.13.bb | 58 meta/recipes-core/eglibc/eglibc-package.inc| 32 +-- meta/recipes-core/eglibc/eglibc.inc|4 +- meta/recipes-core/eglibc/eglibc_2.13.bb| 12 meta/recipes-core/glibc/glibc-initial_2.10.1.bb|4 ++ meta/recipes-core/glibc/glibc-locale_2.10.1.bb | 50 + meta/recipes-core/glibc/glibc-package.inc | 29 ++- meta/recipes-core/glibc/glibc.inc |2 +- meta/recipes-core/glibc/glibc_2.10.1.bb| 12 .../meta/external-csl-toolchain_2008q3-72.bb |1 + 15 files changed, 176 insertions(+), 83 deletions(-) create mode 100644 meta/classes/libc-common.bbclass create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.13.bb create mode 100644 meta/recipes-core/glibc/glibc-locale_2.10.1.bb diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index a4c648e..90de04f 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc @@ -10,7 +10,7 @@ TARGET_OS_powerpc = linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d # Add glibc overrides to the overrides for eglibc. OVERRIDES .= :libc-glibc -PREFERRED_PROVIDER_virtual/libiconv ?= eglibc +PREFERRED_PROVIDER_virtual/libiconv ?= eglibc-locale PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= eglibc-nativesdk PREFERRED_PROVIDER_virtual/libintl ?= eglibc PREFERRED_PROVIDER_virtual/libc ?= eglibc diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index e5843b0..748c23f 100644 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ b/meta/conf/distro/include/tclibc-glibc.inc @@ -10,7 +10,7 @@ TARGET_OS_powerpc = linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d # Add glibc to the overrides. OVERRIDES =. libc-glibc: -PREFERRED_PROVIDER_virtual/libiconv ?= glibc +PREFERRED_PROVIDER_virtual/libiconv ?= glibc-locale PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= glibc-nativesdk PREFERRED_PROVIDER_virtual/libintl ?= glibc PREFERRED_PROVIDER_virtual/libc ?= glibc ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] RFC: combo layer tool v2
This is the V2 RFC patch of combo layer tool. Thanks for Paul and Chris's valuable review, the version includes all their comments: - fix several grammar issue - fix the incorrect patch range - print the component repo name when updating - delete the temporary directory when it is done - use the python ConfigParser class to simplify the parsing The following changes since commit b30cb584a738915113e88b7db1028d53b2bae5f9: Richard Purdie (1): Revert gcc: rebase the patch to avoid patch rejection are available in the git repository at: git://git.pokylinux.org/poky-contrib kyu3/combo-layer-v3 http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/combo-layer-v3 Yu Ke (1): combo-layer-tool: add tool to manipulate combo layer scripts/combo-layer | 360 +++ scripts/combo-layer-hook-default.sh | 13 ++ scripts/combo-layer.conf.example| 37 3 files changed, 410 insertions(+), 0 deletions(-) create mode 100755 scripts/combo-layer create mode 100755 scripts/combo-layer-hook-default.sh create mode 100644 scripts/combo-layer.conf.example ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] combo-layer-tool: add tool to manipulate combo layer
This patch adds the script combo-layer.py to manipulate the combo layer repo. A combo layer repo is a repo containing multiple component repo, e.g. oe-core, bitbake, BSP repos. The combo layer repo need to be updated by syncing with the component repo upstream. This script is written to assist the combo layer handling. Combo layer tool provides three functionalities: - init: when the combo layer repo and component repo is not existed, init will git init the combo layer repo, and also git clone the component repo - update: combo layer tool will pull the latest commit from component repo upstream, and apply the commit since last update commit to the combo repo. If user specify interactive mode(--interactive), user can edit the patch list to select which commit to apply. - splitpatch: split the combo repo commit into separate patches per component repo. So that user can submit the patch to component repo upstream. Combo layer tool uses config file to define the component repo info. please check the combo-layer.conf.example for the detail explanation of the config file field. CC: Richard Purdie richard.pur...@linuxfoundation.org CC: Paul Eggleton paul.eggle...@intel.com CC: Chris Larson clar...@kergoth.com Signed-off-by: Yu Ke ke...@intel.com --- scripts/combo-layer | 360 +++ scripts/combo-layer-hook-default.sh | 13 ++ scripts/combo-layer.conf.example| 37 3 files changed, 410 insertions(+), 0 deletions(-) create mode 100755 scripts/combo-layer create mode 100755 scripts/combo-layer-hook-default.sh create mode 100644 scripts/combo-layer.conf.example diff --git a/scripts/combo-layer b/scripts/combo-layer new file mode 100755 index 000..ef798ab --- /dev/null +++ b/scripts/combo-layer @@ -0,0 +1,360 @@ +#!/usr/bin/env python +# ex:ts=4:sw=4:sts=4:et +# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- +# +# Copyright 2011 Intel Corporation +# Authored-by: Richard Purdie richard.pur...@intel.com +# Paul Eggleton paul.eggle...@intel.com +# Yu Ke ke...@intel.com +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import os, sys +import optparse +import logging +import subprocess +import ConfigParser + +__version__ = 0.1.0 + +def logger_create(): +logger = logging.getLogger() +loggerhandler = logging.StreamHandler() +loggerhandler.setFormatter(logging.Formatter([%(asctime)s] %(message)s,%H:%M:%S)) +logger.addHandler(loggerhandler) +logger.setLevel(logging.INFO) +return logger + +logger = logger_create() + +class Configuration(object): + +Manages the configuration + +A valid conf looks like: + +# repo name +[bitbake] + +# mandatory options + +# git upstream uri +src_uri = git://git.openembedded.org/bitbake + +# the directory to clone the component repo +local_repo_dir = ~/src/bitbake + +# the relative dir to commit the repo patch +# use . if it is root dir +dest_dir = bitbake + +# the updated revision last time. +# leave it empty if no commit updated yet, and then the tool +# will start from the first commit +last_revision = + +# optional options + +# file_filter: only include the interested file +# file_filter = [path] [path] ... +# example: +# file_filter = src/ : only include the subdir src +# file_filter = src/*.c : only include the src *.c file +# file_filter = src/main.c src/Makefile.am : only include these two files + +[oe-core] +src_uri = git://git.openembedded.org/openembedded-core +local_repo_dir = ~/src/oecore +dest_dir = . +last_revision = + +# more repos ... + + +def __init__(self, options): +for key, val in options.__dict__.items(): +setattr(self, key, val) +self.parser = ConfigParser.ConfigParser() +self.parser.readfp(open(self.conffile)) +self.repos = {} +for repo in self.parser.sections(): +self.repos[repo] = {} +for (name, value) in self.parser.items(repo): +self.repos[repo][name] = value + +def update(self, repo, option, value): +self.parser.set(repo, option, value) +self.parser.write(open(self.conffile, w)) + +def sanity_check(self): +required_options=[src_uri, local_repo_dir, dest_dir, last_revision] +msg = +for name in self.repos: +for option in required_options: +
Re: [OE-core] [PATCH] RFC - combo layer repo tool
on 2011-6-19 6:47, Chris Larson wrote: On Fri, Jun 17, 2011 at 10:42 AM, Paul Eggletonpaul.eggle...@intel.com wrote: Hi Ke, Great work. Here's my review so far: On Monday 13 June 2011 14:15:04 Yu, Ke wrote: --- /dev/null +++ b/scripts/combo-layer-hook-default.sh @@ -0,0 +1,14 @@ +#!/bin/sh First thought on starting to read the patch: why are we home rolling a parser when the format is clearly ini style, which the ConfigParser module parses just fine? Paul, Chris, Thanks a lot for your valuable comment. I've sent out the V2 RFC patch, and has all your comments included. Please review. Regards Ke ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] Using TCLIBC = uclibc in oe-core
Thanks for the comments, everyone. I think the balance of what's been said suggests we'd want this change in oe-core. The question of whether doing special USE_NLS hackery for glib-2.0-native is a good design or not is a somewhat more open issue... Assuming this change is good, what would I need to do to formally submit a patch? Is there a howto for oe-core patch submission that I can refer to? Thanks, Tom On 21 June 2011 17:49, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Tue, 2011-06-21 at 15:54 +0100, Phil Blundell wrote: On Tue, 2011-06-21 at 15:04 +0100, Tom Parkin wrote: The attached patch allows me to (at least) assemble the bitbake task list when TCLIBC = uclibc. I'm not sure whether this is the correct approach, though. Do you know why glib-2.0.inc is doing this crazy thing in the first place? If we're going to have code in the config files to effectively make it think that USE_NLS is always on, maybe that check should just be removed. You're right though that the current line in tclibc-uclibc.inc is clearly just wrong and should be either fixed or deleted. It does appear to work due to code in base.bbclass which does: use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) if use_nls != None: bb.data.setVar('USE_NLS', use_nls, d) where this code predates the use of pn-${PN} in overrides. Nowadays it makes sense just to use the pn- override and we should drop this legacy stuff IMO. Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Tom Parkin www.thesecretdogproject.com Morality, like art, means drawing a line someplace /Wilde/ ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] Directory permissions and ownership -- RFC
On 6/21/11 11:51 PM, Mark Hatle wrote: On 6/21/11 5:13 PM, Mark Hatle wrote: ... Any comments. I'm not sure I like this task approach, simply because it's more complicated. But what I am testing now enables umask of 022 in: do_install do_package do_rootfs rootfs_pkg_do_rootfs do_populate_sysroot adt-installer_1.0.bb: do_deploy linux-tools.inc: do_install_perf I think that covers everywhere it will be needed... Results from my over night build. Just setting do_install and do_package isn't enough. A lot of packages appear to unpack, patch, configure, compile, and then in do_install copy, while preserving permissions, from the build directory. This leads to a number of files with 0664 and directories with 0775 permissions (when the users umask is 002.) I can certainly expand this to do_configure and do_compile. But I'm really concerned this will quickly grow out of control and end up being very complex... (I will attempt to do this and see if I get better results.) --Mark --Mark On 6/21/11 5:05 PM, Richard Purdie wrote: On Tue, 2011-06-21 at 14:12 -0500, Mark Hatle wrote: On 6/21/11 1:57 PM, Phil Blundell wrote: On Tue, 2011-06-21 at 11:43 -0500, Mark Hatle wrote: Adjust the umask to 022. This resolves the problem of dynamically generated directories (mkdir -p) and specific files (touch foo) having odd permissions. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatle/permsid=d8470b6a8efdbba04cef5d4dc1ce12720fe83621 Are you confident that this isn't going to break anything like group-shared DL_DIRs? I'm not entirely thrilled about forcing the umask to 022 for everything that bitbake does, although I can see that making it be so for particular tasks like do_install() might have some merit. Even in the latter case, though, I wonder whether we should just be paying more attention to recipe hygiene and using install -m ... with the permissions that we actually want. This is why I bring this up.. I'm a bit concerned that doing it generally will have unintended consequences. So far I am not aware of any. Moving it to a different place in the process may be better. The only issue I've found so far is that just coding int into do_install really isn't an option. Between the custom do_install components, various classes, etc.. it's difficult in the current infrastructure to find a centralized location to set the value. (I'd love to be corrected if someone things of another way of doing it.) The setting of the umask is a very low cost operation, so doing it for certain steps shouldn't cause a performance penalty... but until we figure that out this is the best and easiest solution I've come up with. How about a umask flag for tasks? If bitbake sees it for a given task it would set the umask as indicated for the task. Cheap and easy and would only impact do_install tasks... Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
On 06/22/2011 02:01 AM, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. you could also move the locale generation into a task of its own instead of new recipe This commit moves locale handling into a separate recipe *libc-locale. Signed-off-by: Dongxiao Xudongxiao...@intel.com --- meta/classes/libc-common.bbclass | 23 meta/classes/libc-package.bbclass | 24 meta/conf/distro/include/tclibc-eglibc.inc |2 +- meta/conf/distro/include/tclibc-glibc.inc |2 +- meta/recipes-core/eglibc/eglibc-initial_2.13.bb|4 ++ meta/recipes-core/eglibc/eglibc-locale_2.13.bb | 58 meta/recipes-core/eglibc/eglibc-package.inc| 32 +-- meta/recipes-core/eglibc/eglibc.inc|4 +- meta/recipes-core/eglibc/eglibc_2.13.bb| 12 meta/recipes-core/glibc/glibc-initial_2.10.1.bb|4 ++ meta/recipes-core/glibc/glibc-locale_2.10.1.bb | 50 + meta/recipes-core/glibc/glibc-package.inc | 29 ++- meta/recipes-core/glibc/glibc.inc |2 +- meta/recipes-core/glibc/glibc_2.10.1.bb| 12 .../meta/external-csl-toolchain_2008q3-72.bb |1 + 15 files changed, 176 insertions(+), 83 deletions(-) create mode 100644 meta/classes/libc-common.bbclass create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.13.bb create mode 100644 meta/recipes-core/glibc/glibc-locale_2.10.1.bb diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass new file mode 100644 index 000..bae0ace --- /dev/null +++ b/meta/classes/libc-common.bbclass @@ -0,0 +1,23 @@ +do_install() { + oe_runmake install_root=${D} install + for r in ${rpcsvc}; do + h=`echo $r|sed -e's,\.x$,.h,'` + install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/ + done + install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ + install -d ${D}${libdir}/locale + make -f ${WORKDIR}/generate-supported.mk IN=${S}/localedata/SUPPORTED OUT=${WORKDIR}/SUPPORTED + # get rid of some broken files... + for i in ${GLIBC_BROKEN_LOCALES}; do + grep -v $i ${WORKDIR}/SUPPORTED ${WORKDIR}/SUPPORTED.tmp + mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED + done + rm -f ${D}{sysconfdir}/rpc + rm -rf ${D}${datadir}/zoneinfo + rm -rf ${D}${libexecdir}/getconf +} + +def get_libc_fpu_setting(bb, d): +if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: +return --without-fp +return diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 55e3d48..5737af4 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -37,11 +37,6 @@ python __anonymous () { break } -def get_libc_fpu_setting(bb, d): -if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: -return --without-fp -return - OVERRIDES_append = :${TARGET_ARCH}-${TARGET_OS} do_configure_prepend() { @@ -84,25 +79,6 @@ rm -rf ${TMP_LOCALE} } -do_install() { - oe_runmake install_root=${D} install - for r in ${rpcsvc}; do - h=`echo $r|sed -e's,\.x$,.h,'` - install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/ - done - install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ - install -d ${D}${libdir}/locale - make -f ${WORKDIR}/generate-supported.mk IN=${S}/localedata/SUPPORTED OUT=${WORKDIR}/SUPPORTED - # get rid of some broken files... - for i in ${GLIBC_BROKEN_LOCALES}; do - grep -v $i ${WORKDIR}/SUPPORTED ${WORKDIR}/SUPPORTED.tmp - mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED - done - rm -f ${D}${sysconfdir}/rpc - rm -rf ${D}${datadir}/zoneinfo - rm -rf ${D}${libexecdir}/getconf -} - TMP_LOCALE=/tmp/locale${libdir}/locale do_prep_locale_tree() { diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index a4c648e..90de04f 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc @@ -10,7 +10,7 @@ TARGET_OS_powerpc = linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d # Add glibc overrides to the overrides for eglibc. OVERRIDES .= :libc-glibc -PREFERRED_PROVIDER_virtual/libiconv ?= eglibc +PREFERRED_PROVIDER_virtual/libiconv ?= eglibc-locale PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= eglibc-nativesdk PREFERRED_PROVIDER_virtual/libintl ?= eglibc PREFERRED_PROVIDER_virtual/libc ?= eglibc diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
On Wed, 2011-06-22 at 07:44 -0700, Khem Raj wrote: On 06/22/2011 02:01 AM, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. you could also move the locale generation into a task of its own instead of new recipe It'd be hard to get the dependencies to work out right if you did that, though. I think a new recipe probably is the right answer. p. [ 10 quoted lines snipped ... ] ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
On 6/22/11 9:47 AM, Phil Blundell wrote: On Wed, 2011-06-22 at 07:44 -0700, Khem Raj wrote: On 06/22/2011 02:01 AM, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. you could also move the locale generation into a task of its own instead of new recipe It'd be hard to get the dependencies to work out right if you did that, though. I think a new recipe probably is the right answer. And in the case of libc, the locales need to be done -after- the populate_sysroot, or we don't get the parallelism improvement. --Mark p. [ 10 quoted lines snipped ... ] ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] gnome-keyring 2.32.1: fix packaging
On Sun, 2011-06-19 at 14:26 +0200, Koen Kooi wrote: NOTE: package gnome-keyring-2.32.1-r1: task do_package: Started WARNING: the following files were installed but not shipped in any package: WARNING: /usr/share/gcr/ui/gcr-import-dialog.ui WARNING: /usr/share/gcr/ui/gcr-certificate-basics-widget.ui WARNING: /usr/share/gcr/ui/gcr-unlock-options-widget.ui WARNING: /usr/lib/security/pam_gnome_keyring.so Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] glib-2.0 2.28.x: update to 2.28.8
On Mon, 2011-06-20 at 10:24 +0200, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- ...003-gatomic-proper-pointer-get-cast.patch.patch | 28 .../0005-glib-mkenums-interpreter.patch.patch | 25 + meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb | 18 meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb | 22 +++ meta/recipes-core/glib-2.0/glib.inc|3 +- 5 files changed, 77 insertions(+), 19 deletions(-) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0003-gatomic-proper-pointer-get-cast.patch.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0005-glib-mkenums-interpreter.patch.patch delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb create mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb Merged to master but please be a little more verbose in future commit messages :) Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] alsa-utils 1.0.24.2: fix packaging
On Wed, 2011-06-22 at 10:42 +0200, Koen Kooi wrote: Put the rules and scripts associated with alsactl in the alsactl subpackage Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] Remove obsolete gnome-vfs
On Tue, 2011-06-21 at 15:12 +0800, edwin.z...@intel.com wrote: From: Zhai Edwin edwin.z...@intel.com This patch removed obsolete gnome-vfs in favor of GIO/GVFS. Pls. help to review. Thanks, edwin The following changes since commit 4ff7af11ef69849ef9c16f585eae58ac920b222b: machine confs: Add xserver-kdrive as PREFERRED_PROVIDER (2011-05-27 15:30:19 -0700) are available in the git repository at: g...@git.pokylinux.org:poky-contrib.git gzhai/master http://git.pokylinux.org/cgit.cgi//log/?h=gzhai/master Zhai Edwin (1): gnome-vfs: remove gnome-vfs as it is deprecated in favour of GVFS and GIO .../oprofileui/migrate-from-gnomevfs-to-gio.patch | 219 meta/recipes-kernel/oprofile/oprofileui_git.bb |1 + .../gstreamer/gst-meta-base_0.10.bb|2 +- .../gstreamer/gst-plugins-base_0.10.32.bb |6 +- meta/recipes-sato/webkit/webkit-gtk_svn.bb |2 +- 5 files changed, 224 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-kernel/oprofile/oprofileui/migrate-from-gnomevfs-to-gio.patch This is nice to see, thanks! I've merged it but please try and send pull requests from a slightly more up to date branch please as this one threw conflicts that I needed to resolve in the webkit recipe. Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH] kernel.bbclass: restore kernel-abiversion file
This fixes external module recipes that need $KERNEL_VERSION. It got removed by commit a9d41062e24a6b99661b3a5256f369b557433607 Author: Darren Hart dvh...@linux.intel.com Date: Tue Mar 8 17:09:10 2011 -0800 kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules seemingly as an oversight. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/classes/kernel.bbclass |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1bb69f5..8f9f108 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -123,6 +123,12 @@ kernel_do_install() { install -d $kerneldir # + # Store the kernel version in sysroots for module-base.bbclass + # + + echo ${KERNEL_VERSION} $kerneldir/kernel-abiversion + + # # Copy the entire source tree. In case an external build directory is # used, copy the build directory over first, then copy over the source # dir. This ensures the original Makefiles are used and not the -- 1.6.6.1 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] uclibc and related fixes
On Tue, 2011-06-21 at 18:44 -0700, Khem Raj wrote: Fix uclibc build for x86_64 gettext compile failed on uclibc so fix it and additionally remove unused patches Add required support for systemd to function with uclibc Quash a parse warning where uclibc-initial and uclibc both provided libsegfault The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/uclibc http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc Khem Raj (4): uclibc.inc: libsegfault is only RPROVIDED by uclibc gettext-0.18.1.1: Remove unused patches uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU uclibc: Add support for $ORIGIN Merged to master, thanks. I had reservations about the first one as hardcoding PN can have issues with BBCLASSEXTEND but looking at the recipe, there are bigger issues if we were ever to do that :/ Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
On 06/22/2011 08:17 AM, Mark Hatle wrote: On 6/22/11 9:47 AM, Phil Blundell wrote: On Wed, 2011-06-22 at 07:44 -0700, Khem Raj wrote: On 06/22/2011 02:01 AM, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. you could also move the locale generation into a task of its own instead of new recipe It'd be hard to get the dependencies to work out right if you did that, though. I think a new recipe probably is the right answer. And in the case of libc, the locales need to be done -after- the populate_sysroot, or we don't get the parallelism improvement. ofcourse thats why I was suggesting a new task. --Mark p. [ 10 quoted lines snipped ... ] ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] ccache: Integrate ccache-native
On Fri, 2011-06-17 at 17:19 +0800, wenzong@windriver.com wrote: From: Wenzong Fan wenzong@windriver.com 1) Add ccache as a native tool, for getting it built automatically make it as the dependency of bzip2; Also, the ccache will be included by SDK images; 2) Set CCACHE on a per recipe basis and add task 'mkccachedir' to create the CCACHE_DIR while start a package building; 3) Remove the duplicate 'ccache.inc' from 'meta/class/'. Signed-off-by: Wenzong Fan wenzong@windriver.com --- meta/classes/base.bbclass|1 + meta/classes/ccache.bbclass | 21 + meta/classes/ccache.inc | 11 --- meta/conf/bitbake.conf |1 + meta/recipes-core/tasks/task-core-sdk.bb |1 + meta/recipes-devtools/ccache/ccache.inc | 16 meta/recipes-devtools/ccache/ccache_3.1.5.bb |8 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |2 ++ 8 files changed, 50 insertions(+), 11 deletions(-) create mode 100644 meta/classes/ccache.bbclass delete mode 100644 meta/classes/ccache.inc create mode 100644 meta/recipes-devtools/ccache/ccache.inc create mode 100644 meta/recipes-devtools/ccache/ccache_3.1.5.bb diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 119b052..a329b4e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -2,6 +2,7 @@ BB_DEFAULT_TASK ?= build inherit patch inherit staging +inherit ccache inherit mirrors inherit utils diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass new file mode 100644 index 000..be37c18 --- /dev/null +++ b/meta/classes/ccache.bbclass @@ -0,0 +1,21 @@ +# Make ${CCACHE_DIR} if it is not existing + +python ccache_do_mkccachedir(){ + import os + + ccache = bb.data.getVar('CCACHE', d, True) + ccache_dir = bb.data.getVar('CCACHE_DIR', d, True) + if len(ccache) == 0 or len(ccache_dir) == 0: + return + + try: + if not os.path.isdir(ccache_dir): + bb.note(Creating + ccache_dir) + os.makedirs(ccache_dir) + except bb.fetch2.BBFetchException, e: + raise bb.build.FuncFailed(e) +} + +addtask mkccachedir before do_configure + +EXPORT_FUNCTIONS do_mkccachedir You can do this in a much simpler way by just adding: do_configure[dirs] += ${CCACHE_DIR} diff --git a/meta/classes/ccache.inc b/meta/classes/ccache.inc deleted file mode 100644 index d830a1b..000 --- a/meta/classes/ccache.inc +++ /dev/null @@ -1,11 +0,0 @@ -# Make ccache use a TMPDIR specific ccache directory if using the crosscompiler, -# since it isn't likely to be useful with any other toolchain than the one we just -# built, and would otherwise push more useful things out of the default cache. - -CCACHE_DIR_TARGET = ${TMPDIR}/ccache - -python () { -if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): -bb.data.setVar('CCACHE_DIR', '${CCACHE_DIR_TARGET}', d) -bb.data.setVarFlag('CCACHE_DIR', 'export', '1', d) -} diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 6d8a674..64b3651 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -391,6 +391,7 @@ export PATH CCACHE = ${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '} TOOLCHAIN_OPTIONS = --sysroot=${STAGING_DIR_TARGET} +export CCACHE_DIR = ${TMPDIR}/ccache/${TARGET_SYS}/${PN} Should this be HOST_SYS instead of TARGET_SYS? export CC = ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} export CXX = ${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} export F77 = ${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} diff --git a/meta/recipes-core/tasks/task-core-sdk.bb b/meta/recipes-core/tasks/task-core-sdk.bb index 4aee0c2..52fdd75 100644 --- a/meta/recipes-core/tasks/task-core-sdk.bb +++ b/meta/recipes-core/tasks/task-core-sdk.bb @@ -25,6 +25,7 @@ RDEPENDS_task-core-sdk = \ coreutils \ cpp \ cpp-symlinks \ +ccache \ diffutils \ gcc \ gcc-symlinks \ diff --git a/meta/recipes-devtools/ccache/ccache.inc b/meta/recipes-devtools/ccache/ccache.inc new file mode 100644 index 000..e9f7344 --- /dev/null +++ b/meta/recipes-devtools/ccache/ccache.inc @@ -0,0 +1,16 @@ +SUMMARY = a fast C/C++ compiler cache +DESCRIPTION = ccache is a compiler cache. It speeds up recompilation \ +by caching the result of previous compilations and detecting when the \ +same compilation is being done again. Supported languages are C, C\+\+, \ +Objective-C and Objective-C++. +HOMEPAGE = http://ccache.samba.org; +SECTION = devel +LICENSE = GPLv3+ + +SRC_URI = http://samba.org/ftp/ccache/ccache-${PV}.tar.gz; + +inherit autotools + +BBCLASSEXTEND = native + +TARGET_CC_ARCH +=
Re: [OE-core] [PATCH 0/1] task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
On Wed, 2011-06-22 at 14:43 +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan xiaofeng@windriver.com tools-profile and tools-testapps which include three packages owl-video , sysprof and alsa-utils-amixer beside other packages were removed from variable EXTRA_IMAGE_FEATURES in meta-yocto/conf/local.conf.sample. The absent libraries in an lsb image depended by the above three packages will be installed into lsb image by dependence relationship. Absent command: |--strip Absent Libraries: |--libatk-1.0.so.0 |--libgdk-x11-2.0.so |--libcairo.so.2 |--libpango-1.0.so |--libpangoft2-1.0.so.0 |--libpangoxft-1.0.so.0 |--libpangocairo-1.0.so Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: xiaofeng/task-core-lsb Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/task-core-lsb Thanks, Xiaofeng Yan xiaofeng@windriver.com --- Xiaofeng Yan (1): task-core-lsb: Add absent libraries and commands to task-core-lsb.bb Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] uclibc and related fixes
On 06/22/2011 08:42 AM, Richard Purdie wrote: On Tue, 2011-06-21 at 18:44 -0700, Khem Raj wrote: Fix uclibc build for x86_64 gettext compile failed on uclibc so fix it and additionally remove unused patches Add required support for systemd to function with uclibc Quash a parse warning where uclibc-initial and uclibc both provided libsegfault The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/uclibc http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc Khem Raj (4): uclibc.inc: libsegfault is only RPROVIDED by uclibc gettext-0.18.1.1: Remove unused patches uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU uclibc: Add support for $ORIGIN Merged to master, thanks. I had reservations about the first one as hardcoding PN can have issues with BBCLASSEXTEND but looking at the recipe, there are bigger issues if we were ever to do that :/ in attached patch I moved it to uclibc recipe is that better ? Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core From 28232ad0c9bea3133493e056e7d828958e74da66 Mon Sep 17 00:00:00 2001 From: Khem Raj raj.k...@gmail.com Date: Sat, 11 Jun 2011 01:47:33 -0700 Subject: [PATCH] uclibc.inc: libsegfault is only RPROVIDED by uclibc Using ${PN} also means that uclibc-initial gets to provide it which we do not want so move this to uclibc recipe Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-core/uclibc/uclibc.inc|1 - meta/recipes-core/uclibc/uclibc_git.bb |5 + 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc index 00f5e8d..13a6164 100644 --- a/meta/recipes-core/uclibc/uclibc.inc +++ b/meta/recipes-core/uclibc/uclibc.inc @@ -89,7 +89,6 @@ RPROVIDES_uclibc-dev += libc-dev virtual-libc-dev # uclibc does not really have libsegfault but then using the one from glibc is also not # going to work. So we pretend that we have it to make bitbake not pull other recipes # to satisfy this dependency for the images/tasks -RPROVIDES_${PN} += libsegfault SRC_URI = \ http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2;name=uClibc-${PV} \ diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb index 6445243..d5b9e40 100644 --- a/meta/recipes-core/uclibc/uclibc_git.bb +++ b/meta/recipes-core/uclibc/uclibc_git.bb @@ -5,6 +5,11 @@ PV = 0.9.31+0.9.32rc3 PR = ${INC_PR}.4 PROVIDES += virtual/${TARGET_PREFIX}libc-for-gcc +# uclibc does not really have libsegfault but then using the one from glibc is also not +# going to work. So we pretend that we have it to make bitbake not pull other recipes +# to satisfy this dependency for the images/tasks + +RPROVIDES_${PN} += libsegfault FILESPATH = ${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)} SRC_URI = git://uclibc.org/uClibc.git;branch=master;protocol=git \ -- 1.7.4.1 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade
On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote: This patchset upgrades eglibc 2.13 - 2.14 Needed a binutils fix for x86_64 Package sotruss which is new in eglibc 2.14 The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14 Khem Raj (4): eglibc: Upgrade recipes from 2.13 - 2.14 eglibc-package.inc: Package newly added sotruss and supporting libraries binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14 Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI
On 06/22/2011 09:00 AM, Richard Purdie wrote: On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote: changes since V1 Separate out non gcc changes to a different pull request Patches are not attached inline due to sheer size of them as they might choke patchwork. The are only on the branch The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/gcc-4.6 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-4.6 Khem Raj (2): gcc-4.6: Switch to using svn SRC_URI for recipe tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION I'm afraid I don't like having gcc 4.6 being so publicly visible. Its fine for the recipe names but the PV itself really needs to be something like 4.6.2+svn. I say this as a person who'd have to deal with people claiming we're behind on gcc since we were on 4.6[.0] :/ yeah it will be 4.6.0+svn since 4.6.0 is latest release from the branch makes sense. I will post new version. Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI
On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote: changes since V1 Separate out non gcc changes to a different pull request Patches are not attached inline due to sheer size of them as they might choke patchwork. The are only on the branch The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/gcc-4.6 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-4.6 Khem Raj (2): gcc-4.6: Switch to using svn SRC_URI for recipe tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION I'm afraid I don't like having gcc 4.6 being so publicly visible. Its fine for the recipe names but the PV itself really needs to be something like 4.6.2+svn. I say this as a person who'd have to deal with people claiming we're behind on gcc since we were on 4.6[.0] :/ Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI
On Wed, 2011-06-22 at 17:00 +0100, Richard Purdie wrote: I'm afraid I don't like having gcc 4.6 being so publicly visible. Its fine for the recipe names but the PV itself really needs to be something like 4.6.2+svn. Well, er, gcc 4.6.1 hasn't even been released yet. I think 4.6.0 +svn (or just 4.6+svn) is the only reasonable thing to put there. Calling it 4.6.2 would definitely be misleading. p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI
Op 22 jun 2011, om 18:00 heeft Richard Purdie het volgende geschreven: On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote: changes since V1 Separate out non gcc changes to a different pull request Patches are not attached inline due to sheer size of them as they might choke patchwork. The are only on the branch The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/gcc-4.6 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-4.6 Khem Raj (2): gcc-4.6: Switch to using svn SRC_URI for recipe tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION I'm afraid I don't like having gcc 4.6 being so publicly visible. Its fine for the recipe names but the PV itself really needs to be something like 4.6.2+svn. I say this as a person who'd have to deal with people claiming we're behind on gcc since we were on 4.6[.0] :/ There will always be people claiming nonsense about numbers :) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] uclibc and related fixes
On Wed, 2011-06-22 at 08:57 -0700, Khem Raj wrote: On 06/22/2011 08:42 AM, Richard Purdie wrote: On Tue, 2011-06-21 at 18:44 -0700, Khem Raj wrote: Fix uclibc build for x86_64 gettext compile failed on uclibc so fix it and additionally remove unused patches Add required support for systemd to function with uclibc Quash a parse warning where uclibc-initial and uclibc both provided libsegfault The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/uclibc http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc Khem Raj (4): uclibc.inc: libsegfault is only RPROVIDED by uclibc gettext-0.18.1.1: Remove unused patches uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU uclibc: Add support for $ORIGIN Merged to master, thanks. I had reservations about the first one as hardcoding PN can have issues with BBCLASSEXTEND but looking at the recipe, there are bigger issues if we were ever to do that :/ in attached patch I moved it to uclibc recipe is that better ? Its better, yes and its what I was going to suggest until I realised there were other issues that BBCLASSEXTEND would have with the recipe. Its certainly something to keep in mind in the future... Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] Fix for bitbake freeze due to git fetch during parse
On Tue, 2011-06-21 at 18:29 +0100, Paul Eggleton wrote: Addresses [YOCTO #1186]. See patch for further details. (Sending against poky-contrib since OE git is currently experiencing issues.) The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b: systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:14:06 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib paule/fix-uboot-srcrev http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=paule/fix-uboot-srcrev Paul Eggleton (1): u-boot: set SRCREV to a git revision instead of a tag reference meta/recipes-bsp/uboot/u-boot_2011.03.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) I've merged Paul's updated version of this. Its a hard problem given git's way of handling tags/branches etc. so its probably the best we can do in the circumstances... Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] clutter: Use new git repo
On Tue, 2011-06-21 at 20:22 +0800, edwin.z...@intel.com wrote: From: Zhai Edwin edwin.z...@intel.com clutter move its git server from clutter-project.org to gnome.org [YOCTO #1040] got fixed Signed-off-by: Zhai Edwin edwin.z...@intel.com --- meta/recipes-graphics/clutter/clutter-box2d_git.bb |2 +- meta/recipes-graphics/clutter/clutter_git.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/clutter/clutter-box2d_git.bb b/meta/recipes-graphics/clutter/clutter-box2d_git.bb index 4c1c003..2d10d81 100644 --- a/meta/recipes-graphics/clutter/clutter-box2d_git.bb +++ b/meta/recipes-graphics/clutter/clutter-box2d_git.bb @@ -6,7 +6,7 @@ SRCREV = 4799ac10ae8cb7da936a2b999aba58fe62eb1ee3 PV = 0.10.1+git${SRCPV} PR = r0 -SRC_URI = git://git.clutter-project.org/clutter-box2d.git;protocol=git +SRC_URI = git://git.gnome.org/clutter-box2d;protocol=git S = ${WORKDIR}/git diff --git a/meta/recipes-graphics/clutter/clutter_git.bb b/meta/recipes-graphics/clutter/clutter_git.bb index cb5f476..76a26a6 100644 --- a/meta/recipes-graphics/clutter/clutter_git.bb +++ b/meta/recipes-graphics/clutter/clutter_git.bb @@ -7,7 +7,7 @@ SRCREV = e957e277b8a4893ce8c99e94402036d42a8b3748 PV = 1.0.0+git${SRCPV} PR = r9 -SRC_URI = git://git.clutter-project.org/clutter.git;protocol=git;branch=master \ +SRC_URI = git://git.gnome.org/clutter;protocol=git;branch=master \ file://enable_tests-654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673.patch;patch=1;rev=654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673 \ file://enable_tests.patch;patch=1;notrev=654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673 S = ${WORKDIR}/git Master already has: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e4293c5be719663d75d7bc464a04a841d8b35115 Could you please rebase on top of that? Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/3] qt4-tools-nativesdk fixes
On Sat, 2011-06-18 at 19:56 +0100, Paul Eggleton wrote: Several fixes for qt4-tools-nativesdk. The following changes since commit 835d817f1ba7b99167743fdb86ba80f3a07bd82d: systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:12:40 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/qt4-nativesdk-fix http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt4-nativesdk-fix Paul Eggleton (3): qt4-tools-nativesdk: fix unpack failure due to missing g++.conf qt4-tools-nativesdk: drop freetype include as we build with -no-freetype qt4-tools-nativesdk: fix compile failure in src/dbus Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 04/40] ghostscript: Fix owner/group of /etc/cups
/etc/cups is owned by root:lp from the cups package, the associated ghostscript was creating the /etc/cups directory as root:root. /etc/cups is the authoritative source. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../ghostscript/ghostscript_9.02.bb|7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb index 3cb5485..f8a4807 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb @@ -15,7 +15,7 @@ SECTION = console/utils LICENSE = GPLv3 LIC_FILES_CHKSUM = file://LICENSE;md5=d151214b3131251dfc9d858593acbd24 -PR = r2 +PR = r3 DEPENDS = ${PN}-native tiff jpeg fontconfig cups DEPENDS_virtclass-native = @@ -53,10 +53,15 @@ do_configure () { done } +FIX_OWNERS = chown -R root:lp ${D}/etc/cups +FIX_OWNERS_virtclass-native = + do_install_append () { mkdir -p ${D}${datadir}/ghostscript/${PV}/ cp -r Resource ${D}${datadir}/ghostscript/${PV}/ cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ + +test -n ${FIX_OWNERS} eval ${FIX_OWNERS} || : } python do_patch_virtclass-native () { -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 02/40] base-passwd: Fix owners/groups
Fix the owners and groups of specific files copied from the developmen tree. This resolves an issue where those files gain the user/group id of the build user. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb index 3315c68..7b1fdf1 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb @@ -1,7 +1,7 @@ SUMMARY = Base system master password/group files. DESCRIPTION = The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files. SECTION = base -PR = r2 +PR = r3 LICENSE = GPLv2+ LIC_FILES_CHKSUM = file://COPYING;md5=eb723b61539feef013de476e68b5c50a @@ -21,16 +21,16 @@ SSTATEPOSTINSTFUNCS += base_passwd_sstate_postinst do_install () { install -d -m 755 ${D}${sbindir} - install -p -m 755 update-passwd ${D}${sbindir}/ + install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/ install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8 install -p -m 644 man/update-passwd.8 ${D}${mandir}/man8/ install -p -m 644 man/update-passwd.pl.8 \ ${D}${mandir}/pl/man8/update-passwd.8 gzip -9 ${D}${mandir}/man8/* ${D}${mandir}/pl/man8/* install -d -m 755 ${D}${datadir}/base-passwd - install -p -m 644 passwd.master ${D}${datadir}/base-passwd/ - install -p -m 644 group.master ${D}${datadir}/base-passwd/ - install -p -m 644 ${S}/../login.defs ${D}${datadir}/base-passwd/login.defs + install -o root -g root -p -m 644 passwd.master ${D}${datadir}/base-passwd/ + install -o root -g root -p -m 644 group.master ${D}${datadir}/base-passwd/ + install -o root -g root -p -m 644 ${S}/../login.defs ${D}${datadir}/base-passwd/login.defs install -d -m 755 ${D}${docdir}/${PN} install -p -m 644 debian/changelog ${D}${docdir}/${PN}/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 03/40] gcc: Fix owners/groups
Many of the files being generated by gcc are gaining the build uid/gid. This is incorrect, as the files should be owned by root:root. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/gcc/gcc-4.6.0.inc |2 +- meta/recipes-devtools/gcc/gcc_4.5.1.bb|7 ++- meta/recipes-devtools/gcc/gcc_4.6.0.bb|5 + meta/recipes-devtools/gcc/libgcc_4.5.1.bb |3 ++- meta/recipes-devtools/gcc/libgcc_4.6.0.bb |3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0.inc b/meta/recipes-devtools/gcc/gcc-4.6.0.inc index cb9eb8e..5db6fda 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.0.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.0.inc @@ -7,7 +7,7 @@ require gcc-common.inc require gcc-4_6-branch-backports.inc -PR = r3 +PR = r4 DEPENDS =+ mpfr gmp libmpc NATIVEDEPS = mpfr-native gmp-native gettext-native libmpc-native diff --git a/meta/recipes-devtools/gcc/gcc_4.5.1.bb b/meta/recipes-devtools/gcc/gcc_4.5.1.bb index e04f443..2daf7fb 100644 --- a/meta/recipes-devtools/gcc/gcc_4.5.1.bb +++ b/meta/recipes-devtools/gcc/gcc_4.5.1.bb @@ -1,4 +1,4 @@ -PR = r5 +PR = r6 require gcc-${PV}.inc require gcc-configure-target.inc require gcc-package-target.inc @@ -10,3 +10,8 @@ ARCH_FLAGS_FOR_TARGET += -isystem${STAGING_INCDIR} SRC_URI[md5sum] = 48231a8e33ed6e058a341c53b819de1a SRC_URI[sha256sum] = 45fa81face89203ccbf3ec73f7a372769d855f3ba7446f50125b613d9c163e2c + +# We need to correct the owners/groups on some of the files +do_install_append() { + chown -R root:root ${D}${gcclibdir}/${TARGET_SYS}/${BINV} +} diff --git a/meta/recipes-devtools/gcc/gcc_4.6.0.bb b/meta/recipes-devtools/gcc/gcc_4.6.0.bb index bfaec86..e4d6fed 100644 --- a/meta/recipes-devtools/gcc/gcc_4.6.0.bb +++ b/meta/recipes-devtools/gcc/gcc_4.6.0.bb @@ -5,3 +5,8 @@ require gcc-package-target.inc SRC_URI_append = file://fortran-cross-compile-hack.patch ARCH_FLAGS_FOR_TARGET += -isystem${STAGING_INCDIR} + +# We need to correct the owners/groups on some of the files +do_install_append() { + chown -R root:root ${D}${gcclibdir}/${TARGET_SYS}/${BINV} +} diff --git a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb index b6cf268..ea9fd8f 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb @@ -1,6 +1,6 @@ require gcc-${PV}.inc -PR = r0 +PR = r1 INHIBIT_DEFAULT_DEPS = 1 DEPENDS = virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ @@ -28,6 +28,7 @@ do_install () { # Install libgcc from our gcc-cross saved data install -d ${D}${base_libdir} ${D}${libdir} cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D} + chown -R root:root ${D} # Move libgcc_s into /lib mkdir -p ${D}${base_libdir} diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.0.bb b/meta/recipes-devtools/gcc/libgcc_4.6.0.bb index b6cf268..ea9fd8f 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.6.0.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.6.0.bb @@ -1,6 +1,6 @@ require gcc-${PV}.inc -PR = r0 +PR = r1 INHIBIT_DEFAULT_DEPS = 1 DEPENDS = virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ @@ -28,6 +28,7 @@ do_install () { # Install libgcc from our gcc-cross saved data install -d ${D}${base_libdir} ${D}${libdir} cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D} + chown -R root:root ${D} # Move libgcc_s into /lib mkdir -p ${D}${base_libdir} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 05/40] libtirpc: Fix owner/group of /etc/netconfig
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb index 61dab95..9032a4b 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb @@ -7,7 +7,7 @@ BUGTRACKER = http://sourceforge.net/tracker/?group_id=183075atid=903784; LICENSE = BSD LIC_FILES_CHKSUM = file://COPYING;md5=1c32c8e351f97e43e1ad6cf7f62de3bf \ file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24 -PR = r0 +PR = r1 SRC_URI = ${SOURCEFORGE_MIRROR}/libtirpc/libtirpc-${PV}.tar.bz2 @@ -15,3 +15,7 @@ SRC_URI[md5sum] = d77eb15f464bf9d6e66259eaf78b2a4e SRC_URI[sha256sum] = ea77cadd63941fc4edbee7863d2c7094e6a18263d2a2c8922319aee91352ff41 inherit autotools + +do_install_append() { + chown root:root ${D}/etc/netconfig +} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 00/40] Various recipe fixes
While working on the permissions and umask code, I found a number of random issues with various packages in the system. Most of these problems revolve around: * directory and file permissions, and ownership * -dbg package not being produced correctly * stripped binaries * packages that couldn't rebuild due to dependency or other issues Note, this doesn't solve the permissions and ownership issues that will come in a future patch set devoted to umask and fixing up of the permissions. The following changes since commit 17d5422460bf9074223475b15d128171d12b170a: qt4-tools-nativesdk: fix compile failure in src/dbus (2011-06-22 17:41:39 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/recipe-fixup http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/recipe-fixup Mark Hatle (40): resolveconf: Fix file owners base-passwd: Fix owners/groups gcc: Fix owners/groups ghostscript: Fix owner/group of /etc/cups libtirpc: Fix owner/group of /etc/netconfig tzdata: Ensure all files are owned by root:root gnome-doc-utils: Fix the owner/group on select files perf: Fix linux-tools to ensure perf is installed under fakeroot kernel.bbclass: Add support for perf-dbg package sysfsutils: Fall back to default -dbg package classes/package_rpm.bbclass: Enhance diagnostic messages classes/package_rpm.bbclass: Change the way the PV is transformed python: Switch to using the default -dbg package python-pyobject: Remove unnecessary -dbg setting libxml-parser-perl: Fix debug package texinfo: Change to use the standard -dbg file psmisc: Remove custom -dbg packages, use default modutils: Add in missing -dbg package liba52: Remove custom -dbg, fall back to default python-gst: Add missing files to the -dbg package mc: Add missing debug files to -dbg gamin: Add missing debug files to -dbg gthumb: Add missing debug files systemtamp: Add missing debug files trace-cmd: Add missing debug files gstreamer: Add missing debug files. gtk-sato-engine: Add missing debug files libproxy: Add missing debug files wireless-tools: Avoid stripping binaries busybox: Avoid stripping binaries tinylogin: Avoid stripped binaries quote: Avoid stripping binaries sysstat: Avoid stripping binaries db: Avoid stripping binaries db: Fix file ownership unzip: Avoid stripping binaries dropbear: Don't patch in configure nasm: Fix aclocal python: Add python to the dependencies of python modules boost: Move the do_configure_prepend to a seperate task meta/classes/kernel.bbclass|3 +- meta/classes/package_rpm.bbclass | 16 +-- .../resolvconf/resolvconf_1.48.bb |3 +- .../wireless-tools/avoid_strip.patch | 21 + .../wireless-tools/wireless-tools_29.bb|5 +- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 ++-- meta/recipes-core/busybox/busybox_1.18.4.bb|4 +- meta/recipes-core/dropbear/dropbear.inc|4 +- meta/recipes-core/dropbear/dropbear_0.52.bb|2 +- meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |6 +-- .../tinylogin/tinylogin-1.4/avoid_static.patch | 33 + meta/recipes-core/tinylogin/tinylogin_1.4.bb |7 ++- meta/recipes-devtools/gcc/gcc-4.6.0.inc|2 +- meta/recipes-devtools/gcc/gcc_4.5.1.bb |7 +++- meta/recipes-devtools/gcc/gcc_4.6.0.bb |5 ++ meta/recipes-devtools/gcc/libgcc_4.5.1.bb |3 +- meta/recipes-devtools/gcc/libgcc_4.6.0.bb |3 +- meta/recipes-devtools/nasm/nasm_2.07.bb|6 ++- .../perl/libxml-parser-perl_2.40.bb|4 +- .../python/python-2.6-manifest.inc |8 +--- meta/recipes-devtools/python/python-gst_0.10.21.bb |6 +- .../python/python-pygobject_2.27.91.bb |5 +- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 +- meta/recipes-extended/gamin/gamin_0.1.10.bb|7 +-- .../ghostscript/ghostscript_9.02.bb|7 +++- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 ++- meta/recipes-extended/mc/mc_4.7.5.2.bb |4 +- meta/recipes-extended/psmisc/psmisc.inc|8 +--- meta/recipes-extended/psmisc/psmisc_22.13.bb |2 +- meta/recipes-extended/quota/quota_4.00-pre1.bb |4 +- meta/recipes-extended/sysstat/sysstat.inc |5 ++- meta/recipes-extended/sysstat/sysstat_10.0.0.bb|2 +- meta/recipes-extended/texinfo/texinfo_4.13a.bb |7 +-- meta/recipes-extended/tzdata/tzdata_2011g.bb |4 +- .../recipes-extended/unzip/unzip/avoid-strip.patch | 48 meta/recipes-extended/unzip/unzip_6.0.bb |7 ++- meta/recipes-gnome/gnome/gnome-doc-utils.inc |4 ++
[OE-core] [PATCH 01/40] resolveconf: Fix file owners
The file ownership of various configuration files needs to be set to root:root otherwise it inherits the user id of the build. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../resolvconf/resolvconf_1.48.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb index cb8aaaf..507a233 100644 --- a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb +++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb @@ -11,7 +11,7 @@ AUTHOR = Thomas Hood HOMEPAGE = http://packages.debian.org/resolvconf; DEPENDS = bash RDEPENDS_${PN} = bash -PR = r0 +PR = r1 SRC_URI = ${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz @@ -27,6 +27,7 @@ do_install () { install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface install -d ${D}${mandir}/man8 ${D}${docdir}/${P} cp -pPR etc/* ${D}${sysconfdir}/ + chown -R root:root ${D}${sysconfdir}/ install -m 0755 bin/resolvconf ${D}${base_sbindir}/ install -m 0644 README ${D}${docdir}/${P}/ install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 06/40] tzdata: Ensure all files are owned by root:root
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/tzdata/tzdata_2011g.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/tzdata/tzdata_2011g.bb b/meta/recipes-extended/tzdata/tzdata_2011g.bb index ed343c0..49847d3 100644 --- a/meta/recipes-extended/tzdata/tzdata_2011g.bb +++ b/meta/recipes-extended/tzdata/tzdata_2011g.bb @@ -6,7 +6,7 @@ LICENSE = PD LIC_FILES_CHKSUM = file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234 DEPENDS = tzcode-native -PR = r0 +PR = r1 RCONFLICTS= timezones timezone-africa timezone-america timezone-antarctica \ timezone-arctic timezone-asia timezone-atlantic \ @@ -42,7 +42,7 @@ do_install () { # libc is removing zoneinfo files from package cp -pP ${S}/zone.tab ${D}${datadir}/zoneinfo cp -pP ${S}/iso3166.tab ${D}${datadir}/zoneinfo - + chown -R root:root ${D} } # Packages primarily organized by directory with a major city -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 08/40] perf: Fix linux-tools to ensure perf is installed under fakeroot
If perf isn't installed under fakeroot (pseudo) control, all of the files are given the build user's uid/gid. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/linux/linux-tools.inc |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index ef81650..88a1c5b 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc @@ -6,11 +6,11 @@ do_compile_perf_libc-uclibc () { do_install_perf_libc-uclibc () { : } -do_compile_perf() { +fakeroot do_compile_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} NO_NEWT=1 NO_DWARF=1 } -do_install_perf() { +fakeroot do_install_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1 } -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 09/40] kernel.bbclass: Add support for perf-dbg package
The perf component is built with the kernel, so ensure that it gets the debug information associated with it. Also bump the PR in the linux-yocto-* to ensure they get rebuilt. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/kernel.bbclass |3 ++- meta/recipes-kernel/linux/linux-yocto_2.6.34.bb |2 +- meta/recipes-kernel/linux/linux-yocto_2.6.37.bb |2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1bb69f5..aaf341b 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -496,6 +496,7 @@ addtask deploy before do_build after do_install EXPORT_FUNCTIONS do_deploy # perf must be enabled in individual kernel recipes -PACKAGES =+ perf +PACKAGES =+ perf-dbg perf FILES_perf = ${bindir}/* \ ${libexecdir} +FILES_perf-dbg = ${FILES_${PN}-dbg} diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb index 66991ae..4891463 100644 --- a/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb +++ b/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb @@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = 72ca49ab08b8eb475cec82a10049503602325791 SRCREV_machine = 72ca49ab08b8eb475cec82a10049503602325791 SRCREV_meta = ec26387cb168e9e0976999b528b5a9dd62e3157a -PR = r1 +PR = r2 PV = ${LINUX_VERSION}+git${SRCPV} SRCREV_FORMAT = meta_machine diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb index f6abc9e..ba85208 100644 --- a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb +++ b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb @@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = 1950ea205407d8950475a37404173572d55fd27f SRCREV_machine = 697d84759be192403a8a87ab269196c67a0c2c88 SRCREV_meta = 46a1be20b01e50d5d0646e5622e9dd06433238c2 -PR = r18 +PR = r19 PV = ${LINUX_VERSION}+git${SRCPV} SRCREV_FORMAT = meta_machine -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 10/40] sysfsutils: Fall back to default -dbg package
The overriden -dbg package wasn't including all of the associated sources, fall back to the default -dbg package instead. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb index 5343f64..0b3f04a 100644 --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb @@ -8,7 +8,7 @@ LICENSE_libsysfs = LGPLv2.1 LIC_FILES_CHKSUM = file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e -PR = r1 +PR = r2 SRC_URI = ${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ file://sysfsutils-2.0.0-class-dup.patch \ @@ -20,8 +20,6 @@ S = ${WORKDIR}/sysfsutils-${PV} inherit autotools -PACKAGES_prepend = libsysfs libsysfs-dbg libsysfs-dev +PACKAGES_prepend = libsysfs libsysfs-dev FILES_libsysfs = ${libdir}/*.so.* FILES_libsysfs-dev = ${libdir}/* ${includedir} -FILES_libsysfs-dbg = ${libdir}/.debug -FILES_${PN}-dbg = ${bindir}/.debug -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 07/40] gnome-doc-utils: Fix the owner/group on select files
All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid of the build user. Fix this for the target case, avoid it in the native. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-gnome/gnome/gnome-doc-utils.inc |4 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc index b541753..4c13626 100644 --- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc +++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc @@ -6,9 +6,13 @@ inherit gnome gettext EXTRA_OECONF = --disable-scrollkeeper +FIX_OWNERS = chown -R root:root ${D} +FIX_OWNERS_virtclass-native = + do_install_append() { mkdir -p ${D}${datadir}/xml/gnome/xslt/ cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/ + test -n ${FIX_OWNERS} eval ${FIX_OWNERS} || : } FILES_${PN} += ${datadir}/xml* diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb index e7bf6e9..d85697f 100644 --- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb +++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb @@ -1,7 +1,7 @@ require gnome-doc-utils.inc LIC_FILES_CHKSUM = file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \ file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343 -PR = r0 +PR = r1 SRC_URI += file://xsltproc_nonet.patch -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 11/40] classes/package_rpm.bbclass: Enhance diagnostic messages
We clearly state now if we are: * Skipping an empty package * Creating a (full) package * Creating an empty package Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index d8e86c5..9a854f3 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -486,7 +486,10 @@ python write_specfile () { spec_files_top.append('%files') spec_files_top.append('%defattr(-,-,-,-)') if file_list: + bb.note(Creating RPM package for %s % splitname) spec_files_top.extend(file_list) + else: + bb.note(Creating EMPTY RPM Package for %s % splitname) spec_files_top.append('') bb.utils.unlockfile(lf) @@ -569,11 +572,13 @@ python write_specfile () { if not file_list and bb.data.getVar('ALLOW_EMPTY', localdata) != 1: bb.note(Not creating empty RPM package for %s % splitname) else: - bb.note(Creating RPM package for %s % splitname) spec_files_bottom.append('%%files -n %s' % splitname) spec_files_bottom.append('%defattr(-,-,-,-)') if file_list: + bb.note(Creating RPM package for %s % splitname) spec_files_bottom.extend(file_list) + else: + bb.note(Creating EMPTY RPM Package for %s % splitname) spec_files_bottom.append('') del localdata -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 12/40] classes/package_rpm.bbclass: Change the way the PV is transformed
There were some odd instances where the PKGV could not be loaded in the old way. Change to verify that PKGV exists before attempting to retrieve the value from the key. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 9a854f3..b4bd374 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -329,10 +329,11 @@ python write_specfile () { ver = depends_dict[dep] if dep and ver: if '-' in ver: - subd = oe.packagedata.read_subpkgdata_dict(dep, d) - pv = subd['PKGV'] - reppv = pv.replace('-', '+') - ver = ver.replace(pv, reppv) + subd = oe.packagedata.read_subpkgdata(dep, d) + if 'PKGV' in subd: + pv = subd['PKGV'] + reppv = pv.replace('-', '+') + ver = ver.replace(pv, reppv) newdeps_dict[dep] = ver depends = bb.utils.join_deps(newdeps_dict) bb.data.setVar(varname, depends.strip(), d) -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 14/40] python-pyobject: Remove unnecessary -dbg setting
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../python/python-pygobject_2.27.91.bb |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb index d35f672..0160bbd 100644 --- a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb +++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=a916467b91076e631dd8edb7424769c7 DEPENDS = python-pygobject-native-${PV} glib-2.0 DEPENDS_virtclass-native = glib-2.0-native RDEPENDS_virtclass-native = -PR = r0 +PR = r1 MAJ_VER = ${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]} @@ -33,6 +33,5 @@ RDEPENDS_${PN} += python-textutils FILES_${PN} = ${libdir}/python* FILES_${PN}-lib = ${libdir}/lib*.so.* FILES_${PN}-dev += ${bindir} ${datadir} -FILES_${PN}-dbg += ${libdir}/.debug BBCLASSEXTEND = native -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 13/40] python: Switch to using the default -dbg package
Python was missing a lot of debug information. Switch to use the default -dbg package. Also add some additional debug information to the -dbg package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../python/python-2.6-manifest.inc |8 ++-- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc b/meta/recipes-devtools/python/python-2.6-manifest.inc index e4e503c..e3ebe41 100644 --- a/meta/recipes-devtools/python/python-2.6-manifest.inc +++ b/meta/recipes-devtools/python/python-2.6-manifest.inc @@ -5,9 +5,9 @@ -PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-core-dbg ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib +PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib -PACKAGES=${PN}-core-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules +PACKAGES=${PN}-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules DESCRIPTION_${PN}-audio=Python Audio Handling RDEPENDS_${PN}-audio=${PN}-core @@ -37,10 +37,6 @@ DESCRIPTION_${PN}-core=Python Interpreter and core modules (needed!) RDEPENDS_${PN}-core= FILES_${PN}-core=${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.*
[OE-core] [PATCH 17/40] psmisc: Remove custom -dbg packages, use default
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/psmisc/psmisc.inc |8 +--- meta/recipes-extended/psmisc/psmisc_22.13.bb |2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc index 8b391f4..025c223 100644 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ b/meta/recipes-extended/psmisc/psmisc.inc @@ -18,25 +18,19 @@ inherit autotools gettext ALLOW_EMPTY = 1 -PACKAGES = ${PN} \ - fuser-dbg fuser fuser-doc \ - killall-dbg killall killall-doc \ - pstree-dbg pstree pstree-doc +PACKAGES =+ fuser fuser-doc killall killall-doc pstree pstree-doc FILES_${PN} = RDEPENDS_${PN} = fuser killall pstree FILES_fuser = ${bindir}/fuser.${PN} FILES_fuser-doc = ${mandir}/man1/fuser* -FILES_fuser-dbg = ${bindir}/.debug/fuser FILES_killall = ${bindir}/killall.${PN} FILES_killall-doc = ${mandir}/man1/killall* -FILES_killall-dbg = ${bindir}/.debug/killall* FILES_pstree = ${bindir}/pstree FILES_pstree-doc = ${mandir}/man1/pstree* -FILES_pstree-dbg = ${bindir}/.debug/pstree do_install_append() { mv ${D}${bindir}/killall ${D}${bindir}/killall.${PN} diff --git a/meta/recipes-extended/psmisc/psmisc_22.13.bb b/meta/recipes-extended/psmisc/psmisc_22.13.bb index 598c144..757e097 100644 --- a/meta/recipes-extended/psmisc/psmisc_22.13.bb +++ b/meta/recipes-extended/psmisc/psmisc_22.13.bb @@ -1,7 +1,7 @@ require psmisc.inc LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 -PR = r0 +PR = r1 SRC_URI[md5sum] = e2c339e6b65b730042084023784a729e SRC_URI[sha256sum] = 06d25e8ebb4722dbcede98a787c39a9ed341f8e58fde10c0b2d6b35990b35daa -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 16/40] texinfo: Change to use the standard -dbg file
Remove the custom -dbg package and replace it the standard configuration. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/texinfo/texinfo_4.13a.bb |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/recipes-extended/texinfo/texinfo_4.13a.bb b/meta/recipes-extended/texinfo/texinfo_4.13a.bb index ac89b66..0133eab 100644 --- a/meta/recipes-extended/texinfo/texinfo_4.13a.bb +++ b/meta/recipes-extended/texinfo/texinfo_4.13a.bb @@ -7,7 +7,7 @@ SECTION = console/utils PRIORITY = required LICENSE = GPLv3+ LIC_FILES_CHKSUM = file://COPYING;md5=adefda309052235aa5d1e99ce7557010 -PR = r0 +PR = r1 DEPENDS = zlib @@ -41,14 +41,12 @@ do_install_append() { install -p -m644 doc/texinfo.tex doc/txi-??.tex ${D}${datadir}/${tex_texinfo} } -PACKAGES += info info-doc info-dbg +PACKAGES += info info-doc FILES_info = ${bindir}/info ${bindir}/infokey ${bindir}/install-info FILES_info-doc = ${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \ ${mandir}/man1/info.1* ${mandir}/man5/info.5* \ ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1* -FILES_info-dbg = ${bindir}/.debug/info ${bindir}/.debug/install-info \ - ${bindir}/.debug/infokey FILES_${PN} = ${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi FILES_${PN}-doc = ${datadir}/texinfo ${infodir}/texinfo* \ @@ -56,6 +54,5 @@ FILES_${PN}-doc = ${datadir}/texinfo ${infodir}/texinfo* \ ${mandir}/man1/makeinfo.1* ${mandir}/man5/texinfo.5* \ ${mandir}/man1/texindex.1* ${mandir}/man1/texi2dvi.1* \ ${mandir}/man1/texi2pdf.1* ${mandir}/man1/pdftexi2dvi.1* -FILES_${PN}-dbg = ${bindir}/.debug/texindex ${bindir}/.debug/makeinfo BBCLASSEXTEND = native -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 15/40] libxml-parser-perl: Fix debug package
Certain files were being missed in the -dbg package, fix this. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../perl/libxml-parser-perl_2.40.bb|4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb index fac28a8..4eeb554 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb @@ -3,7 +3,7 @@ LICENSE = Artistic LIC_FILES_CHKSUM = file://README;beginline=2;endline=6;md5=c8767d7516229f07b26e42d1cf8b51f1 DEPENDS += expat expat-native -PR = r1 +PR = r2 SRC_URI = http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz; @@ -16,6 +16,8 @@ EXTRA_CPANFLAGS = EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} inherit cpan +FILES_${PN}-dbg += ${libdir}/perl/vendor_perl/*/auto/XML/Parser/Expat/.debug/ + do_compile() { export LIBC=$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so') cpan_do_compile -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 20/40] python-gst: Add missing files to the -dbg package
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/python/python-gst_0.10.21.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python-gst_0.10.21.bb b/meta/recipes-devtools/python/python-gst_0.10.21.bb index dd1ad5f..4358fc9 100644 --- a/meta/recipes-devtools/python/python-gst_0.10.21.bb +++ b/meta/recipes-devtools/python/python-gst_0.10.21.bb @@ -3,7 +3,7 @@ SECTION = devel/python LICENSE = LGPLv2.1 DEPENDS = gstreamer gst-plugins-base python-pygobject RDEPENDS_${PN} += python-pygtk -PR = r0 +PR = r1 SRC_URI = http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ file://python-path.patch @@ -20,4 +20,4 @@ EXTRA_OECONF += --with-python-includes=${STAGING_INCDIR}/../ FILES_${PN} += ${datadir}/gst-python FILES_${PN}-dev += ${datadir}/gst-python/0.10/defs -FILES_${PN}-dbg += ${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ +FILES_${PN}-dbg += ${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 19/40] liba52: Remove custom -dbg, fall back to default
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-multimedia/liba52/liba52_0.7.4.bb |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-multimedia/liba52/liba52_0.7.4.bb b/meta/recipes-multimedia/liba52/liba52_0.7.4.bb index 239c30a..47a9409 100644 --- a/meta/recipes-multimedia/liba52/liba52_0.7.4.bb +++ b/meta/recipes-multimedia/liba52/liba52_0.7.4.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ file://include/a52.h;beginline=1;endline=12;md5=81152ceb3562bf20a60d1b6018175dd1 SECTION = libs PRIORITY = optional -PR = r2 +PR = r3 inherit autotools @@ -18,11 +18,9 @@ S = ${WORKDIR}/a52dec-${PV} EXTRA_OECONF = --enable-shared -PACKAGES =+ a52dec a52dec-dbg a52dec-doc +PACKAGES =+ a52dec a52dec-doc FILES_${PN} = ${libdir}/liba52.so.0 ${libdir}/liba52.so.0.0.0 FILES_${PN}-dev = ${includedir}/a52dec/*.h ${libdir}/liba52.so ${libdir}/liba52.la ${libdir}/liba52.a -FILES_${PN}-dbg = ${libdir}/.debug/* FILES_a52dec = ${bindir}/* -FILES_a52dec-dbg = ${bindir}/.debug/* FILES_a52dec-doc = ${mandir}/man1/* -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 18/40] modutils: Add in missing -dbg package
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/modutils/modutils_2.4.27.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/modutils/modutils_2.4.27.bb b/meta/recipes-kernel/modutils/modutils_2.4.27.bb index 1ebc90c..9f2add3 100644 --- a/meta/recipes-kernel/modutils/modutils_2.4.27.bb +++ b/meta/recipes-kernel/modutils/modutils_2.4.27.bb @@ -5,7 +5,7 @@ manageable for all users, administrators and distribution maintainers. LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b DEPENDS = bison-native -PR = r9 +PR = r10 SRC_URI = ${KERNELORG_MIRROR}/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \ file://lex.l.diff;patch=1 \ @@ -86,7 +86,7 @@ pkg_prerm_modutils-modinfo() { update-alternatives --remove modinfo /sbin/modinfo.24 } -PACKAGES = modutils-depmod modutils-modinfo modutils-doc modutils +PACKAGES = ${PN}-dbg modutils-depmod modutils-modinfo modutils-doc modutils FILES_modutils-depmod = sbin/depmod.24 FILES_modutils-modinfo = sbin/modinfo.24 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 22/40] gamin: Add missing debug files to -dbg
Add the missing files to the base -dbg package, remove the libPN-dbg as it is non-standard. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/gamin/gamin_0.1.10.bb |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/gamin/gamin_0.1.10.bb b/meta/recipes-extended/gamin/gamin_0.1.10.bb index b6394d2..b0531ad 100644 --- a/meta/recipes-extended/gamin/gamin_0.1.10.bb +++ b/meta/recipes-extended/gamin/gamin_0.1.10.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=412a9be54757a155d0b997b52b519f62 DEPENDS = glib-2.0 PROVIDES = fam -PR = r2 +PR = r3 SRC_URI = http://www.gnome.org/~veillard/gamin/sources/gamin-${PV}.tar.gz \ file://no-abstract-sockets.patch @@ -20,13 +20,12 @@ inherit autotools pkgconfig EXTRA_OECONF = --without-python -PACKAGES += lib${PN} lib${PN}-dev lib${PN}-dbg +PACKAGES += lib${PN} lib${PN}-dev FILES_${PN} = ${libexecdir} -FILES_${PN}-dbg = ${libexecdir}/.debug +FILES_${PN}-dbg += ${libexecdir}/.debug FILES_lib${PN} = ${libdir}/lib*.so.* FILES_lib${PN}-dev = ${includedir} ${libdir}/pkgconfig ${libdir}/lib*.la \ ${libdir}/lib*.a ${libdir}/lib*.so -FILES_lib${PN}-dbg = ${libdir}/.debug/ RDEPENDS_lib${PN} = ${PN} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 21/40] mc: Add missing debug files to -dbg
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/mc/mc_4.7.5.2.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/mc/mc_4.7.5.2.bb b/meta/recipes-extended/mc/mc_4.7.5.2.bb index c407b0b..8a3f145 100644 --- a/meta/recipes-extended/mc/mc_4.7.5.2.bb +++ b/meta/recipes-extended/mc/mc_4.7.5.2.bb @@ -6,7 +6,7 @@ SECTION = console/utils DEPENDS = ncurses glib-2.0 RDEPENDS_${PN} = ncurses-terminfo -PR = r0 +PR = r1 SRC_URI = http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2; @@ -16,3 +16,5 @@ SRC_URI[sha256sum] = a68338862bb30017eb65ed569a58e80ab66ae8cef11c886440c9e9f4d1 inherit autotools gettext EXTRA_OECONF = --with-screen=ncurses --without-gpm-mouse --without-x --without-samba + +FILES_${PN}-dbg += ${libexecdir}/mc/.debug/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 23/40] gthumb: Add missing debug files
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-gnome/gthumb/gthumb_2.12.3.bb |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb b/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb index 115a805..720cd67 100644 --- a/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb +++ b/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb @@ -3,14 +3,14 @@ SECTION = x11/gnome LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 DEPENDS = glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base -PR = r0 +PR = r1 EXTRA_OECONF = --disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter inherit gnome pkgconfig -FILES_${PN} += ${datadir}/icons -FILES_${PN}-dbg += ${libdir}/gthumb/modules/.debug +FILES_${PN} += ${datadir}/icons +FILES_${PN}-dbg += ${libdir}/gthumb/modules/.debug/ ${libdir}/gthumb/extensions/.debug/ SRC_URI[archive.md5sum] = bfa0957a1bafc5d049292cd5fad372ce SRC_URI[archive.sha256sum] = 0060c05fd372c2af2048d294ab3f75c8fb02c576d3e2004e08b7d34f49da1e66 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 25/40] trace-cmd: Add missing debug files
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/trace-cmd/trace-cmd_git.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb index ba7413d..5cf433a 100644 --- a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://trace-cmd.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e SRCREV = 6c696cec3f264a9399241b6e648f58bc97117d49 -PR = r0 +PR = r1 PV = 1.0.5+git${SRCPV} inherit pkgconfig @@ -14,6 +14,8 @@ S = ${WORKDIR}/git EXTRA_OEMAKE = 'prefix=${prefix}' +FILES_${PN}-dbg += ${datadir}/trace-cmd/plugins/.debug/ + do_install() { oe_runmake prefix=${prefix} DESTDIR=${D} install } -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 26/40] gstreamer: Add missing debug files.
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../gstreamer/gstreamer_0.10.32.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.32.bb b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.32.bb index 901ade5..0957670 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.32.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.32.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \ file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4 DEPENDS = glib-2.0 libxml2 bison-native flex-native -PR = r0 +PR = r1 SRC_URI = http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \ file://check_fix.patch \ @@ -32,4 +32,4 @@ RRECOMMENDS_${PN}_qemux86-64 += kernel-module-snd-ens1370 kernel-module-snd-raw FILES_${PN} += ${libdir}/gstreamer-0.10/*.so FILES_${PN}-dev += ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a -FILES_${PN}-dbg += ${libdir}/gstreamer-0.10/.debug/ +FILES_${PN}-dbg += ${libdir}/gstreamer-0.10/.debug/ ${libexecdir}/gstreamer-0.10/.debug/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 27/40] gtk-sato-engine: Add missing debug files
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-sato/gtk-engines/gtk-sato-engine.inc |2 +- .../gtk-engines/gtk-sato-engine_svn.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc index a7ebddf..8472ecb 100644 --- a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc +++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc @@ -11,7 +11,7 @@ RDEPENDS_gtk-theme-sato = gtk-sato-engine PACKAGES += gtk-theme-sato FILES_${PN} = ${libdir}/gtk-2.0/*/engines/*.so FILES_${PN}-dev = ${libdir}/gtk-2.0/*/engines/* -FILES_${PN}-dbg = ${libdir}/gtk-2.0/*/engines/.debug +FILES_${PN}-dbg += ${libdir}/gtk-2.0/*/engines/.debug FILES_gtk-theme-sato = ${datadir}/icons ${datadir}/themes inherit autotools pkgconfig diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb index 230ccbc..6099ae4 100644 --- a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb +++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ SRCREV = 163 PV = 0.3.2+svnr${SRCPV} -PR = r0 +PR = r1 SRC_URI = svn://svn.o-hand.com/repos/sato/trunk;module=gtk-engine;proto=http -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 30/40] busybox: Avoid stripping binaries
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/busybox/busybox_1.18.4.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/busybox/busybox_1.18.4.bb b/meta/recipes-core/busybox/busybox_1.18.4.bb index a999490..cb41ac6 100644 --- a/meta/recipes-core/busybox/busybox_1.18.4.bb +++ b/meta/recipes-core/busybox/busybox_1.18.4.bb @@ -1,5 +1,5 @@ require busybox.inc -PR = r3 +PR = r4 SRC_URI = http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://udhcpscript.patch \ @@ -28,4 +28,4 @@ SRC_URI = http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ SRC_URI[tarball.md5sum] = b03c5b46ced732679e525a920a1a62f5 SRC_URI[tarball.sha256sum] = 4d24d37bd6f1bd153e8cf9a984ec2f32f18464f73ca535e2cc2e8be9694097fa -EXTRA_OEMAKE += V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} +EXTRA_OEMAKE += V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 31/40] tinylogin: Avoid stripped binaries
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../tinylogin/tinylogin-1.4/avoid_static.patch | 33 meta/recipes-core/tinylogin/tinylogin_1.4.bb |7 ++-- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch diff --git a/meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch b/meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch new file mode 100644 index 000..8a06af0 --- /dev/null +++ b/meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch @@ -0,0 +1,33 @@ +tinylogin: Do not link statically when building debug + +For some reason if DODEBUG was enabled (to prevent stripping) the binary was +also statically linked. This patch prevents that behavior. + +Upstream-Status: Inappropriate [no upstream] + +Signed-off-by: Mark Hatle mark.ha...@windriver.com + +diff -ur tinylogin-1.4.orig/Makefile tinylogin-1.4/Makefile +--- tinylogin-1.4.orig/Makefile2011-06-18 11:00:23.073927349 -0500 tinylogin-1.4/Makefile 2011-06-18 11:03:26.394849372 -0500 +@@ -123,20 +123,6 @@ + LDFLAGS += -s -Wl,-warn-common + STRIP= $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG) + endif +-ifeq ($(strip $(DODEBUG)),true) +-LDFLAGS += --static +-# +-#use '-ffunction-sections -fdata-sections' and '--gc-sections' (if they +-# work) to try and strip out any unused junk. Doesn't do much for me, +-# but you may want to give it a shot... +-# +-#ifeq ($(shell $(CC) -ffunction-sections -fdata-sections -S \ +-# -o /dev/null -xc /dev/null 2/dev/null $(LD) \ +-# --gc-sections -v /dev/null echo 1),1) +-# CFLAGS += -ffunction-sections -fdata-sections +-# LDFLAGS += --gc-sections +-#endif +-endif + ifeq ($(strip $(DOSTATIC)),true) + LDFLAGS += --static + # diff --git a/meta/recipes-core/tinylogin/tinylogin_1.4.bb b/meta/recipes-core/tinylogin/tinylogin_1.4.bb index 0b51b25..b620d45 100644 --- a/meta/recipes-core/tinylogin/tinylogin_1.4.bb +++ b/meta/recipes-core/tinylogin/tinylogin_1.4.bb @@ -7,7 +7,7 @@ and groups on an embedded system. HOMEPAGE = http://tinylogin.busybox.net/; LICENSE = GPLv2 LIC_FILES_CHKSUM=file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269 -PR = r6 +PR = r7 SRC_URI = http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \ file://cvs-20040608.patch;patch=1;pnum=1 \ @@ -15,7 +15,8 @@ SRC_URI = http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \ file://adduser-empty_pwd.patch;patch=1 \ file://remove-index.patch;patch=1 \ file://use_O2_option.patch \ - file://passwd_rotate_check.patch + file://passwd_rotate_check.patch \ + file://avoid_static.patch SRC_URI[md5sum] = 44da0ff2b727455669890b24305e351d SRC_URI[sha256sum] = 5e542e4b7825305a3678bf73136c392feb0d44b8bbf926e8eda5453eea7ddd6b @@ -23,7 +24,7 @@ SRC_URI[sha256sum] = 5e542e4b7825305a3678bf73136c392feb0d44b8bbf926e8eda5453eea EXTRA_OEMAKE = do_compile () { - oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}' + oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}' 'DODEBUG=true' } do_install () { -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 28/40] libproxy: Add missing debug files
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-support/libproxy/libproxy_0.4.6.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/libproxy/libproxy_0.4.6.bb b/meta/recipes-support/libproxy/libproxy_0.4.6.bb index 2e18065..e6ef8ff 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.6.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.6.bb @@ -14,14 +14,14 @@ SRC_URI = http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz; SRC_URI[md5sum] = 199c6b120baf1f7258a55f38d5ec74f5 SRC_URI[sha256sum] = 9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30 -PR = r0 +PR = r1 inherit cmake pkgconfig EXTRA_OECMAKE = -DWITH_WEBKIT=no -DWITH_GNOME=yes -DWITH_KDE4=no \ -DWITH_PYTHON=no -DWITH_PERL=no -DWITH_MOZJS=no -DWITH_NM=no -FILES_${PN}-dbg += ${libdir}/libproxy/${PV}/plugins/ +FILES_${PN}-dbg += ${libdir}/libproxy/${PV}/plugins/.debug/ ${libdir}/libproxy/${PV}/modules/.debug/ do_configure_prepend() { export HOST_SYS=${HOST_SYS} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 32/40] quote: Avoid stripping binaries
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/quota/quota_4.00-pre1.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/quota/quota_4.00-pre1.bb b/meta/recipes-extended/quota/quota_4.00-pre1.bb index 849315e..a5d2f5d 100644 --- a/meta/recipes-extended/quota/quota_4.00-pre1.bb +++ b/meta/recipes-extended/quota/quota_4.00-pre1.bb @@ -6,7 +6,7 @@ LICENSE = BSD GPLv2+ LGPLv2.1+ LIC_FILES_CHKSUM = file://quota.c;beginline=1;endline=33;md5=331c7d77744bfe0ad24027f0651028ec \ file://rquota_server.c;beginline=1;endline=20;md5=d509328bb71c3438b9c737774b4132a2 \ file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb -PR = r0 +PR = r1 SRC_URI = ${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz @@ -17,6 +17,8 @@ S = ${WORKDIR}/quota-tools inherit autotools +EXTRA_OEMAKE += ' STRIP=' + do_install() { oe_runmake prefix=${D}${prefix} install } -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 33/40] sysstat: Avoid stripping binaries
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/sysstat/sysstat.inc |5 - meta/recipes-extended/sysstat/sysstat_10.0.0.bb |2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 4756016..ed124ba 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc @@ -9,6 +9,8 @@ SRC_URI = http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \ inherit autotools gettext +EXTRA_OEMAKE += ' LFLAGS=' + do_install() { autotools_do_install @@ -24,7 +26,8 @@ pkg_postinst_${PN} () { } -FILES_${PN} += ${libdir}/sa +FILES_${PN} += ${libdir}/sa +FILES_${PN}-dbg += ${libdir}/sa/.debug/ TARGET_CC_ARCH += ${LDFLAGS} LDFLAGS_append_libc-uclibc = -lintl diff --git a/meta/recipes-extended/sysstat/sysstat_10.0.0.bb b/meta/recipes-extended/sysstat/sysstat_10.0.0.bb index fd003d9..2faac32 100644 --- a/meta/recipes-extended/sysstat/sysstat_10.0.0.bb +++ b/meta/recipes-extended/sysstat/sysstat_10.0.0.bb @@ -2,7 +2,7 @@ require sysstat.inc LIC_FILES_CHKSUM = file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b -PR = r1 +PR = r2 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 36/40] unzip: Avoid stripping binaries
Not only do we have to override things on the make line, but we need to hack on configure as well to avoid certain behavior. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../recipes-extended/unzip/unzip/avoid-strip.patch | 48 meta/recipes-extended/unzip/unzip_6.0.bb |7 ++- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/unzip/unzip/avoid-strip.patch diff --git a/meta/recipes-extended/unzip/unzip/avoid-strip.patch b/meta/recipes-extended/unzip/unzip/avoid-strip.patch new file mode 100644 index 000..0ef6363 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/avoid-strip.patch @@ -0,0 +1,48 @@ +unix/Makefile: remove hard coded strip commands + +Remove the hard coded strip commands, both LF2 (used in linking) and +STRIP used alone. + +Signed-off-by: Mark Hatle mark.ha...@windriver.com + +diff -ur unzip60.orig/unix/configure unzip60/unix/configure +--- unzip60.orig/unix/configure2009-04-16 14:25:12.0 -0500 unzip60/unix/configure 2011-06-21 11:23:36.822849960 -0500 +@@ -17,7 +17,7 @@ + IZ_BZIP2=${3} + CFLAGS=${CFLAGS} -I. -DUNIX + LFLAGS1= +-LFLAGS2=-s ++LFLAGS2= + LN=ln -s + + CFLAGS_OPT='' +diff -ur unzip60.orig/unix/Makefile unzip60/unix/Makefile +--- unzip60.orig/unix/Makefile 2009-01-18 16:41:18.0 -0600 unzip60/unix/Makefile 2011-06-21 11:12:22.93388 -0500 +@@ -52,7 +52,7 @@ + CF = $(CFLAGS) $(CF_NOOPT) + LFLAGS1 = + LF = -o unzip$E $(LFLAGS1) +-LF2 = -s ++LF2 = + + # UnZipSFX flags + SL = -o unzipsfx$E $(LFLAGS1) +@@ -70,7 +70,7 @@ + CHMOD = chmod + BINPERMS = 755 + MANPERMS = 644 +-STRIP = strip ++STRIP = + E = + O = .o + M = unix +@@ -776,7 +776,6 @@ + # + gcc: unix_make + $(MAKE) unzips CC=gcc LD=gcc CFLAGS=-O3 LF2= +- $(STRIP) $(UNZIPS) + + # Heurikon HK68 (68010), UniPlus+ System V 5.0, Green Hills C-68000 + hk68: unix_make diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index ccdd372..6fcebc2 100644 --- a/meta/recipes-extended/unzip/unzip_6.0.bb +++ b/meta/recipes-extended/unzip/unzip_6.0.bb @@ -4,14 +4,17 @@ SECTION = console/utils LICENSE = Info-ZIP LIC_FILES_CHKSUM = file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29 PE = 1 -PR = r0 +PR = r1 -SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz; +SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ + file://avoid-strip.patch SRC_URI[md5sum] = 62b490407489521db863b523a7f86375 SRC_URI[sha256sum] = 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 S = ${WORKDIR}/unzip60 +EXTRA_OEMAKE += STRIP=true LF2='' + export LD = ${CC} LD_virtclass-native = ${CC} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 38/40] nasm: Fix aclocal
The mv of aclocal.m4 can only occur once, or it will fail. On a re-run of configure this will fail. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/nasm/nasm_2.07.bb |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/nasm/nasm_2.07.bb b/meta/recipes-devtools/nasm/nasm_2.07.bb index 69e3b7b..9b75496 100644 --- a/meta/recipes-devtools/nasm/nasm_2.07.bb +++ b/meta/recipes-devtools/nasm/nasm_2.07.bb @@ -4,7 +4,7 @@ LICENSE = BSD-2-Clause LIC_FILES_CHKSUM = file://LICENSE;md5=d89d124974e487e5d64da6f1cd8acfbb COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' -PR = r0 +PR = r1 SRC_URI = ${SOURCEFORGE_MIRROR}/nasm/nasm-${PV}.tar.bz2 @@ -13,10 +13,12 @@ SRC_URI[sha256sum] = ac70ee451c73d742c9ff830502e5f8b1f648b2abffa8fd00944243283b inherit autotools -do_configure_prepend () { +do_patch_fixaclocal () { mv aclocal.m4 acinclude.m4 } +addtask do_patch_fixaclocal after do_patch before do_configure + do_install() { install -d ${D}${bindir} install -d ${D}${mandir}/man1 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 37/40] dropbear: Don't patch in configure
We need to avoid applying a patch in configure, because a rebuild could trigger this, without triggering do_patch. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/dropbear/dropbear.inc |4 +++- meta/recipes-core/dropbear/dropbear_0.52.bb |2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index e9290ff..c9c41d2 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc @@ -32,13 +32,15 @@ EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS=${SBINCOMMANDS} ${BINCOMMANDS}' DISTRO_TYPE = ${@base_contains(IMAGE_FEATURES, debug-tweaks, debug, ,d)} -do_configure_prepend() { +do_debug_patch() { if [ ${DISTRO_TYPE} = debug ]; then bbnote WARNING: applying allow-nopw.patch which allows password-less logins! patch -p1 ${WORKDIR}/allow-nopw.patch fi } +addtask do_debug_patch after do_patch before do_configure + do_install() { install -d ${D}${sysconfdir} \ ${D}${sysconfdir}/init.d \ diff --git a/meta/recipes-core/dropbear/dropbear_0.52.bb b/meta/recipes-core/dropbear/dropbear_0.52.bb index 912054c..78d6cf1 100644 --- a/meta/recipes-core/dropbear/dropbear_0.52.bb +++ b/meta/recipes-core/dropbear/dropbear_0.52.bb @@ -3,4 +3,4 @@ require dropbear.inc SRC_URI[md5sum] = 1c69ec674481d7745452f68f2ea5597e SRC_URI[sha256sum] = e3a2ca49ed85ce562240c0ac06e2f72826d7e52a83e80d91c067c8b97bf5c108 -PR = r1 +PR = r2 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 39/40] python: Add python to the dependencies of python modules
If python failed to build for some reason, python-gst and python-pygobject may still try to build, add python as a dependency to avoid this. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/python/python-gst_0.10.21.bb |4 ++-- .../python/python-pygobject_2.27.91.bb |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/python/python-gst_0.10.21.bb b/meta/recipes-devtools/python/python-gst_0.10.21.bb index 4358fc9..7de6b74 100644 --- a/meta/recipes-devtools/python/python-gst_0.10.21.bb +++ b/meta/recipes-devtools/python/python-gst_0.10.21.bb @@ -1,9 +1,9 @@ DESCRIPTION = Python Gstreamer bindings SECTION = devel/python LICENSE = LGPLv2.1 -DEPENDS = gstreamer gst-plugins-base python-pygobject +DEPENDS = gstreamer gst-plugins-base python-pygobject python RDEPENDS_${PN} += python-pygtk -PR = r1 +PR = r2 SRC_URI = http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ file://python-path.patch diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb index 0160bbd..9ff2fe7 100644 --- a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb +++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb @@ -2,10 +2,10 @@ DESCRIPTION = Python GObject bindings SECTION = devel/python LICENSE = LGPLv2.1 LIC_FILES_CHKSUM = file://COPYING;md5=a916467b91076e631dd8edb7424769c7 -DEPENDS = python-pygobject-native-${PV} glib-2.0 +DEPENDS = python python-pygobject-native-${PV} glib-2.0 DEPENDS_virtclass-native = glib-2.0-native RDEPENDS_virtclass-native = -PR = r1 +PR = r2 MAJ_VER = ${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 34/40] db: Avoid stripping binaries
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-support/db/db_5.1.19.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-support/db/db_5.1.19.bb b/meta/recipes-support/db/db_5.1.19.bb index 98b23b1..fc87c31 100644 --- a/meta/recipes-support/db/db_5.1.19.bb +++ b/meta/recipes-support/db/db_5.1.19.bb @@ -14,7 +14,7 @@ HOMEPAGE = http://www.oracle.com/technology/products/berkeley-db/db/index.html; LICENSE = Sleepycat VIRTUAL_NAME ?= virtual/db CONFLICTS = db3 -PR = r2 +PR = r3 SRC_URI = http://download.oracle.com/berkeley-db/db-${PV}.tar.gz; SRC_URI += file://arm-thumb-mutex_db5.patch;patchdir=.. @@ -76,6 +76,7 @@ EXTRA_OECONF += ${MUTEX} # configure. CONFIG_SITE = do_configure() { + export STRIP=true oe_runconf } -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 24/40] systemtamp: Add missing debug files
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/systemtap/systemtap_git.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index e3e9264..8907985 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f DEPENDS = elfutils SRCREV = 4ab3a1863bf4f472acae7a809bf2b38d91658aa8 -PR = r2 +PR = r3 PV = 1.4+git${SRCPV} SRC_URI = git://sources.redhat.com/git/systemtap.git;protocol=git \ @@ -29,3 +29,5 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux' S = ${WORKDIR}/git inherit autotools + +FILES_${PN}-dbg += ${libexecdir}/systemtap/.debug -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 13/40] python: Switch to using the default -dbg package
Op 22 jun 2011, om 19:36 heeft Mark Hatle het volgende geschreven: Python was missing a lot of debug information. Switch to use the default -dbg package. Also add some additional debug information to the -dbg package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../python/python-2.6-manifest.inc |8 ++-- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc b/meta/recipes-devtools/python/python-2.6-manifest.inc index e4e503c..e3ebe41 100644 --- a/meta/recipes-devtools/python/python-2.6-manifest.inc +++ b/meta/recipes-devtools/python/python-2.6-manifest.inc @@ -5,9 +5,9 @@ The top of this file says: # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 18/40] modutils: Add in missing -dbg package
On 6/22/11 12:37 PM, Koen Kooi wrote: Op 22 jun 2011, om 19:36 heeft Mark Hatle het volgende geschreven: Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/modutils/modutils_2.4.27.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/modutils/modutils_2.4.27.bb b/meta/recipes-kernel/modutils/modutils_2.4.27.bb index 1ebc90c..9f2add3 100644 --- a/meta/recipes-kernel/modutils/modutils_2.4.27.bb +++ b/meta/recipes-kernel/modutils/modutils_2.4.27.bb @@ -5,7 +5,7 @@ manageable for all users, administrators and distribution maintainers. LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b DEPENDS = bison-native -PR = r9 +PR = r10 SRC_URI = ${KERNELORG_MIRROR}/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \ file://lex.l.diff;patch=1 \ @@ -86,7 +86,7 @@ pkg_prerm_modutils-modinfo() { update-alternatives --remove modinfo /sbin/modinfo.24 } -PACKAGES = modutils-depmod modutils-modinfo modutils-doc modutils +PACKAGES = ${PN}-dbg modutils-depmod modutils-modinfo modutils-doc modutils PACKAGES =+ modutils-depmod modutils-modinfo would be nice more more futureproof I'm happy to make that change if requested -- but I did it with this way to minimize change. (also for some reason, I think that there was recently a pull request to remove modutils anyway.. so it might not be needed.) --Mark ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 13/40] python: Switch to using the default -dbg package
Working on fixing this. Until I do, skip this commit in any pull. Thanks! --Mark On 6/22/11 12:38 PM, Koen Kooi wrote: Op 22 jun 2011, om 19:36 heeft Mark Hatle het volgende geschreven: Python was missing a lot of debug information. Switch to use the default -dbg package. Also add some additional debug information to the -dbg package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../python/python-2.6-manifest.inc |8 ++-- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc b/meta/recipes-devtools/python/python-2.6-manifest.inc index e4e503c..e3ebe41 100644 --- a/meta/recipes-devtools/python/python-2.6-manifest.inc +++ b/meta/recipes-devtools/python/python-2.6-manifest.inc @@ -5,9 +5,9 @@ The top of this file says: # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 00/40] Various Recipe Fixes (v2)
V2 only includes a change to patch 13, to resolve the issues mentioned by Koen. --- original comments below --- While working on the permissions and umask code, I found a number of random issues with various packages in the system. Most of these problems revolve around: * directory and file permissions, and ownership * -dbg package not being produced correctly * stripped binaries * packages that couldn't rebuild due to dependency or other issues Note, this doesn't solve the permissions and ownership issues that will come in a future patch set devoted to umask and fixing up of the permissions. The following changes since commit 17d5422460bf9074223475b15d128171d12b170a: qt4-tools-nativesdk: fix compile failure in src/dbus (2011-06-22 17:41:39 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/recipe-fixup http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/recipe-fixup Mark Hatle (40): resolveconf: Fix file owners base-passwd: Fix owners/groups gcc: Fix owners/groups ghostscript: Fix owner/group of /etc/cups libtirpc: Fix owner/group of /etc/netconfig tzdata: Ensure all files are owned by root:root gnome-doc-utils: Fix the owner/group on select files perf: Fix linux-tools to ensure perf is installed under fakeroot kernel.bbclass: Add support for perf-dbg package sysfsutils: Fall back to default -dbg package classes/package_rpm.bbclass: Enhance diagnostic messages classes/package_rpm.bbclass: Change the way the PV is transformed python: Switch to using the default -dbg package python-pyobject: Remove unnecessary -dbg setting libxml-parser-perl: Fix debug package texinfo: Change to use the standard -dbg file psmisc: Remove custom -dbg packages, use default modutils: Add in missing -dbg package liba52: Remove custom -dbg, fall back to default python-gst: Add missing files to the -dbg package mc: Add missing debug files to -dbg gamin: Add missing debug files to -dbg gthumb: Add missing debug files systemtamp: Add missing debug files trace-cmd: Add missing debug files gstreamer: Add missing debug files. gtk-sato-engine: Add missing debug files libproxy: Add missing debug files wireless-tools: Avoid stripping binaries busybox: Avoid stripping binaries tinylogin: Avoid stripped binaries quote: Avoid stripping binaries sysstat: Avoid stripping binaries db: Avoid stripping binaries db: Fix file ownership unzip: Avoid stripping binaries dropbear: Don't patch in configure nasm: Fix aclocal python: Add python to the dependencies of python modules boost: Move the do_configure_prepend to a seperate task meta/classes/kernel.bbclass|3 +- meta/classes/package_rpm.bbclass | 16 +-- .../resolvconf/resolvconf_1.48.bb |3 +- .../wireless-tools/avoid_strip.patch | 21 + .../wireless-tools/wireless-tools_29.bb|5 +- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 ++-- meta/recipes-core/busybox/busybox_1.18.4.bb|4 +- meta/recipes-core/dropbear/dropbear.inc|4 +- meta/recipes-core/dropbear/dropbear_0.52.bb|2 +- meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |6 +-- .../tinylogin/tinylogin-1.4/avoid_static.patch | 33 + meta/recipes-core/tinylogin/tinylogin_1.4.bb |7 ++- meta/recipes-devtools/gcc/gcc-4.6.0.inc|2 +- meta/recipes-devtools/gcc/gcc_4.5.1.bb |7 +++- meta/recipes-devtools/gcc/gcc_4.6.0.bb |5 ++ meta/recipes-devtools/gcc/libgcc_4.5.1.bb |3 +- meta/recipes-devtools/gcc/libgcc_4.6.0.bb |3 +- meta/recipes-devtools/nasm/nasm_2.07.bb|6 ++- .../perl/libxml-parser-perl_2.40.bb|4 +- .../python/python-2.6-manifest.inc |8 +--- meta/recipes-devtools/python/python-gst_0.10.21.bb |6 +- .../python/python-pygobject_2.27.91.bb |5 +- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 +- meta/recipes-extended/gamin/gamin_0.1.10.bb|7 +-- .../ghostscript/ghostscript_9.02.bb|7 +++- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 ++- meta/recipes-extended/mc/mc_4.7.5.2.bb |4 +- meta/recipes-extended/psmisc/psmisc.inc|8 +--- meta/recipes-extended/psmisc/psmisc_22.13.bb |2 +- meta/recipes-extended/quota/quota_4.00-pre1.bb |4 +- meta/recipes-extended/sysstat/sysstat.inc |5 ++- meta/recipes-extended/sysstat/sysstat_10.0.0.bb|2 +- meta/recipes-extended/texinfo/texinfo_4.13a.bb |7 +-- meta/recipes-extended/tzdata/tzdata_2011g.bb |4 +- .../recipes-extended/unzip/unzip/avoid-strip.patch | 48
[OE-core] [PATCH 13/40] python: Switch to using the default -dbg package (v2)
Python was missing a lot of debug information. Switch to use the default -dbg package. Also add some additional debug information to the -dbg package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../python/python-2.6-manifest.inc |8 ++-- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 ++-- scripts/contrib/python/generate-manifest-2.6.py| 16 +--- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc b/meta/recipes-devtools/python/python-2.6-manifest.inc index e4e503c..e3ebe41 100644 --- a/meta/recipes-devtools/python/python-2.6-manifest.inc +++ b/meta/recipes-devtools/python/python-2.6-manifest.inc @@ -5,9 +5,9 @@ -PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-core-dbg ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib +PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib -PACKAGES=${PN}-core-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules +PACKAGES=${PN}-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules DESCRIPTION_${PN}-audio=Python Audio Handling RDEPENDS_${PN}-audio=${PN}-core @@ -37,10 +37,6 @@ DESCRIPTION_${PN}-core=Python Interpreter and core modules (needed!) RDEPENDS_${PN}-core= FILES_${PN}-core=${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.*
Re: [OE-core] [PATCH] kernel.bbclass: restore kernel-abiversion file
On 06/22/2011 08:41 AM, Koen Kooi wrote: This fixes external module recipes that need $KERNEL_VERSION. It got removed by commit a9d41062e24a6b99661b3a5256f369b557433607 Author: Darren Hart dvh...@linux.intel.com Date: Tue Mar 8 17:09:10 2011 -0800 kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules seemingly as an oversight. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/classes/kernel.bbclass |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1bb69f5..8f9f108 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -123,6 +123,12 @@ kernel_do_install() { install -d $kerneldir # + # Store the kernel version in sysroots for module-base.bbclass + # + + echo ${KERNEL_VERSION} $kerneldir/kernel-abiversion From everything I can see this is an openembedded construct - which external modules need this? An example recipe I can review? I'd like to understand this better as I don't like the idea of depending on an arbitrary file that isn't part of the kernel build system to build modules. It seems to me that these modules should be able to DEPEND on something provided by the kernel recipes, rather than checking the contents of a file stuck in the build tree. -- Darren + + # # Copy the entire source tree. In case an external build directory is # used, copy the build directory over first, then copy over the source # dir. This ensures the original Makefiles are used and not the -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] kernel.bbclass: restore kernel-abiversion file
Op 22 jun 2011, om 20:13 heeft Darren Hart het volgende geschreven: On 06/22/2011 08:41 AM, Koen Kooi wrote: This fixes external module recipes that need $KERNEL_VERSION. It got removed by commit a9d41062e24a6b99661b3a5256f369b557433607 Author: Darren Hart dvh...@linux.intel.com Date: Tue Mar 8 17:09:10 2011 -0800 kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules seemingly as an oversight. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/classes/kernel.bbclass |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1bb69f5..8f9f108 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -123,6 +123,12 @@ kernel_do_install() { install -d $kerneldir # +# Store the kernel version in sysroots for module-base.bbclass +# + +echo ${KERNEL_VERSION} $kerneldir/kernel-abiversion From everything I can see this is an openembedded construct - which external modules need this? An example recipe I can review? I'd like to understand this better as I don't like the idea of depending on an arbitrary file that isn't part of the kernel build system to build modules. It seems to me that these modules should be able to DEPEND on something provided by the kernel recipes, rather than checking the contents of a file stuck in the build tree. It's used in the stock module.bbclass thru module-base.bbclass: https://github.com/openembedded/oe-core/blob/master/meta/classes/module-base.bbclass An example of a recipe that's using it: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb For various reasons the makefile can't be trusted or patched, so we can't use KBuild to get the version for us. regards, Koen ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade
Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount. Is anyone else seeing this behavior? --Mark On 6/22/11 10:57 AM, Richard Purdie wrote: On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote: This patchset upgrades eglibc 2.13 - 2.14 Needed a binutils fix for x86_64 Package sotruss which is new in eglibc 2.14 The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997: binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14 Khem Raj (4): eglibc: Upgrade recipes from 2.13 - 2.14 eglibc-package.inc: Package newly added sotruss and supporting libraries binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14 Merged to master, thanks. Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 04/40] ghostscript: Fix owner/group of /etc/cups
On Wed, 2011-06-22 at 12:35 -0500, Mark Hatle wrote: +FIX_OWNERS = chown -R root:lp ${D}/etc/cups This should probably be '${D}${sysconfdir}/cups'. p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 08/40] perf: Fix linux-tools to ensure perf is installed under fakeroot
On Wed, 2011-06-22 at 12:36 -0500, Mark Hatle wrote: If perf isn't installed under fakeroot (pseudo) control, all of the files are given the build user's uid/gid. The bit about do_install_perf() seems reasonable, but why does do_compile_perf() need to run under fakeroot? diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index ef81650..88a1c5b 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc @@ -6,11 +6,11 @@ do_compile_perf_libc-uclibc () { do_install_perf_libc-uclibc () { : } -do_compile_perf() { +fakeroot do_compile_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} NO_NEWT=1 NO_DWARF=1 } -do_install_perf() { +fakeroot do_install_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1 } p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 24/40] systemtamp: Add missing debug files
On Wed, 2011-06-22 at 12:36 -0500, Mark Hatle wrote: +FILES_${PN}-dbg += ${libexecdir}/systemtap/.debug Not that it matters a great deal, but you don't need a leading space with +=. p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 05/40] libtirpc: Fix owner/group of /etc/netconfig
On Wed, 2011-06-22 at 12:35 -0500, Mark Hatle wrote: + chown root:root ${D}/etc/netconfig I think that should be using ${sysconfdir} again. p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI
On Wed, 2011-06-22 at 17:05 +0100, Phil Blundell wrote: On Wed, 2011-06-22 at 17:00 +0100, Richard Purdie wrote: I'm afraid I don't like having gcc 4.6 being so publicly visible. Its fine for the recipe names but the PV itself really needs to be something like 4.6.2+svn. Well, er, gcc 4.6.1 hasn't even been released yet. I think 4.6.0 +svn (or just 4.6+svn) is the only reasonable thing to put there. Calling it 4.6.2 would definitely be misleading. I'm just thinking ahead ;-) Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] kernel.bbclass: restore kernel-abiversion file
On 06/22/2011 11:18 AM, Koen Kooi wrote: Op 22 jun 2011, om 20:13 heeft Darren Hart het volgende geschreven: On 06/22/2011 08:41 AM, Koen Kooi wrote: This fixes external module recipes that need $KERNEL_VERSION. It got removed by commit a9d41062e24a6b99661b3a5256f369b557433607 Author: Darren Hart dvh...@linux.intel.com Date: Tue Mar 8 17:09:10 2011 -0800 kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules seemingly as an oversight. It was indeed unintentional. There is enough history with this mechanism that a change here should be intentional and not an oversight as you pointed out. Signed-off-by: Koen Kooi k...@dominion.thruhere.net Acked-by: Darren Hart dvh...@linux.intel.com --- meta/classes/kernel.bbclass |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1bb69f5..8f9f108 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -123,6 +123,12 @@ kernel_do_install() { install -d $kerneldir # + # Store the kernel version in sysroots for module-base.bbclass + # + + echo ${KERNEL_VERSION} $kerneldir/kernel-abiversion From everything I can see this is an openembedded construct - which external modules need this? An example recipe I can review? I'd like to understand this better as I don't like the idea of depending on an arbitrary file that isn't part of the kernel build system to build modules. It seems to me that these modules should be able to DEPEND on something provided by the kernel recipes, rather than checking the contents of a file stuck in the build tree. It's used in the stock module.bbclass thru module-base.bbclass: https://github.com/openembedded/oe-core/blob/master/meta/classes/module-base.bbclass An example of a recipe that's using it: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb For various reasons the makefile can't be trusted or patched, so we can't use KBuild to get the version for us. regards, Koen -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 05/40] libtirpc: Fix owner/group of /etc/netconfig (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb index 61dab95..6170e65 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb @@ -7,7 +7,7 @@ BUGTRACKER = http://sourceforge.net/tracker/?group_id=183075atid=903784; LICENSE = BSD LIC_FILES_CHKSUM = file://COPYING;md5=1c32c8e351f97e43e1ad6cf7f62de3bf \ file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24 -PR = r0 +PR = r1 SRC_URI = ${SOURCEFORGE_MIRROR}/libtirpc/libtirpc-${PV}.tar.bz2 @@ -15,3 +15,7 @@ SRC_URI[md5sum] = d77eb15f464bf9d6e66259eaf78b2a4e SRC_URI[sha256sum] = ea77cadd63941fc4edbee7863d2c7094e6a18263d2a2c8922319aee91352ff41 inherit autotools + +do_install_append() { + chown root:root ${D}${sysconfdir}/netconfig +} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 21/40] mc: Add missing debug files to -dbg (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/mc/mc_4.7.5.2.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/mc/mc_4.7.5.2.bb b/meta/recipes-extended/mc/mc_4.7.5.2.bb index c407b0b..6b03be7 100644 --- a/meta/recipes-extended/mc/mc_4.7.5.2.bb +++ b/meta/recipes-extended/mc/mc_4.7.5.2.bb @@ -6,7 +6,7 @@ SECTION = console/utils DEPENDS = ncurses glib-2.0 RDEPENDS_${PN} = ncurses-terminfo -PR = r0 +PR = r1 SRC_URI = http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2; @@ -16,3 +16,5 @@ SRC_URI[sha256sum] = a68338862bb30017eb65ed569a58e80ab66ae8cef11c886440c9e9f4d1 inherit autotools gettext EXTRA_OECONF = --with-screen=ncurses --without-gpm-mouse --without-x --without-samba + +FILES_${PN}-dbg += ${libexecdir}/mc/.debug/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 04/40] ghostscript: Fix owner/group of /etc/cups (v3)
/etc/cups is owned by root:lp from the cups package, the associated ghostscript was creating the /etc/cups directory as root:root. /etc/cups is the authoritative source. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../ghostscript/ghostscript_9.02.bb|7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb index 3cb5485..ea1235a 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb @@ -15,7 +15,7 @@ SECTION = console/utils LICENSE = GPLv3 LIC_FILES_CHKSUM = file://LICENSE;md5=d151214b3131251dfc9d858593acbd24 -PR = r2 +PR = r3 DEPENDS = ${PN}-native tiff jpeg fontconfig cups DEPENDS_virtclass-native = @@ -53,10 +53,15 @@ do_configure () { done } +FIX_OWNERS = chown -R root:lp ${D}${sysconfdir}/cups +FIX_OWNERS_virtclass-native = + do_install_append () { mkdir -p ${D}${datadir}/ghostscript/${PV}/ cp -r Resource ${D}${datadir}/ghostscript/${PV}/ cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ + +test -n ${FIX_OWNERS} eval ${FIX_OWNERS} || : } python do_patch_virtclass-native () { -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 00/40] Various Recipe Fixes (v3)
V3 includes fixes to issues noticed by Phil Blundell --- version 2 below --- V2 only includes a change to patch 13, to resolve the issues mentioned by Koen. --- original comments below --- While working on the permissions and umask code, I found a number of random issues with various packages in the system. Most of these problems revolve around: * directory and file permissions, and ownership * -dbg package not being produced correctly * stripped binaries * packages that couldn't rebuild due to dependency or other issues Note, this doesn't solve the permissions and ownership issues that will come in a future patch set devoted to umask and fixing up of the permissions. The following changes since commit 17d5422460bf9074223475b15d128171d12b170a: qt4-tools-nativesdk: fix compile failure in src/dbus (2011-06-22 17:41:39 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/recipe-fixup http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/recipe-fixup Mark Hatle (40): resolveconf: Fix file owners base-passwd: Fix owners/groups gcc: Fix owners/groups ghostscript: Fix owner/group of /etc/cups libtirpc: Fix owner/group of /etc/netconfig tzdata: Ensure all files are owned by root:root gnome-doc-utils: Fix the owner/group on select files perf: Fix linux-tools to ensure perf is installed under fakeroot kernel.bbclass: Add support for perf-dbg package sysfsutils: Fall back to default -dbg package classes/package_rpm.bbclass: Enhance diagnostic messages classes/package_rpm.bbclass: Change the way the PV is transformed python: Switch to using the default -dbg package python-pyobject: Remove unnecessary -dbg setting libxml-parser-perl: Fix debug package texinfo: Change to use the standard -dbg file psmisc: Remove custom -dbg packages, use default modutils: Add in missing -dbg package liba52: Remove custom -dbg, fall back to default python-gst: Add missing files to the -dbg package mc: Add missing debug files to -dbg gamin: Add missing debug files to -dbg gthumb: Add missing debug files systemtamp: Add missing debug files trace-cmd: Add missing debug files gstreamer: Add missing debug files. gtk-sato-engine: Add missing debug files libproxy: Add missing debug files wireless-tools: Avoid stripping binaries busybox: Avoid stripping binaries tinylogin: Avoid stripped binaries quote: Avoid stripping binaries sysstat: Avoid stripping binaries db: Avoid stripping binaries db: Fix file ownership unzip: Avoid stripping binaries dropbear: Don't patch in configure nasm: Fix aclocal python: Add python to the dependencies of python modules boost: Move the do_configure_prepend to a seperate task meta/classes/kernel.bbclass|3 +- meta/classes/package_rpm.bbclass | 16 +-- .../resolvconf/resolvconf_1.48.bb |3 +- .../wireless-tools/avoid_strip.patch | 21 + .../wireless-tools/wireless-tools_29.bb|5 +- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 ++-- meta/recipes-core/busybox/busybox_1.18.4.bb|4 +- meta/recipes-core/dropbear/dropbear.inc|4 +- meta/recipes-core/dropbear/dropbear_0.52.bb|2 +- meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |6 +-- .../tinylogin/tinylogin-1.4/avoid_static.patch | 33 + meta/recipes-core/tinylogin/tinylogin_1.4.bb |7 ++- meta/recipes-devtools/gcc/gcc-4.6.0.inc|2 +- meta/recipes-devtools/gcc/gcc_4.5.1.bb |7 +++- meta/recipes-devtools/gcc/gcc_4.6.0.bb |5 ++ meta/recipes-devtools/gcc/libgcc_4.5.1.bb |3 +- meta/recipes-devtools/gcc/libgcc_4.6.0.bb |3 +- meta/recipes-devtools/nasm/nasm_2.07.bb|6 ++- .../perl/libxml-parser-perl_2.40.bb|4 +- .../python/python-2.6-manifest.inc |8 +--- meta/recipes-devtools/python/python-gst_0.10.21.bb |6 +- .../python/python-pygobject_2.27.91.bb |5 +- meta/recipes-devtools/python/python.inc|2 +- meta/recipes-devtools/python/python_2.6.6.bb |4 +- meta/recipes-extended/gamin/gamin_0.1.10.bb|7 +-- .../ghostscript/ghostscript_9.02.bb|7 +++- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 ++- meta/recipes-extended/mc/mc_4.7.5.2.bb |4 +- meta/recipes-extended/psmisc/psmisc.inc|8 +--- meta/recipes-extended/psmisc/psmisc_22.13.bb |2 +- meta/recipes-extended/quota/quota_4.00-pre1.bb |4 +- meta/recipes-extended/sysstat/sysstat.inc |5 ++- meta/recipes-extended/sysstat/sysstat_10.0.0.bb|2 +- meta/recipes-extended/texinfo/texinfo_4.13a.bb |7 +-- meta/recipes-extended/tzdata/tzdata_2011g.bb |4 +-
[OE-core] [PATCH 23/40] gthumb: Add missing debug files (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-gnome/gthumb/gthumb_2.12.3.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb b/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb index 115a805..7fb8a94 100644 --- a/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb +++ b/meta/recipes-gnome/gthumb/gthumb_2.12.3.bb @@ -3,14 +3,14 @@ SECTION = x11/gnome LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 DEPENDS = glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base -PR = r0 +PR = r1 EXTRA_OECONF = --disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter inherit gnome pkgconfig FILES_${PN} += ${datadir}/icons -FILES_${PN}-dbg += ${libdir}/gthumb/modules/.debug +FILES_${PN}-dbg += ${libdir}/gthumb/modules/.debug/ ${libdir}/gthumb/extensions/.debug/ SRC_URI[archive.md5sum] = bfa0957a1bafc5d049292cd5fad372ce SRC_URI[archive.sha256sum] = 0060c05fd372c2af2048d294ab3f75c8fb02c576d3e2004e08b7d34f49da1e66 -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 08/40] perf: Fix linux-tools to ensure perf is installed under fakeroot (v3)
If perf isn't installed under fakeroot (pseudo) control, all of the files are given the build user's uid/gid. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/linux/linux-tools.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index ef81650..e4740d7 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc @@ -10,7 +10,7 @@ do_compile_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} NO_NEWT=1 NO_DWARF=1 } -do_install_perf() { +fakeroot do_install_perf() { oe_runmake -C ${S}/tools/perf CC=${CC} LD=${LD} prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1 } -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 20/40] python-gst: Add missing files to the -dbg package (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/python/python-gst_0.10.21.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python-gst_0.10.21.bb b/meta/recipes-devtools/python/python-gst_0.10.21.bb index dd1ad5f..888002c 100644 --- a/meta/recipes-devtools/python/python-gst_0.10.21.bb +++ b/meta/recipes-devtools/python/python-gst_0.10.21.bb @@ -3,7 +3,7 @@ SECTION = devel/python LICENSE = LGPLv2.1 DEPENDS = gstreamer gst-plugins-base python-pygobject RDEPENDS_${PN} += python-pygtk -PR = r0 +PR = r1 SRC_URI = http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ file://python-path.patch @@ -20,4 +20,4 @@ EXTRA_OECONF += --with-python-includes=${STAGING_INCDIR}/../ FILES_${PN} += ${datadir}/gst-python FILES_${PN}-dev += ${datadir}/gst-python/0.10/defs -FILES_${PN}-dbg += ${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ +FILES_${PN}-dbg += ${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/ -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 22/40] gamin: Add missing debug files to -dbg (v3)
Add the missing files to the base -dbg package, remove the libPN-dbg as it is non-standard. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/gamin/gamin_0.1.10.bb |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/gamin/gamin_0.1.10.bb b/meta/recipes-extended/gamin/gamin_0.1.10.bb index b6394d2..81b27c0 100644 --- a/meta/recipes-extended/gamin/gamin_0.1.10.bb +++ b/meta/recipes-extended/gamin/gamin_0.1.10.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=412a9be54757a155d0b997b52b519f62 DEPENDS = glib-2.0 PROVIDES = fam -PR = r2 +PR = r3 SRC_URI = http://www.gnome.org/~veillard/gamin/sources/gamin-${PV}.tar.gz \ file://no-abstract-sockets.patch @@ -20,13 +20,12 @@ inherit autotools pkgconfig EXTRA_OECONF = --without-python -PACKAGES += lib${PN} lib${PN}-dev lib${PN}-dbg +PACKAGES += lib${PN} lib${PN}-dev FILES_${PN} = ${libexecdir} -FILES_${PN}-dbg = ${libexecdir}/.debug +FILES_${PN}-dbg += ${libexecdir}/.debug FILES_lib${PN} = ${libdir}/lib*.so.* FILES_lib${PN}-dev = ${includedir} ${libdir}/pkgconfig ${libdir}/lib*.la \ ${libdir}/lib*.a ${libdir}/lib*.so -FILES_lib${PN}-dbg = ${libdir}/.debug/ RDEPENDS_lib${PN} = ${PN} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 28/40] libproxy: Add missing debug files (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-support/libproxy/libproxy_0.4.6.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/libproxy/libproxy_0.4.6.bb b/meta/recipes-support/libproxy/libproxy_0.4.6.bb index 2e18065..b24e8ba 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.6.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.6.bb @@ -14,14 +14,14 @@ SRC_URI = http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz; SRC_URI[md5sum] = 199c6b120baf1f7258a55f38d5ec74f5 SRC_URI[sha256sum] = 9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30 -PR = r0 +PR = r1 inherit cmake pkgconfig EXTRA_OECMAKE = -DWITH_WEBKIT=no -DWITH_GNOME=yes -DWITH_KDE4=no \ -DWITH_PYTHON=no -DWITH_PERL=no -DWITH_MOZJS=no -DWITH_NM=no -FILES_${PN}-dbg += ${libdir}/libproxy/${PV}/plugins/ +FILES_${PN}-dbg += ${libdir}/libproxy/${PV}/plugins/.debug/ ${libdir}/libproxy/${PV}/modules/.debug/ do_configure_prepend() { export HOST_SYS=${HOST_SYS} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 15/40] libxml-parser-perl: Fix debug package (v3)
Certain files were being missed in the -dbg package, fix this. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../perl/libxml-parser-perl_2.40.bb|4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb index fac28a8..3c8f1c9 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.40.bb @@ -3,7 +3,7 @@ LICENSE = Artistic LIC_FILES_CHKSUM = file://README;beginline=2;endline=6;md5=c8767d7516229f07b26e42d1cf8b51f1 DEPENDS += expat expat-native -PR = r1 +PR = r2 SRC_URI = http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz; @@ -16,6 +16,8 @@ EXTRA_CPANFLAGS = EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} inherit cpan +FILES_${PN}-dbg += ${libdir}/perl/vendor_perl/*/auto/XML/Parser/Expat/.debug/ + do_compile() { export LIBC=$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so') cpan_do_compile -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 24/40] systemtamp: Add missing debug files (v3)
Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-kernel/systemtap/systemtap_git.bb |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index e3e9264..aeb87c8 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f DEPENDS = elfutils SRCREV = 4ab3a1863bf4f472acae7a809bf2b38d91658aa8 -PR = r2 +PR = r3 PV = 1.4+git${SRCPV} SRC_URI = git://sources.redhat.com/git/systemtap.git;protocol=git \ @@ -29,3 +29,5 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux' S = ${WORKDIR}/git inherit autotools + +FILES_${PN}-dbg += ${libexecdir}/systemtap/.debug -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 36/40] unzip: Avoid stripping binaries (v3)
Not only do we have to override things on the make line, but we need to hack on configure as well to avoid certain behavior. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../recipes-extended/unzip/unzip/avoid-strip.patch | 48 meta/recipes-extended/unzip/unzip_6.0.bb |7 ++- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/unzip/unzip/avoid-strip.patch diff --git a/meta/recipes-extended/unzip/unzip/avoid-strip.patch b/meta/recipes-extended/unzip/unzip/avoid-strip.patch new file mode 100644 index 000..0ef6363 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/avoid-strip.patch @@ -0,0 +1,48 @@ +unix/Makefile: remove hard coded strip commands + +Remove the hard coded strip commands, both LF2 (used in linking) and +STRIP used alone. + +Signed-off-by: Mark Hatle mark.ha...@windriver.com + +diff -ur unzip60.orig/unix/configure unzip60/unix/configure +--- unzip60.orig/unix/configure2009-04-16 14:25:12.0 -0500 unzip60/unix/configure 2011-06-21 11:23:36.822849960 -0500 +@@ -17,7 +17,7 @@ + IZ_BZIP2=${3} + CFLAGS=${CFLAGS} -I. -DUNIX + LFLAGS1= +-LFLAGS2=-s ++LFLAGS2= + LN=ln -s + + CFLAGS_OPT='' +diff -ur unzip60.orig/unix/Makefile unzip60/unix/Makefile +--- unzip60.orig/unix/Makefile 2009-01-18 16:41:18.0 -0600 unzip60/unix/Makefile 2011-06-21 11:12:22.93388 -0500 +@@ -52,7 +52,7 @@ + CF = $(CFLAGS) $(CF_NOOPT) + LFLAGS1 = + LF = -o unzip$E $(LFLAGS1) +-LF2 = -s ++LF2 = + + # UnZipSFX flags + SL = -o unzipsfx$E $(LFLAGS1) +@@ -70,7 +70,7 @@ + CHMOD = chmod + BINPERMS = 755 + MANPERMS = 644 +-STRIP = strip ++STRIP = + E = + O = .o + M = unix +@@ -776,7 +776,6 @@ + # + gcc: unix_make + $(MAKE) unzips CC=gcc LD=gcc CFLAGS=-O3 LF2= +- $(STRIP) $(UNZIPS) + + # Heurikon HK68 (68010), UniPlus+ System V 5.0, Green Hills C-68000 + hk68: unix_make diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index ccdd372..b9eff43 100644 --- a/meta/recipes-extended/unzip/unzip_6.0.bb +++ b/meta/recipes-extended/unzip/unzip_6.0.bb @@ -4,14 +4,17 @@ SECTION = console/utils LICENSE = Info-ZIP LIC_FILES_CHKSUM = file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29 PE = 1 -PR = r0 +PR = r1 -SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz; +SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ + file://avoid-strip.patch SRC_URI[md5sum] = 62b490407489521db863b523a7f86375 SRC_URI[sha256sum] = 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 S = ${WORKDIR}/unzip60 +EXTRA_OEMAKE += STRIP=true LF2='' + export LD = ${CC} LD_virtclass-native = ${CC} -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core