Re: [OE-core] [PATCH v3] libav: set LICENSE and LICENSE_FLAGS according to PACKAGECONFIG options

2014-07-15 Thread Matthieu CRAPET
Hi again,

> Some optional parts of Libav are licensed under the GNU General Public 
> License version 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. 
> None of these parts are used by default, you have to explicitly pass 
> --enable-gpl to configure to activate them. In this case, Libav's license 
> changes to GPL v2+."

I may misunderstood something here.

For example:
- libavfiler. It contains yadif code which is GPLv2+ and frei0r code is 
LGPLv2.1+. Libavfiler is clearly contaminated: 
LICENSE_libavfilter = "GPLv2+"
- libavutils is 100% LGPL
LICENSE_libavutils = " LGPLv2.1+"

Giving --enable-gpl to configure does not convert pure 100% LGPL licensed 
library to GPL license. Am I wrong?

> Do you think it would be feasible to add code which decides whether to set 
> --enable-gpl or not? Because --enable-gpl forbids linking libav for programs 
> with incompatible licenses.
Yes it's possible.

Regards,
M
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] grub-core: fix endianness problem

2014-07-15 Thread Shan Hai
Fix tftp stalls on loading files bigger than ~32k bug by cherry picking
a patch from grub upstream.

Upstream-Status: Backport

Signed-off-by: Shan Hai 
---
 .../grub/grub-2.00/fix-endianness-problem.patch| 46 ++
 meta/recipes-bsp/grub/grub_2.00.bb |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 meta/recipes-bsp/grub/grub-2.00/fix-endianness-problem.patch

diff --git a/meta/recipes-bsp/grub/grub-2.00/fix-endianness-problem.patch 
b/meta/recipes-bsp/grub/grub-2.00/fix-endianness-problem.patch
new file mode 100644
index 000..bb5ba9b
--- /dev/null
+++ b/meta/recipes-bsp/grub/grub-2.00/fix-endianness-problem.patch
@@ -0,0 +1,46 @@
+grub-core/net/tftp.c: fix endianness problem.
+
+   * grub-core/net/tftp.c (ack): Fix endianness problem.
+   (tftp_receive): Likewise.
+   Reported by: Michael Davidsaver.
+
+Upstream-Status: Submitted [grub-de...@gnu.org]
+
+Signed-off-by: Vladimir 'phcoder' Serbinenko 
+
+diff --git a/ChangeLog b/ChangeLog
+index 81bdae9..c2f42d5 100644
+--- a/ChangeLog
 b/ChangeLog
+@@ -1,3 +1,9 @@
++2012-07-02  Vladimir Serbinenko  
++
++  * grub-core/net/tftp.c (ack): Fix endianness problem.
++  (tftp_receive): Likewise.
++  Reported by: Michael Davidsaver.
++
+ 2012-06-27  Vladimir Serbinenko  
+ 
+   * configure.ac: Bump version to 2.00.
+diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c
+index 9c70efb..d0f39ea 100644
+--- a/grub-core/net/tftp.c
 b/grub-core/net/tftp.c
