[OE-core] [PATCH V4 0/1] shadow: upgrade from 4.1.4.3 to 4.2.1

2014-07-15 Thread Chen Qi
Test Case:

Fire a clean build for core-image-sato with the following lines in local.conf:
INHERIT += extrausers
EXTRA_USERS_PARAMS = usermod -P 'root' root; \
  useradd -P 'test' --create-home test; \ 
  groupadd -g 1314 no-zuo-no-die;


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 ChenQi/shadow-4.2.1
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/shadow-4.2.1

Chen Qi (1):
  shadow: upgrade from 4.1.4.3 to 4.2.1

 ...-create-parent-directories-when-necessary.patch |  109 ++
 .../shadow/files/add_root_cmd_groupmems.patch  |   75 --
 .../shadow/files/add_root_cmd_options.patch| 1384 
 .../allow-for-setting-password-in-clear-text.patch |  215 ++-
 ...fix-unexpected-open-failure-in-chroot-env.patch |   46 +
 .../shadow/files/fix-etc-gshadow-reading.patch |   36 -
 ...installation-failure-with-subids-disabled.patch |   28 +
 .../shadow-4.1.4.2-env-reset-keep-locale.patch |   31 -
 .../files/shadow-4.1.4.2-groupmod-pam-check.patch  |   36 -
 .../files/shadow-4.1.4.2-su_no_sanitize_env.patch  |   31 -
 .../shadow/files/shadow.automake-1.11.patch|  106 --
 .../files/shadow_fix_for_automake-1.12.patch   |   23 -
 .../files/slackware_fix_for_glib-2.17_crypt.patch  |   63 -
 meta/recipes-extended/shadow/files/useradd.patch   |   17 -
 ...-compilation-failure-with-subids-disabled.patch |   33 +
 ...uretty_4.1.4.3.bb = shadow-securetty_4.2.1.bb} |0
 ...-sysroot_4.1.4.3.bb = shadow-sysroot_4.2.1.bb} |0
 meta/recipes-extended/shadow/shadow.inc|   36 +-
 .../shadow/{shadow_4.1.4.3.bb = shadow_4.2.1.bb}  |0
 19 files changed, 333 insertions(+), 1936 deletions(-)
 create mode 100644 
meta/recipes-extended/shadow/files/0001-useradd.c-create-parent-directories-when-necessary.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/add_root_cmd_groupmems.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/add_root_cmd_options.patch
 create mode 100644 
meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/fix-etc-gshadow-reading.patch
 create mode 100644 
meta/recipes-extended/shadow/files/fix-installation-failure-with-subids-disabled.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow-4.1.4.2-su_no_sanitize_env.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow.automake-1.11.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow_fix_for_automake-1.12.patch
 delete mode 100644 
meta/recipes-extended/shadow/files/slackware_fix_for_glib-2.17_crypt.patch
 delete mode 100644 meta/recipes-extended/shadow/files/useradd.patch
 create mode 100644 
meta/recipes-extended/shadow/files/usermod-fix-compilation-failure-with-subids-disabled.patch
 rename meta/recipes-extended/shadow/{shadow-securetty_4.1.4.3.bb = 
shadow-securetty_4.2.1.bb} (100%)
 rename meta/recipes-extended/shadow/{shadow-sysroot_4.1.4.3.bb = 
shadow-sysroot_4.2.1.bb} (100%)
 rename meta/recipes-extended/shadow/{shadow_4.1.4.3.bb = shadow_4.2.1.bb} 
(100%)

-- 
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/9] pam.d: added system-auth configuration file

2014-07-15 Thread Valentin Popa
Needed by systemd when it starts user sessions.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 meta/recipes-extended/pam/libpam/pam.d/system-auth | 7 +++
 meta/recipes-extended/pam/libpam_1.1.6.bb  | 1 +
 2 files changed, 8 insertions(+)
 create mode 100644 meta/recipes-extended/pam/libpam/pam.d/system-auth

diff --git a/meta/recipes-extended/pam/libpam/pam.d/system-auth 
b/meta/recipes-extended/pam/libpam/pam.d/system-auth
new file mode 100644
index 000..3275288
--- /dev/null
+++ b/meta/recipes-extended/pam/libpam/pam.d/system-auth
@@ -0,0 +1,7 @@
+authrequired  pam_env.so
+authsufficientpam_unix.so try_first_pass nullok
+authrequired  pam_deny.so
+
+account required  pam_unix.so
+
+session required pam_systemd.so
\ No newline at end of file
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb 
b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3190aaf..231a76f 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -16,6 +16,7 @@ SRC_URI = 
http://linux-pam.org/library/Linux-PAM-${PV}.tar.bz2 \
file://pam.d/common-password \
file://pam.d/common-session \
file://pam.d/common-session-noninteractive \
+   file://pam.d/system-auth \
file://pam.d/other \
file://libpam-xtests.patch \
file://destdirfix.patch \
-- 
1.9.1

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


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

2014-07-15 Thread Valentin Popa
systemd needs this to launch user sessions.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 ...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 valentin.p...@intel.com
+Date: Mon, 26 May 2014 10:04:13 +0300
+Subject: [PATCH] systemd-login lib was merged into libsystemd
+
+Signed-off-by: Valentin Popa valentin.p...@intel.com
+---
+ 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}/
-- 
1.9.1

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


[OE-core] [PATCH 5/9] weston-init: add xuser and enable user-sesssion-launch

2014-07-15 Thread Valentin Popa
(*) add xuser
(*) enable user-session-launch@.service for xuser (seat0-1000)

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 meta/recipes-graphics/wayland/weston-init.bb | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb 
b/meta/recipes-graphics/wayland/weston-init.bb
index 60cdb8d..6eeeab0 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -13,10 +13,12 @@ do_install() {
fi
 
if ${@base_contains(DISTRO_FEATURES, systemd, true, false, d)}; 
then
+   install -d 
${D}/${sysconfdir}/systemd/system/graphical.target.wants
+   ln -sf ${systemd_unitdir}/system/user-session-launch@.service 
${D}/${sysconfdir}/systemd/system/graphical.target.wants/user-session-launch@seat0-1000.service
fi
 }
 
-inherit allarch update-rc.d
+inherit allarch update-rc.d useradd
 
 RDEPENDS_${PN} = weston \
   ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'kbd', '', 
d)} \
@@ -28,3 +30,8 @@ DEPENDS += weston \
 
 INITSCRIPT_NAME = ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'weston', 
'', d)}
 INITSCRIPT_PARAMS = ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'start 9 
5 2 . stop 20 0 1 6 .', '', d)}
+
+USERADD_PACKAGES = ${PN}
+USERADD_PARAM_${PN} = --create-home \
+ --groups video,tty,audio,input,weston-launch \
+ --user-group xuser
-- 
1.9.1

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


[OE-core] [PATCH 6/9] weston: consider --disable-compat-libs in systemd

2014-07-15 Thread Valentin Popa
Since version 209 of systemd, libsystemd-login has been merged
into libsystemd.so.
This patch handles the case when systemd is built
without --enable-compat-libs (e.g. no libsystemd-login).

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 ...c-consider-disable-compat-libs-in-systemd.patch | 47 ++
 meta/recipes-graphics/wayland/weston_1.5.0.bb  |  3 +-
 2 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-graphics/wayland/weston/0001-configure.ac-consider-disable-compat-libs-in-systemd.patch

diff --git 
a/meta/recipes-graphics/wayland/weston/0001-configure.ac-consider-disable-compat-libs-in-systemd.patch
 
b/meta/recipes-graphics/wayland/weston/0001-configure.ac-consider-disable-compat-libs-in-systemd.patch
new file mode 100644
index 000..f195520
--- /dev/null
+++ 
b/meta/recipes-graphics/wayland/weston/0001-configure.ac-consider-disable-compat-libs-in-systemd.patch
@@ -0,0 +1,47 @@
+From 2273fb9cfb978c0e0cbb877475462d72d85138da Mon Sep 17 00:00:00 2001
+From: Valentin Popa valentin.p...@intel.com
+Date: Fri, 4 Jul 2014 16:11:19 +0300
+Subject: [PATCH] configure.ac: consider --disable-compat-libs in systemd
+
+Since version 209 of systemd, libsystemd-login has been merged
+into libsystemd.so.
+
+http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
+
+This patch handles the case when systemd is built
+without --enable-compat-libs (e.g. no libsystemd-login).
+
+Upstream-Status: Submitted [wayland-devel]
+
+Signed-off-by: Valentin Popa valentin.p...@intel.com
+---
+ configure.ac | 10 ++
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f55cea8..2638d8a 100644
+--- a/configure.ac
 b/configure.ac
+@@ -346,13 +346,15 @@ AS_IF([test x$enable_resize_optimization = xyes],
+   [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a 
performance optimization])])
+ 
+ PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login = 198],
+-  [have_systemd_login=yes], [have_systemd_login=no])
++  [have_systemd_login_198=yes have_systemd_login_209=no], [
++  PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd = 209],
++  [have_systemd_login_209=yes have_systemd_login_198=no], 
[have_systemd_login_209=no have_systemd_login_198=no])
++])
++AS_IF([test x$have_systemd_login_198 = xyes -o x$have_systemd_login_209 
= xyes],
++  [have_systemd_login=yes], [have_systemd_login=no])
+ AS_IF([test x$have_systemd_login = xyes],
+   [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])])
+ AM_CONDITIONAL(HAVE_SYSTEMD_LOGIN, test x$have_systemd_login = xyes)
+-
+-PKG_CHECK_MODULES(SYSTEMD_LOGIN_209, [libsystemd-login = 209],
+-  [have_systemd_login_209=yes], [have_systemd_login_209=no])
+ AS_IF([test x$have_systemd_login_209 = xyes],
+   [AC_DEFINE([HAVE_SYSTEMD_LOGIN_209], [1], [Have systemd-login = 209])])
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-graphics/wayland/weston_1.5.0.bb 
b/meta/recipes-graphics/wayland/weston_1.5.0.bb
index 4a8584f..0c7cb0a 100644
--- a/meta/recipes-graphics/wayland/weston_1.5.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.5.0.bb
@@ -11,7 +11,8 @@ SRC_URI = 
http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
file://disable-wayland-scanner-pkg-check.patch \
file://make-lcms-explicitly-configurable.patch \
file://make-libwebp-explicitly-configurable.patch \
-
+   
file://0001-configure.ac-consider-disable-compat-libs-in-systemd.patch
+
 SRC_URI[md5sum] = 8eb40d230efc2411f083c20656534780
 SRC_URI[sha256sum] = 
06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684
 
-- 
1.9.1

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


[OE-core] [PATCH 3/9] image.bbclass: set the proper default target

2014-07-15 Thread Valentin Popa
Check also for wayland presence in DISTRO_FEATURES
before creating default.target.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 meta/classes/image.bbclass | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index a03b880..04aa14b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -153,7 +153,6 @@ ROOTFS_POSTPROCESS_COMMAND =+ write_image_manifest ; 
 # Set default postinst log file
 POSTINST_LOGFILE ?= ${localstatedir}/log/postinstall.log
 # Set default target for systemd images
-SYSTEMD_DEFAULT_TARGET ?= '${@bb.utils.contains(IMAGE_FEATURES, x11-base, 
graphical.target, multi-user.target, d)}'
 ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains(DISTRO_FEATURES, 
systemd, set_systemd_default_target; , , d)}'
 
 # some default locales
@@ -171,6 +170,17 @@ do_rootfs[cleandirs] += ${S}
 # task, so that we have a single fakeroot context for the whole process.
 do_rootfs[umask] = 022
 
+def determine_default_target(d):
+  graphical_target =  bb.utils.contains(IMAGE_FEATURES, x11-base, 
True, False, d) or \
+   bb.utils.contains(DISTRO_FEATURES, wayland, True, 
False, d)
+  if graphical_target:
+ return graphical.target
+  else:
+return multi-user.target
+
+
+SYSTEMD_DEFAULT_TARGET ?= '${@determine_default_target(d)}'
+
 # A hook function to support read-only-rootfs IMAGE_FEATURES
 # Currently, it only supports sysvinit system.
 read_only_rootfs_hook () {
-- 
1.9.1

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


[OE-core] [PATCH 7/9] user-session-units: use user-session-launch to spawn weston

2014-07-15 Thread Valentin Popa
Make use of the pam setup made by user-session-launch
and spawn weston in the same pam environment.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 .../0001-Add-TTY_NUM-as-parameter.patch|  39 ++
 .../0001-launcher.c-fork-weston.patch  |  56 +
 .../0001-set-tty-from-user-params.patch| 132 +
 .../user-session-units/user-session-units_9.bb |  10 +-
 4 files changed, 236 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-support/user-session-units/user-session-units/0001-Add-TTY_NUM-as-parameter.patch
 create mode 100644 
meta/recipes-support/user-session-units/user-session-units/0001-launcher.c-fork-weston.patch
 create mode 100644 
meta/recipes-support/user-session-units/user-session-units/0001-set-tty-from-user-params.patch

diff --git 
a/meta/recipes-support/user-session-units/user-session-units/0001-Add-TTY_NUM-as-parameter.patch
 
b/meta/recipes-support/user-session-units/user-session-units/0001-Add-TTY_NUM-as-parameter.patch
new file mode 100644
index 000..412b326
--- /dev/null
+++ 
b/meta/recipes-support/user-session-units/user-session-units/0001-Add-TTY_NUM-as-parameter.patch
@@ -0,0 +1,39 @@
+From 2bf6da4b283f3a04f1e1660028e54e88eca8f289 Mon Sep 17 00:00:00 2001
+From: Valentin Popa valentin.p...@intel.com
+Date: Fri, 4 Jul 2014 20:15:11 +0300
+Subject: [PATCH] Add @TTY_NUM@ as parameter
+
+Add @TTY_NUM@ as parameter so we can
+replace it from Makefile.am/configure.ac,
+or directly from our recipe.
+
+Upstream-Status: Pending
+
+Signed-off-by: Valentin Popa valentin.p...@intel.com
+---
+ units/system/user-session-lau...@.service.in | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/units/system/user-session-lau...@.service.in 
b/units/system/user-session-lau...@.service.in
+index 77ec07c..bea084d 100644
+--- a/units/system/user-session-lau...@.service.in
 b/units/system/user-session-lau...@.service.in
+@@ -2,9 +2,14 @@
+ Description=User Session Launcher
+ After=systemd-user-sessions.service systemd-logind.service
+ Requires=systemd-logind.service
++Conflicts=getty@tty1.service
+ 
+ [Service]
+-ExecStart=/usr/bin/user-session-launch %i
++ExecStart=/usr/bin/user-session-launch %i @TTY_NUM@
++Environment=XDG_RUNTIME_DIR=/run/user/1000
++StandardInput=tty
++StandardError=journal
++TTYPath=/dev/tty@TTY_NUM@
+ 
+ [Install]
+ WantedBy=graphical.target
+-- 
+1.9.1
+
diff --git 
a/meta/recipes-support/user-session-units/user-session-units/0001-launcher.c-fork-weston.patch
 
b/meta/recipes-support/user-session-units/user-session-units/0001-launcher.c-fork-weston.patch
new file mode 100644
index 000..e46fcd2
--- /dev/null
+++ 
b/meta/recipes-support/user-session-units/user-session-units/0001-launcher.c-fork-weston.patch
@@ -0,0 +1,56 @@
+From e2cf9efc092978cb7e9369c7aa949e769ad3f360 Mon Sep 17 00:00:00 2001
+From: Valentin Popa valentin.p...@intel.com
+Date: Fri, 4 Jul 2014 18:19:06 +0300
+Subject: [PATCH] launcher.c: fork weston
+
+Fork weston; this way we can inherit pam setup.
+
+Upstream-Status: Pending
+
+Signed-off-by: Valentin Popa valentin.p...@intel.com
+---
+ src/launcher.c | 21 +
+ 1 file changed, 21 insertions(+)
+
+diff --git a/src/launcher.c b/src/launcher.c
+index 635958f..31d40fd 100644
+--- a/src/launcher.c
 b/src/launcher.c
+@@ -43,6 +43,18 @@ static void handle_sig(int signal)
+   exit(EXIT_SUCCESS);
+ }
+ 
++static void launch_weston() {
++char * child_argv[6];
++child_argv[0] = /bin/sh;
++child_argv[1] = -l;
++child_argv[2] = -c;
++child_argv[3] = /usr/bin/weston \$@\;
++child_argv[4] = weston;
++child_argv[5] = NULL;
++execv(child_argv[0], child_argv);
++fprintf(stderr, failed to execv!\n);
++}
++
+ int main(int argc, char **argv)
+ {
+   int fd;
+@@ -188,6 +200,15 @@ int main(int argc, char **argv)
+   if (setresuid(pw-pw_uid, pw-pw_uid, pw-pw_uid) != 0)
+   perror(setresuid);
+ 
++pid_t child;
++child = fork();
++
++if (child == -1)
++fprintf(stderr, could not spawn child for weston!\n);
++
++if (child == 0)
++launch_weston();
++
+   pause();
+ 
+   /* unreachable */
+-- 
+1.9.1
+
diff --git 
a/meta/recipes-support/user-session-units/user-session-units/0001-set-tty-from-user-params.patch
 
b/meta/recipes-support/user-session-units/user-session-units/0001-set-tty-from-user-params.patch
new file mode 100644
index 000..f10a972
--- /dev/null
+++ 
b/meta/recipes-support/user-session-units/user-session-units/0001-set-tty-from-user-params.patch
@@ -0,0 +1,132 @@
+From a2f37c23f9d5227fc7f5dc1572446d9c47d94c58 Mon Sep 17 00:00:00 2001
+From: Valentin Popa valentin.p...@intel.com
+Date: Fri, 4 Jul 2014 19:15:00 +0300
+Subject: [PATCH] set tty from user params
+
+Avoid tty number hardcoding; let the user
+choose it.
+
+
+Upstream-Status: Pending
+
+Signed-off-by: Valentin 

[OE-core] [PATCH 4/9] weston-init: added systemd build logic

2014-07-15 Thread Valentin Popa
Handle the case when systemd is in DISTRO_FEATURES.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 meta/recipes-graphics/wayland/weston-init.bb | 21 -
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb 
b/meta/recipes-graphics/wayland/weston-init.bb
index 38b78bc..60cdb8d 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -7,13 +7,24 @@ SRC_URI = file://init
 S = ${WORKDIR}
 
 do_install() {
-   install -d ${D}/${sysconfdir}/init.d
-   install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
+   if ${@base_contains(DISTRO_FEATURES, sysvinit, true, false, 
d)}; then
+   install -d ${D}/${sysconfdir}/init.d
+   install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
+   fi
+
+   if ${@base_contains(DISTRO_FEATURES, systemd, true, false, d)}; 
then
+   fi
 }
 
 inherit allarch update-rc.d
 
-RDEPENDS_${PN} = weston kbd
+RDEPENDS_${PN} = weston \
+  ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'kbd', '', 
d)} \
+  ${@base_contains('DISTRO_FEATURES', 'systemd', 
'user-session-units', '', d)} \
+  
+
+DEPENDS += weston \
+${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}
 