+@@ -143,7 +143,7 @@ ack (tftp_data_t data, grub_uint16_t block)
+ 
+   tftph_ack = (struct tftphdr *) nb_ack.data;
+   tftph_ack->opcode = grub_cpu_to_be16 (TFTP_ACK);
+-  tftph_ack->u.ack.block = block;
++  tftph_ack->u.ack.block = grub_cpu_to_be16 (block);
+ 
+   err = grub_net_send_udp_packet (data->sock, &nb_ack);
+   if (err)
+@@ -225,7 +225,7 @@ tftp_receive (grub_net_udp_socket_t sock __attribute__ 
((unused)),
+   grub_priority_queue_pop (data->pq);
+ 
+   if (file->device->net->packs.count < 50)
+-err = ack (data, tftph->u.data.block);
++err = ack (data, data->block + 1);
+   else
+ {
+   file->device->net->stall = 1;
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb 
b/meta/recipes-bsp/grub/grub_2.00.bb
index 72ed402..36c648e 100644
--- a/meta/recipes-bsp/grub/grub_2.00.bb
+++ b/meta/recipes-bsp/grub/grub_2.00.bb
@@ -22,6 +22,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
   file://check-if-liblzma-is-disabled.patch \
   file://fix-issue-with-flex-2.5.37.patch \
   file://grub-2.00-add-oe-kernel.patch \
+  file://fix-endianness-problem.patch \
   "
 
 SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c"
-- 
1.8.5.2.233.g932f7e4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] grub-core/net/tftp: Fix endianness problem in (ack)

2014-07-15 Thread Shan Hai
commit a706f4cc6bddd03e67a66620101209c471177b53 upstream
---
 .../tftp-fix-endianness-problem-in-ack.patch   | 42 ++
 meta/recipes-bsp/grub/grub_2.00.bb |  1 +
 2 files changed, 43 insertions(+)
 create mode 100644 
meta/recipes-bsp/grub/grub-2.00/tftp-fix-endianness-problem-in-ack.patch

diff --git 
a/meta/recipes-bsp/grub/grub-2.00/tftp-fix-endianness-problem-in-ack.patch 
b/meta/recipes-bsp/grub/grub-2.00/tftp-fix-endianness-problem-in-ack.patch
new file mode 100644
index 000..c2a75de
--- /dev/null
+++ b/meta/recipes-bsp/grub/grub-2.00/tftp-fix-endianness-problem-in-ack.patch
@@ -0,0 +1,42 @@
+grub-core/net/tftp: Fix endianness problem in (ack)
+
+commit a706f4cc6bddd03e67a66620101209c471177b53 upstream
+
+Signed-off-by: Shan Hai 
+
+diff --git a/ChangeLog b/ChangeLog
+index 81bdae9..c2f42d5 100644
+--- a/ChangeLog
 b/ChangeLog
+@@ -1,3 +1,9 @@
++2012-07-02  Vladimir Serbinenko  
++
++  * grub-core/net/tftp.c (ack): Fix endianness problem.
++  (tftp_receive): Likewise.
++  Reported by: Michael Davidsaver.
++
+ 2012-06-27  Vladimir Serbinenko  
+ 
+   * configure.ac: Bump version to 2.00.
+diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c
+index 9c70efb..d0f39ea 100644
+--- a/grub-core/net/tftp.c
 b/grub-core/net/tftp.c
+@@ -143,7 +143,7 @@ ack (tftp_data_t data, grub_uint16_t block)
+ 
+   tftph_ack = (struct tftphdr *) nb_ack.data;
+   tftph_ack->opcode = grub_cpu_to_be16 (TFTP_ACK);
+-  tftph_ack->u.ack.block = block;
++  tftph_ack->u.ack.block = grub_cpu_to_be16 (block);
+ 
+   err = grub_net_send_udp_packet (data->sock, &nb_ack);
+   if (err)
+@@ -225,7 +225,7 @@ tftp_receive (grub_net_udp_socket_t sock __attribute__ 
((unused)),
+   grub_priority_queue_pop (data->pq);
+ 
+   if (file->device->net->packs.count < 50)
+-err = ack (data, tftph->u.data.block);
++err = ack (data, data->block + 1);
+   else
+ {
+   file->device->net->stall = 1;
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb 
b/meta/recipes-bsp/grub/grub_2.00.bb
index ce2d680..374e716 100644
--- a/meta/recipes-bsp/grub/grub_2.00.bb
+++ b/meta/recipes-bsp/grub/grub_2.00.bb
@@ -22,6 +22,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
   file://check-if-liblzma-is-disabled.patch \
   file://fix-issue-with-flex-2.5.37.patch \
   file://grub-2.00-add-oe-kernel.patch \
+  file://tftp-fix-endianness-problem-in-ack.patch \
   "
 
 SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c"
-- 
1.8.5.2.233.g932f7e4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] (no subject)

2014-07-15 Thread Shan Hai

Fix grub bug #36755 by cherry picking a patch from grub upstream.
The bug is reported at "http://savannah.gnu.org/bugs/?36755";

Thanks
Shan Hai
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2 2/2] populate_sdk_base: ensure that filenames with empty space character are handled

2014-07-15 Thread João Henrique Ferreira de Freitas


Em 15-07-2014 10:33, Otavio Salvador escreveu:

On Mon, Jul 14, 2014 at 7:55 PM, João Henrique Ferreira de Freitas
 wrote:

When extracting toolchain, if the list $executable_files has filenames
with empty space character, the list will created but relocate_sdk.sh
will not handle it well. This will lead to the below erro:

 ./tmp/deploy/sdk/buildtools-mytools-x86_64-nativesdk-standalone-1.6.1.0.sh
 Enter target directory for SDK (default: /opt/mydistro/mytoolset/1.6.1.0):
 You are about to install the SDK to "/opt/mydistro/mytoolset/1.6.1.0". 
Proceed[Y/n]?
 Extracting SDK...done
 Setting it up.../opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: 
sintaxe error `token'  `('
 /opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: `e

The same occurs with replacement of ${SDKPATH} in configs/scripts/etc files.

We should ensure that full path is protected before relocate_sdk.sh
and ${SDKPATH} replacement calls.

Signed-off-by: João Henrique Ferreira de Freitas 

I am wondering if we cannot get rid of the 'tr' command that converts
newlines to '\0'. This would avoid a new fork of command. Did you
think about it?

I think it's possible. Maybe  using: awk -F':' '{printf "%s\0", $1}' 
like this:


$SUDO_EXEC find $native_sysroot -type f -exec file '{}' \;|grep 
":.*\(ASCII\|script\|source\).*text"|awk -F':' '{printf "%s\0", 
$1}'|$SUDO_EXEC xargs -0 sed -i -e 
"s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"


I will finish my tests before send a v3.

Thanks.

--
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 13/38] gnu-config: add perl to RDEPENDS_gnu-config

2014-07-15 Thread Robert Yang



On 07/15/2014 11:40 PM, Khem Raj wrote:

On Tue, Jul 15, 2014 at 7:19 AM, Robert Yang  wrote:

Perl script:
gnu-config/usr/bin/gnu-configize


will it impact native recipes too ?


Yes, it will, thanks, update it to target only in the git repo,

RDEPENDS_${PN}_class-target += "perl"

// Robert





[YOCTO #1662]

Signed-off-by: Robert Yang 
---
  .../gnu-config/gnu-config_20120814.bb  |2 ++
  meta/recipes-devtools/gnu-config/gnu-config_git.bb |2 ++
  2 files changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb 
b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
index d67466a..af4afd6 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
@@ -17,6 +17,8 @@ SRC_URI = 
"http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV
  SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
  SRC_URI[sha256sum] = 
"44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"

+RDEPENDS_${PN} += "perl"
+
  do_compile() {
 :
  }
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb 
b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 00fa759..d1b0a59 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -17,6 +17,8 @@ SRC_URI = "git://git.sv.gnu.org/config.git \

  S = "${WORKDIR}/git"

+RDEPENDS_${PN} += "perl"
+
  do_compile() {
 :
  }
--
1.7.9.5

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core




--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] perl: strip RPATH from libxml-parser-perl Expat.so

2014-07-15 Thread João Henrique Ferreira de Freitas

Hi Paul,


I got this error.

On daisy branch, I was using a MACHINE=genericx86 then I changed to 
MACHINE=crownbay and build my image. libxml-parser-perl shows the same 
problem.


So I did 'bitbake perl -c cleansstate' and 'bitbake libxml-parser-perl'. 
No problems anymore, until I change back to genericx86.


But this is odd and I am trying to figure out what is the problem.


Em 18-06-2014 19:48, Paul Gortmaker escreveu:

To fix:

ERROR: QA Issue: package libxml-parser-perl contains bad RPATH 
/home/paul/poky/build/tmp/sysroots/intel-corei7-64/usr/lib64 in file 
/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/packages-split/libxml-parser-perl/usr/lib64/perl/vendor_perl/5.14.3/auto/XML/Parser/Expat/Expat.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: 
/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/temp/log.do_package.28544
ERROR: Task 4102 
(/home/paul/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb, 
do_package) failed with exit code '1'

...which showed up when enabling a multilib build.

Signed-off-by: Paul Gortmaker 

diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb 
b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
index 43a8a84518d3..2488aacb682c 100644
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
@@ -27,6 +27,7 @@ do_configure_append() {
  do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 
'libc-*.so')"
cpan_do_compile
+   chrpath -d ${S}/blib/arch/auto/XML/Parser/Expat/Expat.so
  }
  
  do_compile_class-native() {


--
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] rpm: compile rpmqv.c instead of rpmqv.cc

2014-07-15 Thread Joe Slater
Some versions of gcc will put a reference to __gxx_personality_v0
into rpm.o and rpmbuild.o.  This means we must link using g++,
and Makefile does not.

Go back to using rpmqv.c (which is currently identical to rpmqv.cc).

Signed-off-by: Joe Slater 
---
 .../recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch |   25 
 meta/recipes-devtools/rpm/rpm_5.4.14.bb|1 +
 2 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch

diff --git a/meta/recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch 
b/meta/recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch
new file mode 100644
index 000..0996448
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch
@@ -0,0 +1,25 @@
+
+Some versions of gcc, 4.4.5 for example, will put a reference to 
__gxx_personality_v0
+into rpm.o and rpmbuild.o.  This means we must link with g++, and the Makefile 
we
+generate does not.
+
+So, go back to using rpmqv.c (which is currently identical to rpmqv.cc).
+
+--- a/Makefile.am
 b/Makefile.am
+@@ -127,13 +127,13 @@ rpm_SOURCES =build.c
+ rpm_LDFLAGS = @LDFLAGS_STATIC@ $(LDFLAGS)
+ rpm_LDADD =   rpm.o $(myLDADD)
+ rpm.o:$(top_srcdir)/rpmqv.c
+-  $(COMPILE) -DIAM_RPMBT -DIAM_RPMDB -DIAM_RPMEIU -DIAM_RPMK -DIAM_RPMQV 
-o $@ -c $(top_srcdir)/rpmqv.cc
++  $(COMPILE) -DIAM_RPMBT -DIAM_RPMDB -DIAM_RPMEIU -DIAM_RPMK -DIAM_RPMQV 
-o $@ -c $(top_srcdir)/rpmqv.c
+ 
+ rpmbuild_SOURCES =build.c
+ rpmbuild_LDFLAGS =@LDFLAGS_STATIC@ $(LDFLAGS)
+ rpmbuild_LDADD =  rpmbuild.o $(myLDADD)
+ rpmbuild.o: $(top_srcdir)/rpmqv.c
+-  $(COMPILE) -DIAM_RPMBT -o $@ -c $(top_srcdir)/rpmqv.cc
++  $(COMPILE) -DIAM_RPMBT -o $@ -c $(top_srcdir)/rpmqv.c
+ 
+ .PHONY:   splint
+ splint:
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb 
b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
index 15c1738..8fec656 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
@@ -92,6 +92,7 @@ SRC_URI = 
"http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;e
   file://rpm-fix-logio-cp.patch \
   file://rpm-db5-or-db6.patch \
   file://rpm-disable-Wno-override-init.patch \
+  file://rpmqv_cc_b_gone.patch \
  "
 
 # Uncomment the following line to enable platform score debugging
-- 
1.7.3.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe] [PATCH 7/7] autoconf: remove automake patch enforcing --foreign

2014-07-15 Thread Burton, Ross
On 15 July 2014 21:14, Khem Raj  wrote:
> can it be somehow made such that it can be passed via option flags so we
> dont have to patch the packages not using above automake macro

Packages that don't use the right automake macro are generally very
old and we're already carrying patches to fix the autoconf/automake
files, so I'm not sure this is actually worth it.  I'm trying to drop
the patches we're carrying against core build tools, not increase it.
:)

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] alsa-tools: Disable use of GTK+ when using DirectFB

2014-07-15 Thread Otavio Salvador
The GTK+3 does not provide support for DirectFB backend so we cannot
enable GTK+ features of alsa-tools in this case.

Signed-off-by: Otavio Salvador 
---
 meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb 
b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
index 62d71ea..d3f0a79 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae1
 SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
file://mips_has_no_io_h.patch \
file://autotools.patch \
-   ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland directfb', 
'', \
+   ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', '', \
 'file://makefile_no_gtk.patch', d)}"
 
 SRC_URI[md5sum] = "1ea381d00a6069a98613aa7effa4cb51"
@@ -21,7 +21,7 @@ inherit autotools-brokensep pkgconfig
 
 EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} 
--target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} 
--prefix=${prefix}'"
 
-PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland 
directfb', 'gtk+', '', d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 
'gtk+', '', d)}"
 PACKAGECONFIG[gtk+] = ",,gtk+ gtk+3,"
 
 # configure.ac/.in doesn't exist so force copy
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] libdrm: upgrade to 2.4.54

2014-07-15 Thread Nicolas Dechesne
Version 2.4.54 was released a couple of months ago, see [1] for list of
changes.

The upgrade is required for using recent freedreno X11 driver on QCOM SoC. This
was tested on IFC6410 board.

[1] http://lists.x.org/archives/xorg-announce/2014-May/002426.html

Signed-off-by: Nicolas Dechesne 
---
 meta/recipes-graphics/drm/libdrm_2.4.53.bb | 8 
 meta/recipes-graphics/drm/libdrm_2.4.54.bb | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)
 delete mode 100644 meta/recipes-graphics/drm/libdrm_2.4.53.bb
 create mode 100644 meta/recipes-graphics/drm/libdrm_2.4.54.bb

diff --git a/meta/recipes-graphics/drm/libdrm_2.4.53.bb 
b/meta/recipes-graphics/drm/libdrm_2.4.53.bb
deleted file mode 100644
index 323bef5..000
--- a/meta/recipes-graphics/drm/libdrm_2.4.53.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require libdrm.inc
-
-SRC_URI += "file://installtests.patch \
-file://GNU_SOURCE_definition.patch \
-   "
-SRC_URI[md5sum] = "342886a137ddd9ed4341675d132388ad"
-SRC_URI[sha256sum] = 
"1b0c28fd2f2b92d2df0a73d1aed88f43cb0dee1267aea6bc52ccb5fca5757a08"
-
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.54.bb 
b/meta/recipes-graphics/drm/libdrm_2.4.54.bb
new file mode 100644
index 000..12eefc7
--- /dev/null
+++ b/meta/recipes-graphics/drm/libdrm_2.4.54.bb
@@ -0,0 +1,8 @@
+require libdrm.inc
+
+SRC_URI += "file://installtests.patch \
+file://GNU_SOURCE_definition.patch \
+   "
+SRC_URI[md5sum] = "56e98a9c2073c3fab7f95e003b657f46"
+SRC_URI[sha256sum] = 
"d94001ebfbe80e1523d1228ee2df57294698d1c734fad9ccf53efde8932fe4e9"
+
-- 
2.0.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe] [PATCH 7/7] autoconf: remove automake patch enforcing --foreign

2014-07-15 Thread Khem Raj
On Jul 15, 2014 9:20 AM, "Ross Burton"  wrote:
>
> Since 2004 we've been carrying a patch[1] make autoreconf pass --foreign
to
> automake.  Presumably at the time this was due to many upstreams using
> hand-coded bootstrap scripts that passed --foreign manually, but we were
using
> autoreconf.  These days many projects have added foreign to
AM_INIT_AUTOMAKE and
> use autoreconf directly, so this patch isn't as critical as it used to be.

can it be somehow made such that it can be passed via option flags so we
dont have to patch the packages not using above automake macro
>
> Signed-off-by: Ross Burton 
>
> [1] oe-classic 2ab2a92eadaf2f80410d8746099f8a9b1b81ff91
> ---
>  .../autoconf/autoconf/autoreconf-foreign.patch|   13
-
>  meta/recipes-devtools/autoconf/autoconf_2.69.bb   |1 -
>  2 files changed, 14 deletions(-)
>  delete mode 100644
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
>
> diff --git
a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
b/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
> deleted file mode 100644
> index 88f7501..000
> --- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -Upstream-Status: Pending
> -
>  autoconf-2.59/bin/autoreconf.in~autoreconf-foreign 2004-05-09
20:55:06.0 -0400
> -+++ autoconf-2.59/bin/autoreconf.in2004-05-09 20:55:55.0
-0400
> -@@ -184,6 +184,8 @@
> -
> -   $aclocal_supports_force = `$aclocal --help` =~ /--force/;
> -
> -+  $automake   .= ' --foreign';
> -+
> -   # Dispatch autoreconf's option to the tools.
> -   # --include;
> -   $autoconf   .= join (' --include=', '', @include);
> diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> index 5c652d4..6614a7b 100644
> --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
>  SRC_URI += "file://autoreconf-include.patch \
> file://check-automake-cross-warning.patch \
> file://autoreconf-exclude.patch \
> -   file://autoreconf-foreign.patch \
> file://autoreconf-gnuconfigize.patch \
>  file://config_site.patch \
>  file://remove-usr-local-lib-from-m4.patch \
> --
> 1.7.10.4
>
> --
> ___
> Openembedded-devel mailing list
> openembedded-de...@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] gdb: force arm mode

2014-07-15 Thread Khem Raj
On Jul 15, 2014 11:30 AM, "Martin Jansa"  wrote:
>
> * triggers some issue in gcc-4.9, this call:
> arm-oe-linux-gnueabi-gcc  -march=armv5te -mthumb -mthumb-interwork
-mtune=xscale
> --sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/spitz -O2 -pipe -g
> -feliminate-unused-debug-types   -I.
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/common
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/config
> -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../include/opcode
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../opcodes/..
> -I../bfd
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../bfd
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../include
> -I../libdecnumber
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../libdecnumber
>
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/gnulib/import
> -Ibuild-gnulib/import-Wall -Wdeclaration-after-statement
> -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value
> -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
> -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type
> -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral  -c
> -o eval.o -MT eval.o -MMD -MP -MF .deps/eval.Tpo
>
/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/eval.c
>
> just hangs (strace shows occasional call to mmap, brk, munmap) and eats
all available memory
> (in my case 20GB), I've waited for 2,5 hours and it didn't finish,
> after removing -mthumb it builds in second.
>
> Signed-off-by: Martin Jansa 
> ---
>  meta/recipes-devtools/gdb/gdb_7.7.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/gdb/gdb_7.7.bb
b/meta/recipes-devtools/gdb/gdb_7.7.bb
> index 1abc9d8..bc042ec 100644
> --- a/meta/recipes-devtools/gdb/gdb_7.7.bb
> +++ b/meta/recipes-devtools/gdb/gdb_7.7.bb
> @@ -7,6 +7,9 @@ PACKAGECONFIG ??= ""
>  PACKAGECONFIG[python] =
"--with-python=${WORKDIR}/python,--without-python,python"
>  PACKAGECONFIG[babeltrace] =
"--with-babeltrace,--without-babeltrace,babeltrace"
>
> +# cc1 (4.9) call with -mthumb gets stuck and eats all available memory
(over 20GB in my case)
> +ARM_INSTRUCTION_SET = "arm"

we dont want to turn thumb off unconditionally since thumb2 may be ok.

> +
>  do_configure_prepend() {
> if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python',
'python', '', d)}" ]; then
> cat > ${WORKDIR}/python << EOF
> --
> 2.0.0
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v3] lz4: update to latest version

2014-07-15 Thread akuster


On 07/15/2014 08:37 AM, Saul Wold wrote:

On 07/15/2014 08:22 AM, akuster wrote:


On 07/15/2014 08:06 AM, Saul Wold wrote:

On 07/15/2014 06:28 AM, Armin Kuster wrote:

update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117


What exactly changed in r117?  Same License different working or ??


They updated the copyright date.



That's what we need in the commit message then, please update your 
commit message.


done



Is there a valid PV that you can set for lz4, seems like they are 
still calling them rXXX, so PV should be "r119"


done.

Thanks,
Armin


Thanks
Sau!


- Armin


Sau!


FIxes CVE-2014-4611

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)
  rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb
b/meta/recipes-support/lz4/lz4_git.bb
similarity index 68%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..3978d76 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
  DESCRIPTION = "LZ4 is a very fast lossless compression algorithm,
providing compression speed at 400 MB/s per core, scalable with
multi-cores CPU. It also features an extremely fast decoder, with
speed in multiple GB/s per core, typically reaching RAM speed limits
on multi-core systems."

  LICENSE = "BSD"
-LIC_FILES_CHKSUM =
"file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"

-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"

-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
-
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"

  EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D}
LIBDIR=${libdir} INCLUDEDIR=${includedir}"







--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] gdb: force arm mode

2014-07-15 Thread Martin Jansa
* triggers some issue in gcc-4.9, this call:
arm-oe-linux-gnueabi-gcc  -march=armv5te -mthumb -mthumb-interwork -mtune=xscale
--sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/spitz -O2 -pipe -g
-feliminate-unused-debug-types   -I.
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/common
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/config
-DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../include/opcode
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../opcodes/..
-I../bfd
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../bfd
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../include
-I../libdecnumber
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/../libdecnumber
-I/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/gnulib/import
-Ibuild-gnulib/import-Wall -Wdeclaration-after-statement
-Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type
-Wold-style-declaration -Wold-style-definition -Wformat-nonliteral  -c
-o eval.o -MT eval.o -MMD -MP -MF .deps/eval.Tpo
/OE/build/shr-core/tmp-eglibc/work/xscalete-oe-linux-gnueabi/gdb/7.7-r0/gdb-7.7/gdb/eval.c

just hangs (strace shows occasional call to mmap, brk, munmap) and eats all 
available memory
(in my case 20GB), I've waited for 2,5 hours and it didn't finish,
after removing -mthumb it builds in second.

Signed-off-by: Martin Jansa 
---
 meta/recipes-devtools/gdb/gdb_7.7.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/gdb/gdb_7.7.bb 
b/meta/recipes-devtools/gdb/gdb_7.7.bb
index 1abc9d8..bc042ec 100644
--- a/meta/recipes-devtools/gdb/gdb_7.7.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.7.bb
@@ -7,6 +7,9 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[python] = 
"--with-python=${WORKDIR}/python,--without-python,python"
 PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
 
+# cc1 (4.9) call with -mthumb gets stuck and eats all available memory (over 
20GB in my case)
+ARM_INSTRUCTION_SET = "arm"
+
 do_configure_prepend() {
if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', 
d)}" ]; then
cat > ${WORKDIR}/python << EOF
-- 
2.0.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][PATCH] Change to correct spelling of "local.conf.sample.extended"

2014-07-15 Thread Robert P. J. Day

Signed-off-by: Robert P. J. Day 

---

diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index d64ba7f..8c58271 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -2,7 +2,7 @@
 # This file is your local configuration file and is where all local user 
settings
 # are placed. The comments in this file give some guide to the options a new 
user
 # to the system might want to change but pretty much any configuration option 
can
-# be set in this file. More adventurous users can look at local.conf.extended
+# be set in this file. More adventurous users can look at 
local.conf.sample.extended
 # which contains other examples of configuration which can be placed in this 
file
 # but new users likely won't need any of them initially.
 #
@@ -148,7 +148,8 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
 #   - 'image-prelink' in order to prelink the filesystem image
 #   - 'image-swab' to perform host system intrusion detection
 # NOTE: if listing mklibs & prelink both, then make sure mklibs is before 
prelink
-# NOTE: mklibs also needs to be explicitly enabled for a given image, see 
local.conf.extended
+# NOTE: mklibs also needs to be explicitly enabled for a given image,
+# see local.conf.sample.extended
 USER_CLASSES ?= "buildstats image-mklibs image-prelink"



-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe] [PATCH 0/7][RFC] Remove enforced --foreign in autoreconf

2014-07-15 Thread Martin Jansa
On Tue, Jul 15, 2014 at 05:18:30PM +0100, Ross Burton wrote:
> Hi,
> 
> Since 2004 we've been forcibly passing --foreign to automake in autoreconf.
> This is a change from upstream behaviour and can actually break packages that
> expect GNU behaviour (admittedly the failure case reported was "interesting"),
> and I'm on a bit of a mission to remove patches that don't have a solid reason
> behind them.
> 
> Forcing --foreign doesn't seem that important these days as the majority of
> packages are telling automake they're foreign, There are a few packages that
> need patches for this change, notably they're mostly packages that haven't 
> seen
> a release for ten years.
> 
> This series is build tested against a world build in oe-core for NUC, so I'd
> call it a demonstration that the patch is viable and would appreciate others
> running build tests against other machines or layers.

world builds from
http://www.openembedded.org/wiki/Bitbake_World_Status
already have around ~50 failed recipes per architecture, I don't think
we need more now :/

Do we have some volunteers to fix-up meta-oe/* layers?

I'm going to use PNBLACKLIST more aggressively as agreed on OEDAM, but
with this speed next meta-oe release will have half of recipes which
were available in daisy.

> The following changes since commit 9e99bcffec594cb5b4c3533200e8eb56d32e6a77:
> 
>   insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 
> 23:20:04 +0100)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib ross/automake
> 
> for you to fetch changes up to 406153008dc78f4e3198c012f2db98fcac09b5c1:
> 
>   autoconf: remove automake patch enforcing --foreign (2014-07-15 17:05:29 
> +0100)
> 
> 
> Ross Burton (7):
>   bzip2: use "foreign" automake strictness
>   libid3tag: use "foreign" automake strictness
>   which: use "foreign" automake strictness
>   libmad: use "foreign" automake strictness
>   oprofile: use "foreign" automake strictness
>   ltp: use "foreign" automake strictness
>   autoconf: remove automake patch enforcing --foreign
> 
>  .../autoconf/autoconf/autoreconf-foreign.patch |   13 -
>  meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 -
>  .../bzip2/bzip2-1.0.6/configure.ac |2 +-
>  .../ltp/ltp/automake-foreign.patch |   20 
> 
>  meta/recipes-extended/ltp/ltp_20140422.bb  |1 +
>  .../which/which-2.20/automake.patch|   10 ++
>  meta/recipes-extended/which/which_2.20.bb  |1 +
>  meta/recipes-kernel/oprofile/oprofile.inc  |1 +
>  .../oprofile/oprofile/automake-foreign.patch   |7 +++
>  .../libid3tag/obsolete_automake_macros.patch   |3 ++-
>  .../libmad/libmad/automake-foreign.patch   |   12 
>  meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |1 +
>  12 files changed, 56 insertions(+), 16 deletions(-)
>  delete mode 100644 
> meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
>  create mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch
>  create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch
>  create mode 100644 
> meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
>  create mode 100644 
> meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
> 
> Ross Burton (7):
>   bzip2: use "foreign" automake strictness
>   libid3tag: use "foreign" automake strictness
>   which: use "foreign" automake strictness
>   libmad: use "foreign" automake strictness
>   oprofile: use "foreign" automake strictness
>   ltp: use "foreign" automake strictness
>   autoconf: remove automake patch enforcing --foreign
> 
>  .../autoconf/autoconf/autoreconf-foreign.patch |   13 -
>  meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 -
>  .../bzip2/bzip2-1.0.6/configure.ac |2 +-
>  .../ltp/ltp/automake-foreign.patch |   20 
> 
>  meta/recipes-extended/ltp/ltp_20140422.bb  |1 +
>  .../which/which-2.20/automake.patch|   10 ++
>  meta/recipes-extended/which/which_2.20.bb  |1 +
>  meta/recipes-kernel/oprofile/oprofile.inc  |1 +
>  .../oprofile/oprofile/automake-foreign.patch   |7 +++
>  .../libid3tag/obsolete_automake_macros.patch   |3 ++-
>  .../libmad/libmad/automake-foreign.patch   |   12 
>  meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |1 +
>  12 files changed, 56 insertions(+), 16 deletions(-)
>  delete mode 100644 
> meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
>  create mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch
>  create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch
>  create mode 100644 
> meta/recipes-kernel/oprofile/opro

[OE-core] [PATCH][V2 2/3] default-versions: remove xf86-video-intel

2014-07-15 Thread Ross Burton
Setting PREFERRED_VERSION to the latest version available is redundant, so
remove it.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/default-versions.inc |3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/conf/distro/include/default-versions.inc 
b/meta/conf/distro/include/default-versions.inc
index a9a931d..53ec2e7 100644
--- a/meta/conf/distro/include/default-versions.inc
+++ b/meta/conf/distro/include/default-versions.inc
@@ -9,6 +9,3 @@ PREFERRED_VERSION_python-native ?= "2.7.3"
 
 # Force the older version of liberation-fonts until we fix the fontforge issue
 PREFERRED_VERSION_liberation-fonts ?= "1.04"
-
-# Intel video stack 2013Q3 and newer need a version >=2.99.902
-PREFERRED_VERSION_xf86-video-intel ?= "2.99.910"
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH][V2 3/3] xorg-driver: use PACKAGEFUNCS instead of populate_packages_prepend

2014-07-15 Thread Ross Burton
The dependency adding function has nothing to do with package splitting, so move
it to a PACKAGEFUNC.

Signed-off-by: Ross Burton 
---
 meta/recipes-graphics/xorg-driver/xorg-driver-common.inc |4 ++--
 meta/recipes-graphics/xorg-driver/xorg-driver-input.inc  |5 +++--
 meta/recipes-graphics/xorg-driver/xorg-driver-video.inc  |5 +++--
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc 
b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index b46974b..17fac8b 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -25,8 +25,8 @@ do_install_append() {
 }
 
 # Function to add the relevant ABI dependency to drivers, which should be 
called
-# from a populate_packages append/prepend.
-def add_abi_depends(d, name):
+# from a PACKAGEFUNC.
+def _add_xorg_abi_depends(d, name):
 # Map of ABI names exposed in the dependencies to pkg-config variables
 abis = {
   "video": "abi_videodrv",
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc 
b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
index a544d71..fbec064 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
@@ -2,9 +2,10 @@ include xorg-driver-common.inc
 
 DEPENDS += "inputproto kbproto "
 
-python populate_packages_prepend() {
-add_abi_depends(d, "input")
+python add_xorg_abi_depends() {
+_add_xorg_abi_depends(d, "input")
 }
+PACKAGEFUNCS =+ "add_xorg_abi_depends"
 
 FILES_${PN} += " ${libdir}/xorg/modules/input/*.so"
 FILES_${PN}-dbg += " ${libdir}/xorg/modules/input/.debug"
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc 
b/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc
index 4fe3349..38281e0 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc
@@ -2,6 +2,7 @@ include xorg-driver-common.inc
 
 DEPENDS =+ "renderproto videoproto xextproto fontsproto"
 
-python populate_packages_prepend() {
-add_abi_depends(d, "video")
+python add_xorg_abi_depends() {
+_add_xorg_abi_depends(d, "video")
 }
+PACKAGEFUNCS =+ "add_xorg_abi_depends"
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH][V2 1/3] xf86-video-intel: upgrade to 2.99.912

2014-07-15 Thread Ross Burton
Drop a backported patch that has been applied.

Apply a patch from upstream to add enable/disable options for each DRI level, as
.912 won't build if the X server doesn't support DRI3.  Add PACKAGECONFIG
options for each DRI level and enable DRI1 and DRI2.

Add a PACKAGECONFIG option for the client tools, disabled by default as they're
only useful on machines with hybrid discrete/integrated GPUs.

Signed-off-by: Ross Burton 
---
 .../xf86-video-intel/configure-dri.patch   |  166 
 ...el_2.99.910.bb => xf86-video-intel_2.99.912.bb} |   19 ++-
 2 files changed, 178 insertions(+), 7 deletions(-)
 create mode 100644 
meta/recipes-graphics/xorg-driver/xf86-video-intel/configure-dri.patch
 rename meta/recipes-graphics/xorg-driver/{xf86-video-intel_2.99.910.bb => 
xf86-video-intel_2.99.912.bb} (59%)

diff --git 
a/meta/recipes-graphics/xorg-driver/xf86-video-intel/configure-dri.patch 
b/meta/recipes-graphics/xorg-driver/xf86-video-intel/configure-dri.patch
new file mode 100644
index 000..7fa9443
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel/configure-dri.patch
@@ -0,0 +1,166 @@
+Add the ability to enable/disable specific versions of the DRI support.
+
+This is the following two commits from master squashed:
+  7bc669dd4b7e3e5978e95e4131d1f9215afbc041
+  5a0cb1049c2fa0586708719210a2d2cffa7a4491
+
+Upstream-Status: Backport
+Signed-off-by: Ross Burton 
+
+diff --git a/configure.ac b/configure.ac
+index b3b6e8e..bd654f3 100644
+--- a/configure.ac
 b/configure.ac
+@@ -296,6 +296,21 @@ AC_ARG_ENABLE(dri,
+[Disable DRI support [[default=auto]]]),
+ [DRI=$enableval],
+ [DRI=auto])
++AC_ARG_ENABLE(dri1,
++AS_HELP_STRING([--disable-dri1],
++   [Disable DRI1 support [[default=yes]]]),
++[DRI1=$enableval],
++[DRI1=yes])
++AC_ARG_ENABLE(dri2,
++AS_HELP_STRING([--disable-dri2],
++   [Disable DRI2 support [[default=yes]]]),
++[DRI2=$enableval],
++[DRI2=yes])
++AC_ARG_ENABLE(dri3,
++AS_HELP_STRING([--disable-dri3],
++   [Disable DRI3 support [[default=yes]]]),
++[DRI3=$enableval],
++[DRI3=yes])
+ 
+ AC_ARG_ENABLE(xvmc, AS_HELP_STRING([--disable-xvmc],
+   [Disable XvMC support [[default=yes]]]),
+@@ -461,15 +476,15 @@ if test "x$UMS" = "xyes"; then
+   AC_DEFINE(UMS,1,[Assume UMS support])
+ fi
+ 
+-DRI1=no
++have_dri1=no
+ XORG_DRIVER_CHECK_EXT(XF86DRI, xf86driproto)
+-if test "x$_EXT_CHECK" != "xno" -a "x$DRI" != "xno" -a "x$UMS" = "xyes"; then
+-  PKG_CHECK_MODULES(DRI1, [xf86driproto], [DRI1=$DRI], [DRI1=no])
++if test "x$_EXT_CHECK" != "xno" -a "x$DRI" != "xno" -a "x$DRI1" != "xno" -a 
"x$UMS" = "xyes"; then
++  PKG_CHECK_MODULES(DRI1, [xf86driproto], [have_dri1=$DRI], 
[have_dri1=no])
+ save_CFLAGS="$CFLAGS"
+ save_CPPFLAGS="$CPPFLAGS"
+ CFLAGS="$CFLAGS $XORG_CFLAGS $DRI1_CFLAGS $DRM_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $XORG_CFLAGS $DRI1_CFLAGS $DRM_CFLAGS"
+-AC_CHECK_HEADERS([dri.h sarea.h dristruct.h], [], [DRI1=no],
++AC_CHECK_HEADERS([dri.h sarea.h dristruct.h], [], [have_dri1=no],
+ [/* for dri.h */
+  #include 
+  /* for dristruct.h */
+@@ -486,49 +501,55 @@ if test "x$_EXT_CHECK" != "xno" -a "x$DRI" != "xno" -a 
"x$UMS" = "xyes"; then
+ fi
+ 
+ AC_MSG_CHECKING([whether to include DRI1 support])
+-AC_MSG_RESULT([$DRI1])
++AC_MSG_RESULT([$have_dri1])
+ 
+-AM_CONDITIONAL(DRI1, test "x$DRI1" != "xno")
+-if test "x$DRI1" != "xno"; then
++AM_CONDITIONAL(DRI1, test "x$have_dri1" != "xno")
++if test "x$have_dri1" != "xno"; then
+ AC_DEFINE(HAVE_DRI1,1,[Enable DRI1 driver support])
+   dri_msg="$dri_msg DRI1"
+ else
+ DRI1_CFLAGS=""
+ DRI1_LIBS=""
+ 
+-if test "x$DRI" = "xyes" -a "x$UMS" = "xyes"; then
++if test "x$DRI" = "xyes" -a "x$UMS" = "xyes" -a "x$DRI1" != "xno"; 
then
+ AC_MSG_ERROR([DRI1 requested but prerequisites not found])
+ fi
+ fi
+ 
+-DRI2=no
+-DRI3=no
++have_dri2=no
++have_dri3=no
+ if test "x$DRI" != "xno"; then
+-  PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6], [DRI2=$DRI], [DRI2=no])
+-  dridriverdir=`$PKG_CONFIG --variable=dridriverdir dri`
+-  if test "x$dridriverdir" = "x"; then
+-  dridriverdir="$libdir/dri"
+-  fi
+-  AC_DEFINE_DIR(DRI_DRIVER_PATH, dridriverdir, [Default DRI2 driver path])
+   if test "x$DRI2" != "xno"; then
++  PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6], [have_dri2=$DRI], 
[have_dri2=no])
++  fi
++  if test "x$have_dri2" != "xno"; then
+   save_CFLAGS=$CFLAGS
+   CFLAGS="$XORG_CFLAGS $DRM_CFLAGS $DRI1_CFLAGS $DRI2_CFLAGS"
+-  AC_CHECK_HEADERS([dri2.h], [], [DRI2=no], [
++  AC_CHECK_HEADERS([dri2.h]

Re: [OE-core] [PATCH v3] libav: set LICENSE and LICENSE_FLAGS according to PACKAGECONFIG options

2014-07-15 Thread Andreas Oberritter
Hello Matthieu,

On 15.07.2014 16:54, Matthieu Crapet wrote:
> + fix: drop unwanted --enable-libtheora & --enable-libvorbis in EXTRA_OECONF
> 
> Reported-by: Andreas Oberritter 
> Signed-off-by: Matthieu Crapet 
> ---
>  meta/recipes-multimedia/libav/libav.inc | 17 ++---
>  1 file changed, 10 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-multimedia/libav/libav.inc 
> b/meta/recipes-multimedia/libav/libav.inc
> index 1d617a2..cd5ac5f 100644
> --- a/meta/recipes-multimedia/libav/libav.inc
> +++ b/meta/recipes-multimedia/libav/libav.inc
> @@ -7,8 +7,7 @@ DESCRIPTION = "Libav is a friendly and community-driven 
> effort to provide its us
>  HOMEPAGE = "http://libav.org/";
>  SECTION = "libs"
>  
> -LICENSE = "GPLv2+"
> -LICENSE_FLAGS = "commercial"
> +LICENSE = "GPLv2+ & LGPLv2.1+"

I think this is wrong (if it means dual licensed). To quote from the
LICENSE file:

"Most files in Libav are under the GNU Lesser General Public License
version 2.1 or later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for
details. Some other files have MIT/X11/BSD-style licenses. In
combination the LGPL v2.1+ applies to Libav.

Some optional parts of Libav are licensed under the GNU General Public
License version 2 or later (GPL v2+). See the file COPYING.GPLv2 for
details. None of these parts are used by default, you have to explicitly
pass --enable-gpl to configure to activate them. In this case, Libav's
license changes to GPL v2+."

So with --enable-gpl hardcoded in EXTRA_OECONF, GPLv2+ was the right choice.

>  
>  # Provides ffmpeg compat, see http://libav.org/about.html
>  PROVIDES = "ffmpeg"
> @@ -44,14 +43,20 @@ PACKAGECONFIG[vpx] = 
> "--enable-libvpx,--disable-libvpx,libvpx"
>  PACKAGECONFIG[x11] = "--enable-x11grab,--disable-x11grab,virtual/libx11 
> libxfixes libxext xproto virtual/libsdl"
>  PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264"
>  
> -# Check codecs that require --enable-nonfree
> -USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' 
> ], 'yes', '', d)}"
> +# Check codecs that trigger nonfree license
> +python () {
> + pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
> + nonfree = [ 'faac', 'openssl' ]
> + if set(pkgconfig) & set(nonfree):
> + d.setVar('LICENSE', 'Proprietary')
> + d.setVar('LICENSE_FLAGS', 'commercial')
> +}

Do you think it would be feasible to add code which decides whether to
set --enable-gpl or not? Because --enable-gpl forbids linking libav for
programs with incompatible licenses.

While your approach is to set the license according to enabled codecs,
my approach is to choose the license and then enable all possible
codecs, because for me the license is more important than some codecs. I
think libav would abort configuration anyway if it encountered
incompatible flags.

Regards,
Andreas
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 7/7] autoconf: remove automake patch enforcing --foreign

2014-07-15 Thread Ross Burton
Since 2004 we've been carrying a patch[1] make autoreconf pass --foreign to
automake.  Presumably at the time this was due to many upstreams using
hand-coded bootstrap scripts that passed --foreign manually, but we were using
autoreconf.  These days many projects have added foreign to AM_INIT_AUTOMAKE and
use autoreconf directly, so this patch isn't as critical as it used to be.

Signed-off-by: Ross Burton 

[1] oe-classic 2ab2a92eadaf2f80410d8746099f8a9b1b81ff91
---
 .../autoconf/autoconf/autoreconf-foreign.patch|   13 -
 meta/recipes-devtools/autoconf/autoconf_2.69.bb   |1 -
 2 files changed, 14 deletions(-)
 delete mode 100644 
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch

diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch 
b/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
deleted file mode 100644
index 88f7501..000
--- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Upstream-Status: Pending
-
 autoconf-2.59/bin/autoreconf.in~autoreconf-foreign 2004-05-09 
20:55:06.0 -0400
-+++ autoconf-2.59/bin/autoreconf.in2004-05-09 20:55:55.0 -0400
-@@ -184,6 +184,8 @@
- 
-   $aclocal_supports_force = `$aclocal --help` =~ /--force/;
- 
-+  $automake   .= ' --foreign';
-+
-   # Dispatch autoreconf's option to the tools.
-   # --include;
-   $autoconf   .= join (' --include=', '', @include);
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb 
b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
index 5c652d4..6614a7b 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 SRC_URI += "file://autoreconf-include.patch \
file://check-automake-cross-warning.patch \
file://autoreconf-exclude.patch \
-   file://autoreconf-foreign.patch \
file://autoreconf-gnuconfigize.patch \
 file://config_site.patch \
 file://remove-usr-local-lib-from-m4.patch \
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/7] ltp: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
ltp doesn't want GNU-levels of automake strictness so tell it to be "foreign".

Signed-off-by: Ross Burton 
---
 .../ltp/ltp/automake-foreign.patch |   20 
 meta/recipes-extended/ltp/ltp_20140422.bb  |1 +
 2 files changed, 21 insertions(+)
 create mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch

diff --git a/meta/recipes-extended/ltp/ltp/automake-foreign.patch 
b/meta/recipes-extended/ltp/ltp/automake-foreign.patch
new file mode 100644
index 000..c3dd891
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/automake-foreign.patch
@@ -0,0 +1,20 @@
+Use foreign strictness to avoid automake errors.
+
+Upstream-Status: Submitted 
(https://github.com/linux-test-project/ltp/issues/16)
+Signed-off-by: Ross Burton 
+
+diff --git a/configure.ac b/configure.ac
+index 9f397e7..fc57957 100644
+--- a/configure.ac
 b/configure.ac
+@@ -4 +4 @@
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+--- a/utils/ffsb-6.0-rc2/configure.in
 b/utils/ffsb-6.0-rc2/configure.in
+@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure 
script.
+-AC_INIT(main.c)
+-AM_INIT_AUTOMAKE(ffsb, 6.0-RC2)
++AC_INIT([ffsb], [6.0-RC2])
++AC_CONFIG_SRCDIR([main.c])
++AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-extended/ltp/ltp_20140422.bb 
b/meta/recipes-extended/ltp/ltp_20140422.bb
index 995d617..30761fd 100644
--- a/meta/recipes-extended/ltp/ltp_20140422.bb
+++ b/meta/recipes-extended/ltp/ltp_20140422.bb
@@ -25,6 +25,7 @@ SRCREV = "f4c3bfe1eab51eb72caeb0f3336d2790c9a8bd1b"
 SRC_URI = "git://github.com/linux-test-project/ltp.git \
 file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \
 file://ltp-Do-not-link-against-libfl.patch \
+file://automake-foreign.patch \
 "
 
 S = "${WORKDIR}/git"
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/7] which: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
which doesn't want GNU-levels of automake strictness so tell it to be "foreign".

Signed-off-by: Ross Burton 
---
 meta/recipes-extended/which/which-2.20/automake.patch |   10 ++
 meta/recipes-extended/which/which_2.20.bb |1 +
 2 files changed, 11 insertions(+)
 create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch

diff --git a/meta/recipes-extended/which/which-2.20/automake.patch 
b/meta/recipes-extended/which/which-2.20/automake.patch
new file mode 100644
index 000..92365dd
--- /dev/null
+++ b/meta/recipes-extended/which/which-2.20/automake.patch
@@ -0,0 +1,10 @@
+diff --git a/configure.ac b/configure.ac
+index d974461..a20dfa8 100644
+--- a/configure.ac
 b/configure.ac
+@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure 
script.
+-AC_INIT(which.c)
+-AM_INIT_AUTOMAKE(which, 2.20)
++AC_INIT([which],[2.20])
++AC_CONFIG_SRCDIR(which.c)
++AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-extended/which/which_2.20.bb 
b/meta/recipes-extended/which/which_2.20.bb
index f3c6037..7483554 100644
--- a/meta/recipes-extended/which/which_2.20.bb
+++ b/meta/recipes-extended/which/which_2.20.bb
@@ -18,6 +18,7 @@ PR = "r3"
 EXTRA_OECONF = "--disable-iberty"
 
 SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \
+   file://automake.patch \
file://remove-declaration.patch"
 
 SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744"
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/7] libmad: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
libmad doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

Signed-off-by: Ross Burton 
---
 .../libmad/libmad/automake-foreign.patch   |   12 
 meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |1 +
 2 files changed, 13 insertions(+)
 create mode 100644 meta/recipes-multimedia/libmad/libmad/automake-foreign.patch

diff --git a/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch 
b/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
new file mode 100644
index 000..3e54424
--- /dev/null
+++ b/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
@@ -0,0 +1,12 @@
+Pass foreign to AM_INIT_AUTOMAKE so it doesn't enforce GNU strictness.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton 
+
+diff --git a/configure.ac b/configure.ac
+index e602fd3..e075b86 100644
+--- a/configure.ac
 b/configure.ac
+@@ -29 +29 @@ AC_CONFIG_SRCDIR([decoder.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb 
b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
index 58d68a6..30937eb 100644
--- a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
+++ b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
@@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
file://add-pkgconfig.patch \
file://fix_for_mips_with_gcc-4.5.0.patch \
file://obsolete_automake_macros.patch \
+   file://automake-foreign.patch \
 "
 
 SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c"
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/7] oprofile: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
oprofile doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

Signed-off-by: Ross Burton 
---
 meta/recipes-kernel/oprofile/oprofile.inc|1 +
 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch |7 +++
 2 files changed, 8 insertions(+)
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch

diff --git a/meta/recipes-kernel/oprofile/oprofile.inc 
b/meta/recipes-kernel/oprofile/oprofile.inc
index 76d0b6c..6958203 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -20,6 +20,7 @@ FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
 
 SRC_URI = "file://opstart.patch \
file://acinclude.m4 \
+   file://automake-foreign.patch \
file://oprofile-cross-compile-tests.patch \
file://run-ptest \
file://root-home-dir.patch"
diff --git a/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch 
b/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
new file mode 100644
index 000..e82a381
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
@@ -0,0 +1,7 @@
+diff --git a/configure.ac b/configure.ac
+index 5740585..cf6c316 100644
+--- a/configure.ac
 b/configure.ac
+@@ -16 +16 @@ AC_CONFIG_SRCDIR([libop/op_config.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/7] bzip2: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
bzip2 doesn't want GNU-levels of automake strictness so tell it to be "foreign".

Signed-off-by: Ross Burton 
---
 meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac 
b/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
index 14b1d18..47ee576 100644
--- a/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
+++ b/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
@@ -1,7 +1,7 @@
 AC_PREREQ([2.57])
 
 AC_INIT(bzip2, 2.0.5, , libXrender)
-AM_INIT_AUTOMAKE()
+AM_INIT_AUTOMAKE(foreign)
 AM_MAINTAINER_MODE
 
 #AM_CONFIG_HEADER(config.h)
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/7] libid3tag: use "foreign" automake strictness

2014-07-15 Thread Ross Burton
libid3tag doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

Signed-off-by: Ross Burton 
---
 .../libid3tag/libid3tag/obsolete_automake_macros.patch  |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch 
b/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch
index 8a04b54..2845fb1 100644
--- a/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch
+++ b/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch
@@ -6,7 +6,8 @@ diff -Nurd libid3tag-0.15.1b/configure.ac 
libid3tag-0.15.1b/configure.ac
 +++ libid3tag-0.15.1b/configure.ac 2013-01-03 06:41:02.734835014 +0200
 @@ -28,7 +28,7 @@
 
- AM_INIT_AUTOMAKE
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
 
 -AM_CONFIG_HEADER([config.h])
 +AC_CONFIG_HEADERS([config.h])
-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/7][RFC] Remove enforced --foreign in autoreconf

2014-07-15 Thread Ross Burton
Hi,

Since 2004 we've been forcibly passing --foreign to automake in autoreconf.
This is a change from upstream behaviour and can actually break packages that
expect GNU behaviour (admittedly the failure case reported was "interesting"),
and I'm on a bit of a mission to remove patches that don't have a solid reason
behind them.

Forcing --foreign doesn't seem that important these days as the majority of
packages are telling automake they're foreign, There are a few packages that
need patches for this change, notably they're mostly packages that haven't seen
a release for ten years.

This series is build tested against a world build in oe-core for NUC, so I'd
call it a demonstration that the patch is viable and would appreciate others
running build tests against other machines or layers.

Ross

The following changes since commit 9e99bcffec594cb5b4c3533200e8eb56d32e6a77:

  insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 
23:20:04 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ross/automake

for you to fetch changes up to 406153008dc78f4e3198c012f2db98fcac09b5c1:

  autoconf: remove automake patch enforcing --foreign (2014-07-15 17:05:29 
+0100)


Ross Burton (7):
  bzip2: use "foreign" automake strictness
  libid3tag: use "foreign" automake strictness
  which: use "foreign" automake strictness
  libmad: use "foreign" automake strictness
  oprofile: use "foreign" automake strictness
  ltp: use "foreign" automake strictness
  autoconf: remove automake patch enforcing --foreign

 .../autoconf/autoconf/autoreconf-foreign.patch |   13 -
 meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 -
 .../bzip2/bzip2-1.0.6/configure.ac |2 +-
 .../ltp/ltp/automake-foreign.patch |   20 
 meta/recipes-extended/ltp/ltp_20140422.bb  |1 +
 .../which/which-2.20/automake.patch|   10 ++
 meta/recipes-extended/which/which_2.20.bb  |1 +
 meta/recipes-kernel/oprofile/oprofile.inc  |1 +
 .../oprofile/oprofile/automake-foreign.patch   |7 +++
 .../libid3tag/obsolete_automake_macros.patch   |3 ++-
 .../libmad/libmad/automake-foreign.patch   |   12 
 meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |1 +
 12 files changed, 56 insertions(+), 16 deletions(-)
 delete mode 100644 
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
 create mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch
 create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
 create mode 100644 meta/recipes-multimedia/libmad/libmad/automake-foreign.patch

Ross Burton (7):
  bzip2: use "foreign" automake strictness
  libid3tag: use "foreign" automake strictness
  which: use "foreign" automake strictness
  libmad: use "foreign" automake strictness
  oprofile: use "foreign" automake strictness
  ltp: use "foreign" automake strictness
  autoconf: remove automake patch enforcing --foreign

 .../autoconf/autoconf/autoreconf-foreign.patch |   13 -
 meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 -
 .../bzip2/bzip2-1.0.6/configure.ac |2 +-
 .../ltp/ltp/automake-foreign.patch |   20 
 meta/recipes-extended/ltp/ltp_20140422.bb  |1 +
 .../which/which-2.20/automake.patch|   10 ++
 meta/recipes-extended/which/which_2.20.bb  |1 +
 meta/recipes-kernel/oprofile/oprofile.inc  |1 +
 .../oprofile/oprofile/automake-foreign.patch   |7 +++
 .../libid3tag/obsolete_automake_macros.patch   |3 ++-
 .../libmad/libmad/automake-foreign.patch   |   12 
 meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |1 +
 12 files changed, 56 insertions(+), 16 deletions(-)
 delete mode 100644 
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
 create mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch
 create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
 create mode 100644 meta/recipes-multimedia/libmad/libmad/automake-foreign.patch

-- 
1.7.10.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] curious about why bitbake.conf setting of FILES_${PN}-bin

2014-07-15 Thread Robert P. J. Day
On Tue, 15 Jul 2014, Saul Wold wrote:

> On 07/15/2014 08:51 AM, Burton, Ross wrote:
> > On 15 July 2014 16:23, Saul Wold  wrote:
> > > Blame me for that patch!  Looking back at the commit message
> > > from about 2 years ago I think this got mid-way through a
> > > change, with the plan to actually remove lib_package completely
> > > since all it contained was the setting of PACKAGE_BEFORE_PN,
> > > therefore having FILES${PN}-bin. Not sure why we did not end up
> > > completing that.
> > >
> > > So another option is to remove the inherits and replace it with
> > > PACKAGE_BEFORE_PNs, Which would finish off the orignal plan!
> >
> > Wouldn't that change the packaging by putting all binaries into a
> > PN-bin package?
> >
> No the change would be to rmove the inherit lib_packaging from the
> recipes that use it and replace that with setting PACKAGE_BEFORE_PN
> with ${PN}-bin. So it's just doing what the recipes do already, not
> a general change in bitbake.conf.

  just FYI, while PACKAGE_BEFORE_PN is a cool concept, it's not like
there's a lot of it being used in the poky layer -- all of two uses:

meta/classes/lib_package.bbclass:PACKAGE_BEFORE_PN = "${PN}-bin"
meta/recipes-graphics/clutter/clutter-1.0.inc:PACKAGE_BEFORE_PN += 
"${PN}-examples"

was it really necessary to introduce a new variable just for that?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday



-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] curious about why bitbake.conf setting of FILES_${PN}-bin

2014-07-15 Thread Saul Wold

On 07/15/2014 08:51 AM, Burton, Ross wrote:

On 15 July 2014 16:23, Saul Wold  wrote:

Blame me for that patch!  Looking back at the commit message from about 2
years ago I think this got mid-way through a change, with the plan to
actually remove lib_package completely since all it contained was the
setting of PACKAGE_BEFORE_PN, therefore having FILES${PN}-bin. Not sure why
we did not end up completing that.

So another option is to remove the inherits and replace it with
PACKAGE_BEFORE_PNs, Which would finish off the orignal plan!


Wouldn't that change the packaging by putting all binaries into a
PN-bin package?

No the change would be to rmove the inherit lib_packaging from the 
recipes that use it and replace that with setting PACKAGE_BEFORE_PN with 
${PN}-bin.  So it's just doing what the recipes do already, not a 
general change in bitbake.conf.


Sau!



Ross



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] curious about why bitbake.conf setting of FILES_${PN}-bin

2014-07-15 Thread Burton, Ross
On 15 July 2014 16:23, Saul Wold  wrote:
> Blame me for that patch!  Looking back at the commit message from about 2
> years ago I think this got mid-way through a change, with the plan to
> actually remove lib_package completely since all it contained was the
> setting of PACKAGE_BEFORE_PN, therefore having FILES${PN}-bin. Not sure why
> we did not end up completing that.
>
> So another option is to remove the inherits and replace it with
> PACKAGE_BEFORE_PNs, Which would finish off the orignal plan!

Wouldn't that change the packaging by putting all binaries into a
PN-bin package?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] curious about why bitbake.conf setting of FILES_${PN}-bin

2014-07-15 Thread Robert P. J. Day
On Tue, 15 Jul 2014, Saul Wold wrote:

> I just did a basic search and could not find any reference and I
> know that PACKAGES/FILES is "greedy" meaning once a file is consumed
> by a FILES entry it's not available again.  Should probably be added
> to the PACKAGES and / or FILES.

  i *know* i've read that before somewhere, just don't remember where.
the only reference i've seen recently is, coincidentally,
lib_package.bbclass:

#
# ${PN}-bin is defined in bitbake.conf
#
# We need to allow the other packages to be greedy with what they
# want out of /usr/bin and /usr/sbin before ${PN}-bin gets greedy.
#
PACKAGE_BEFORE_PN = "${PN}-bin"

  anyone know if it's somewhere in one of the yocto manuals?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-oe][PATCH] [v4] lz4: update to latest version

2014-07-15 Thread Armin Kuster
update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117 for
  a copyright date change
Fixes CVE-2014-4611

Signed-off-by: Armin Kuster 
---
 meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)
 rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (69%)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb 
b/meta/recipes-support/lz4/lz4_git.bb
similarity index 69%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..8285302 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,14 @@ SUMMARY = "Extremely Fast Compression algorithm"
 DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing 
compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also 
features an extremely fast decoder, with speed in multiple GB/s per core, 
typically reaching RAM speed limits on multi-core systems."
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
 
-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+PV = "r119"
 
-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
 
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} 
INCLUDEDIR=${includedir}"
 
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/5] wic: Add vfat support

2014-07-15 Thread Tom Zanussi
Add vfat as a supported rootfs type (in addition to the current
ext2/3/4 and btrfs support).

vfat partitions can now be created using --source rootfs along with
--fstype=vfat, or without --source but specifying a --size.

Signed-off-by: Tom Zanussi 
---
 .../lib/mic/kickstart/custom_commands/partition.py | 74 ++
 1 file changed, 74 insertions(+)

diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 75ad6ad..4662bdd 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -186,6 +186,11 @@ class Wic_PartData(Mic_PartData):
  rootfs_dir, native_sysroot,
  pseudo)
 
+elif self.fstype.startswith("vfat"):
+return self.prepare_rootfs_vfat(cr_workdir, oe_builddir,
+rootfs_dir, native_sysroot,
+pseudo)
+
 def prepare_rootfs_ext(self, cr_workdir, oe_builddir, rootfs_dir,
native_sysroot, pseudo):
 """
@@ -270,6 +275,53 @@ class Wic_PartData(Mic_PartData):
 self.size = rootfs_size
 self.source_file = rootfs
 
+def prepare_rootfs_vfat(self, cr_workdir, oe_builddir, rootfs_dir,
+native_sysroot, pseudo):
+"""
+Prepare content for a vfat rootfs partition.
+"""
+image_rootfs = rootfs_dir
+rootfs = "%s/rootfs_%s.%s" % (cr_workdir, self.label, self.fstype)
+
+du_cmd = "du -bks %s" % image_rootfs
+rc, out = exec_cmd(du_cmd)
+blocks = int(out.split()[0])
+
+extra_blocks = self.get_extra_block_count(blocks)
+
+if extra_blocks < BOOTDD_EXTRA_SPACE:
+extra_blocks = BOOTDD_EXTRA_SPACE
+
+blocks += extra_blocks
+
+msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \
+(extra_blocks, self.mountpoint, blocks))
+
+# Ensure total sectors is an integral number of sectors per
+# track or mcopy will complain. Sectors are 512 bytes, and we
+# generate images with 32 sectors per track. This calculation is
+# done in blocks, thus the mod by 16 instead of 32.
+blocks += (16 - (blocks % 16))
+
+dosfs_cmd = "mkdosfs -n boot -S 512 -C %s %d" % (rootfs, blocks)
+exec_native_cmd(dosfs_cmd, native_sysroot)
+
+mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (rootfs, image_rootfs)
+rc, out = exec_native_cmd(mcopy_cmd, native_sysroot)
+if rc:
+msger.error("ERROR: mcopy returned '%s' instead of 0 (which you 
probably don't want to ignore, use --debug for details)" % rc)
+
+chmod_cmd = "chmod 644 %s" % rootfs
+exec_cmd(chmod_cmd)
+
+# get the rootfs size in the right units for kickstart (Mb)
+du_cmd = "du -Lbms %s" % rootfs
+rc, out = exec_cmd(du_cmd)
+rootfs_size = out.split()[0]
+
+self.set_size(rootfs_size)
+self.set_source_file(rootfs)
+
 def prepare_empty_partition(self, cr_workdir, oe_builddir, native_sysroot):
 """
 Prepare an empty partition.
@@ -280,6 +332,9 @@ class Wic_PartData(Mic_PartData):
 elif self.fstype.startswith("btrfs"):
 return self.prepare_empty_partition_btrfs(cr_workdir, oe_builddir,
   native_sysroot)
+elif self.fstype.startswith("vfat"):
+return self.prepare_empty_partition_vfat(cr_workdir, oe_builddir,
+ native_sysroot)
 
 def prepare_empty_partition_ext(self, cr_workdir, oe_builddir,
 native_sysroot):
@@ -322,6 +377,25 @@ class Wic_PartData(Mic_PartData):
 
 return 0
 
+def prepare_empty_partition_vfat(self, cr_workdir, oe_builddir,
+ native_sysroot):
+"""
+Prepare an empty vfat partition.
+"""
+fs = "%s/fs.%s" % (cr_workdir, self.fstype)
+
+blocks = self.size * 1024
+
+dosfs_cmd = "mkdosfs -n boot -S 512 -C %s %d" % (fs, blocks)
+exec_native_cmd(dosfs_cmd, native_sysroot)
+
+chmod_cmd = "chmod 644 %s" % fs
+exec_cmd(chmod_cmd)
+
+self.source_file = fs
+
+return 0
+
 def prepare_swap_partition(self, cr_workdir, oe_builddir, native_sysroot):
 """
 Prepare a swap partition.
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] wic: Error on zero-sized partitions

2014-07-15 Thread Tom Zanussi
It doesn't make sense to create zero-sized partitions so assume user
error and notify the user they should be using a non-zero --size for
partitions that don't specify a --source.

Signed-off-by: Tom Zanussi 
---
 scripts/lib/mic/kickstart/custom_commands/partition.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 4662bdd..06f29a9 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -122,6 +122,8 @@ class Wic_PartData(Mic_PartData):
 partition command parameters.
 """
 if not self.source:
+if not self.size:
+msger.error("The %s partition has a size of zero.  Please 
specify a non-zero --size for that partition." % self.mountpoint)
 if self.fstype and self.fstype == "swap":
 self.prepare_swap_partition(cr_workdir, oe_builddir,
 native_sysroot)
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/5] wic: Error on parted non-zero error code

2014-07-15 Thread Tom Zanussi
The current code uses msger.debug() to note errors, effectively
squelching them if --debug isn't used.  Apparently this is because it
can return non-zero for some loop device failures.  We don't care
about loop devices, and not paying attention to the error code
actually results in invalid images, so error out on parted failures as
we should be.

Signed-off-by: Tom Zanussi 
---
 scripts/lib/mic/utils/partitionedfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/mic/utils/partitionedfs.py 
b/scripts/lib/mic/utils/partitionedfs.py
index 6607466..593cf1f 100644
--- a/scripts/lib/mic/utils/partitionedfs.py
+++ b/scripts/lib/mic/utils/partitionedfs.py
@@ -272,7 +272,7 @@ class PartitionedMount(Mount):
 # parted always fails to reload part table with loop devices. This
 # prevents us from distinguishing real errors based on return
 # code.
-msger.debug("WARNING: parted returned '%s' instead of 0" % rc)
+msger.error("WARNING: parted returned '%s' instead of 0 (use 
--debug for details)" % rc)
 
 def __create_partition(self, device, parttype, fstype, start, size):
 """ Create a partition on an image described by the 'device' object. 
"""
-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/5] wic: Updates to add vfat support and more help topics

2014-07-15 Thread Tom Zanussi
This patchset adds vfat support as requested in YOCTO #6513, and also
adds a couple new help topics: a wic overview and the start of a wic
kickstart reference.

It also fixes a couple usability bugs noted along the way.

The following changes since commit 1dcdd877c7946be4c0b1203deb14e2f842f9d0c2:

  bitbake: toasterui: fix build - project identification (2014-07-14 14:10:03 
+0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-vfat-updates
  
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-vfat-updates

Tom Zanussi (5):
  wic: Error on parted non-zero error code
  wic: Add vfat support
  wic: Add wic overview to help system
  wic: Add kickstart reference to help system
  wic: Error on zero-sized partitions

 scripts/lib/image/canned-wks/directdisk.wks|   2 +-
 scripts/lib/image/help.py  | 323 +
 .../lib/mic/kickstart/custom_commands/partition.py |  76 +
 scripts/lib/mic/utils/partitionedfs.py |   2 +-
 scripts/wic|  24 +-
 5 files changed, 416 insertions(+), 11 deletions(-)

-- 
1.8.3.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/5] wic: Add kickstart reference to help system

2014-07-15 Thread Tom Zanussi
Add a 'wic kickstart' help section to make it easy for users to access
the kickstart reference without having to go to an external website.

Signed-off-by: Tom Zanussi 
---
 scripts/lib/image/canned-wks/directdisk.wks |   2 +-
 scripts/lib/image/help.py   | 114 
 scripts/wic |  27 ---
 3 files changed, 130 insertions(+), 13 deletions(-)

diff --git a/scripts/lib/image/canned-wks/directdisk.wks 
b/scripts/lib/image/canned-wks/directdisk.wks
index 397a929..62dcab1 100644
--- a/scripts/lib/image/canned-wks/directdisk.wks
+++ b/scripts/lib/image/canned-wks/directdisk.wks
@@ -3,7 +3,7 @@
 # can directly dd to boot media.
 
 
-part /boot --source bootimg-pcbios --ondisk sda --fstype=msdos --label boot 
--active --align 1024
+part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 
1024
 part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024
 
 bootloader  --timeout=0  --append="rootwait rootfstype=ext3 video=vesafb 
vga=0x318 console=tty0"
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index bf2f773..a7e7830 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -631,3 +631,117 @@ DESCRIPTION
 kickstart commands available for use in .wks files from 'wic help
 kickstart'.
 """
+
+wic_kickstart_help = """
+
+NAME
+wic kickstart - wic kickstart reference
+
+DESCRIPTION
+This section provides the definitive reference to the wic
+kickstart language.  It also provides documentation on the list of
+--source plugins available for use from the 'part' command (see
+the 'Platform-specific Plugins' section below).
+
+The current wic implementation supports only the basic kickstart
+partitioning commands: partition (or part for short) and
+bootloader.
+
+The following is a listing of the commands, their syntax, and
+meanings. The commands are based on the Fedora kickstart
+documentation but with modifications to reflect wic capabilities.
+
+  http://fedoraproject.org/wiki/Anaconda/Kickstart#part_or_partition
+  http://fedoraproject.org/wiki/Anaconda/Kickstart#bootloader
+
+  Commands
+
+* 'part' or 'partition'
+
+   This command creates a partition on the system and uses the
+   following syntax:
+
+ part 
+
+   The  is where the partition will be mounted and
+   must take of one of the following forms:
+
+ /: For example: /, /usr, or /home
+
+ swap: The partition will be used as swap space.
+
+   The following are supported 'part' options:
+
+ --size: The minimum partition size in MBytes. Specify an
+ integer value such as 500. Do not append the number
+ with "MB". You do not need this option if you use
+ --source.
+
+ --source: This option is a wic-specific option that names the
+   source of the data that will populate the
+   partition.  The most common value for this option
+   is 'rootfs', but can be any value which maps to a
+   valid 'source plugin' (see 'wic help plugins').
+
+   If '--source rootfs' is used, it tells the wic
+   command to create a partition as large as needed
+   and to fill it with the contents of the root
+   filesystem pointed to by the '-r' wic command-line
+   option (or the equivalent rootfs derived from the
+   '-e' command-line option).  The filesystem type
+   that will be used to create the partition is driven
+   by the value of the --fstype option specified for
+   the partition (see --fstype below).
+
+   If --source ' is used, it tells the
+   wic command to create a partition as large as
+   needed and to fill with the contents of the
+   partition that will be generated by the specified
+   plugin name using the data pointed to by the '-r'
+   wic command-line option (or the equivalent rootfs
+   derived from the '-e' command-line option).
+   Exactly what those contents and filesystem type end
+   up being are depend on the given plugin
+   implementation.
+
+ --ondisk or --ondrive: Forces the partition to be created on
+a particular disk.
+
+ --fstype: Sets the file system type for the partition.  These
+   apply to partitions created using '--source rootfs' (see
+   --source above).  Valid values are:
+
+ ext2
+ ext3
+ ext4
+ btrfs
+ swap
+
+ --label label: Specifies the label to give to the filesystem
+to be made on the partition. I

[OE-core] [PATCH 3/5] wic: Add wic overview to help system

2014-07-15 Thread Tom Zanussi
Add a general overview of wic to the help system as 'wic overview',
along with some introductory examples.

Signed-off-by: Tom Zanussi 
---
 scripts/lib/image/help.py | 209 ++
 scripts/wic   |  21 +++--
 2 files changed, 221 insertions(+), 9 deletions(-)

diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index a4f27ab..bf2f773 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -88,6 +88,7 @@ wic_usage = """
 list  List available values for options and image properties
 
  Help topics:
+overview   wic overview - General overview of wic
 pluginswic plugins - Overview and API
 
  See 'wic help ' for more information on a specific
@@ -422,3 +423,211 @@ DESCRIPTION
 with the actual methods. Please see the implementation for
 examples and details.
 """
+
+wic_overview_help = """
+
+NAME
+wic overview - General overview of wic
+
+DESCRIPTION
+The 'wic' command generates partitioned images from existing
+OpenEmbedded build artifacts.  Image generation is driven by
+partitioning commands contained in an 'Openembedded kickstart'
+(.wks) file (see 'wic help kickstart') specified either directly
+on the command-line or as one of a selection of canned .wks files
+(see 'wic list images').  When applied to a given set of build
+artifacts, the result is an image or set of images that can be
+directly written onto media and used on a particular system.
+
+The 'wic' command and the infrastructure it's based is by
+definition incomplete - it's designed to allow the generation of
+customized images, and as such was designed to be completely
+extensible via a plugin interface (see 'wic help plugins').
+
+  Background and Motivation
+
+wic is meant to be a completely independent standalone utility
+that initially provides easier-to-use and more flexible
+replacements for a couple bits of existing functionality in
+oe-core: directdisk.bbclass and mkefidisk.sh.  The difference
+between wic and those examples is that with wic the functionality
+of those scripts is implemented by a general-purpose partitioning
+'language' based on Redhat kickstart syntax (with the underlying
+code borrowed from Tizen mic, which in turn was borrowed from
+Meego mic, in turn borrowed from Fedora livecd, etc.).
+
+The initial motivation and design considerations that lead to the
+current tool are described exhaustively in Yocto Bug #3847
+(https://bugzilla.yoctoproject.org/show_bug.cgi?id=3847).
+
+Though the current wic tool only uses the kickstart syntax related
+to partitioning and bootloaders and only for creating images,
+because the code is based on the mic/pykickstart code, future
+deployment efforts such as those partially described by Yocto Bug
+#4106 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=4106),
+but also others including package selection (from e.g. binary
+feeds) and deployment configuration of users/network/services,
+etc, could be implemented under this framework, considering that
+all of those are implemented in some form by the base system.
+
+  Implementation and Examples
+
+wic can be used in two different modes, depending on how much
+control the user needs in specifying the Openembedded build
+artifacts that will be used in creating the image: 'raw' and
+'cooked'.
+
+If used in 'raw' mode, artifacts are explicitly specified via
+command-line arguments (see example below).
+
+The more easily usable 'cooked' mode uses the current MACHINE
+setting and a specified image name to automatically locate the
+artifacts used to create the image.
+
+OE kickstart files (.wks) can of course be specified directly on
+the command-line, but the user can also choose from a set of
+'canned' .wks files available via the 'wic list images' command
+(example below).
+
+In any case, the prerequisite for generating any image is to have
+the build artifacts already available.  The below examples assume
+the user has already build a 'core-image-minimal' for a specific
+machine (future versions won't require this redundant step, but
+for now that's typically how build artifacts get generated).
+
+The other prerequisite is to source the build environment:
+
+  $ source oe-init-build-env
+
+To start out with, we'll generate an image from one of the canned
+.wks files.  The following generates a list of availailable
+images:
+
+  $ wic list images
+mkefidisk Create an EFI disk image
+directdiskCreate a 'pcbios' direct disk image
+
+You can get more information about any of the available images by
+typing 'wic list xxx help', where 'xxx' is one of the image names:
+
+  $ wic list mkefidisk help
+
+Creates a partitioned EFI 

Re: [OE-core] [PATCH 13/38] gnu-config: add perl to RDEPENDS_gnu-config

2014-07-15 Thread Khem Raj
On Tue, Jul 15, 2014 at 7:19 AM, Robert Yang  wrote:
> Perl script:
> gnu-config/usr/bin/gnu-configize

will it impact native recipes too ?

>
> [YOCTO #1662]
>
> Signed-off-by: Robert Yang 
> ---
>  .../gnu-config/gnu-config_20120814.bb  |2 ++
>  meta/recipes-devtools/gnu-config/gnu-config_git.bb |2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb 
> b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
> index d67466a..af4afd6 100644
> --- a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
> +++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
> @@ -17,6 +17,8 @@ SRC_URI = 
> "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV
>  SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
>  SRC_URI[sha256sum] = 
> "44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"
>
> +RDEPENDS_${PN} += "perl"
> +
>  do_compile() {
> :
>  }
> diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb 
> b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
> index 00fa759..d1b0a59 100644
> --- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
> +++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
> @@ -17,6 +17,8 @@ SRC_URI = "git://git.sv.gnu.org/config.git \
>
>  S = "${WORKDIR}/git"
>
> +RDEPENDS_${PN} += "perl"
> +
>  do_compile() {
> :
>  }
> --
> 1.7.9.5
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] udev: update init script for conditional probing of platform bus

2014-07-15 Thread Denys Dmytriyenko
On Tue, Jul 15, 2014 at 08:30:04AM -0700, Saul Wold wrote:
> On 07/14/2014 07:41 PM, Denys Dmytriyenko wrote:
> >On Thu, Jun 26, 2014 at 01:43:53PM -0400, Denys Dmytriyenko wrote:
> >>On Wed, Jun 25, 2014 at 11:41:05PM +0100, Richard Purdie wrote:
> >>>On Wed, 2014-06-25 at 12:22 -0400, Denys Dmytriyenko wrote:
> On Wed, Jun 25, 2014 at 05:20:23PM +0100, Paul Eggleton wrote:
> >On Tuesday 24 June 2014 20:52:55 Denys Dmytriyenko wrote:
> >>Ping? Any comments? Any better suggestions?
> >
> >Looks like Richard has merged this, FWIW.
> 
> Yes, I saw it. Already submitted backport for daisy... :)
> >>>
> >>>I'd like this to see some testing in master for a while before we
> >>>backport it...
> >>
> >>I'm Ok waiting a bit longer to test it in master. I'll ping on it later...
> >>
> >>But this fixes a very common issue that affects different platforms from
> >>different BSP layers, including BeagleBone Black in meta-yocto-bsp. The goal
> >>is to be least intrusive and preserve the old udev cache behavior as much as
> >>possible. Alternative options were to disable udev cache completely or
> >>forcefully load necessary modules when they won't be probed on subsequent
> >>boots.
> >
> >Hi, Richard,
> >
> >Was it enough wait time to get the change tested in master? Should I 
> >re-submit
> >the patch for daisy one more time or you have it in the archives? Thanks!
> >
> I have it in my daisy-next (1.6.2) branch (I know it's not in daisy yet).

Thanks!

-- 
Denys
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v3] lz4: update to latest version

2014-07-15 Thread Saul Wold

On 07/15/2014 08:22 AM, akuster wrote:


On 07/15/2014 08:06 AM, Saul Wold wrote:

On 07/15/2014 06:28 AM, Armin Kuster wrote:

update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117


What exactly changed in r117?  Same License different working or ??


They updated the copyright date.



That's what we need in the commit message then, please update your 
commit message.


Is there a valid PV that you can set for lz4, seems like they are still 
calling them rXXX, so PV should be "r119"


Thanks
Sau!


- Armin


Sau!


FIxes CVE-2014-4611

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)
  rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb
b/meta/recipes-support/lz4/lz4_git.bb
similarity index 68%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..3978d76 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
  DESCRIPTION = "LZ4 is a very fast lossless compression algorithm,
providing compression speed at 400 MB/s per core, scalable with
multi-cores CPU. It also features an extremely fast decoder, with
speed in multiple GB/s per core, typically reaching RAM speed limits
on multi-core systems."

  LICENSE = "BSD"
-LIC_FILES_CHKSUM =
"file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"

-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"

-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
-
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"

  EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D}
LIBDIR=${libdir} INCLUDEDIR=${includedir}"






--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] OE Changelog since 2014-07-06 until 2014-07-13

2014-07-15 Thread cliff . brake
Changelog since 2014-07-06 until 2014-07-13.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: 
git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-opie: git://git.openembedded.org/meta-opie
meta-qt3: git://git.yoctoproject.org/meta-qt3
meta-qt5: git://github.com/meta-qt5/meta-qt5.git
meta-slugos: git://github.com/kraj/meta-slugos
meta-systemd: git://git.yoctoproject.org/meta-systemd
meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-ti: git://git.yoctoproject.org/meta-ti
meta-webos: git://github.com/openwebos/meta-webos.git
meta-xilinx: git://git.yoctoproject.org/meta-xilinx
meta-yocto: git://git.yoctoproject.org/meta-yocto
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:

Alexandru DAMIAN (2):
  toaster: new project page implementation
  toasterui: fix build - project identification


Changelog for openembedded-core:

Brian Lloyd (1):
  Move boot media to /media/realroot for easy access after boot.

Chong Lu (4):
  adt_installer: remove unnecessary variable
  adt_installer: fix syntax error
  adt_installer: check the result of updating opkg
  adt_installer: not download repo page

Cristian Iorga (2):
  bluez5: upgrade to 5.21
  builder: removed setting of BB_NUMBER_THREADS and PARALLEL_MAKE

Drew Moseley (3):
  init-install.sh: Verify /sys based files exist before displaying them
  init-install-efi.sh: fix to handle the boot partition correctly
  init-install-efi.sh: improve hard drive searching process

Hongxu Jia (5):
  perl, perl-native, perl-ptest: upgrade from 5.14.3 to 5.20.0
  alsa-utils: add PACKAGECONFIG for xmlto
  xorg-proto-common.inc: add PACKAGECONFIG for xmlto
  xorg-lib-common.inc: add PACKAGECONFIG for xmlto
  xserver-xorg.inc: add PACKAGECONFIG for xmlto

Koen Kooi (2):
  libnss-mdns: support ipv6 in lookups
  libnss-mdns: replace hardcoded /etc with ${sysconfdir}

Lucian Musat (1):
  oeqs/selftest: Added test case decorators for the rest of selftest testcases

Mark Hatle (6):
  db_5.3.*: Upgrade to 5.3.28
  db: Add version 6.0.30
  rpm: Upgrade to 5.4.14
  rpm: Replace patch with backport from SCM version of RPM5
  package_rpm.bbclass: Should be using HOST_* not TARGET_*
  rpm_5.4+cvs: Add RPM community tree for future development

Maxin B. John (2):
  gnutls: update to 3.3.5
  libtasn1: update to 4.0

Ming Liu (2):
  groff: fix bindir transaction error
  libcroco: disable /usr/bin/croco-6.0-config

Ricardo Neri (2):
  kexec-tools: upgrade to 2.0.7
  bootimg.bbclass: Add parameter to specify HDDIMG volume ID

Richard Purdie (8):
  sanity.bbclass: Update minimum git version to 1.7.8
  package.bbclass: Improve shlibs needed data structure
  package.bbclass: Rewrite sonames data structure to include library path
  package.bbclass: Improve shlibs pkgdata file format
  package.bbclass: Rewrite shlib_provider handling to include RPATH
  insane: Split do_package_qa into a separate task (from do_package)
  package.bbclass: Generate runtime-rprovides data
  insane: Ensure do_package_qa happens after do_packagedata

Richard Tollerton (1):
  gcc: Ensure c++ includes are in /usr/include/c++/${BINV}

Robert P. J. Day (1):
  cups.inc: Delete obsolete "PROVIDES" line.

Robert Yang (5):
  kernel.bbclass: update KERNEL_IMAGE_MAXSIZE
  base-passwd: install passwd and group atomically
  libpcap: fix depends on libnl
  rpm: disable 

Re: [OE-core] [meta-oe][PATCH] [v2] nettle: update to version 3.0

2014-07-15 Thread akuster


On 07/15/2014 08:21 AM, Saul Wold wrote:

On 07/15/2014 08:13 AM, Armin Kuster wrote:

Updating to version 3.x
Version 3.x includes GPL v3 code. They call it dual
   licensing
Keeping 2.7.1 as it is GPL v2
Put common code in inc file

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/nettle/nettle.inc  | 27 
+++

  meta/recipes-support/nettle/nettle_2.7.1.bb | 20 +++-
  meta/recipes-support/nettle/nettle_3.0.bb   | 16 
  3 files changed, 46 insertions(+), 17 deletions(-)
  create mode 100644 meta/recipes-support/nettle/nettle.inc
  create mode 100644 meta/recipes-support/nettle/nettle_3.0.bb

diff --git a/meta/recipes-support/nettle/nettle.inc 
b/meta/recipes-support/nettle/nettle.inc

new file mode 100644
index 000..bca35c0
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle.inc
@@ -0,0 +1,27 @@
+SUMMARY = "A low level cryptographic library"
+HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
+SECTION = "libs"
+LICENSE = "LGPLv2.1 & GPLv2"
+
+# Version 2.7.1 is GPL v2
+# set PREFERRED_VERSION_nettle =  "2.7.1" in local.conf
+# if you want GPLv2 code
+#


The preferred mechanism for getting GPLv2 is to set 
INCOMPATIBLE_LICENSE="GPLv3", not by setting PREFERRED_VERSION, so I 
am not sure this comment is best here.


ok. will correct.





+# Version 3.x is GPL v2 and v3
+
+
+DEPENDS += "gmp"
+
+SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";
+
+EXTRA_OECONF = "--disable-openssl"
+
+do_configure_prepend() {
+   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
+   cp ${S}/aclocal.m4 ${S}/acinclude.m4
+   fi
+}
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb 
b/meta/recipes-support/nettle/nettle_2.7.1.bb

index 8aa5351..9ef9f64 100644
--- a/meta/recipes-support/nettle/nettle_2.7.1.bb
+++ b/meta/recipes-support/nettle/nettle_2.7.1.bb
@@ -1,26 +1,12 @@
-SUMMARY = "A low level cryptographic library"
-HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
-SECTION = "libs"
+
+include nettle.inc
+
  LICENSE = "LGPLv2.1 & GPLv2"
  LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d 
\

file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"

-DEPENDS += "gmp"
-
-SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";

  SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
  SRC_URI[sha256sum] = 
"bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"


-EXTRA_OECONF = "--disable-openssl"
-
-do_configure_prepend() {
-   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
-   cp ${S}/aclocal.m4 ${S}/acinclude.m4
-   fi
-}
-
-inherit autotools
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_3.0.bb 
b/meta/recipes-support/nettle/nettle_3.0.bb

new file mode 100644
index 000..bac2e71
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_3.0.bb
@@ -0,0 +1,16 @@
+#
+# Nettle  3 and above contains GPL v3 code
+# use 2.7.1 if you do not want GPL v3 code
+#
+
+include nettle.inc
+
+LICENSE = "LGPLv2.1 & GPLv2 & GPLv3"
+

This should be | (single) then based on your follow up email to RP.


will fix this too.

-Armin



Sau!

+LIC_FILES_CHKSUM = 
"file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423\
+ 
file://serpent-decrypt.c;beginline=53;endline=67;md5=a4ccbeb343203d3586661f45c1cab577 
\
+ 
file://serpent-set-key.c;beginline=56;endline=70;md5=150b0ea44cdfb712a83331bff566e9a8"

+
+SRC_URI[md5sum] = "f64b1bf1e774b7ae6e507318e340250e"
+SRC_URI[sha256sum] = 
"9651c0bd2326eb737d0ed9eb403444712407c01a25b0fe813432ef31bebcd913"

+



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v2] nettle: update to version 3.0

2014-07-15 Thread akuster


On 07/15/2014 08:24 AM, Burton, Ross wrote:

On 15 July 2014 16:13, Armin Kuster  wrote:

+LICENSE = "LGPLv2.1 & GPLv2 & GPLv3"

The manual says:

"Nettle is dual licenced under the GNU General Public License version
2 or later, and the GNU Lesser General Public License version 3 or
later. When using Nettle, you must comply fully with all conditions of
at least one of these licenses."

So I think you mean LICENSE="GPLv2+ | LGPLv3+"

I'm undecided whether this means we can drop the old Nettle or not...


Ok. I will wait for the dust to settle before I submit patch v3.

- Armin


Ross


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] udev: update init script for conditional probing of platform bus

2014-07-15 Thread Saul Wold

On 07/14/2014 07:41 PM, Denys Dmytriyenko wrote:

On Thu, Jun 26, 2014 at 01:43:53PM -0400, Denys Dmytriyenko wrote:

On Wed, Jun 25, 2014 at 11:41:05PM +0100, Richard Purdie wrote:

On Wed, 2014-06-25 at 12:22 -0400, Denys Dmytriyenko wrote:

On Wed, Jun 25, 2014 at 05:20:23PM +0100, Paul Eggleton wrote:

On Tuesday 24 June 2014 20:52:55 Denys Dmytriyenko wrote:

Ping? Any comments? Any better suggestions?


Looks like Richard has merged this, FWIW.


Yes, I saw it. Already submitted backport for daisy... :)


I'd like this to see some testing in master for a while before we
backport it...


I'm Ok waiting a bit longer to test it in master. I'll ping on it later...

But this fixes a very common issue that affects different platforms from
different BSP layers, including BeagleBone Black in meta-yocto-bsp. The goal
is to be least intrusive and preserve the old udev cache behavior as much as
possible. Alternative options were to disable udev cache completely or
forcefully load necessary modules when they won't be probed on subsequent
boots.


Hi, Richard,

Was it enough wait time to get the change tested in master? Should I re-submit
the patch for daisy one more time or you have it in the archives? Thanks!


I have it in my daisy-next (1.6.2) branch (I know it's not in daisy yet).

Sau!

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] nettle: update to version 3.0

2014-07-15 Thread akuster

Richard,

On 07/15/2014 08:09 AM, Richard Purdie wrote:

On Tue, 2014-07-15 at 07:11 -0700, akuster wrote:

On 07/15/2014 06:49 AM, Burton, Ross wrote:

On 15 July 2014 14:27, Armin Kuster  wrote:

Add GNUv3 license

If nettle 3 contains GPLv3 code then we probably don't want to remove
nettle 2.1, for people building without any v3 code in the images.


They have what they call dual license in 3.x ( GPLv2 or GPLv3). We
certainly can keep 2.7.1


Is it "GPLv2 or GPLv3" or "GPLv2 and GPLv3". There is a big difference
and the LICENSE field needs to be set correctly (&& or || in the license
field).




Looks like 'or':

   GNU Nettle is free software: you can redistribute it and/or
   modify it under the terms of either:

 * the GNU Lesser General Public License as published by the Free
   Software Foundation; either version 3 of the License, or (at your
   option) any later version.

   or

 * the GNU General Public License as published by the Free
   Software Foundation; either version 2 of the License, or (at your
   option) any later version.

   or both in parallel, as here.

- Armin



Cheers,

Richard


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][PATCH] Document all five "*-pkgs" valid image features.

2014-07-15 Thread Robert P. J. Day

Make sure both bitbake.conf and local.conf,sample list all five valid
"*-pkgs" forms of IMAGE_FEATURES.

Signed-off-by: Robert P. J. Day 

---

  given this at the top of populate_sdk_base.bbclass:

COMPLEMENTARY_GLOB[dev-pkgs] = '*-dev'
COMPLEMENTARY_GLOB[staticdev-pkgs] = '*-staticdev'
COMPLEMENTARY_GLOB[doc-pkgs] = '*-doc'
COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg'
COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest'

i thought it would be worth adding the missing entries to the lists
below.

diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index 1b36cba..0972d1a 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -28,8 +28,10 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 # - package-management  - installs package management tools and preserves the 
package manager database
 # - debug-tweaks- makes an image suitable for development, e.g. 
allowing passwordless root logins
 # - dev-pkgs- development packages (headers, etc.) for all 
installed packages in the rootfs
+# - staticdev-pkgs  - static versions of development packages
 # - dbg-pkgs- debug symbol packages for all installed packages in 
the rootfs
 # - doc-pkgs- documentation packages for all installed packages in 
the rootfs
+# - ptest-pkgs  - package test files for ptest-enabled packages
 # - read-only-rootfs- tweaks an image to support read-only rootfs
 #
 FEATURE_PACKAGES_x11 = "packagegroup-core-x11"
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index d64ba7f..61db873 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -123,6 +123,8 @@ PACKAGE_CLASSES ?= "package_ipk"
 # (adds symbol information for debugging/profiling)
 #  "dev-pkgs"   - add -dev packages for all installed packages
 # (useful if you want to develop against libs in the image)
+#  "staticdev-pkgs" - add -staticdev packages for all installed packages
+#  "doc-pkgs"   - add -doc packages for all installed packages
 #  "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
 # (useful if you want to run the package test suites)
 #  "tools-sdk"  - add development tools (gcc, make, pkgconfig etc.)

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] curious about why bitbake.conf setting of FILES_${PN}-bin

2014-07-15 Thread Saul Wold

On 07/15/2014 06:24 AM, Robert P. J. Day wrote:


   currently doing a writeup on file distribution among a recipe's
generated packages, and noticed the following. here's a snippet from
OE's bitbake.conf:


PACKAGE_BEFORE_PN ?= ""
PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale 
${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES_DYNAMIC = "^${PN}-locale-.*"
FILES = ""

FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} 
\
 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
 ${base_bindir}/* ${base_sbindir}/* \
 ${base_libdir}/*${SOLIBS} \
 ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d \
 ${datadir}/${BPN} ${libdir}/${BPN}/* \
 ${datadir}/pixmaps ${datadir}/applications \
 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
 ${libdir}/bonobo/servers"


   first, to make sure i understand the above correctly, the setting of
FILES_${PN} defines the (default) entire possible set of generated
files that will be used to populate the packages created by a single
recipe, correct?


This is correct


   also, since packages are populated in order, left to right, we'll
see file definitions like:

FILES_${PN}-dbg = ...
FILES_${PN}-staticdev = ...
FILES_${PN}-dev = ...

where, once a file is placed in a package, even if that name occurs
again in a later package, it will be skipped. (anyone remember which
manual this is mentioned in?)

I just did a basic search and could not find any reference and I know 
that PACKAGES/FILES is "greedy" meaning once a file is consumed by a 
FILES entry it's not available again.  Should probably be added to the 
PACKAGES and / or FILES.



   however, i also see this:

FILES_${PN}-bin = "${bindir}/* ${sbindir}/*"

and i thought, that's weird, that particular package isn't mentioned
anywhere in bitbake.conf, why is it being defined if it isn't used?
ah, then i see this in lib_package.bbclass:

PACKAGE_BEFORE_PN = "${PN}-bin"

which clearly defines a library being packaged, but also allowing
binary executables to be broken out separately, which is fine, but
it's confusing why the setting of FILES_${PN}-bin is done in
bitbake.conf, when its only application is (currently) for library
packaging.

   wouldn't it make more sense to move that line so that
lib_package.bbclass contained:

FILES_${PN}-bin = "${bindir}/* ${sbindir}/*"
PACKAGE_BEFORE_PN = "${PN}-bin"

that would make lib_package.bbclass more self-contained, and stop
bitbake.conf from setting a variable that most recipes don't care
about. thoughts?

Blame me for that patch!  Looking back at the commit message from about 
2 years ago I think this got mid-way through a change, with the plan to 
actually remove lib_package completely since all it contained was the 
setting of PACKAGE_BEFORE_PN, therefore having FILES${PN}-bin. Not sure 
why we did not end up completing that.


So another option is to remove the inherits and replace it with 
PACKAGE_BEFORE_PNs, Which would finish off the orignal plan!



rday

p.s. this kind of goes back to the image vs core-image discussion,
where one wonders why base classes are doing things that require
inheriting classes to finish off for them. or something like that.


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v2] nettle: update to version 3.0

2014-07-15 Thread Saul Wold

On 07/15/2014 08:13 AM, Armin Kuster wrote:

Updating to version 3.x
Version 3.x includes GPL v3 code. They call it dual
   licensing
Keeping 2.7.1 as it is GPL v2
Put common code in inc file

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/nettle/nettle.inc  | 27 +++
  meta/recipes-support/nettle/nettle_2.7.1.bb | 20 +++-
  meta/recipes-support/nettle/nettle_3.0.bb   | 16 
  3 files changed, 46 insertions(+), 17 deletions(-)
  create mode 100644 meta/recipes-support/nettle/nettle.inc
  create mode 100644 meta/recipes-support/nettle/nettle_3.0.bb

diff --git a/meta/recipes-support/nettle/nettle.inc 
b/meta/recipes-support/nettle/nettle.inc
new file mode 100644
index 000..bca35c0
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle.inc
@@ -0,0 +1,27 @@
+SUMMARY = "A low level cryptographic library"
+HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
+SECTION = "libs"
+LICENSE = "LGPLv2.1 & GPLv2"
+
+# Version 2.7.1 is GPL v2
+# set PREFERRED_VERSION_nettle =  "2.7.1" in local.conf
+# if you want GPLv2 code
+#


The preferred mechanism for getting GPLv2 is to set 
INCOMPATIBLE_LICENSE="GPLv3", not by setting PREFERRED_VERSION, so I am 
not sure this comment is best here.



+# Version 3.x is GPL v2 and v3
+
+
+DEPENDS += "gmp"
+
+SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";
+
+EXTRA_OECONF = "--disable-openssl"
+
+do_configure_prepend() {
+   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
+   cp ${S}/aclocal.m4 ${S}/acinclude.m4
+   fi
+}
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb 
b/meta/recipes-support/nettle/nettle_2.7.1.bb
index 8aa5351..9ef9f64 100644
--- a/meta/recipes-support/nettle/nettle_2.7.1.bb
+++ b/meta/recipes-support/nettle/nettle_2.7.1.bb
@@ -1,26 +1,12 @@
-SUMMARY = "A low level cryptographic library"
-HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
-SECTION = "libs"
+
+include nettle.inc
+
  LICENSE = "LGPLv2.1 & GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
  
file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d
 \
  
file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"

-DEPENDS += "gmp"
-
-SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";

  SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
  SRC_URI[sha256sum] = 
"bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"

-EXTRA_OECONF = "--disable-openssl"
-
-do_configure_prepend() {
-   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
-   cp ${S}/aclocal.m4 ${S}/acinclude.m4
-   fi
-}
-
-inherit autotools
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_3.0.bb 
b/meta/recipes-support/nettle/nettle_3.0.bb
new file mode 100644
index 000..bac2e71
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_3.0.bb
@@ -0,0 +1,16 @@
+#
+# Nettle  3 and above contains GPL v3 code
+# use 2.7.1 if you do not want GPL v3 code
+#
+
+include nettle.inc
+
+LICENSE = "LGPLv2.1 & GPLv2 & GPLv3"
+

This should be | (single) then based on your follow up email to RP.

Sau!


+LIC_FILES_CHKSUM = "file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423\
+
file://serpent-decrypt.c;beginline=53;endline=67;md5=a4ccbeb343203d3586661f45c1cab577
 \
+
file://serpent-set-key.c;beginline=56;endline=70;md5=150b0ea44cdfb712a83331bff566e9a8"
+
+SRC_URI[md5sum] = "f64b1bf1e774b7ae6e507318e340250e"
+SRC_URI[sha256sum] = 
"9651c0bd2326eb737d0ed9eb403444712407c01a25b0fe813432ef31bebcd913"
+


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v2] nettle: update to version 3.0

2014-07-15 Thread Burton, Ross
On 15 July 2014 16:13, Armin Kuster  wrote:
> +LICENSE = "LGPLv2.1 & GPLv2 & GPLv3"

The manual says:

"Nettle is dual licenced under the GNU General Public License version
2 or later, and the GNU Lesser General Public License version 3 or
later. When using Nettle, you must comply fully with all conditions of
at least one of these licenses."

So I think you mean LICENSE="GPLv2+ | LGPLv3+"

I'm undecided whether this means we can drop the old Nettle or not...

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v3] lz4: update to latest version

2014-07-15 Thread akuster


On 07/15/2014 08:06 AM, Saul Wold wrote:

On 07/15/2014 06:28 AM, Armin Kuster wrote:

update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117


What exactly changed in r117?  Same License different working or ??


They updated the copyright date.

- Armin


Sau!


FIxes CVE-2014-4611

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)
  rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb 
b/meta/recipes-support/lz4/lz4_git.bb

similarity index 68%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..3978d76 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
  DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, 
providing compression speed at 400 MB/s per core, scalable with 
multi-cores CPU. It also features an extremely fast decoder, with 
speed in multiple GB/s per core, typically reaching RAM speed limits 
on multi-core systems."


  LICENSE = "BSD"
-LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM = 
"file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"


-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"

-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
-
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"

  EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} 
LIBDIR=${libdir} INCLUDEDIR=${includedir}"





--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] nettle: update to version 3.0

2014-07-15 Thread Saul Wold

On 07/15/2014 07:19 AM, akuster808 wrote:

Ross,

Since we are keeping both versions, should I define  a PREFERRED_VERSION?

No need to do that since the newer version will be used by default, and 
when INCOMPATIBLE_LICENSE with GPLv3 is set, the GPLv3 will be 
blacklisted and the older GPLv2 version will be used.


Sau!


- Armin

On 07/15/2014 06:49 AM, Burton, Ross wrote:

On 15 July 2014 14:27, Armin Kuster  wrote:

Add GNUv3 license


If nettle 3 contains GPLv3 code then we probably don't want to remove
nettle 2.1, for people building without any v3 code in the images.

Ross


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] smart: set noprogress for pycurl

2014-07-15 Thread Kai Kang
Set NOPROGRESS for pycurl just as same as default operation in pycurl
module itself. If set NOPROGRESS with 0 for pycurl, it causes dead lock
issue of Python GIL when call smart library by python gui just like
pygtk.

Signed-off-by: Kai Kang 
---
 .../smart-set-noprogress-for-pycurl.patch| 20 
 meta/recipes-devtools/python/python-smartpm_1.4.1.bb |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch

diff --git 
a/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
 
b/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
new file mode 100644
index 000..2885998
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
@@ -0,0 +1,20 @@
+Set NOPROGRESS for pycurl just as same as default operation in pycurl module 
itself.
+If set NOPROGRESS with 0 for pycurl, it causes dead lock issue of Python GIL 
when
+call smart library by python gui just like pygtk.
+
+Upstream-Status: Pending
+
+Signed-off-by: Kai Kang 
+---
+diff -u smart-1.4.1/smart.orig/fetcher.py smart-1.4.1/smart/fetcher.py
+--- smart-1.4.1/smart.orig/fetcher.py  2014-07-15 16:42:19.240437080 +0800
 smart-1.4.1/smart/fetcher.py   2014-07-15 17:02:37.812470289 +0800
+@@ -1720,7 +1720,7 @@
+ handle.setopt(pycurl.OPT_FILETIME, 1)
+ handle.setopt(pycurl.LOW_SPEED_LIMIT, 1)
+ handle.setopt(pycurl.LOW_SPEED_TIME, SOCKETTIMEOUT)
+-handle.setopt(pycurl.NOPROGRESS, 0)
++handle.setopt(pycurl.NOPROGRESS, 1)
+ handle.setopt(pycurl.PROGRESSFUNCTION, progress)
+ handle.setopt(pycurl.WRITEDATA, local)
+ handle.setopt(pycurl.FOLLOWLOCATION, 1)
diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb 
b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
index 0971579..8eb2a25 100644
--- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
+++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
@@ -32,6 +32,7 @@ SRC_URI = "\
   file://smart-config-ignore-all-recommends.patch \
   file://smart-attempt.patch \
   file://smart-filename-NAME_MAX.patch \
+  file://smart-set-noprogress-for-pycurl.patch \
   "
 
 SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6"
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] UBI filesystem creation fails silently with 4k erase size

2014-07-15 Thread Denys Dmytriyenko
On Mon, Jul 14, 2014 at 03:06:31PM +0200, Mike Looijmans wrote:
> On 07/14/2014 02:07 PM, Mike Looijmans wrote:
> >I have a NOR chip that reports a 4k erase size, so in my machine.conf I 
> >entered:
> >
> >MKUBIFS_ARGS = "-m 1 -e 3968 -c 7040"
> >UBINIZE_ARGS = "-m 1 -p 4096"
> >UBI_VOLNAME = "qspi-rootfs"
> >
> >
> >When I create an image with "ubi" in the IMAGE_FSTYPES, the build runs and
> >does not report any error, however it did NOT create the ubi filesystem 
> >image.
> >
> >If I change the parameters for a 64k flash using:
> >
> >MKUBIFS_ARGS = "-m 1 -e 65408 -c 440"
> >
> >the ubi filesystem is created (both ubifs and ubi files).
> >
> >
> >Where can I find what went wrong? I'd expect big read error messages telling
> >me that it failed to create an image for my device, but I cannot find such
> >message anywhere.
> >
> >So my questions are:
> >
> >1) Why is there no error message when image creation fails?
> >2) Where is the log/output from the mkfs.ubi commands?
> >2) What could be wrong with my mkubifs parameters?
> >
> 
> The answer to that last question is that UBI itself refuses to work
> with a sector size below 15kB. Which results in UBI now failing to
> work on most NOR chips on the market because the kernel recently
> uses 4k erasing for all serial flash chips that support it.
> 
> So just the question remains why OE doesn't tell me about mkfs.ubifs failure?

Do you have the following fix?

http://cgit.openembedded.org/openembedded-core/commit/?id=f8125a1e9b6893a12355d55d4df584a8d97f0bff

-- 
Denys
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-oe][PATCH] [v2] nettle: update to version 3.0

2014-07-15 Thread Armin Kuster
Updating to version 3.x
Version 3.x includes GPL v3 code. They call it dual
  licensing
Keeping 2.7.1 as it is GPL v2
Put common code in inc file

Signed-off-by: Armin Kuster 
---
 meta/recipes-support/nettle/nettle.inc  | 27 +++
 meta/recipes-support/nettle/nettle_2.7.1.bb | 20 +++-
 meta/recipes-support/nettle/nettle_3.0.bb   | 16 
 3 files changed, 46 insertions(+), 17 deletions(-)
 create mode 100644 meta/recipes-support/nettle/nettle.inc
 create mode 100644 meta/recipes-support/nettle/nettle_3.0.bb

diff --git a/meta/recipes-support/nettle/nettle.inc 
b/meta/recipes-support/nettle/nettle.inc
new file mode 100644
index 000..bca35c0
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle.inc
@@ -0,0 +1,27 @@
+SUMMARY = "A low level cryptographic library"
+HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
+SECTION = "libs"
+LICENSE = "LGPLv2.1 & GPLv2"
+
+# Version 2.7.1 is GPL v2
+# set PREFERRED_VERSION_nettle =  "2.7.1" in local.conf
+# if you want GPLv2 code
+#
+# Version 3.x is GPL v2 and v3
+
+
+DEPENDS += "gmp"
+
+SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";
+
+EXTRA_OECONF = "--disable-openssl"
+
+do_configure_prepend() {
+   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
+   cp ${S}/aclocal.m4 ${S}/acinclude.m4
+   fi
+}
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb 
b/meta/recipes-support/nettle/nettle_2.7.1.bb
index 8aa5351..9ef9f64 100644
--- a/meta/recipes-support/nettle/nettle_2.7.1.bb
+++ b/meta/recipes-support/nettle/nettle_2.7.1.bb
@@ -1,26 +1,12 @@
-SUMMARY = "A low level cryptographic library"
-HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/";
-SECTION = "libs"
+
+include nettle.inc
+
 LICENSE = "LGPLv2.1 & GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 
file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d
 \
 
file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"
 
-DEPENDS += "gmp"
-
-SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz";
 
 SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
 SRC_URI[sha256sum] = 
"bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"
 
-EXTRA_OECONF = "--disable-openssl"
-
-do_configure_prepend() {
-   if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
-   cp ${S}/aclocal.m4 ${S}/acinclude.m4
-   fi
-}
-
-inherit autotools
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/nettle/nettle_3.0.bb 
b/meta/recipes-support/nettle/nettle_3.0.bb
new file mode 100644
index 000..bac2e71
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_3.0.bb
@@ -0,0 +1,16 @@
+#
+# Nettle  3 and above contains GPL v3 code
+# use 2.7.1 if you do not want GPL v3 code
+#
+
+include nettle.inc
+
+LICENSE = "LGPLv2.1 & GPLv2 & GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423\
+
file://serpent-decrypt.c;beginline=53;endline=67;md5=a4ccbeb343203d3586661f45c1cab577
 \
+
file://serpent-set-key.c;beginline=56;endline=70;md5=150b0ea44cdfb712a83331bff566e9a8"
+
+SRC_URI[md5sum] = "f64b1bf1e774b7ae6e507318e340250e"
+SRC_URI[sha256sum] = 
"9651c0bd2326eb737d0ed9eb403444712407c01a25b0fe813432ef31bebcd913"
+
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] [v3] lz4: update to latest version

2014-07-15 Thread Saul Wold

On 07/15/2014 06:28 AM, Armin Kuster wrote:

update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117


What exactly changed in r117?  Same License different working or ??

Sau!


FIxes CVE-2014-4611

Signed-off-by: Armin Kuster 
---
  meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)
  rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb 
b/meta/recipes-support/lz4/lz4_git.bb
similarity index 68%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..3978d76 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
  DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing 
compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features 
an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM 
speed limits on multi-core systems."

  LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"

-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"

-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
-
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"

  EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} 
INCLUDEDIR=${includedir}"



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] nettle: update to version 3.0

2014-07-15 Thread Richard Purdie
On Tue, 2014-07-15 at 07:11 -0700, akuster wrote:
> On 07/15/2014 06:49 AM, Burton, Ross wrote:
> > On 15 July 2014 14:27, Armin Kuster  wrote:
> >> Add GNUv3 license
> > If nettle 3 contains GPLv3 code then we probably don't want to remove
> > nettle 2.1, for people building without any v3 code in the images.
> 
> They have what they call dual license in 3.x ( GPLv2 or GPLv3). We 
> certainly can keep 2.7.1

Is it "GPLv2 or GPLv3" or "GPLv2 and GPLv3". There is a big difference
and the LICENSE field needs to be set correctly (&& or || in the license
field).

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage

2014-07-15 Thread Yang Shi
Install, deploy and package KERNEL_ALT_IMAGETYPE and create kernel-alt-image
package.

Check if KERNEL_ALT_IMAGETYPE is uImage in do_uboot_mkimage and adding
u-boot-mkimage-native depend if it is uImage.

Signed-off-by: Yang Shi 
---
 meta/classes/kernel.bbclass | 30 +++---
 1 file changed, 27 insertions(+), 3 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6ed1cb7..2edc2bb 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -13,7 +13,8 @@ INITRAMFS_IMAGE_BUNDLE ?= ""
 
 python __anonymous () {
 kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or ''
-if kerneltype == 'uImage':
+kernelalttype = d.getVar('KERNEL_ALT_IMAGETYPE', True) or ''
+if kerneltype == 'uImage' or kernelalttype == 'uImage':
 depends = d.getVar("DEPENDS", True)
 depends = "%s u-boot-mkimage-native" % depends
 d.setVar("DEPENDS", depends)
@@ -74,6 +75,7 @@ KERNEL_EXTRA_ARGS ?= ""
 EXTRA_OEMAKE = ""
 
 KERNEL_ALT_IMAGETYPE ??= ""
+KERNEL_ALT_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_ALT_IMAGETYPE}"
 
 # Define where the kernel headers are installed on the target as well as where
 # they are staged.
@@ -200,6 +202,7 @@ kernel_do_install() {
install -d ${D}/${KERNEL_IMAGEDEST}
install -d ${D}/boot
install -m 0644 ${KERNEL_OUTPUT} 
${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
+   install -m 0644 ${KERNEL_ALT_OUTPUT} 
${D}/${KERNEL_IMAGEDEST}/${KERNEL_ALT_IMAGETYPE}-${KERNEL_VERSION}
install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION}
install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION}
install -m 0644 vmlinux ${D}/boot/vmlinux-${KERNEL_VERSION}
@@ -225,6 +228,7 @@ kernel_do_install() {
#
 
echo "${KERNEL_IMAGE_BASE_NAME}" >$kerneldir/kernel-image-name
+   echo "${KERNEL_ALT_IMAGE_BASE_NAME}" >$kerneldir/kernel-alt-image-name
 
#
# Copy the entire source tree. In case an external build directory is
@@ -245,6 +249,7 @@ kernel_do_install() {
# the same file. If hardlinking is used, they will be the same, and 
there's
# no need to install.
! [ ${KERNEL_OUTPUT} -ef $kerneldir/${KERNEL_IMAGETYPE} ] && install -m 
0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
+   ! [ ${KERNEL_ALT_OUTPUT} -ef $kerneldir/${KERNEL_ALT_IMAGETYPE} ] && 
install -m 0644 ${KERNEL_ALT_OUTPUT} $kerneldir/${KERNEL_ALT_IMAGETYPE}
install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
 
# Dummy Makefile so the clean below works
@@ -342,10 +347,11 @@ EXPORT_FUNCTIONS do_compile do_install do_configure
 
 # kernel-base becomes kernel-${KERNEL_VERSION}
 # kernel-image becomes kernel-image-${KERNEL_VERISON}
-PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev 
kernel-modules"
+PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-alt-image 
kernel-dev kernel-modules"
 FILES_${PN} = ""
 FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order 
/lib/modules/${KERNEL_VERSION}/modules.builtin"
 FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
+FILES_kernel-alt-image = "/boot/${KERNEL_ALT_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* 
${KERNEL_SRC_PATH}"
 FILES_kernel-vmlinux = "/boot/vmlinux*"
 FILES_kernel-modules = ""
@@ -354,11 +360,13 @@ RDEPENDS_kernel = "kernel-base"
 # not wanted in images as standard
 RDEPENDS_kernel-base ?= "kernel-image"
 PKG_kernel-image = 
"kernel-image-${@legitimize_package_name('${KERNEL_VERSION}')}"
+PKG_kernel-alt-image = 
"kernel-alt-image-${@legitimize_package_name('${KERNEL_VERSION}')}"
 PKG_kernel-base = "kernel-${@legitimize_package_name('${KERNEL_VERSION}')}"
 RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"
 ALLOW_EMPTY_kernel = "1"
 ALLOW_EMPTY_kernel-base = "1"
 ALLOW_EMPTY_kernel-image = "1"
+ALLOW_EMPTY_kernel-alt-image = "1"
 ALLOW_EMPTY_kernel-modules = "1"
 DESCRIPTION_kernel-modules = "Kernel modules meta package"
 
@@ -381,6 +389,14 @@ pkg_postrm_kernel-image () {
update-alternatives --remove ${KERNEL_IMAGETYPE} 
${KERNEL_IMAGETYPE}-${KERNEL_VERSION} || true
 }
 
+pkg_postinst_kernel-alt-image () {
+   update-alternatives --install 
/${KERNEL_IMAGEDEST}/${KERNEL_ALT_IMAGETYPE} ${KERNEL_ALT_IMAGETYPE} 
/${KERNEL_IMAGEDEST}/${KERNEL_ALT_IMAGETYPE}-${KERNEL_VERSION} 
${KERNEL_PRIORITY} || true
+}
+
+pkg_postrm_kernel-alt-image () {
+   update-alternatives --remove ${KERNEL_ALT_IMAGETYPE} 
${KERNEL_ALT_IMAGETYPE}-${KERNEL_VERSION} || true
+}
+
 PACKAGESPLITFUNCS_prepend = "split_kernel_packages "
 
 python split_kernel_packages () {
@@ -437,6 +453,10 @@ KERNEL_IMAGE_BASE_NAME ?= 
"${KERNEL_IMAGETYPE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE
 # Don't include the DATETIME variable in the sstate package signatures
 KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
 KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}"
+KERNEL_ALT_I

[OE-core] [PATCH 0/1] Fix KERNEL_ALT_IMAGETYPE deploy

2014-07-15 Thread Yang Shi

When trying to bootup qemuarma9 BSP with uImage, I ran into the below issues:

1. Need u-boot-mkimage-native depend.
kernel.bbclass just checks if KERNEL_IMAGETYPE is uImage, if it is the depend 
will be added. But, it doesn't check KERNEL_ALT_IMAGETYPE.
In the patch, the check for alt image is added.

2. UBOOT_LOADADDRESS is passed to uboot-mkimage in do_uboot_mkimage. But, this 
function just check if KERNEL_IMAGETYPE is uImage or not. It doesn't check 
KERNEL_ALT_IMAGETYPE.
The patch adds the check.

3. KERNEL_ALT_IMAGETYPE is not deployed at all, although it is built. So, we 
need install, deploy and package the atl image.

Yang


The following changes since commit 68824d9b8f6e290da078383316b3f4b732585f2b:

  u-boot-fw-utils: install config file (2014-06-25 13:51:49 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib yshi/kernel_altimg
  
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=yshi/kernel_altimg

for you to fetch changes up to 8454e4b077364d1f52f1f583ce8abe26d6195371:

  kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage (2014-07-14 
13:21:24 -0700)


Yang Shi (1):
  kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage

 meta/classes/kernel.bbclass | 30 +++---
 1 file changed, 27 insertions(+), 3 deletions(-)
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v3] libav: set LICENSE and LICENSE_FLAGS according to PACKAGECONFIG options

2014-07-15 Thread Matthieu Crapet
+ fix: drop unwanted --enable-libtheora & --enable-libvorbis in EXTRA_OECONF

Reported-by: Andreas Oberritter 
Signed-off-by: Matthieu Crapet 
---
 meta/recipes-multimedia/libav/libav.inc | 17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-multimedia/libav/libav.inc 
b/meta/recipes-multimedia/libav/libav.inc
index 1d617a2..cd5ac5f 100644
--- a/meta/recipes-multimedia/libav/libav.inc
+++ b/meta/recipes-multimedia/libav/libav.inc
@@ -7,8 +7,7 @@ DESCRIPTION = "Libav is a friendly and community-driven effort 
to provide its us
 HOMEPAGE = "http://libav.org/";
 SECTION = "libs"
 
-LICENSE = "GPLv2+"
-LICENSE_FLAGS = "commercial"
+LICENSE = "GPLv2+ & LGPLv2.1+"
 
 # Provides ffmpeg compat, see http://libav.org/about.html
 PROVIDES = "ffmpeg"
@@ -44,14 +43,20 @@ PACKAGECONFIG[vpx] = 
"--enable-libvpx,--disable-libvpx,libvpx"
 PACKAGECONFIG[x11] = "--enable-x11grab,--disable-x11grab,virtual/libx11 
libxfixes libxext xproto virtual/libsdl"
 PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264"
 
-# Check codecs that require --enable-nonfree
-USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' 
], 'yes', '', d)}"
+# Check codecs that trigger nonfree license
+python () {
+   pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
+   nonfree = [ 'faac', 'openssl' ]
+   if set(pkgconfig) & set(nonfree):
+   d.setVar('LICENSE', 'Proprietary')
+   d.setVar('LICENSE_FLAGS', 'commercial')
+}
 
 EXTRA_OECONF = " \
 --enable-shared \
 --enable-pthreads \
 --enable-gpl \
-${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \
+${@bb.utils.contains('LICENSE', 'Proprietary', '--enable-nonfree', '', d)} 
\
 --enable-avfilter \
 \
 --cross-prefix=${TARGET_PREFIX} \
@@ -60,8 +65,6 @@ EXTRA_OECONF = " \
 --enable-avserver \
 --enable-avplay \
 --ld="${CCLD}" \
---enable-libtheora  \
---enable-libvorbis \
 --arch=${TARGET_ARCH} \
 --target-os="linux" \
 --enable-cross-compile \
-- 
2.0.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] python-distribute: add python to RDEPENDS_python-distribute

2014-07-15 Thread Robert Yang
We don't need this in theory since:
python-distribute -> python-distutils -> python-core

But the rpmdeps can't figure out the dependencies recursively, and add python
to fix the warning.

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 .../python/python-distribute_0.6.32.bb |1 +
 .../python/python3-distribute_0.6.32.bb|1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb 
b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
index 58bb8b4..56d9787 100644
--- a/meta/recipes-devtools/python/python-distribute_0.6.32.bb
+++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
@@ -42,6 +42,7 @@ do_install_append() {
 RDEPENDS_${PN} = "\
   python-distutils \
   python-compression \
+  python \
 "
 
 RPROVIDES_${PN} += "python-setuptools"
diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb 
b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
index 573096c..3aaa518 100644
--- a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
+++ b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
@@ -42,6 +42,7 @@ do_install_append() {
 RDEPENDS_${PN} = "\
   python3-distutils \
   python3-compression \
+  python3 \
 "
 
 RPROVIDES_${PN} += "python3-setuptools"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] libav: add PACKAGECONFIG for theora, libvorbis, speex and openssl

2014-07-15 Thread Matthieu CRAPET
Hi Andreas,

Thanks for contribution. Your way is simple but user must know internal 
dependencies between codecs in licenses.
I think we can drop the GPL v2/v3 case because it is only used with libopencore 
& libvo that we don't use them in our recipe.

I'll post a v3 patch asap.

Regards,
Matthieu


-Message d'origine-
De : openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] De la part de Andreas 
Oberritter
Envoyé : vendredi 11 juillet 2014 14:44
À : openembedded-core@lists.openembedded.org
Objet : Re: [OE-core] [PATCH v2] libav: add PACKAGECONFIG for theora, 
libvorbis, speex and openssl

Hi Matthieu,

I used a different approach, but could't test with master yet.

http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/daisy&id=1e3c64a768a5aeaf8d904609a14dd29e298821df

While at it, you may also take a look at this commit:

http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/daisy&id=1e39f95927b65c7943c8d6c36203b8b55c9b3cdf

Feel free to modify and submit as you like.

Regards,
Andreas

On 11.07.2014 13:47, Matthieu CRAPET wrote:
> Hi Koen,
> 
> Something like this (in a small python function) would be acceptable?
> 
> d.setVar('LICENSE', 'CLOSED')
> 
> Regards,
> Matthieu
> 
> 
> -Message d'origine-
> De : Koen Kooi [mailto:k...@dominion.thruhere.net]
> Envoyé : vendredi 11 juillet 2014 08:37 À : Martin Jansa Cc : Matthieu 
> CRAPET; openembedded-core@lists.openembedded.org
> Objet : Re: [OE-core] [PATCH v2] libav: add PACKAGECONFIG for theora, 
> libvorbis, speex and openssl
> 
> [...]
> 
>>> +# Check codecs that require --enable-nonfree USE_NONFREE = 
>>> +"${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' ], 'yes', 
>>> '', d)}"
>>>
>>> EXTRA_OECONF = " \
>>> --enable-shared \
>>> --enable-pthreads \
>>> --enable-gpl \
>>> +${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', 
>>> + '', d)} \
>>
>> cannot you just pass --enable-nonfree in faac and openssl PACKAGECONFIG?
>> In worse case when both are enabled the option will be added twice.
> 
> If you have nonfree enabled, you need to change the license as well, it won't 
> be GPL anymore.
> 
> regards,
> 
> Koen
> 

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] connman: add python to RDEPENDS_connman-tests

2014-07-15 Thread Robert Yang
We don't need this in theory since:
connman-tests -> python-subprocess -> python-core

But the rpmdeps can't figure out the dependencies recursively, and add
python to fix the warning.

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-connectivity/connman/connman.inc |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc 
b/meta/recipes-connectivity/connman/connman.inc
index f121a81..d393f13 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -154,7 +154,9 @@ PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client"
 FILES_${PN}-tools = "${bindir}/wispr"
 
 FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*"
-RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils 
python-subprocess python-fcntl python-netclient"
+RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils \
+python-subprocess python-fcntl python-netclient python \
+"
 
 FILES_${PN}-client = "${bindir}/connmanctl"
 
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] kernel.bbclass: add perl python bash to RDEPENDS_kernel-dev

2014-07-15 Thread Robert Yang
Bash scripts:
[snip]
66 ones

Perl scripts:
[snip]
26 ones

Python scripts:
kernel-dev/usr/src/kernel/scripts/diffconfig
kernel-dev/usr/src/kernel/scripts/rt-tester/rt-tester.py
kernel-dev/usr/src/kernel/scripts/tracing/draw_functrace.py
kernel-dev/usr/src/kernel/scripts/analyze_suspend.py
kernel-dev/usr/src/kernel/scripts/bloat-o-meter
kernel-dev/usr/src/kernel/scripts/show_delta
kernel-dev/usr/src/kernel/tools/perf/scripts/python/sched-migration.py
kernel-dev/usr/src/kernel/tools/perf/util/setup.py
kernel-dev/usr/src/kernel/arch/ia64/scripts/unwcheck.py

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/classes/kernel.bbclass |1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b2e9d4c..a78ee96 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -350,6 +350,7 @@ FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* 
/boot/config* ${KERN
 FILES_kernel-vmlinux = "/boot/vmlinux*"
 FILES_kernel-modules = ""
 RDEPENDS_kernel = "kernel-base"
+RDEPENDS_kernel-dev = "perl bash python"
 # Allow machines to override this dependency if kernel image files are 
 # not wanted in images as standard
 RDEPENDS_kernel-base ?= "kernel-image"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] kernel.bbclass: add perl python bash to RDEPENDS_kernel-dev

2014-07-15 Thread Robert Yang
Send this patch in another thread since it is special, added:

RDEPENDS_kernel-dev = "perl bash python"

Now the perl-dev, bash-dev and python-dev will also be pulled in since
kernel-dev is a dev package.

// Robert

The following changes since commit fa325e44f5b429b4038022b31285af9c94672943:

  insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 
23:19:18 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/kernel-dev
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/kernel-dev

Robert Yang (1):
  kernel.bbclass: add perl python bash to RDEPENDS_kernel-dev

 meta/classes/kernel.bbclass |1 +
 1 file changed, 1 insertion(+)

-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 27/38] libpam: add bash to RDEPENDS_libpam-xtests

2014-07-15 Thread Robert Yang
Bash scripts:
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_limits1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_access1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_unix4.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_access3.sh
libpam-xtests/usr/share/Linux-PAM/xtests/run-xtests.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_substack5.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_unix3.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_pwhistory1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_succeed_if1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_unix1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_unix2.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_substack2.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_substack4.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_substack3.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_access4.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_substack1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_access2.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_assemble_line1.sh
libpam-xtests/usr/share/Linux-PAM/xtests/tst-pam_group1.sh

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/pam/libpam_1.1.6.bb |   12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb 
b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3190aaf..789890d 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -72,8 +72,16 @@ libpam_suffix = "suffix${@get_multilib_bit(d)}"
 RPROVIDES_${PN} += "libpam-${libpam_suffix}"
 RPROVIDES_${PN}-runtime += "libpam-runtime-${libpam_suffix}"
 
-RDEPENDS_${PN}-runtime = "libpam-${libpam_suffix} 
pam-plugin-deny-${libpam_suffix} pam-plugin-permit-${libpam_suffix} 
pam-plugin-warn-${libpam_suffix} pam-plugin-unix-${libpam_suffix}"
-RDEPENDS_${PN}-xtests = "libpam-${libpam_suffix} 
pam-plugin-access-${libpam_suffix} pam-plugin-debug-${libpam_suffix} 
pam-plugin-cracklib-${libpam_suffix} pam-plugin-pwhistory-${libpam_suffix} 
pam-plugin-succeed-if-${libpam_suffix} pam-plugin-time-${libpam_suffix} 
coreutils"
+RDEPENDS_${PN}-runtime = "libpam-${libpam_suffix} \
+pam-plugin-deny-${libpam_suffix} pam-plugin-permit-${libpam_suffix} \
+pam-plugin-warn-${libpam_suffix} pam-plugin-unix-${libpam_suffix} \
+"
+RDEPENDS_${PN}-xtests = "libpam-${libpam_suffix} \
+pam-plugin-access-${libpam_suffix} pam-plugin-debug-${libpam_suffix} \
+pam-plugin-cracklib-${libpam_suffix} pam-plugin-pwhistory-${libpam_suffix} 
\
+pam-plugin-succeed-if-${libpam_suffix} pam-plugin-time-${libpam_suffix} \
+coreutils bash \
+"
 RRECOMMENDS_${PN} = "libpam-runtime-${libpam_suffix}"
 
 python populate_packages_prepend () {
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 25/38] kconfig-frontends: add bash to RDEPENDS_kconfig-frontends

2014-07-15 Thread Robert Yang
Bash script:
kconfig-frontends/usr/bin/kconfig-tweak

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 .../kconfig-frontends_3.12.0.0.bb  |2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb 
b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb
index 2f57527..6990d10 100644
--- a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb
+++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb
@@ -18,6 +18,8 @@ SRC_URI = 
"http://ymorin.is-a-geek.org/download/${BPN}/${BP}.tar.xz";
 SRC_URI[md5sum] = "b939280dcc83f8feabd87a1d5f9b00c2"
 SRC_URI[sha256sum] = 
"ea2615a62c74bea6ce3b38402f00c7513858f307f6ba7aa9fdbf0bbc12bcf407"
 
+RDEPENDS_${PN}_class-target += "python bash"
+
 S = "${WORKDIR}/${BPN}-${PV}"
 
 inherit autotools
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] Add python to python-distribute and connman-tests' RDEPENDS

2014-07-15 Thread Robert Yang
We don't need this in theory, they are only used for fixing the QA check
of file-depends, we need add python to the RDEPENDS here is because the
"rpmdeps" can't find the indirect dependencies.

I think that add python to their RDEPENDS is harmless, or we can disable
the file-depends check for the two recipes.

//Robert

The following changes since commit fa325e44f5b429b4038022b31285af9c94672943:

  insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 
23:19:18 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/python
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/python

Robert Yang (2):
  connman: add python to RDEPENDS_connman-tests
  python-distribute: add python to RDEPENDS_python-distribute

 meta/recipes-connectivity/connman/connman.inc  |4 +++-
 .../python/python-distribute_0.6.32.bb |1 +
 .../python/python3-distribute_0.6.32.bb|1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 01/38] groff: add perl to RDEPENDS_groff

2014-07-15 Thread Robert Yang
The following files are perl scripts:

/usr/lib/groff/groffer/perl_test.pl
/usr/lib/groff/groffer/man.pl
/usr/lib/groff/groffer/func.pl
/usr/bin/afmtodit
/usr/bin/roff2dvi
/usr/bin/groffer
/usr/bin/roff2x
/usr/bin/grog
/usr/bin/roff2ps
/usr/bin/roff2pdf
/usr/bin/chem
/usr/bin/roff2html
/usr/bin/gropdf
/usr/bin/mmroff
/usr/bin/roff2text
/usr/bin/pdfmom

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/groff/groff_1.22.2.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/groff/groff_1.22.2.bb 
b/meta/recipes-extended/groff/groff_1.22.2.bb
index 63f0425..5a52d67 100644
--- a/meta/recipes-extended/groff/groff_1.22.2.bb
+++ b/meta/recipes-extended/groff/groff_1.22.2.bb
@@ -64,3 +64,5 @@ FILES_${PN} += "${libdir}/${BPN}/site-tmac \
 ${libdir}/${BPN}/groffer/"
 
 BBCLASSEXTEND = "native"
+
+RDEPENDS_${PN} += "perl"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 10/38] opensp: add perl to RDEPENDS_opensp

2014-07-15 Thread Robert Yang
Perl script:
opensp/usr/share/OpenSP/gensyntax.pl

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/opensp/opensp_1.5.2.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/opensp/opensp_1.5.2.bb 
b/meta/recipes-devtools/opensp/opensp_1.5.2.bb
index a1f115c..3f833f2 100644
--- a/meta/recipes-devtools/opensp/opensp_1.5.2.bb
+++ b/meta/recipes-devtools/opensp/opensp_1.5.2.bb
@@ -18,6 +18,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz 
\
 SRC_URI[md5sum] = "670b223c5d12cee40c9137be86b6c39b"
 SRC_URI[sha256sum] = 
"57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce"
 
+RDEPENDS_${PN} += "perl"
+
 S = "${WORKDIR}/OpenSP-${PV}"
 
 inherit autotools gettext
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 13/38] gnu-config: add perl to RDEPENDS_gnu-config

2014-07-15 Thread Robert Yang
Perl script:
gnu-config/usr/bin/gnu-configize

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 .../gnu-config/gnu-config_20120814.bb  |2 ++
 meta/recipes-devtools/gnu-config/gnu-config_git.bb |2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb 
b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
index d67466a..af4afd6 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
@@ -17,6 +17,8 @@ SRC_URI = 
"http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV
 SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
 SRC_URI[sha256sum] = 
"44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"
 
+RDEPENDS_${PN} += "perl"
+
 do_compile() {
:
 }
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb 
b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 00fa759..d1b0a59 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -17,6 +17,8 @@ SRC_URI = "git://git.sv.gnu.org/config.git \
 
 S = "${WORKDIR}/git"
 
+RDEPENDS_${PN} += "perl"
+
 do_compile() {
:
 }
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 20/38] pax-utils: add bash to RDEPENDS_pax-utils

2014-07-15 Thread Robert Yang
Bash script:
pax-utils/usr/bin/lddtree

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb 
b/meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb
index e79347f..79e58ba 100644
--- a/meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb
+++ b/meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz";
 SRC_URI[md5sum] = "bc42279c5aff3682c12be40f72805cec"
 SRC_URI[sha256sum] = 
"844ff25b1a11bcef92ef34b22f576f226a772b67196818656f8874513438f5b9"
 
+RDEPENDS_${PN} += "bash"
+
 do_install() {
 oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
 }
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 12/38] glib-2.0: add perl to RDEPENDS_glib-2.0-utils

2014-07-15 Thread Robert Yang
Perl script:
glib-2.0-utils/usr/bin/glib-mkenums

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-core/glib-2.0/glib.inc |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index 2eda8a1..fe32601 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -25,6 +25,8 @@ PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
 LEAD_SONAME = "libglib-2.0.*"
 FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext"
 
+RDEPENDS_${PN}-utils += "perl"
+
 inherit autotools gettext gtk-doc pkgconfig ptest
 
 S = "${WORKDIR}/glib-${PV}"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 18/38] lsbtest: add bash to RDEPENDS_lsbtest

2014-07-15 Thread Robert Yang
Bash scripts:
lsbtest/usr/bin/LSB_Test.sh

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/lsb/lsbtest_1.0.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/lsb/lsbtest_1.0.bb 
b/meta/recipes-extended/lsb/lsbtest_1.0.bb
index f61251e..5a59285 100644
--- a/meta/recipes-extended/lsb/lsbtest_1.0.bb
+++ b/meta/recipes-extended/lsb/lsbtest_1.0.bb
@@ -9,7 +9,7 @@ SRC_URI = "file://LSB_Test.sh \
   file://packages_list \
   file://session \
   "
-RDEPENDS_${PN} = "rpm"
+RDEPENDS_${PN} = "rpm bash"
 
 S = "${WORKDIR}"
 
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 06/38] gst-plugins-package: add perl to RDEPENDS_gst-plugins-base-apps

2014-07-15 Thread Robert Yang
Perl script:
gst-plugins-base-apps/usr/bin/gst-visualise-0.10

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 .../gstreamer/gst-plugins-package.inc  |1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc 
b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
index 0503b34..153be62 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
@@ -49,6 +49,7 @@ ALLOW_EMPTY_${PN}-staticdev = "1"
 
 PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
 FILES_${PN}-apps = "${bindir}"
+RDEPENDS_${PN}-apps += "perl"
 
 FILES_${PN} = "${datadir}/gstreamer-${LIBV}"
 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 02/38] attr: add perl to RDEPENDS_attr-ptest

2014-07-15 Thread Robert Yang
These are perl scripts:
/usr/lib/attr/ptest/test/run
/usr/lib/attr/ptest/test/sort-getfattr-output

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-support/attr/attr.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/attr/attr.inc 
b/meta/recipes-support/attr/attr.inc
index c37d34f..981e825 100644
--- a/meta/recipes-support/attr/attr.inc
+++ b/meta/recipes-support/attr/attr.inc
@@ -34,4 +34,4 @@ do_install_ptest() {
sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile
 }
 
-RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle 
perl-module-getopt-std perl-module-posix"
+RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle 
perl-module-getopt-std perl-module-posix perl"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 15/38] quilt: add bash and perl to RDEPENDS

2014-07-15 Thread Robert Yang
Perl scripts:
quilt/usr/share/quilt/scripts/edmail is a perl script, but perl is not in 
RDEPEND_quilt
quilt/usr/share/quilt/scripts/remove-trailing-ws is a perl script, but perl is 
not in RDEPEND_quilt
quilt/usr/share/quilt/scripts/dependency-graph is a perl script, but perl is 
not in RDEPEND_quilt
guards/usr/bin/guards is a perl script, but perl is not in RDEPEND_guards

Bash scripts:
quilt-ptest/usr/lib/quilt/ptest/quilt/unapplied
quilt-ptest/usr/lib/quilt/ptest/quilt/push
quilt-ptest/usr/lib/quilt/ptest/quilt/fork
quilt-ptest/usr/lib/quilt/ptest/quilt/patches
quilt-ptest/usr/lib/quilt/ptest/quilt/upgrade
quilt-ptest/usr/lib/quilt/ptest/quilt/delete
quilt-ptest/usr/lib/quilt/ptest/quilt/applied
quilt-ptest/usr/lib/quilt/ptest/quilt/rename
quilt-ptest/usr/lib/quilt/ptest/quilt/pop
quilt-ptest/usr/lib/quilt/ptest/quilt/new
quilt-ptest/usr/lib/quilt/ptest/quilt/remove
quilt-ptest/usr/lib/quilt/ptest/quilt/series
quilt-ptest/usr/lib/quilt/ptest/quilt/setup
quilt-ptest/usr/lib/quilt/ptest/quilt/grep
quilt-ptest/usr/lib/quilt/ptest/quilt/previous
quilt-ptest/usr/lib/quilt/ptest/quilt/mail
quilt-ptest/usr/lib/quilt/ptest/quilt/edit
quilt-ptest/usr/lib/quilt/ptest/quilt/top
quilt-ptest/usr/lib/quilt/ptest/quilt/revert
quilt-ptest/usr/lib/quilt/ptest/quilt/diff
quilt-ptest/usr/lib/quilt/ptest/quilt/graph
quilt-ptest/usr/lib/quilt/ptest/quilt/refresh
quilt-ptest/usr/lib/quilt/ptest/quilt/annotate
quilt-ptest/usr/lib/quilt/ptest/quilt/fold
quilt-ptest/usr/lib/quilt/ptest/quilt/next
quilt-ptest/usr/lib/quilt/ptest/quilt/add
quilt-ptest/usr/lib/quilt/ptest/quilt/files
quilt-ptest/usr/lib/quilt/ptest/quilt/import
quilt-ptest/usr/lib/quilt/ptest/quilt/header
quilt-ptest/usr/lib/quilt/ptest/quilt/snapshot
quilt-ptest/usr/lib/quilt/ptest/quilt/scripts/inspect
quilt-ptest/usr/lib/quilt/ptest/quilt/scripts/backup-files
quilt-ptest/usr/lib/quilt/ptest/bin/quilt
quilt-ptest/usr/lib/quilt/ptest/bin/patch-wrapper
quilt-ptest/usr/lib/quilt/ptest/compat/awk
quilt-ptest/usr/lib/quilt/ptest/compat/sendmail

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/quilt/quilt-0.63.inc |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/quilt/quilt-0.63.inc 
b/meta/recipes-devtools/quilt/quilt-0.63.inc
index f375785..50593a9 100644
--- a/meta/recipes-devtools/quilt/quilt-0.63.inc
+++ b/meta/recipes-devtools/quilt/quilt-0.63.inc
@@ -26,7 +26,8 @@ FILES_guards = "${bindir}/guards"
 FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
 FILES_guards-doc = "${mandir}/man1/guards.1"
 
-RDEPENDS_${PN} = "bash"
+RDEPENDS_${PN} = "bash perl"
+RDEPENDS_guards = "perl"
 
 EXTRA_OE_MAKE_ARGS_darwin ?= ""
 EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}"
@@ -55,5 +56,5 @@ do_install_ptest() {
 RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \
 perl-module-filehandle perl-module-getopt-std \
 perl-module-posix perl-module-file-temp \
-perl-module-text-parsewords \
+perl-module-text-parsewords bash \
 "
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/9] user-session-units: added to oe-core

2014-07-15 Thread Saul Wold

On 07/15/2014 01:00 AM, Valentin Popa wrote:

systemd needs this to launch user sessions.

Signed-off-by: Valentin Popa 
---
  ...temd-login-lib-was-merged-into-libsystemd.patch | 26 ++
  .../user-session-units/user-session-units_9.bb | 25 +
  2 files changed, 51 insertions(+)
  create mode 100644 
meta/recipes-support/user-session-units/user-session-units/0001-systemd-login-lib-was-merged-into-libsystemd.patch
  create mode 100644 
meta/recipes-support/user-session-units/user-session-units_9.bb

diff --git 
a/meta/recipes-support/user-session-units/user-session-units/0001-systemd-login-lib-was-merged-into-libsystemd.patch
 
b/meta/recipes-support/user-session-units/user-session-units/0001-systemd-login-lib-was-merged-into-libsystemd.patch
new file mode 100644
index 000..9284eb2
--- /dev/null
+++ 
b/meta/recipes-support/user-session-units/user-session-units/0001-systemd-login-lib-was-merged-into-libsystemd.patch
@@ -0,0 +1,26 @@
+From f80245dbdc5b29fe8dbe9b39482d41fbca044fe6 Mon Sep 17 00:00:00 2001
+From: Valentin Popa 
+Date: Mon, 26 May 2014 10:04:13 +0300
+Subject: [PATCH] systemd-login lib was merged into libsystemd
+


This patch file is missing an Upstream-Status tag

Sau!


+Signed-off-by: Valentin Popa 
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index a2f960c..7186b10 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -21,7 +21,7 @@ user_session_launch_SOURCES = \
+
+ # FIXME: add pkgconfig checks for these instead
+ user_session_launch_LDADD = \
+-  -lsystemd-login \
++  -lsystemd \
+   -lpam \
+   -lpam_misc
+
+--
+1.9.1
+
diff --git a/meta/recipes-support/user-session-units/user-session-units_9.bb 
b/meta/recipes-support/user-session-units/user-session-units_9.bb
new file mode 100644
index 000..ad2f683
--- /dev/null
+++ b/meta/recipes-support/user-session-units/user-session-units_9.bb
@@ -0,0 +1,25 @@
+SUMMARY = "systemd units to start a user session"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "http://foo-projects.org/~sofar/${BPN}/${BPN}-${PV}.tar.gz \
+   file://0001-systemd-login-lib-was-merged-into-libsystemd.patch "
+
+SRC_URI[md5sum] = "30d26fec6e3e221072c59554c93ecde0"
+SRC_URI[sha256sum] = 
"edfc0df890981708e1a09e8488bb91384b6739d76867d3fe2417b03265361717"
+
+DEPENDS = "systemd dbus libpam"
+
+inherit autotools pkgconfig
+
+# Seed configure so it doesn't look on the host host for gnome/xfce/etc.
+EXTRA_OECONF = "ac_cv_prog_E_PROG= \
+ ac_cv_prog_XFCE_PROG= \
+ ac_cv_prog_XFWM_PROG= \
+ ac_cv_prog_XBMC_PROG= \
+ ac_cv_prog_GNOME_PROG= \
+ ac_cv_prog_KDE_PROG= \
+ ac_cv_prog_MYTH_PROG="
+
+FILES_${PN} = "${systemd_unitdir}/ ${libdir}/systemd/user/ ${bindir}/"


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 32/38] libxml2: add python to RDEPENDS_libxml2-ptest

2014-07-15 Thread Robert Yang
Python scripts:
[snip]
47 ones

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-core/libxml/libxml2.inc |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/libxml/libxml2.inc 
b/meta/recipes-core/libxml/libxml2.inc
index e0b50cf..ccaf369 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -28,6 +28,8 @@ inherit autotools pkgconfig binconfig-disabled pythonnative 
ptest
 
 RDEPENDS_${PN}-ptest_append_libc-glibc += "eglibc-gconv-ebcdic-us 
eglibc-gconv-ibm1141"
 
+RDEPENDS_${PN}-ptest += "python"
+
 # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
 do_configure_prepend () {
sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 34/38] lttng-ust: add python to RDEPENDS_lttng-ust-bin

2014-07-15 Thread Robert Yang
Python script:
lttng-ust-bin/usr/bin/lttng-gen-tp

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb |2 +-
 meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb 
b/meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb
index 44e3e2b..d721bb6 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
 inherit autotools lib_package
 
 DEPENDS = "liburcu util-linux"
-RDEPENDS_${PN} = "python"
+RDEPENDS_${PN}-bin = "python"
 
 # For backwards compatibility after rename
 RPROVIDES_${PN} = "lttng2-ust"
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb 
b/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
index 1629554..f4ee7f5 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
 inherit autotools lib_package
 
 DEPENDS = "liburcu util-linux"
+RDEPENDS_${PN}-bin = "python"
 
 # For backwards compatibility after rename
 RPROVIDES_${PN} = "lttng2-ust"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [meta-oe][PATCH] nettle: update to version 3.0

2014-07-15 Thread akuster808

Ross,

Since we are keeping both versions, should I define  a PREFERRED_VERSION?

- Armin

On 07/15/2014 06:49 AM, Burton, Ross wrote:

On 15 July 2014 14:27, Armin Kuster  wrote:

Add GNUv3 license


If nettle 3 contains GPLv3 code then we probably don't want to remove
nettle 2.1, for people building without any v3 code in the images.

Ross


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 37/38] blktrace: add python to RDEPENDS_blktrace

2014-07-15 Thread Robert Yang
Python script:
blktrace/usr/bin/bno_plot.py

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-kernel/blktrace/blktrace_git.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb 
b/meta/recipes-kernel/blktrace/blktrace_git.bb
index 7a32993..5d89a20 100644
--- a/meta/recipes-kernel/blktrace/blktrace_git.bb
+++ b/meta/recipes-kernel/blktrace/blktrace_git.bb
@@ -12,6 +12,8 @@ PV = "1.0.5+git${SRCPV}"
 SRC_URI = "git://git.kernel.dk/blktrace.git \
file://ldflags.patch"
 
+RDEPENDS_${PN} += "python"
+
 S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "\
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 36/38] gconf: add python to RDEPENDS_gconf

2014-07-15 Thread Robert Yang
Python script:
gconf/usr/bin/gsettings-schema-convert

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-gnome/gnome/gconf_3.2.6.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb 
b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
index 17fdafa..ff4ad55 100644
--- a/meta/recipes-gnome/gnome/gconf_3.2.6.bb
+++ b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
@@ -45,7 +45,7 @@ do_install_append_class-native() {
 }
 
 # disable dbus-x11 when x11 isn't in DISTRO_FEATURES
-RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'dbus-x11', 
'', d)}"
+RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'dbus-x11', 
'', d)} python"
 RDEPENDS_${PN}_class-native = ""
 
 FILES_${PN} += "${libdir}/GConf/* \
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 38/38] dpkg: add perl to RDEPENDS_perl

2014-07-15 Thread Robert Yang
Perl scripts:
dpkg/usr/lib/dpkg/parsechangelog/debian
dpkg/usr/bin/dpkg-parsechangelog
dpkg/usr/bin/dpkg-buildflags
dpkg/usr/bin/dpkg-gencontrol
dpkg/usr/bin/dpkg-shlibdeps
dpkg/usr/bin/dpkg-mergechangelogs
dpkg/usr/bin/dpkg-source
dpkg/usr/bin/dpkg-checkbuilddeps
dpkg/usr/bin/dpkg-buildpackage
dpkg/usr/bin/dpkg-gensymbols
dpkg/usr/bin/dpkg-scanpackages
dpkg/usr/bin/dpkg-vendor
dpkg/usr/bin/dpkg-name
dpkg/usr/bin/dpkg-genchanges
dpkg/usr/bin/dpkg-distaddfile
dpkg/usr/bin/dpkg-scansources
dpkg/usr/bin/dpkg-architecture

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/dpkg/dpkg.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc 
b/meta/recipes-devtools/dpkg/dpkg.inc
index 929906d..ea6b171 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -7,7 +7,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \
 
 DEPENDS = "zlib bzip2 perl ncurses"
 DEPENDS_class-native = "bzip2-replacement-native zlib-native 
virtual/update-alternatives-native gettext-native perl-native"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts"
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl"
 RDEPENDS_${PN}_class-native = "xz-native"
 
 S = "${WORKDIR}/${BPN}-${PV}"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 31/38] usbutils: add python to RDEPENDS_usbutils

2014-07-15 Thread Robert Yang
Python scripts:
usbutils/usr/bin/lsusb.py

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-bsp/usbutils/usbutils_007.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/usbutils/usbutils_007.bb 
b/meta/recipes-bsp/usbutils/usbutils_007.bb
index b93b2bd..56113da 100644
--- a/meta/recipes-bsp/usbutils/usbutils_007.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_007.bb
@@ -28,4 +28,4 @@ PACKAGES += "${PN}-ids"
 FILES_${PN}-dev += "${datadir}/pkgconfig"
 FILES_${PN}-ids = "${datadir}/usb*"
 
-RDEPENDS_${PN} = "${PN}-ids"
+RDEPENDS_${PN} = "${PN}-ids python"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 30/38] piglit: add bash to RDEPENDS_piglit

2014-07-15 Thread Robert Yang
Bash scripts:
piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-read.sh
piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-write.sh
piglit/usr/lib/piglit/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct-const.sh
piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct.sh
piglit/usr/lib/piglit/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_rect_tests.sh

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-graphics/piglit/piglit_git.bb |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index 7417cd5..15026a0 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -45,4 +45,7 @@ do_install() {
 
 FILES_${PN}-dbg += "${libdir}/piglit/*/.debug/"
 
-RDEPENDS_${PN} = "python waffle python-json python-subprocess 
python-multiprocessing python-textutils python-netserver python-shell 
mesa-demos"
+RDEPENDS_${PN} = "python waffle python-json python-subprocess \
+python-multiprocessing python-textutils python-netserver python-shell \
+mesa-demos bash \
+"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 35/38] libevent: add python to RDEPENDS_libevent

2014-07-15 Thread Robert Yang
Python script:
libevent/usr/bin/event_rpcgen.py

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-support/libevent/libevent_2.0.21.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/libevent/libevent_2.0.21.bb 
b/meta/recipes-support/libevent/libevent_2.0.21.bb
index 5a1ff3b..30e34d9 100644
--- a/meta/recipes-support/libevent/libevent_2.0.21.bb
+++ b/meta/recipes-support/libevent/libevent_2.0.21.bb
@@ -24,3 +24,5 @@ inherit autotools
 
 # Needed for Debian packaging
 LEAD_SONAME = "libevent-2.0.so"
+
+RDEPENDS_${PN} += "python"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 33/38] builder: add python to RDEPENDS_builder

2014-07-15 Thread Robert Yang
Python script:
builder/etc/mini_x/please_wait_dialog.py

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-graphics/builder/builder_0.1.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/builder/builder_0.1.bb 
b/meta/recipes-graphics/builder/builder_0.1.bb
index 78d41e5..f0c0963 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -11,7 +11,7 @@ SRC_URI = "file://builder_hob_start.sh \
 
 S = "${WORKDIR}"
 
-RDEPENDS_${PN} = "mini-x-session"
+RDEPENDS_${PN} = "mini-x-session python"
 
 inherit useradd
 
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 29/38] ltp: add bash and python to RDEPENDS_ltp

2014-07-15 Thread Robert Yang
Bash scripts:
[snip]
228 ones

Python scripts:
ltp/opt/ltp/testcases/bin/lib/sched_mc.py
ltp/opt/ltp/testcases/bin/cpu_consolidation.py
ltp/opt/ltp/testcases/bin/sched_domain.py
ltp/opt/ltp/testcases/bin/ilb_test.py
ltp/opt/ltp/bin/execltp

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/ltp/ltp_20140422.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/ltp/ltp_20140422.bb 
b/meta/recipes-extended/ltp/ltp_20140422.bb
index 995d617..f464ad9 100644
--- a/meta/recipes-extended/ltp/ltp_20140422.bb
+++ b/meta/recipes-extended/ltp/ltp_20140422.bb
@@ -64,7 +64,7 @@ do_install(){
 find ${D} -type f -print | xargs grep "\!.*\/usr\/bin\/expect" | awk -F":" 
'{print $1}' | xargs rm -f
 }
 
-RDEPENDS_${PN} = "perl e2fsprogs-mke2fs"
+RDEPENDS_${PN} = "perl e2fsprogs-mke2fs bash python"
 
 FILES_${PN}-dbg += "\
 /opt/ltp/runtest/.debug \
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 28/38] valgrind: add bash to RDEPENDS_valgrind-ptest

2014-07-15 Thread Robert Yang
Bash script:
valgrind-ptest/usr/lib/valgrind/ptest/run-ptest

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/valgrind/valgrind_3.9.0.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb 
b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
index 3c6aa13..a18cc23 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
@@ -48,7 +48,7 @@ FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
 # redirect functions like strlen.
 RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
 
-RDEPENDS_${PN}-ptest += " sed perl eglibc-utils"
+RDEPENDS_${PN}-ptest += " sed perl eglibc-utils bash"
 
 do_compile_ptest() {
 oe_runmake check
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 26/38] xz: add bash to RDEPENDS_xz

2014-07-15 Thread Robert Yang
Bash scripts:
xz/usr/bin/xzless
xz/usr/bin/xzgrep
xz/usr/bin/xzmore
xz/usr/bin/xzdiff

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/xz/xz_5.1.3alpha.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/xz/xz_5.1.3alpha.bb 
b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
index b8501a5..9ff36a6 100644
--- a/meta/recipes-extended/xz/xz_5.1.3alpha.bb
+++ b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
@@ -28,6 +28,8 @@ SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.gz";
 SRC_URI[md5sum] = "bbb2daa876c87fb2cf9fe4590af9694e"
 SRC_URI[sha256sum] = 
"9f94506e301d5b6863921bba861a99ba00de384dafb4e5f409679a93e41613d4"
 
+RDEPENDS_${PN}_class-target =+ "bash"
+
 inherit autotools gettext
 
 PACKAGES =+ "liblzma liblzma-dev liblzma-staticdev liblzma-dbg"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 24/38] grep: add bash to RDEPENDS_grep

2014-07-15 Thread Robert Yang
Bash scripts:
grep/bin/egrep.grep
grep/bin/fgrep.grep

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/grep/grep_2.19.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/grep/grep_2.19.bb 
b/meta/recipes-extended/grep/grep_2.19.bb
index f38a9a6..7f7b598 100644
--- a/meta/recipes-extended/grep/grep_2.19.bb
+++ b/meta/recipes-extended/grep/grep_2.19.bb
@@ -10,6 +10,8 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.xz"
 SRC_URI[md5sum] = "ac732142227d9fe9567d71301e127979"
 SRC_URI[sha256sum] = 
"6388295be48cfcaf7665d9cd3914e6625ea000e9414132bfefd45cf1d8eec34d"
 
+RDEPENDS_${PN} += "bash"
+
 inherit autotools gettext texinfo
 
 EXTRA_OECONF = "--disable-perl-regexp"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 23/38] pm-utils: add bash to RDEPENDS_pm-utils

2014-07-15 Thread Robert Yang
Bash script:
pm-utils/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb 
b/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
index 21d2704..8d35187 100644
--- a/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
+++ b/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = 
"8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4
 
 inherit pkgconfig autotools
 
-RDEPENDS_${PN} = "grep"
+RDEPENDS_${PN} = "grep bash"
 
 do_configure_prepend () {
( cd ${S}; autoreconf -f -i -s )
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 22/38] dtc: add bash to RDEPENDS_dtc

2014-07-15 Thread Robert Yang
Bash script:
dtc-misc/usr/bin/dtdiff

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-kernel/dtc/dtc.inc |1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index 3eca25f..5144f38 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -16,3 +16,4 @@ S = "${WORKDIR}/git"
 
 PACKAGES =+ "${PN}-misc"
 FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
+RDEPENDS_${PN}-misc += "bash"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 21/38] gzip: add bash to RDEPENDS_gzip

2014-07-15 Thread Robert Yang
Bash scripts:
gzip/bin/zcat.gzip
gzip/bin/gunzip.gzip
gzip/bin/uncompress
gzip/usr/bin/zfgrep
gzip/usr/bin/gzexe
gzip/usr/bin/zdiff
gzip/usr/bin/zegrep
gzip/usr/bin/zforce
gzip/usr/bin/zmore
gzip/usr/bin/zcmp
gzip/usr/bin/zless
gzip/usr/bin/znew
gzip/usr/bin/zgrep

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/gzip/gzip.inc |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/gzip/gzip.inc 
b/meta/recipes-extended/gzip/gzip.inc
index eeeafe0..be1c584 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 
 SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz"
 
+RDEPENDS_${PN}_class-target += "bash"
+
 inherit autotools texinfo
 
 EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep"
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 17/38] apt: add bash to RDEPENDS_apt

2014-07-15 Thread Robert Yang
Bash scripts:
apt/usr/lib/dpkg/methods/apt/update
apt/usr/lib/dpkg/methods/apt/install

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-devtools/apt/apt_0.9.9.4.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/apt/apt_0.9.9.4.bb 
b/meta/recipes-devtools/apt/apt_0.9.9.4.bb
index ae9ed6c..86ffe66 100644
--- a/meta/recipes-devtools/apt/apt_0.9.9.4.bb
+++ b/meta/recipes-devtools/apt/apt_0.9.9.4.bb
@@ -1,5 +1,5 @@
 DEPENDS = "curl db"
-RDEPENDS_${PN} = "dpkg"
+RDEPENDS_${PN} = "dpkg bash"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
 require apt.inc
 
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 19/38] oprofile: add bash to RDEPENDS_oprofile-ptest

2014-07-15 Thread Robert Yang
Bash script:
oprofile-ptest/usr/lib/oprofile/ptest/run-ptest

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-kernel/oprofile/oprofile.inc |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/oprofile/oprofile.inc 
b/meta/recipes-kernel/oprofile/oprofile.inc
index 76d0b6c..d49b89c 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -26,6 +26,8 @@ SRC_URI = "file://opstart.patch \
 
 inherit autotools-brokensep pkgconfig ptest
 
+RDEPENDS_${PN}-ptest += "bash"
+
 EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR}  --without-x"
 do_configure () {
cp ${WORKDIR}/acinclude.m4 ${S}/
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 16/38] udev: add perl to RDEPENDS_udev-ptest

2014-07-15 Thread Robert Yang
Perl scripts:
udev-ptest/usr/lib/udev/ptest/test/udev-test.pl

[YOCTO #1662]

Signed-off-by: Robert Yang 
---
 meta/recipes-core/udev/udev.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 11204aa..280da10 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -31,7 +31,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://init"
 
 inherit autotools pkgconfig update-rc.d ptest
-RDEPENDS_${PN}-ptest += "make"
+RDEPENDS_${PN}-ptest += "make perl"
 
 libexecdir = "${base_libdir}"
 EXTRA_OECONF = "--disable-introspection \
-- 
1.7.9.5

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


  1   2   >