-INITSCRIPT_NAME = weston
-INITSCRIPT_PARAMS = start 9 5 2 . stop 20 0 1 6 .
+INITSCRIPT_NAME = ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'weston', 
'', d)}
+INITSCRIPT_PARAMS = ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'start 9 
5 2 . stop 20 0 1 6 .', '', d)}
-- 
1.9.1

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


Re: [OE-core] [PATCH] libomxil-0.9.3: Move .so files to main package.

2014-07-15 Thread Burton, Ross
On 15 July 2014 01:03, Saul Wold s...@linux.intel.com wrote:
 On 07/10/2014 12:18 PM, Drew Moseley wrote:

 The omxregister-bellagio app scans the libdir for the '*.so'
 files to get them properly registered.  Make sure they are
 included in the base package rather than the dev.

 Would it be better to patch the register app to have a more generic search
 for .so*??

Searching for .so is fine if you're looking for loadable modules, but
as the package contains versioned real files and lots of symlinks
they're Doing It Wrong.  A better fix would be to fix the build so
that it installs unversioned loadable modules, and then ensure that
they're in the main package (a real .so file in $PN shoudn't kick a QA
error, either).

I think the magic libtool options are -avoid-version -module -shared.

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


Re: [OE-core] [PATCH 4/8] xmlto: add version 0.0.25

2014-07-15 Thread Richard Purdie
On Fri, 2014-07-11 at 09:45 +0800, Hongxu Jia wrote:
 On 07/11/2014 04:57 AM, Burton, Ross wrote:
 
  On 9 July 2014 11:16, Hongxu Jia hongxu@windriver.com wrote:
   +# To make sure these native packages ready before xmlto-native was 
   invoked.
   +DEPENDS_class-native =  \
   +docbook-xml-dtd4-native \
   +docbook-xsl-stylesheets-native \
   +util-linux-native \
   +libxml2-native \
   +libxslt-native \
   +
  Does this do what you want if xmlto-native is pulled in from sstate in
  an empty tmp?
 
 Hi Ross,
 
 If we don't have it, while runing bitbake world, there was a build
 failure for alsa-utils which xmlto enabled.
 ...
 | xmlto man alsactl_init.xml
 | sed -e 's,@localstatedir\@,/var,g' -e 's,@sbindir\@,/usr/sbin,g' -e 
 's,@daemonswitch\@,/etc/alsa/state-daemon.conf,g'  90-alsa-restore.rules.in 
  90-alsa-restore.rules || rm 90-alsa-restore.rules
 | i586-poky-linux-gcc  -m32 -march=i586 
 --sysroot=/buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86
   -D__USE_GNU -DSYS_ASOUNDRC=\/var/lib/alsa/asound.state\ 
 -DSYS_PIDFILE=\/var/run/alsactl.pid\ -O2 -pipe -g 
 -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed 
 -o alsactl alsactl-alsactl.o alsactl-state.o alsactl-lock.o alsactl-utils.o 
 alsactl-init_parse.o alsactl-daemon.o  -lasound -lm -ldl -lpthread
 | xmlto: 
 /buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml
  does not validate (status 3)
 | xmlto: Fix document syntax or use --skip-validation option
 | I/O error : Attempt to load network entity 
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
 | 
 /buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml:3:
  warning: failed to load external entity 
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
 |   http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
 |^
 | I/O error : Attempt to load network entity 
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
 | warning: failed to load external entity 
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
 | validity error : Could not load the external subset 
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
 ...
 
 The alsa-utils invoked xmlto to generate document at his do_compile,
 so we have to make sure the above native packages prepared before
 xmlto-native.

Shouldn't alsa-utils have a dependency on the docbook pieces it needs as
well as xmlto-native then?

Certainly, these are not build time dependencies of xmlto so something
is not quite right...

Cheers,

Richard

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


[OE-core] would replacing packagegroup names with ${PN} be useless code churn?

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

  just my sheldon cooper-like OCD coming through again, but i long ago
noted that some packagegroup files do this:

  RDEPENDS_${PN} = openssh

while others spell out (unnecessarily) the packagegroup name:

  RDEPENDS_packagegroup-core-buildessential = \

when using ${PN} would have worked just fine. i'm a big fan of brevity
so i can whip up a patch to shorter all those lines and make them
clearer, unless folks think that's just unnecessary code churn.

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] [PATCH 4/8] xmlto: add version 0.0.25

2014-07-15 Thread Hongxu Jia

On 07/15/2014 06:57 PM, Richard Purdie wrote:

On Fri, 2014-07-11 at 09:45 +0800, Hongxu Jia wrote:

On 07/11/2014 04:57 AM, Burton, Ross wrote:


On 9 July 2014 11:16, Hongxu Jia hongxu@windriver.com wrote:

+# To make sure these native packages ready before xmlto-native was invoked.
+DEPENDS_class-native =  \
+docbook-xml-dtd4-native \
+docbook-xsl-stylesheets-native \
+util-linux-native \
+libxml2-native \
+libxslt-native \
+

Does this do what you want if xmlto-native is pulled in from sstate in
an empty tmp?

Hi Ross,

If we don't have it, while runing bitbake world, there was a build
failure for alsa-utils which xmlto enabled.
...
| xmlto man alsactl_init.xml
| sed -e 's,@localstatedir\@,/var,g' -e 's,@sbindir\@,/usr/sbin,g' -e 
's,@daemonswitch\@,/etc/alsa/state-daemon.conf,g'  90-alsa-restore.rules.in  
90-alsa-restore.rules || rm 90-alsa-restore.rules
| i586-poky-linux-gcc  -m32 -march=i586 
--sysroot=/buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86  
-D__USE_GNU -DSYS_ASOUNDRC=\/var/lib/alsa/asound.state\ 
-DSYS_PIDFILE=\/var/run/alsactl.pid\ -O2 -pipe -g -feliminate-unused-debug-types  
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o alsactl alsactl-alsactl.o alsactl-state.o 
alsactl-lock.o alsactl-utils.o alsactl-init_parse.o alsactl-daemon.o  -lasound -lm -ldl -lpthread
| xmlto: 
/buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml
 does not validate (status 3)
| xmlto: Fix document syntax or use --skip-validation option
| I/O error : Attempt to load network entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
| 
/buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml:3:
 warning: failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
|   http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
|^
| I/O error : Attempt to load network entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
| warning: failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
| validity error : Could not load the external subset 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
...

The alsa-utils invoked xmlto to generate document at his do_compile,
so we have to make sure the above native packages prepared before
xmlto-native.

Shouldn't alsa-utils have a dependency on the docbook pieces it needs as
well as xmlto-native then?

Certainly, these are not build time dependencies of xmlto so something
is not quite right...


Got it, I will add docbook pieces to alsa-utils's dependency, V3 Incoming.

//Hongxu



Cheers,

Richard



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


Re: [OE-core] would replacing packagegroup names with ${PN} be useless code churn?

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


   just my sheldon cooper-like OCD coming through again, but i long ago
 noted that some packagegroup files do this:

   RDEPENDS_${PN} = openssh

 while others spell out (unnecessarily) the packagegroup name:

   RDEPENDS_packagegroup-core-buildessential = \

 when using ${PN} would have worked just fine. i'm a big fan of brevity
 so i can whip up a patch to shorter all those lines and make them
 clearer, unless folks think that's just unnecessary code churn.

  my own followup to this ... there's the occasional packagegroup file
for which this would cause numerous changes; take a look at
packagegroup-base.bb:

PACKAGES = ' \
packagegroup-base \
packagegroup-base-extended \
packagegroup-distro-base \
packagegroup-machine-base \
\
${@bb.utils.contains(MACHINE_FEATURES, acpi, 
packagegroup-base-acpi, ,d)} \
${@bb.utils.contains(MACHINE_FEATURES, alsa, 
packagegroup-base-alsa, , d)} \
${@bb.utils.contains(MACHINE_FEATURES, apm, 
packagegroup-base-apm, , d)} \
${@bb.utils.contains(MACHINE_FEATURES, ext2, 
packagegroup-base-ext2, , d)} \
${@bb.utils.contains(MACHINE_FEATURES, vfat, 
packagegroup-base-vfat, , d)} \
${@bb.utils.contains(MACHINE_FEATURES, irda, 
packagegroup-base-irda, ,d)} \
${@bb.utils.contains(MACHINE_FEATURES, keyboard, 
packagegroup-base-keyboard, , d)} \
... snip ...

  i'm guessing that one could shorten all that to:

PACKAGES = ' \
${PN} \
${PN}-extended \
packagegroup-distro-base \
packagegroup-machine-base \
\
${@bb.utils.contains(MACHINE_FEATURES, acpi, ${PN}-acpi, 
,d)} \
${@bb.utils.contains(MACHINE_FEATURES, alsa, ${PN}-alsa, , 
d)} \
${@bb.utils.contains(MACHINE_FEATURES, apm, ${PN}-apm, , 
d)} \
${@bb.utils.contains(MACHINE_FEATURES, ext2, ${PN}-ext2, , 
d)} \
${@bb.utils.contains(MACHINE_FEATURES, vfat, ${PN}-vfat, , 
d)} \
${@bb.utils.contains(MACHINE_FEATURES, irda, ${PN}-irda, 
,d)} \
${@bb.utils.contains(MACHINE_FEATURES, keyboard, 
${PN}-keyboard, , d)} \
... snip ...

so while most packagegroup files would just get a couple tweaked
lines, it's files like the above for which i asked whether this would
be just code churn. i'll let someone else make that decision.

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] [PATCH] local.conf.sample: Add QEMU machine entry for supported MIPS64.

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

Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca

---

diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index d64ba7f..8e3f95c 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -41,6 +41,7 @@ PARALLEL_MAKE ?= -j ${@oe.utils.cpu_count()}
 #
 #MACHINE ?= qemuarm
 #MACHINE ?= qemumips
+#MACHINE ?= qemumips64
 #MACHINE ?= qemuppc
 #MACHINE ?= qemux86
 #MACHINE ?= qemux86-64

-- 


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] [PATCH 1/8] libxml2: enable catalog support

2014-07-15 Thread Hongxu Jia
It let the environment variable XML_CATALOG_FILES could work
which was required by xmlto.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-core/libxml/libxml2.inc | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/libxml/libxml2.inc 
b/meta/recipes-core/libxml/libxml2.inc
index e0b50cf..9aa640b 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -38,10 +38,10 @@ do_configure_prepend_class-nativesdk () {
export PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR}
 }
 
-EXTRA_OECONF = --without-python --without-debug --without-legacy 
--without-catalog --without-docbook --with-c14n --without-lzma 
--with-fexceptions
-EXTRA_OECONF_class-native = --with-python=${STAGING_BINDIR}/python 
--without-legacy --with-catalog --without-docbook --with-c14n --without-lzma
-EXTRA_OECONF_class-nativesdk = --with-python=${STAGING_BINDIR}/python 
--without-legacy --with-catalog --without-docbook --with-c14n --without-lzma
-EXTRA_OECONF_linuxstdbase = --without-python --with-debug --with-legacy 
--with-catalog --with-docbook --with-c14n --without-lzma
+EXTRA_OECONF = --without-python --without-debug --without-legacy 
--with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions
+EXTRA_OECONF_class-native = --with-python=${STAGING_BINDIR}/python 
--without-legacy --without-docbook --with-c14n --without-lzma
+EXTRA_OECONF_class-nativesdk = --with-python=${STAGING_BINDIR}/python 
--without-legacy --without-docbook --with-c14n --without-lzma
+EXTRA_OECONF_linuxstdbase = --without-python --with-debug --with-legacy 
--with-docbook --with-c14n --without-lzma
 
 # required for pythong binding
 export HOST_SYS
-- 
1.8.1.2

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


[OE-core] [PATCH 2/8] docbook-xml: add docbook-xsl-stylesheets 1.78.1

2014-07-15 Thread Hongxu Jia
About the config files (docbook-xsl.xml), we refered what Ubuntu 13.04 did,
so the xmlto could correctly search the xsl stylesheets.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/conf/licenses.conf|  2 +-
 meta/files/common-licenses/XSL | 48 
 .../docbook-xsl-stylesheets/docbook-xsl.xml|  6 ++
 .../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb  | 67 ++
 4 files changed, 122 insertions(+), 1 deletion(-)
 create mode 100644 meta/files/common-licenses/XSL
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl.xml
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb

diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
index c378a41..b1d5480 100644
--- a/meta/conf/licenses.conf
+++ b/meta/conf/licenses.conf
@@ -36,7 +36,7 @@ SRC_DISTRIBUTE_LICENSES += OSL-3.0 PD PHP-3.0 PostgreSQL 
Proprietary
 SRC_DISTRIBUTE_LICENSES += Python-2.0 QPL-1.0 RHeCos-1 RHeCos-1.1 RPL-1.5
 SRC_DISTRIBUTE_LICENSES += RPSL-1.0 RSCPL Ruby SAX-PD SGI-1 Simple-2.0 
Sleepycat
 SRC_DISTRIBUTE_LICENSES += SPL-1.0 SugarCRM-1 SugarCRM-1.1.3 UCB VSL-1.0 W3C
-SRC_DISTRIBUTE_LICENSES += Watcom-1.0 WXwindows XFree86-1.1 Xnet YPL-1.1
+SRC_DISTRIBUTE_LICENSES += Watcom-1.0 WXwindows XFree86-1.1 Xnet XSL YPL-1.1
 SRC_DISTRIBUTE_LICENSES += Zimbra-1.3 Zlib ZPL-1.1 ZPL-2.0 ZPL-2.1
 
 # Standards are great! Everyone has their own. In an effort to standardize 
licensing
diff --git a/meta/files/common-licenses/XSL b/meta/files/common-licenses/XSL
new file mode 100644
index 000..0a82d60
--- /dev/null
+++ b/meta/files/common-licenses/XSL
@@ -0,0 +1,48 @@
+Copyright
+-
+Copyright (C) 1999-2007 Norman Walsh
+Copyright (C) 2003 Jiří Kosek
+Copyright (C) 2004-2007 Steve Ball
+Copyright (C) 2005-2008 The DocBook Project
+Copyright (C) 2011-2012 O'Reilly Media
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the ``Software''), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization
+from the individuals in question.
+
+Any stylesheet derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that
+no possibility of confusion between the derived package and this
+Software will exist.
+
+Warranty
+
+THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Contacting the Author
+-
+The DocBook XSL stylesheets are maintained by Norman Walsh,
+n...@nwalsh.com, and members of the DocBook Project,
+docbook-develop...@sf.net
diff --git 
a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl.xml 
b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl.xml
new file mode 100644
index 000..a1a576a
--- /dev/null
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl.xml
@@ -0,0 +1,6 @@
+?xml version=1.0?
+!DOCTYPE catalog PUBLIC -//OASIS//DTD Entity Resolution XML Catalog 
V1.0//EN http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd;
+catalog xmlns=urn:oasis:names:tc:entity:xmlns:xml:catalog
+delegateURI uriStartString=http://docbook.sourceforge.net/release/xsl/; 
catalog=file:///usr/share/xml/docbook/xsl-stylesheets-1.78.1/catalog.xml/
+delegateSystem 
systemIdStartString=http://docbook.sourceforge.net/release/xsl/; 
catalog=file:///usr/share/xml/docbook/xsl-stylesheets-1.78.1/catalog.xml/
+/catalog
diff --git 
a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb 
b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
new file mode 100644
index 000..39528c8
--- /dev/null
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
@@ -0,0 +1,67 @@
+SUMMARY = XSL stylesheets for processing DocBook XML to 

[OE-core] [PATCH 3/8] docbook-xml: add docbook-xml-dtd4

2014-07-15 Thread Hongxu Jia
Refer debian, it shipped the latest DocBook 4.5 XML DTD, as well as
a selected set of legacy DTDs for use with older documents, including
4.0, 4.1.2, 4.2, 4.3 and 4.4.

About the config files (docbook-xml.xml and the update patch), we
refered what Ubuntu 13.04 did, so the xmlto could correctly search
among multible DTDs.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 .../docbook-xml/docbook-xml-dtd4/LICENSE-OASIS |  16 +
 .../docbook-xml-update-catalog.xml.patch   | 515 +
 .../docbook-xml/docbook-xml-dtd4/docbook-xml.xml   |  68 +++
 .../docbook-xml/docbook-xml-dtd4_4.5.bb|  64 +++
 4 files changed, 663 insertions(+)
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml.xml
 create mode 100644 meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb

diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS 
b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
new file mode 100644
index 000..6da7f5b
--- /dev/null
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
@@ -0,0 +1,16 @@
+Permission to use, copy, modify and distribute the DocBook XML DTD
+and its accompanying documentation for any purpose and without fee
+is hereby granted in perpetuity, provided that the above copyright
+notice and this paragraph appear in all copies.  The copyright
+holders make no representation about the suitability of the DTD for
+any purpose.  It is provided as is without expressed or implied
+warranty.
+
+If you modify the DocBook DTD in any way, except for declaring and
+referencing additional sets of general entities and declaring
+additional notations, label your DTD as a variant of DocBook.  See
+the maintenance documentation for more information.
+
+Please direct all questions, bug reports, or suggestions for 
+changes to the docb...@lists.oasis-open.org mailing list. For more
+information, see http://www.oasis-open.org/docbook/.
diff --git 
a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
 
b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
new file mode 100644
index 000..5970360
--- /dev/null
+++ 
b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
@@ -0,0 +1,515 @@
+docbook-xml: update catalog.xml
+
+Refer Ubuntu 13.04 to update catalog.xml
+
+Upstream-Status: Pending
+Signed-off-by: Hongxu Jia hongxu@windriver.com
+---
+ docbook-4.0/catalog.xml   | 72 +++
+ docbook-4.1.2/catalog.xml | 66 +++
+ docbook-4.2/catalog.xml   | 69 ++---
+ docbook-4.3/catalog.xml   | 72 ---
+ docbook-4.4/catalog.xml   | 63 ++---
+ docbook-4.5/catalog.xml   | 63 ++---
+ 6 files changed, 165 insertions(+), 240 deletions(-)
+ create mode 100644 docbook-4.0/catalog.xml
+ create mode 100644 docbook-4.1.2/catalog.xml
+
+diff --git a/docbook-4.0/catalog.xml b/docbook-4.0/catalog.xml
+new file mode 100644
+--- /dev/null
 b/docbook-4.0/catalog.xml
+@@ -0,0 +1,72 @@
++?xml version='1.0'?
++!DOCTYPE catalog PUBLIC -//OASIS//DTD Entity Resolution XML Catalog 
V1.0//EN 
++http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd;
++
++catalog xmlns=urn:oasis:names:tc:entity:xmlns:xml:catalog
++
++!-- .. 
--
++!-- XML Catalog data for DocBook XML V4.0... --
++!-- File catalog.xml . 
--
++
++!-- Please direct all questions, bug reports, or suggestions for
++ changes to the docb...@lists.oasis-open.org mailing list. For more
++ information, see http://www.oasis-open.org/.
++  --
++
++!-- This is the catalog data file for DocBook V4.0. It is provided as
++ a convenience in building your own catalog files. You need not use
++ the filenames listed here, and need not use the filename method of
++ identifying storage objects at all.  See the documentation for
++ detailed information on the files associated with the DocBook DTD.
++ See XML Catalogs at http://www.oasis-open.org/committees/entity/ for
++ detailed information on supplying and using catalog data.
++  --
++
++!-- .. 
--
++!-- DocBook driver file .. 
--
++
++public publicId=-//Norman Walsh//DTD DocBk XML V4.0//EN
++uri=docbookx.dtd/
++
++!-- Other ways to refer to DocBook XML 

[OE-core] [PATCH 4/8] xmlto: add version 0.0.25

2014-07-15 Thread Hongxu Jia
It moved from meta-oe and fixed the defect that xmlto/xsltproc
stylesheets cannot be found even when they are installed in
sysroot.

About the config files (catalog.xml), we refered what Ubuntu
13.04 did, so it could correctly search the xsl stylesheets
and xml dtds.

Assigned the environment variable XML_CATALOG_FILES, so the
xmlto will use oe-core's config as priority to avoid the
the search from build system.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-devtools/xmlto/files/catalog.xml  | 19 +++
 in-drop-the-test-of-xmllint-and-xsltproc.patch | 30 ++
 .../xmlto-0.0.25/obsolete_automake_macros.patch| 12 +++
 meta/recipes-devtools/xmlto/xmlto_0.0.25.bb| 37 ++
 4 files changed, 98 insertions(+)
 create mode 100644 meta/recipes-devtools/xmlto/files/catalog.xml
 create mode 100644 
meta/recipes-devtools/xmlto/xmlto-0.0.25/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
 create mode 100644 
meta/recipes-devtools/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
 create mode 100644 meta/recipes-devtools/xmlto/xmlto_0.0.25.bb

diff --git a/meta/recipes-devtools/xmlto/files/catalog.xml 
b/meta/recipes-devtools/xmlto/files/catalog.xml
new file mode 100644
index 000..6b8833d
--- /dev/null
+++ b/meta/recipes-devtools/xmlto/files/catalog.xml
@@ -0,0 +1,19 @@
+?xml version=1.0?
+!DOCTYPE catalog PUBLIC -//OASIS//DTD Entity Resolution XML Catalog 
V1.0//EN http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd;
+catalog xmlns=urn:oasis:names:tc:entity:xmlns:xml:catalog
+delegateSystem systemIdStartString=http://docbook.org/xml/; 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//OASIS//ELEMENTS DocBook 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//OASIS//DTD DocBook XML 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//OASIS//DTD XML Exchange Table Model 
19990315 catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Norman Walsh//DTD CALS Table Model 
XML catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Norman Walsh//ELEMENTS DocBk XML 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Norman Walsh//DTD DocBook XML 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//OASIS//ENTITIES DocBook 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Norman Walsh//ENTITIES DocBk XML 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Norman Walsh//DTD DocBk XML 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//Normal Walsh//Exchange Table Model 
19960430 catalog=./docbook-xml.xml/
+delegateSystem systemIdStartString=http://www.oasis-open.org/docbook/xml/; 
catalog=./docbook-xml.xml/
+delegatePublic publicIdStartString=-//OASIS//DTD DocBook CALS Table Model 
catalog=./docbook-xml.xml/
+delegateURI uriStartString=http://docbook.sourceforge.net/release/xsl/; 
catalog=./docbook-xsl.xml/
+delegateSystem 
systemIdStartString=http://docbook.sourceforge.net/release/xsl/; 
catalog=./docbook-xsl.xml/
+/catalog
diff --git 
a/meta/recipes-devtools/xmlto/xmlto-0.0.25/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
 
b/meta/recipes-devtools/xmlto/xmlto-0.0.25/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
new file mode 100644
index 000..69ca432
--- /dev/null
+++ 
b/meta/recipes-devtools/xmlto/xmlto-0.0.25/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
@@ -0,0 +1,30 @@
+configure.in: drop the test of xmllint and xsltproc
+
+The test is unnecessary, the xmllint and xsltproc were explicitly
+added to RDEPENDS.
+
+Upstream-Status: oe-specific
+Signed-off-by: Hongxu Jia hongxu@windriver.com
+---
+ configure.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.in b/configure.in
+--- a/configure.in
 b/configure.in
+@@ -42,10 +42,10 @@ AC_ARG_VAR([LOCALE], [Name and path of the `locale' 
program.])
+ AC_PATH_PROG([LOCALE], [locale], [locale])
+ 
+ AC_ARG_VAR([XMLLINT], [Name and path of the `xmllint' program.])
+-AC_PATH_PROG([XMLLINT], [xmllint], [xmllint])
++dnl AC_PATH_PROG([XMLLINT], [xmllint], [xmllint])
+ 
+ AC_ARG_VAR([XSLTPROC], [Name and path of the `xsltproc' program.])
+-AC_PATH_PROG([XSLTPROC], [xsltproc], [xsltproc])
++dnl AC_PATH_PROG([XSLTPROC], [xsltproc], [xsltproc])
+ 
+ dnl
+ dnl toolchains
+-- 
+1.8.1.2
+
diff --git 
a/meta/recipes-devtools/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch 
b/meta/recipes-devtools/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
new file mode 100644
index 000..faa8acc
--- /dev/null
+++ b/meta/recipes-devtools/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
@@ -0,0 +1,12 @@
+diff -Nurd xmlto-0.0.25/configure.in xmlto-0.0.25/configure.in
+--- xmlto-0.0.25/configure.in  2011-12-01 17:49:00.0 +0200
 xmlto-0.0.25/configure.in  2013-01-07 05:24:16.169953519 +0200
+@@ -1,7 +1,7 @@
+ AC_INIT(xmlto, 0.0.25)
+ 

[OE-core] [PATCH 8/8] xserver-xorg.inc: add missing dep for xmlto

2014-07-15 Thread Hongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]
Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 6281eee..628da58 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -124,7 +124,7 @@ PACKAGECONFIG[dri3] = 
--enable-dri3,--disable-dri3,dri3proto
 PACKAGECONFIG[glx] = --enable-glx --enable-glx-tls,--disable-glx,glproto 
virtual/libgl virtual/libx11
 PACKAGECONFIG[unwind] = --enable-libunwind,--disable-libunwind,libunwind
 PACKAGECONFIG[xshmfence] = 
--enable-xshmfence,--disable-xshmfence,libxshmfence
-PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native
+PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native
 
 do_install_append () {
# Its assumed base-files creates this for us
-- 
1.8.1.2

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


[OE-core] [PATCH 5/8] alsa-utils-native: add missing dep for xmlto

2014-07-15 Thread Hongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb 
b/meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb
index d7908cb..047fcfe 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb
@@ -9,7 +9,7 @@ DEPENDS = alsa-lib ncurses libsamplerate0 udev
 
 PACKAGECONFIG ??= udev
 PACKAGECONFIG[udev] = --with-udev-rules-dir=`pkg-config --variable=udevdir 
udev`/rules.d,,udev
-PACKAGECONFIG[xmlto] = --enable-xmlto, --disable-xmlto, xmlto-native
+PACKAGECONFIG[xmlto] = --enable-xmlto, --disable-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native
 
 SRC_URI = ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \

file://0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch \
-- 
1.8.1.2

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


[OE-core] [PATCH 7/8] xorg-lib-common.inc: add missing dep for xmlto

2014-07-15 Thread Hongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]

Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc 
b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 3db67ce..09df010 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -16,7 +16,7 @@ inherit autotools distro_features_check pkgconfig
 EXTRA_OECONF = --disable-specs --without-groff --without-ps2pdf --without-fop
 
 PACKAGECONFIG ??= 
-PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native
+PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native
 
 UNKNOWN_CONFIGURE_WHITELIST += --enable-malloc0returnsnull 
--disable-malloc0returnsnull \
 --disable-specs --without-groff 
--without-ps2pdf --without-fop \
-- 
1.8.1.2

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


[OE-core] [PATCH V3 0/8] support xmlto

2014-07-15 Thread Hongxu Jia
Change in V3:
- The alsa-utils have a dependency on the docbook pieces it needs as
  well as xmlto-native.

Change in V2: 

- For alsa-utils/xorg-proto-common.inc/xorg-lib-common.inc/xserver-xorg.inc,
  add PACKAGECONFIG for xmlto and disable it by default rather than directly
  enable it. 

- EXTRA_OECONF has --without-catalog to instead of passing CFLAGS directly.

Test Steps:

1. vim local.conf
...
IMAGE_FEATURES += ssh-server-dropbear
PACKAGECONFIG_pn-alsa-utils = xmlto
IMAGE_INSTALL_append =  xmlto
...

2. bitbake alsa-utils
If the build is ok, it means xmlto-native could work.

3. bitbake core-image-minimal

4. start qemu target and ssh the target

5. copy a manual source to target
   ssh 
tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml
 root@192.168.7.2:/home/root

6. on target
   root@qemux86:~# xmlto man alsactl_init.xml 
   Note: Writing alsactl_init.7

[YOCTO #2416]

//Hongxu

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.pokylinux.org/poky-contrib hongxu/support-xmlto
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/support-xmlto

Hongxu Jia (8):
  libxml2: enable catalog support
  docbook-xml: add docbook-xsl-stylesheets 1.78.1
  docbook-xml: add docbook-xml-dtd4
  xmlto: add version 0.0.25
  alsa-utils-native: add missing dep for xmlto
  xorg-proto-common.inc: add missing dep for xmlto
  xorg-lib-common.inc: add missing dep for xmlto
  xserver-xorg.inc: add missing dep for xmlto

 meta/conf/licenses.conf|   2 +-
 meta/files/common-licenses/XSL |  48 ++
 meta/recipes-core/libxml/libxml2.inc   |   8 +-
 .../docbook-xml/docbook-xml-dtd4/LICENSE-OASIS |  16 +
 .../docbook-xml-update-catalog.xml.patch   | 515 +
 .../docbook-xml/docbook-xml-dtd4/docbook-xml.xml   |  68 +++
 .../docbook-xml/docbook-xml-dtd4_4.5.bb|  64 +++
 .../docbook-xsl-stylesheets/docbook-xsl.xml|   6 +
 .../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb  |  67 +++
 meta/recipes-devtools/xmlto/files/catalog.xml  |  19 +
 in-drop-the-test-of-xmllint-and-xsltproc.patch |  30 ++
 .../xmlto-0.0.25/obsolete_automake_macros.patch|  12 +
 meta/recipes-devtools/xmlto/xmlto_0.0.25.bb|  37 ++
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc |   2 +-
 .../xorg-proto/xorg-proto-common.inc   |   2 +-
 .../recipes-graphics/xorg-xserver/xserver-xorg.inc |   2 +-
 .../recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb |   2 +-
 17 files changed, 891 insertions(+), 9 deletions(-)
 create mode 100644 meta/files/common-licenses/XSL
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml.xml
 create mode 100644 meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl.xml
 create mode 100644 
meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
 create mode 100644 meta/recipes-devtools/xmlto/files/catalog.xml
 create mode 100644 
meta/recipes-devtools/xmlto/xmlto-0.0.25/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
 create mode 100644 
meta/recipes-devtools/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
 create mode 100644 meta/recipes-devtools/xmlto/xmlto_0.0.25.bb

-- 
1.8.1.2

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


[OE-core] [PATCH 6/8] xorg-proto-common.inc: add missing dep for xmlto

2014-07-15 Thread Hongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]
Signed-off-by: Hongxu Jia hongxu@windriver.com
---
 meta/recipes-graphics/xorg-proto/xorg-proto-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc 
b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
index 852155e..7a417c9 100644
--- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
+++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
@@ -19,7 +19,7 @@ EXTRA_OECONF = --without-fop
 UNKNOWN_CONFIGURE_WHITELIST += --without-fop --without-xmlto --with-xmlto
 
 PACKAGECONFIG ??= 
-PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native
+PACKAGECONFIG[xmlto] = --with-xmlto, --without-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 RDEPENDS_${PN}-dev = 
-- 
1.8.1.2

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


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

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

  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?

  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?)

  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?

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.

-- 


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] [v3] 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
FIxes CVE-2014-4611

Signed-off-by: Armin Kuster akus...@mvista.com
---
 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}
 
-- 
1.9.1

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


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

2014-07-15 Thread Armin Kuster
Update to latest version
Add GNUv3 license

Signed-off-by: Armin Kuster akus...@mvista.com
---
 .../nettle/{nettle_2.7.1.bb = nettle_3.0.bb}| 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
 rename meta/recipes-support/nettle/{nettle_2.7.1.bb = nettle_3.0.bb} (59%)

diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb 
b/meta/recipes-support/nettle/nettle_3.0.bb
similarity index 59%
rename from meta/recipes-support/nettle/nettle_2.7.1.bb
rename to meta/recipes-support/nettle/nettle_3.0.bb
index 8aa5351..04789c9 100644
--- a/meta/recipes-support/nettle/nettle_2.7.1.bb
+++ b/meta/recipes-support/nettle/nettle_3.0.bb
@@ -1,17 +1,19 @@
 SUMMARY = A low level cryptographic library
 HOMEPAGE = http://www.lysator.liu.se/~nisse/nettle/;
 SECTION = libs
-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
+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
 
 DEPENDS += gmp
 
 SRC_URI = http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz;
 
-SRC_URI[md5sum] = 003d5147911317931dd453520eb234a5
-SRC_URI[sha256sum] = 
bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40
+SRC_URI[md5sum] = f64b1bf1e774b7ae6e507318e340250e
+SRC_URI[sha256sum] = 
9651c0bd2326eb737d0ed9eb403444712407c01a25b0fe813432ef31bebcd913
+
+inherit autotools-brokensep
 
 EXTRA_OECONF = --disable-openssl
 
@@ -21,6 +23,4 @@ do_configure_prepend() {
fi
 }
 
-inherit autotools
-
 BBCLASSEXTEND = native
-- 
1.9.1

-- 
___
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 Otavio Salvador
On Mon, Jul 14, 2014 at 7:55 PM, João Henrique Ferreira de Freitas
joa...@gmail.com 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 joa...@gmail.com

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?

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2 1/2] python-distribute: add nativesdk to BBCLASSEXTEND

2014-07-15 Thread Otavio Salvador
On Mon, Jul 14, 2014 at 7:55 PM, João Henrique Ferreira de Freitas
joa...@gmail.com wrote:
 Without this, python tools that need python-distribute doesn't install
 in SDK generated by OE.

 Signed-off-by: João Henrique Ferreira de Freitas joa...@gmail.com
 ---
  meta/recipes-devtools/python/python-distribute_0.6.32.bb | 8 +++-
  1 file changed, 7 insertions(+), 1 deletion(-)

 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..7000145 100644
 --- a/meta/recipes-devtools/python/python-distribute_0.6.32.bb
 +++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
 @@ -39,6 +39,12 @@ do_install_append() {
  echo ./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg  
 ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
  }

 +do_install_append_class-nativesdk() {
 +   sed -i -e '1s|^#!.*|#!/usr/bin/env python|' 
 ${D}${PYTHON_SITEPACKAGES_DIR}/distribute-${PV}-py${PYTHON_BASEVERSION}.egg/setuptools/tests/test_resources.py
 +   sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${bindir}/easy_install
 +   sed -i -e '1s|^#!.*|#!/usr/bin/env python|' 
 ${D}${bindir}/easy_install-${PYTHON_BASEVERSION}
 +}

Couldn't this be done unconditionally for all target types?
/usr/bin/env python should work fine in target as well, no?

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] Qemu security patch: CVE-2014-3471

2014-07-15 Thread Burton, Ross
On 15 July 2014 14:30, Daniel BORNAZ daniel.bor...@enea.com wrote:
 +++ b/meta/recipes-devtools/qemu/files/pcie_better_hotplug_support.patch
 @@ -0,0 +1,74 @@
 +The current code is broken: it does surprise removal which crashes guests.
 +
 +Reimplemented the steps:
 + - Hotplug triggers both 'present detect change' and
 +   'attention button pressed'.
 +
 + - Hotunplug starts by triggering 'attention button pressed',
 +   then waits for the OS to power off the device and only
 +   then detaches it.
 +
 +Fixes CVE-2014-3471.
 +
 +Originated-by: Marcel Apfelbaum address@hidden
 +Updated-by: Daniel BORNAZ daniel.bor...@enea.com

Missing upstream-status (and a proper signed-off-by).

Ross
-- 
___
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 Burton, Ross
On 15 July 2014 14:27, Armin Kuster akus...@mvista.com 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 1/1] package.bbclass: add QA check: file-depends

2014-07-15 Thread Robert Yang
The ipk or deb can't depend on file such as /usr/bin/perl, so it would
know nothing about perl, and there would be dependencies problems when
we run apt-get install on the target, this check can help us figure
out the depends, and the user can fix it manually.

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/classes/insane.bbclass  |2 +-
 meta/classes/package.bbclass |   25 +
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 106ace7..1a136b7 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -29,7 +29,7 @@ QA_SANE = True
 WARN_QA ?= ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
 textrel already-stripped incompatible-license files-invalid \
 installed-vs-shipped compile-host-path install-host-path \
-pn-overrides infodir \
+pn-overrides infodir file-depends \
 
 ERROR_QA ?= dev-so debug-deps dev-deps debug-files arch pkgconfig la \
 perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 26a20d1..eaf7ddf 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -52,6 +52,10 @@ LOCALE_SECTION ?= ''
 
 ALL_MULTILIB_PACKAGE_ARCHS = ${@all_multilib_tune_values(d, 'PACKAGE_ARCHS')}
 
+BASH_PATH ?= ${base_bindir}/bash
+PERL_PATH ?= ${bindir}/perl
+PYTHON_PATH ?= ${bindir}/python
+
 # rpm is used for the per-file dependency identification
 PACKAGE_DEPENDS += rpm-native
 
@@ -1318,6 +1322,11 @@ python package_do_filedeps() {
 pool.close()
 pool.join()
 
+# Used for converting file depends into pkg depends
+prog_maps = {d.getVar(BASH_PATH, True): bash,
+d.getVar(PERL_PATH, True): perl,
+d.getVar(PYTHON_PATH, True): python}
+
 provides_files = {}
 requires_files = {}
 
@@ -1334,10 +1343,26 @@ python package_do_filedeps() {
 key = FILERPROVIDES_ + file + _ + pkg
 d.setVar(key,  .join(provides[file]))
 
+req_file_pkgs = []
 for file in requires:
 requires_files[pkg].append(file)
 key = FILERDEPENDS_ + file + _ + pkg
 d.setVar(key,  .join(requires[file]))
+for req_file in requires[file]:
+if req_file in prog_maps and prog_maps[req_file] not in 
req_file_pkgs:
+if bb.data.inherits_class(nativesdk, d):
+req_file_pkgs.append(nativesdk- + 
prog_maps[req_file])
+else:
+req_file_pkgs.append(prog_maps[req_file])
+
+if req_file_pkgs:
+rdepends = bb.utils.explode_deps(d.getVar('RDEPENDS_' + pkg, True) 
or )
+for p in req_file_pkgs:
+if p not in rdepends:
+if p == python and python3 in rdepends:
+continue
+msg = RDEPENDS_%s should contain %s, please consider 
fixing it %  (pkg, p)
+package_qa_handle_error(file-depends, msg, d)
 
 for pkg in requires_files:
 d.setVar(FILERDEPENDSFLIST_ + pkg,  .join(requires_files[pkg]))
-- 
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 V2] package.bbclass: add QA check: file-depends

2014-07-15 Thread Robert Yang
V2:
* Only print warnings when enabled, let the user fix the RDEPENDS by
  hand as Mark suggested.
* Use ${bindir}/perl rather than /usr/bin/perl as Ross suggested, also
  fix for nativesdk.

V1:
* Initial version.

// 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/filedep
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/filedep

Robert Yang (1):
  package.bbclass: add QA check: file-depends

 meta/classes/insane.bbclass  |2 +-
 meta/classes/package.bbclass |   25 +
 2 files changed, 26 insertions(+), 1 deletion(-)

-- 
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 akuster


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

On 15 July 2014 14:27, Armin Kuster akus...@mvista.com 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


I will send a V2 keeping 2.7.1

- Armin


Ross


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


[OE-core] [PATCH 00/38] fix rdepends on bash perl and python

2014-07-15 Thread Robert Yang
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/fixrdeps
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/filedep

Robert Yang (38):
  groff: add perl to RDEPENDS_groff
  attr: add perl to RDEPENDS_attr-ptest
  git: add perl to RDEPENDS_gitweb
  syslinux: add perl to RDEPENDS_syslinux-misc
  texi2html: add perl to RDEPENDS_texi2html
  gst-plugins-package: add perl to RDEPENDS_gst-plugins-base-apps
  foomatic-filters: add perl to RDEPENDS_foomatic-filters
  icon-naming-utils: add perl to RDEPENDS_icon-naming-utils
  rpm: add perl to RDEPENDS_rpm-build
  opensp: add perl to RDEPENDS_opensp
  aspell: add perl to RDEPENDS_aspell-utils
  glib-2.0: add perl to RDEPENDS_glib-2.0-utils
  gnu-config: add perl to RDEPENDS_gnu-config
  lttng-tools: add perl bash python to RDEPENDS_lttng-tools-ptest
  quilt: add bash and perl to RDEPENDS
  udev: add perl to RDEPENDS_udev-ptest
  apt: add bash to RDEPENDS_apt
  lsbtest: add bash to RDEPENDS_lsbtest
  oprofile: add bash to RDEPENDS_oprofile-ptest
  pax-utils: add bash to RDEPENDS_pax-utils
  gzip: add bash to RDEPENDS_gzip
  dtc: add bash to RDEPENDS_dtc
  pm-utils: add bash to RDEPENDS_pm-utils
  grep: add bash to RDEPENDS_grep
  kconfig-frontends: add bash to RDEPENDS_kconfig-frontends
  xz: add bash to RDEPENDS_xz
  libpam: add bash to RDEPENDS_libpam-xtests
  valgrind: add bash to RDEPENDS_valgrind-ptest
  ltp: add bash and python to RDEPENDS_ltp
  piglit: add bash to RDEPENDS_piglit
  usbutils: add python to RDEPENDS_usbutils
  libxml2: add python to RDEPENDS_libxml2-ptest
  builder: add python to RDEPENDS_builder
  lttng-ust: add python to RDEPENDS_lttng-ust-bin
  libevent: add python to RDEPENDS_libevent
  gconf: add python to RDEPENDS_gconf
  blktrace: add python to RDEPENDS_blktrace
  dpkg: add perl to RDEPENDS_perl

 meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb|2 +-
 meta/recipes-bsp/usbutils/usbutils_007.bb  |2 +-
 meta/recipes-core/glib-2.0/glib.inc|2 ++
 meta/recipes-core/libxml/libxml2.inc   |2 ++
 meta/recipes-core/udev/udev.inc|2 +-
 meta/recipes-devtools/apt/apt_0.9.9.4.bb   |2 +-
 meta/recipes-devtools/dpkg/dpkg.inc|2 +-
 meta/recipes-devtools/git/git.inc  |2 +-
 .../gnu-config/gnu-config_20120814.bb  |2 ++
 meta/recipes-devtools/gnu-config/gnu-config_git.bb |2 ++
 .../icon-naming-utils/icon-naming-utils_0.8.90.bb  |2 ++
 .../kconfig-frontends_3.12.0.0.bb  |2 ++
 meta/recipes-devtools/opensp/opensp_1.5.2.bb   |2 ++
 meta/recipes-devtools/pax-utils/pax-utils_0.8.1.bb |2 ++
 meta/recipes-devtools/quilt/quilt-0.63.inc |5 +++--
 meta/recipes-devtools/rpm/rpm_5.4+cvs.bb   |4 +---
 meta/recipes-devtools/rpm/rpm_5.4.14.bb|4 +---
 meta/recipes-devtools/syslinux/syslinux_6.01.bb|1 +
 meta/recipes-devtools/valgrind/valgrind_3.9.0.bb   |2 +-
 .../foomatic/foomatic-filters_4.0.17.bb|2 ++
 meta/recipes-extended/grep/grep_2.19.bb|2 ++
 meta/recipes-extended/groff/groff_1.22.2.bb|2 ++
 meta/recipes-extended/gzip/gzip.inc|2 ++
 meta/recipes-extended/lsb/lsbtest_1.0.bb   |2 +-
 meta/recipes-extended/ltp/ltp_20140422.bb  |2 +-
 meta/recipes-extended/pam/libpam_1.1.6.bb  |   12 ++--
 meta/recipes-extended/texi2html/texi2html_5.0.bb   |2 ++
 meta/recipes-extended/xz/xz_5.1.3alpha.bb  |2 ++
 meta/recipes-gnome/gnome/gconf_3.2.6.bb|2 +-
 meta/recipes-graphics/builder/builder_0.1.bb   |2 +-
 meta/recipes-graphics/piglit/piglit_git.bb |5 -
 meta/recipes-kernel/blktrace/blktrace_git.bb   |2 ++
 meta/recipes-kernel/dtc/dtc.inc|1 +
 meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb |2 +-
 meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb |2 +-
 meta/recipes-kernel/lttng/lttng-ust_2.3.1.bb   |2 +-
 meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb   |1 +
 meta/recipes-kernel/oprofile/oprofile.inc  |2 ++
 .../gstreamer/gst-plugins-package.inc  |1 +
 meta/recipes-support/aspell/aspell_0.60.6.1.bb |2 ++
 meta/recipes-support/attr/attr.inc |2 +-
 meta/recipes-support/libevent/libevent_2.0.21.bb   |2 ++
 42 files changed, 74 insertions(+), 26 deletions(-)

-- 
1.7.9.5

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


[OE-core] [PATCH 05/38] texi2html: add perl to RDEPENDS_texi2html

2014-07-15 Thread Robert Yang
Perl script:
texi2html/usr/bin/texi2html

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-extended/texi2html/texi2html_5.0.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb 
b/meta/recipes-extended/texi2html/texi2html_5.0.bb
index aa5f1fd..7de7e21 100644
--- a/meta/recipes-extended/texi2html/texi2html_5.0.bb
+++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb
@@ -12,6 +12,8 @@ SRC_URI = 
${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \
 SRC_URI[md5sum] = f15ac876fcdc8be865b16535f480aa54
 SRC_URI[sha256sum] = 
e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa
 
+RDEPENDS_${PN} += perl
+
 inherit autotools gettext texinfo
 
 do_configure_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 03/38] git: add perl to RDEPENDS_gitweb

2014-07-15 Thread Robert Yang
Perl script:
/usr/share/gitweb/gitweb.cgi

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-devtools/git/git.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/git/git.inc 
b/meta/recipes-devtools/git/git.inc
index 4e0527c..5c6f204 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -108,6 +108,6 @@ FILES_${PN}-tk =  \
 
 PACKAGES =+ gitweb
 FILES_gitweb = ${datadir}/gitweb/
-
+RDEPENDS_gitweb += perl
 
 BBCLASSEXTEND = native nativesdk
-- 
1.7.9.5

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


[OE-core] [PATCH 04/38] syslinux: add perl to RDEPENDS_syslinux-misc

2014-07-15 Thread Robert Yang
Perl scripts:
syslinux-misc/usr/bin/isohybrid.pl
syslinux-misc/usr/bin/pxelinux-options
syslinux-misc/usr/bin/keytab-lilo
syslinux-misc/usr/bin/sha1pass
syslinux-misc/usr/bin/syslinux2ansi
syslinux-misc/usr/bin/mkdiskimage
syslinux-misc/usr/bin/lss16toppm
syslinux-misc/usr/bin/ppmtolss16

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-devtools/syslinux/syslinux_6.01.bb |1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb 
b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
index e8a1fd4..5b26e79 100644
--- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
@@ -61,6 +61,7 @@ do_install() {
 PACKAGES += ${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux 
${PN}-isolinux ${PN}-misc
 
 RDEPENDS_${PN} += mtools
+RDEPENDS_${PN}-misc += perl
 
 FILES_${PN} = ${bindir}/syslinux
 FILES_${PN}-extlinux = ${sbindir}/extlinux
-- 
1.7.9.5

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


[OE-core] [PATCH 09/38] rpm: add perl to RDEPENDS_rpm-build

2014-07-15 Thread Robert Yang
Perl scripts:
rpm-build/usr/lib/rpm/osgideps.pl
rpm-build/usr/lib/rpm/perl.prov
rpm-build/usr/lib/rpm/perldeps.pl
rpm-build/usr/lib/rpm/perl.req
rpm-build/usr/lib/rpm/bin/api-sanity-autotest.pl

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-devtools/rpm/rpm_5.4+cvs.bb |4 +---
 meta/recipes-devtools/rpm/rpm_5.4.14.bb  |4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb 
b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
index 27d01dd..d2dec5f 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
@@ -274,8 +274,6 @@ FILES_${PN}-libs = ${libdir}/librpm-*.so \
${libdir}/librpmbuild-*.so \

 
-RDEPENDS_${PN}-build += bash
-
 FILES_${PN}-build = ${prefix}/src/rpm \
${bindir}/rpmbuild \
${bindir}/rpmbuild.real \
@@ -349,7 +347,7 @@ FILES_${PN}-build = ${prefix}/src/rpm \
 RDEPENDS_${PN} = base-files run-postinsts
 RDEPENDS_${PN}_class-native = 
 RDEPENDS_${PN}_class-nativesdk = 
-RDEPENDS_${PN}-build = file
+RDEPENDS_${PN}-build = file bash perl
 
 RDEPENDS_python-rpm = ${PN}
 
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb 
b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
index 15c1738..d875837 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
@@ -260,8 +260,6 @@ FILES_${PN}-libs = ${libdir}/librpm-*.so \
${libdir}/librpmbuild-*.so \

 
-RDEPENDS_${PN}-build += bash
-
 FILES_${PN}-build = ${prefix}/src/rpm \
${bindir}/rpmbuild \
${bindir}/rpmbuild.real \
@@ -335,7 +333,7 @@ FILES_${PN}-build = ${prefix}/src/rpm \
 RDEPENDS_${PN} = base-files run-postinsts
 RDEPENDS_${PN}_class-native = 
 RDEPENDS_${PN}_class-nativesdk = 
-RDEPENDS_${PN}-build = file
+RDEPENDS_${PN}-build = file bash perl
 
 RDEPENDS_python-rpm = ${PN}
 
-- 
1.7.9.5

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


[OE-core] [PATCH 07/38] foomatic-filters: add perl to RDEPENDS_foomatic-filters

2014-07-15 Thread Robert Yang
Perl script:
foomatic-filters/usr/lib/cups/backend/beh

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 .../foomatic/foomatic-filters_4.0.17.bb|2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb 
b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
index 790c981..44f17a4 100644
--- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
+++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
@@ -20,6 +20,8 @@ SRC_URI = 
http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.
 SRC_URI[md5sum] = b05f5dcbfe359f198eef3df5b283d896
 SRC_URI[sha256sum] = 
a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3
 
+RDEPENDS_${PN} += perl
+
 inherit autotools pkgconfig
 
 EXTRA_OECONF += --disable-file-converter-check --with-file-converter=texttops
-- 
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 liezhi.y...@windriver.com
---
 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


[OE-core] [PATCH 08/38] icon-naming-utils: add perl to RDEPENDS_icon-naming-utils

2014-07-15 Thread Robert Yang
Perl script:
icon-naming-utils/usr/lib/icon-naming-utils/icon-name-mapping

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 .../icon-naming-utils/icon-naming-utils_0.8.90.bb  |2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb 
b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
index 18e7fc0..f0140b6 100644
--- a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
+++ b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
@@ -12,6 +12,8 @@ LICENSE = GPLv2
 DEPENDS = libxml-simple-perl-native
 PR = r4
 
+RDEPENDS_${PN} += perl
+
 LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
 
 SRC_URI = 
http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz;
-- 
1.7.9.5

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


[OE-core] [PATCH 11/38] aspell: add perl to RDEPENDS_aspell-utils

2014-07-15 Thread Robert Yang
Perl script:
aspell-utils/usr/bin/aspell-import

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-support/aspell/aspell_0.60.6.1.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/aspell/aspell_0.60.6.1.bb 
b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
index 56dabd3..927029e 100644
--- a/meta/recipes-support/aspell/aspell_0.60.6.1.bb
+++ b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
@@ -10,6 +10,8 @@ SRC_URI = ${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz
 SRC_URI[md5sum] = e66a9c9af6a60dc46134fdacf6ce97d7
 SRC_URI[sha256sum] = 
f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
 
+RDEPENDS_${PN}-utils += perl
+
 PACKAGECONFIG ??= 
 PACKAGECONFIG[curses] = --enable-curses,--disable-curses,ncurses
 
-- 
1.7.9.5

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


[OE-core] [PATCH 14/38] lttng-tools: add perl bash python to RDEPENDS_lttng-tools-ptest

2014-07-15 Thread Robert Yang
Perl script:
lttng-tools-ptest/usr/lib/lttng-tools/ptest/tests/utils/babelstats.pl

Python script:
lttng-tools-ptest/usr/lib/lttng-tools/ptest/tests/regression/run-report.py

Bash script:
[snip]
47 ones

[YOCTO #1662]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb |2 +-
 meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb 
b/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb
index db8b65b..0474578 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
 file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca
 
 DEPENDS = liburcu popt lttng-ust
-RDEPENDS_${PN}-ptest += make
+RDEPENDS_${PN}-ptest += make perl bash python
 
 SRCREV = 5d985544a7ad54afa0514ea7f522a89d8d844860
 PV = v2.3.1
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb 
b/meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb
index aab9bf6..34b9869 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.4.0.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
 file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca
 
 DEPENDS = liburcu popt lttng-ust
-RDEPENDS_${PN}-ptest += make
+RDEPENDS_${PN}-ptest += make perl bash python
 
 SRCREV = 8e3234eea2d81f8a962214c570532f8e096a9a8d
 PV = v2.4.0
-- 
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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 akus...@mvista.com 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 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 liezhi.y...@windriver.com
---
 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


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 valentin.p...@intel.com
---
  ...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 valentin.p...@intel.com
+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 valentin.p...@intel.com
+---
+ 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 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 liezhi.y...@windriver.com
---
 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


[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 liezhi.y...@windriver.com
---
 .../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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 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 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 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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 .../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/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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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 liezhi.y...@windriver.com
---
 .../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 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 liezhi.y...@windriver.com
---
 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 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 liezhi.y...@windriver.com
---
 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


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/daisyid=1e3c64a768a5aeaf8d904609a14dd29e298821df

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

http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/daisyid=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 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 liezhi.y...@windriver.com
---
 .../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


[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 o...@opendreambox.org
Signed-off-by: Matthieu Crapet matthieu.cra...@ingenico.com
---
 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 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 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 yang@windriver.com
---
 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_IMAGE_BASE_NAME ?= 

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 akus...@mvista.com 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


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 akus...@mvista.com
---
  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] [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 akus...@mvista.com
---
 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] 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] [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 kai.k...@windriver.com
---
 .../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 kai.k...@windriver.com
+---
+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] [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 akus...@mvista.com 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


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 akus...@mvista.com
---
  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] [v2] nettle: update to version 3.0

2014-07-15 Thread Burton, Ross
On 15 July 2014 16:13, Armin Kuster akus...@mvista.com 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] [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 akus...@mvista.com
---
  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] 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


[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 rpj...@crashcourse.ca

---

  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] [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 akus...@mvista.com 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':
snippet
   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


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] [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 akus...@mvista.com 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] [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 akus...@mvista.com
---
  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


[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] [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 akus...@mvista.com
---
  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


  1   2   >