[oe] [PATCH][meta-perl] libcgi-perl: add version 4.28 to provide perl-module-cgi

2016-06-07 Thread Hongxu Jia
Since perl 5.22 has removed perl-module-cgi,
(http://perl5.git.perl.org/perl.git/commitdiff/e9fa5a80)
we should add it back.
(http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod)

Signed-off-by: Hongxu Jia 
---
 meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb

diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb 
b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb
new file mode 100644
index 000..20626d2
--- /dev/null
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing 
and preparing \
+HTTP requests and responses. Major features including processing form \
+submissions, file uploads, reading and writing cookies, query string 
generation \
+and manipulation, and processing and preparing HTTP headers."
+HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod";
+SECTION = "libs"
+LICENSE = "Artistic-2.0 | GPL-2.0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2e9769f0a2613a98bc7fce15dee0c533"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz";
+
+SRC_URI[md5sum] = "28efb391377f6e98c19c23292d5fcc8c"
+SRC_URI[sha256sum] = 
"1297d3ed6616cacb4eb57860e3e743f3890111e7a63ca08849930f42f1360532"
+
+S = "${WORKDIR}/CGI-${PV}"
+
+inherit cpan
+
+RPROVIDES_${PN} += "perl-module-cgi"
-- 
2.8.1

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


Re: [oe] Reg: Yocto build error( gcc_4.8)

2016-06-07 Thread S. Lockwood-Childs
On Wed, Jun 08, 2016 at 07:32:36AM +0200, Gary Thomas wrote:
> On 2016-06-08 07:20, Praveenreddy Padamati wrote:
> >Hi all,
> >
> >Please find the "gcc_4.8.bb, > do_compile failed with exit code". error 
> >log below
> 
> Do you have any files using NFS (the Poky/Yocto tree, or the build tree)?
> That's not supported because of issues like this.
> 
> Also as mentioned, you have really old version - you should consider updating.
> 
> >| configure: loading cache ./config.cache
> >| configure: error: `CC' has changed since the previous run:
> >| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
> >-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
> >--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
> >| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
> >-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
> >--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
> >| configure: error: in 
> >`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/fixincludes':
> >| configure: error: changes in the environment can compromise the build
> >| configure: error: run `make distclean' and/or `rm ./config.cache' and 
> >start over
> >| configure: error: `CC' has changed since the previous run:
> >| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
> >-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
> >--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
> >| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
> >-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
> >--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
> >| configure: error: in 
> >`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libiberty':
> >| configure: error: changes in the environment can compromise the build
> >| configure: error: run `make distclean' and/or `rm ./config.cache' and 
> >start over
> >| make[1]: *** [configure-fixincludes] Error 1
> >| make[1]: *** Waiting for unfinished jobs
> >| make[1]: *** [configure-libiberty] Error 1

Yes 1.6 version was a while ago... bitbake got better at figuring out what to 
rebuild in modern times. Probably need to clobber the whole build/tmp area
after switching config from imx6dlsabresd to imx6qsabresd, to force a clean
start instead of assuming that an old bitbake will clean up everything that it
needs to. 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Reg: Yocto build error( gcc_4.8)

2016-06-07 Thread Gary Thomas

On 2016-06-08 07:20, Praveenreddy Padamati wrote:

Hi all,

Please find the "gcc_4.8.bb, > do_compile failed with exit code". error log 
below


Do you have any files using NFS (the Poky/Yocto tree, or the build tree)?
That's not supported because of issues like this.

Also as mentioned, you have really old version - you should consider updating.




HCL-Desktop:~/fsl-release-bsp/build$ bitbake core-image-sato
Parsing recipes: 100% 
|###|
 Time: 00:01:30
Parsing of 1748 .bb files complete (0 cached, 1748 parsed). 2192 targets, 84 
skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, 
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

Build Configuration:
BB_VERSION= "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "imx6dlsabresd"
DISTRO= "poky"
DISTRO_VERSION= "1.6.2"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-oe   = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-fsl-arm  = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
meta-fsl-demos= "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-fsl-arm
meta-fsl-demos= "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
meta-browser  = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
meta-gnome
meta-networking
meta-ruby = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-qt5  = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
meta-fsl-qt5
meta-fsl-bluez= "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at 
/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/temp/log.do_compile.4349)
ERROR: Logfile of failure stored in: 
/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/temp/log.do_compile.4349
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 
'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2 ARCH_FLAGS_FOR_TARGET= -march=armv7-a -mthumb-interwork 
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
-isystem/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd/usr/include
 
-I/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/gcc/include/
| make[1]: Entering directory 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi'
| Configuring in ./libiberty
| Configuring in ./fixincludes
| configure: loading cache ./config.cache
| configure: loading cache ./config.cache
| configure: error: `CC' has changed since the previous run:
| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
| configure: error: in 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/fixincludes':
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ./config.cache' and start 
over
| configure: error: `CC' has changed since the previous run:
| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
| configure: error: in 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-po

Re: [oe] Reg: Yocto build error( gcc_4.8)

2016-06-07 Thread Praveenreddy Padamati
Hi all,

Please find the "gcc_4.8.bb, > do_compile failed with exit code". error log 
below


HCL-Desktop:~/fsl-release-bsp/build$ bitbake core-image-sato
Parsing recipes: 100% 
|###|
 Time: 00:01:30
Parsing of 1748 .bb files complete (0 cached, 1748 parsed). 2192 targets, 84 
skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, 
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

Build Configuration:
BB_VERSION= "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "imx6dlsabresd"
DISTRO= "poky"
DISTRO_VERSION= "1.6.2"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU= "vfp-neon"
meta  
meta-yocto= "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-oe   = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-fsl-arm  = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
meta-fsl-demos= "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-fsl-arm  
meta-fsl-demos= "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
meta-browser  = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
meta-gnome
meta-networking   
meta-ruby = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-qt5  = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
meta-fsl-qt5  
meta-fsl-bluez= "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at 
/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/temp/log.do_compile.4349)
ERROR: Logfile of failure stored in: 
/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/temp/log.do_compile.4349
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 
'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2 ARCH_FLAGS_FOR_TARGET= -march=armv7-a -mthumb-interwork 
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
-isystem/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd/usr/include
 
-I/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/gcc/include/
| make[1]: Entering directory 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi'
| Configuring in ./libiberty
| Configuring in ./fixincludes
| configure: loading cache ./config.cache
| configure: loading cache ./config.cache
| configure: error: `CC' has changed since the previous run:
| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
| configure: error: in 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/fixincludes':
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ./config.cache' and start 
over
| configure: error: `CC' has changed since the previous run:
| configure:   former value:  `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6dlsabresd'
| configure:   current value: `arm-poky-linux-gnueabi-gcc  -march=armv7-a 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/home/kumarn/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd'
| configure: error: in 
`/home/kumarn/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gcc/4.8.2-r0/gcc-4.8.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libiberty':
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ./config.cache' and start 
over
| make[1]: *** [configure-fixincludes]

[oe] [PATCH][meta-oe] krb5: add systemd support

2016-06-07 Thread wenzong.fan
From: Wenzong Fan 

Signed-off-by: Wenzong Fan 
---
 .../krb5/krb5/krb5-admin-server.service| 14 +++
 .../krb5/krb5/krb5-kdc.service | 13 ++
 meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb   | 29 +++---
 3 files changed, 47 insertions(+), 9 deletions(-)
 create mode 100644 
meta-oe/recipes-connectivity/krb5/krb5/krb5-admin-server.service
 create mode 100644 meta-oe/recipes-connectivity/krb5/krb5/krb5-kdc.service

diff --git a/meta-oe/recipes-connectivity/krb5/krb5/krb5-admin-server.service 
b/meta-oe/recipes-connectivity/krb5/krb5/krb5-admin-server.service
new file mode 100644
index 000..1b42716
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/krb5-admin-server.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=MIT Kerberos KDC administrative daemon
+After=syslog.target network.target
+ConditionPathExists=/etc/krb5.conf
+
+[Service]
+Type=forking
+ExecStartPre=/bin/sh -c "test ! -f /var/log/kadmind.log || test ! -x 
/sbin/restorecon || /sbin/restorecon -F /var/log/kadmind.log"
+ExecStart=/usr/sbin/kadmind
+SuccessExitStatus=1 2 SIGKILL
+TimeoutStopSec=30
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/krb5-kdc.service 
b/meta-oe/recipes-connectivity/krb5/krb5/krb5-kdc.service
new file mode 100644
index 000..d5e5a95
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/krb5-kdc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=MIT Kerberos KDC
+After=syslog.target network.target
+ConditionPathExists=/etc/krb5.conf
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/krb5kdc
+SuccessExitStatus=1 2 SIGKILL
+TimeoutStopSec=30
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb 
b/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
index 0c566cb..d60e332 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
@@ -17,7 +17,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=f64248328d2d9928e1f04158b5243e7f"
 DEPENDS = "ncurses util-linux e2fsprogs e2fsprogs-native"
 
-inherit autotools-brokensep binconfig perlnative
+inherit autotools-brokensep binconfig perlnative systemd
 
 SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 SRC_URI = 
"http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}-signed.tar \
@@ -32,6 +32,8 @@ SRC_URI = 
"http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}-signed.tar
file://etc/init.d/krb5-admin-server \
file://etc/default/krb5-kdc \
file://etc/default/krb5-admin-server \
+   file://krb5-kdc.service \
+   file://krb5-admin-server.service \
file://krb5-CVE-2016-3119.patch;striplevel=2 \

file://0001-Work-around-uninitialized-warning-in-cc_kcm.c.patch;striplevel=2 \
 "
@@ -40,6 +42,9 @@ SRC_URI[sha256sum] = 
"e528c30b0209c741f6f320cb83122ded92f291802b6a1a1dc1a01dcdb3
 
 S = "${WORKDIR}/${BP}/src"
 
+SYSTEMD_SERVICE_${PN} = "krb5-admin-server.service krb5-kdc.service"
+SYSTEMD_AUTO_ENABLE = "disable"
+
 PACKAGECONFIG ??= "openssl"
 PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
 PACKAGECONFIG[openssl] = "--with-pkinit-crypto-impl=openssl,,openssl"
@@ -79,20 +84,26 @@ do_configure() {
 }
 
 do_install_append() {
-mkdir -p ${D}/${sysconfdir}/init.d ${D}/${sysconfdir}/default
-install -m 0755 ${WORKDIR}/etc/init.d/* ${D}/${sysconfdir}/init.d
-install -m 0644 ${WORKDIR}/etc/default/* ${D}/${sysconfdir}/default
-
 rm -rf ${D}/${localstatedir}/run
-mkdir -p ${D}/${sysconfdir}/default/volatiles
-echo "d root root 0755 ${localstatedir}/run/krb5kdc none" \
-   > ${D}${sysconfdir}/default/volatiles/87_krb5
+
+if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; 
then
+mkdir -p ${D}/${sysconfdir}/init.d ${D}/${sysconfdir}/default
+install -m 0755 ${WORKDIR}/etc/init.d/* ${D}/${sysconfdir}/init.d
+install -m 0644 ${WORKDIR}/etc/default/* ${D}/${sysconfdir}/default
+
+mkdir -p ${D}/${sysconfdir}/default/volatiles
+echo "d root root 0755 ${localstatedir}/run/krb5kdc none" \
+  > ${D}${sysconfdir}/default/volatiles/87_krb5
+fi
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
 install -d ${D}${sysconfdir}/tmpfiles.d
 echo "d /run/krb5kdc - - - -" \
   > ${D}${sysconfdir}/tmpfiles.d/krb5.conf
-fi
 
+install -d ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/krb5-admin-server.service 
${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/krb5-kdc.service 
${D}${systemd_unitdir}/system
+fi
 }
 
 pkg_postinst_${PN} () {
-- 
2.8.1

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


[oe] [PATCH] redis: fix hiredis build so it's less failure-prone and links properly

2016-06-07 Thread Stephen Arnold
This patch resets the default OPT flags to -O2 and adds the missing
ranlib command to index the static library.

Signed-off-by: Stephen Arnold 
---
 ...-update-Makefile-to-add-symbols-to-staticlib.patch | 19 +++
 meta-oe/recipes-extended/redis/redis_3.0.2.bb |  2 ++
 2 files changed, 21 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch

diff --git 
a/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
 
b/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
new file mode 100644
index 000..2b3b587
--- /dev/null
+++ 
b/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
@@ -0,0 +1,19 @@
+--- redis-3.0.2/deps/hiredis/Makefile.orig 2016-05-06 19:36:26.179003036 
-0700
 redis-3.0.2/deps/hiredis/Makefile  2016-05-06 19:40:15.341340736 -0700
+@@ -25,7 +25,7 @@
+ 
+ # Fallback to gcc when $CC is not in $PATH.
+ CC?=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo 
gcc')
+-OPTIMIZATION?=-O3
++OPTIMIZATION?=-O2
+ WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
+ DEBUG?= -g -ggdb
+ REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH)
+@@ -68,6 +68,7 @@
+ 
+ $(STLIBNAME): $(OBJ)
+   $(STLIB_MAKE_CMD) $(OBJ)
++  $(RANLIB) $@
+ 
+ dynamic: $(DYLIBNAME)
+ static: $(STLIBNAME)
diff --git a/meta-oe/recipes-extended/redis/redis_3.0.2.bb 
b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
index 55f2c96..2e4b760 100644
--- a/meta-oe/recipes-extended/redis/redis_3.0.2.bb
+++ b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
@@ -12,7 +12,9 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
file://oe-use-libc-malloc.patch \
file://redis.conf \
file://init-redis-server \
+   file://hiredis-update-Makefile-to-add-symbols-to-staticlib.patch \
 "
+
 SRC_URI[md5sum] = "87be8867447f62524b584813e5a7bd14"
 SRC_URI[sha256sum] = 
"93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f"
 
-- 
2.8.1

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


Re: [oe] [PATCH 1/3] gitkpkgv: Ensure files are closed

2016-06-07 Thread Mike Looijmans

Looks like regression in Python itself?

In both Python 2 and 3, the file is closed properly if the file object is not 
being stored:


>>> import os
>>> os.listdir('/proc/self/fd')
['0', '1', '2', '3']
>>> l=open('/proc/self/stat').readline()
>>> os.listdir('/proc/self/fd')
['0', '1', '2', '3']
>>> f=open('/proc/self/stat')
>>> os.listdir('/proc/self/fd')
['0', '1', '2', '3', '4']
>>>


(file descriptor "3" is the one being used to read the /proc/self/fd 
directory, "4" is the one used for reading the stat file)


The "with" construction should not be needed here. Something else is causing 
this (e.g. nested function definition or exception handler?).


Mike.


On 02-06-16 11:34, Richard Purdie wrote:

This avoids warnings with python 3.

Signed-off-by: Richard Purdie 
---
  meta-oe/classes/gitpkgv.bbclass | 6 --
  1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index 1cba00c..4866fac 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -87,11 +87,13 @@ def get_git_pkgv(d, use_tags):

  if commits != "":
  oe.path.remove(rev_file, recurse=False)
-open(rev_file, "w").write("%d\n" % int(commits))
+with open(rev_file, "w") as f:
+f.write("%d\n" % int(commits))
  else:
  commits = "0"
  else:
-commits = open(rev_file, "r").readline(128).strip()
+with open(rev_file, "r") as f:
+commits = f.readline(128).strip()

  if use_tags:
  try:





Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijm...@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail





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


Re: [oe] Reg: Yocto build error( gcc_4.8)

2016-06-07 Thread Gary Thomas

On 2016-06-07 16:03, Praveenreddy Padamati wrote:

Hi all,

We are compiling the yocto build system with "bitbake core-image-sato" command. We are 
facing one problem. It is not compiling, it is showing "gcc_4.8.bb, > do_compile failed with 
exit code".
Please do the needful.


You'll need to provide a LOT more info to be able to get help.
What version of Yocto (OE-core, Poky, etc), along with any
extra layers you are using.  Also GCC/4.8 has been gone for
quite some time so you must be using a very old branch/release.
We'll also need to know your build host, $DISTRO, $MACHINE, etc.
These are all printed when you run bitbake.

A detailed log (send it to postbin if it's very big) will also
help you get the aid you need.

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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


[oe] Reg: Yocto build error( gcc_4.8)

2016-06-07 Thread Praveenreddy Padamati
Hi all,

We are compiling the yocto build system with "bitbake core-image-sato" command. 
We are facing one problem. It is not compiling, it is showing "gcc_4.8.bb, > 
do_compile failed with exit code".
Please do the needful.

Thanks and Regards,
Praveen Reddy P
HCL Technologies Ltd | Lead Engineer | Alstom ODC| ERS-SS-SCS-Embedded Platform 
Lab
Phone: +914443935173 | Mobile: +919989642159 | E-mail: 
praveenredd...@hcl.com
Company address: HCL Technologies Ltd ,73-74, South Phase,Ambattur Industrial 
Estate (AMB-5), Chennai - 600 058,India
Switchboard: +91-44-4393-5000  WebSite: www.hclt.com



::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.


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


Re: [oe] [PATCH 1/3] gitkpkgv: Ensure files are closed

2016-06-07 Thread Richard Purdie
On Tue, 2016-06-07 at 11:02 +0200, Mike Looijmans wrote:
> Looks like regression in Python itself?
> 
> In both Python 2 and 3, the file is closed properly if the file
> object is not 
> being stored:
> 
>  >>> import os
>  >>> os.listdir('/proc/self/fd')
> ['0', '1', '2', '3']
>  >>> l=open('/proc/self/stat').readline()
>  >>> os.listdir('/proc/self/fd')
> ['0', '1', '2', '3']
>  >>> f=open('/proc/self/stat')
>  >>> os.listdir('/proc/self/fd')
> ['0', '1', '2', '3', '4']
>  >>>
> 
> 
> (file descriptor "3" is the one being used to read the /proc/self/fd 
> directory, "4" is the one used for reading the stat file)
> 
> The "with" construction should not be needed here. Something else is
> causing 
> this (e.g. nested function definition or exception handler?).

$ python2 -Wdefault -c "open('/bin/bash')"
$ python3 -Wdefault -c "open('/bin/bash')"
-c:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/bin/bash' 
mode='r' encoding='UTF-8'>

Admittedly its not an out the box warning but it is one that seems to
be enabled under bitbake. Details in:

https://bugs.python.org/issue10093

but the gist of the issue is that relying on the garbage collector to
close files is a cpython'ism and other implementations of python may
not do this.

So whilst "with" might not be strictly required, it is recommended.

Cheers,

Richard




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


[oe] [jethro] Backport 12e31ce9d6065086fa0a84733f7b45664d41b7e9 from master

2016-06-07 Thread Richard Leitner
Hello,
please backport commit 12e31ce9d6065086fa0a84733f7b45664d41b7e9 from
master to jethro branch!
This is needed for samba to work on a readonly rootfs!

> commit 12e31ce9d6065086fa0a84733f7b45664d41b7e9
> Author: Johannes Pointner 
> Date:   Fri Apr 15 11:23:42 2016 +0200
>
> samba: add volatile file to support readonly rootfs
>
> This patch adds a volatile file for samba which was removed by the
> update from 3.6.25 to 4.1.12. This file is necessary to build a image
> that uses the read-only-rootfs feature.
>
> Signed-off-by: Johannes Pointner 
> Signed-off-by: Martin Jansa 
> Signed-off-by: Joe MacDonald 

Thank you!

Kind regards,
Richard


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


[oe] [meta-oe][PATCH v5 2/2] mpv: Media Player

2016-06-07 Thread Abdur Rehman
mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas 
Signed-off-by: Abdur Rehman 
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 69 
 1 file changed, 69 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb 
b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
new file mode 100644
index 000..4f4aec1
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,69 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/";
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+   libxscrnsaver libv4l libxinerama \
+"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
+
+SRC_URI = "https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
+   http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = 
"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = 
"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig pythonnative distro_features_check
+# depends on virtual/libx11
+REQUIRED_DISTRO_FEATURES = "x11"
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = 
"--enable-libarchive,--disable-libarchive,libarchive"
+PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack"
+
+EXTRA_OECONF = " \
+--prefix=${prefix} \
+--target=${SIMPLE_TARGET_SYS} \
+--confdir=${sysconfdir} \
+--datadir=${datadir} \
+--disable-manpage-build \
+--disable-gl \
+--disable-libsmbclient \
+--disable-encoding \
+--disable-libbluray \
+--disable-dvdread \
+--disable-dvdnav \
+--disable-cdda \
+--disable-enca \
+--disable-libguess \
+--disable-uchardet \
+--disable-rubberband \
+--disable-lcms2 \
+--disable-vapoursynth \
+--disable-vapoursynth-lazy \
+"
+
+do_configure() {
+if [ ! -L ../waf ]; then
+chmod a+x ../waf-1.8.12
+   ln -s waf-1.8.12 ../waf
+fi
+export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed 
s:${TARGET_VENDOR}::g)"
+../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+../waf build
+}
+
+do_install() {
+../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
-- 
1.9.1

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


[oe] [meta-oe][PATCH v5 1/2] libass: add newer version

2016-06-07 Thread Abdur Rehman
* mpv requires newer libass to build
* move SRC_URI from Google Code to GitHub
* ENCA support has been removed https://github.com/libass/libass/pull/197
  remove --enable-enca which is now an [unknown-configure-option]
* Fix [textrel] for x86 targets

Signed-off-by: Christopher Larson 
Signed-off-by: Abdur Rehman 
---
 meta-oe/recipes-multimedia/libass/libass.inc   | 10 +-
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb |  5 -
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb |  4 
 3 files changed, 9 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb

diff --git a/meta-oe/recipes-multimedia/libass/libass.inc 
b/meta-oe/recipes-multimedia/libass/libass.inc
index 328cd14..85ac873 100644
--- a/meta-oe/recipes-multimedia/libass/libass.inc
+++ b/meta-oe/recipes-multimedia/libass/libass.inc
@@ -1,5 +1,5 @@
 DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA 
(Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly 
compatible with VSFilter."
-HOMEPAGE = "http://code.google.com/p/libass/";
+HOMEPAGE = "https://github.com/libass/libass";
 SECTION = "libs/multimedia"
 
 LICENSE = "ISC"
@@ -7,9 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
 
 DEPENDS = "enca fontconfig freetype libpng fribidi"
 
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz";
+SRC_URI = 
"https://github.com/libass/libass/releases/download/${PV}/libass-${PV}.tar.xz";
 
 inherit autotools pkgconfig
 
@@ -17,10 +15,12 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
 
 EXTRA_OECONF = " \
---enable-enca \
 --enable-fontconfig \
 "
 
+# Disable compiling with ASM for x86 to avoid textrel
+EXTRA_OECONF_append_x86 = " --disable-asm"
+
 PACKAGES =+ "${PN}-tests"
 
 FILES_${PN}-tests = " \
diff --git a/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb 
b/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
deleted file mode 100644
index 0b32276..000
--- a/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] = 
"629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
diff --git a/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb 
b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
new file mode 100644
index 000..8cf2bd8
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
@@ -0,0 +1,4 @@
+require recipes-multimedia/${BPN}/${BPN}.inc
+
+SRC_URI[md5sum] = "1c8cbd5751aeb192bda04a65d0464fd9"
+SRC_URI[sha256sum] = 
"d698d0a6adca7c36c5a86b540d67b05bfd36cebc3c351ab7646497c43fe1face"
-- 
1.9.1

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


[oe] [PATCH][meta-gnome] gtk-engines: Move from oe-core

2016-06-07 Thread Jussi Kukkonen
gtk-engines is being removed from oe-core (as there will be
no themes there that need an engine). Move recipe to meta-gnome
since gnome-themes depends on gtk-engines.

Signed-off-by: Jussi Kukkonen 
---

The oe-core patch email can be found on
openembedded-c...@lists.openembedded.org with the title
"[PATCH 37/37] gtk-engines: Remove as unused". 


 .../gtk-engines/files/glib-2.32.patch  | 23 +
 .../gtk-engines/files/substitute-tests.patch   | 37 +++
 .../gtk-engines/gtk-engines_2.20.2.bb  | 55 ++
 3 files changed, 115 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gtk-engines/files/glib-2.32.patch
 create mode 100644 
meta-gnome/recipes-gnome/gtk-engines/files/substitute-tests.patch
 create mode 100644 meta-gnome/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb

diff --git a/meta-gnome/recipes-gnome/gtk-engines/files/glib-2.32.patch 
b/meta-gnome/recipes-gnome/gtk-engines/files/glib-2.32.patch
new file mode 100644
index 000..f0b878d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gtk-engines/files/glib-2.32.patch
@@ -0,0 +1,23 @@
+From 8d49a386f467cbf8e0842d2218126f643e50f834 Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger 
+Date: Sun, 27 Nov 2011 14:24:57 +
+Subject: Fix build with glib 2.31: Only glib.h can be #include'd. Fixes bug 
#664914
+
+Upstream-Status: Backport
+
+---
+diff --git a/engines/clearlooks/src/animation.c 
b/engines/clearlooks/src/animation.c
+index 1f7a41f..56a9286 100644
+--- a/engines/clearlooks/src/animation.c
 b/engines/clearlooks/src/animation.c
+@@ -28,7 +28,7 @@
+ #include "animation.h"
+ 
+ #ifdef HAVE_WORKING_ANIMATION
+-#include 
++#include 
+ 
+ struct _AnimationInfo {
+   GTimer *timer;
+--
+cgit v0.9.0.2
diff --git a/meta-gnome/recipes-gnome/gtk-engines/files/substitute-tests.patch 
b/meta-gnome/recipes-gnome/gtk-engines/files/substitute-tests.patch
new file mode 100644
index 000..5c557ba
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gtk-engines/files/substitute-tests.patch
@@ -0,0 +1,37 @@
+Upstream-Status: Pending
+
+Signed-off-by: Marko Lindqvist 
+diff -Nurd gtk-engines-2.20.2/configure.ac gtk-engines-2.20.2/configure.ac
+--- gtk-engines-2.20.2/configure.ac2010-10-01 15:42:37.0 +0300
 gtk-engines-2.20.2/configure.ac2013-08-20 02:50:27.930510565 +0300
+@@ -166,6 +166,9 @@
+
+ AC_SUBST(DEVELOPMENT_CFLAGS)
+
++AC_SUBST([exported_symbols_tests], [[$(EXPORTED_SYMBOLS_TESTS)]])
++AC_SUBST([torture_test_tests], [[$(TORTURE_TEST_TESTS)]])
++
+ AM_CONFIG_HEADER([engines/support/config.h])
+
+ AC_CONFIG_FILES([
+diff -Nurd gtk-engines-2.20.2/test/Makefile.am 
gtk-engines-2.20.2/test/Makefile.am
+--- gtk-engines-2.20.2/test/Makefile.am2010-09-19 18:18:21.0 
+0300
 gtk-engines-2.20.2/test/Makefile.am2013-08-20 02:50:36.842510865 
+0300
+@@ -66,7 +66,7 @@
+ # Prefix with exported_
+ EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES))
+
+-TESTS += $(EXPORTED_SYMBOLS_TESTS)
++TESTS += @exported_symbols_tests@
+
+
+ #
+@@ -88,7 +88,7 @@
+ TORTURE_TEST_TESTS = torture_buildin $(patsubst 
%,torture_%,$(TORTURE_TEST_ENGINES))
+
+ # Add TORTURE_TEST_ENGINES to list of tests
+-TESTS += $(TORTURE_TEST_TESTS)
++TESTS += @torture_test_tests@
+
+ # Possible other tests:
+ #  - An extensive theme switch tests that loads/unloads the engine
diff --git a/meta-gnome/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb 
b/meta-gnome/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
new file mode 100644
index 000..c0ac911
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -0,0 +1,55 @@
+SUMMARY = "GTK+ theme engines"
+HOMEPAGE = "http://www.gnome.org/";
+BUGTRACKER = "https://bugzilla.gnome.org/";
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+SECTION = "x11/base"
+DEPENDS = "intltool-native gtk+ gettext-native"
+
+PR = "r3"
+
+PACKAGES += "${PN}-schemas"
+PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*"
+
+RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
+RDEPENDS_gtk-theme-metal = "gtk-engine-metal"
+RDEPENDS_gtk-theme-mist = "gtk-engine-mist"
+RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine"
+RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue"
+RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
+RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
+RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
+
+FILES_${PN} = ""
+FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la"
+FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml"
+
+CFLAGS_prepend = "-DHAVE_ANIMATION "
+
+RDEPENDS_${PN}-dev = ""
+
+inherit gnomebase
+GNOME_COMPRESS_TYPE="bz2"
+
+inherit distro_features_check
+ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+
+# This picks stable releases in the 2.x series (but not 2.90 onwards,
+# which were GNOME 3 betas).
+UPSTREAM_CHECK_REGEX = "(?P2\.([0-8]*[02468])+(\.\

Re: [oe] [meta-gnome][PATCH 1/2] gnome-vfs 2.24.4: drop useless print

2016-06-07 Thread Gary Thomas

On 2016-06-07 10:38, Koen Kooi wrote:

This fixes the python3 traceback.


RP already sent patches for this and the other python3 related issue.



Signed-off-by: Koen Kooi 
---
  meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb | 2 --
  1 file changed, 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb 
b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
index f9b02b1..1c78474 100644
--- a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
+++ b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
@@ -53,8 +53,6 @@ FILES_${PN}-doc += "${datadir}/gtk-doc"
  PACKAGES_DYNAMIC += "^gnome-vfs-plugin-.*"

  python populate_packages_prepend () {
-print d.getVar('FILES_gnome-vfs', 1)
-
  plugindir = d.expand('${libdir}/gnome-vfs-2.0/modules/')
  do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 
'GNOME VFS plugin for %s')
  }




--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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


[oe] [PATCH] ntp: Security fixes via Upgrade to 4.2.8p8

2016-06-07 Thread Fan Xin
CVE-2016-4957
CVE-2016-4953
CVE-2016-4954
CVE-2016-4955
CVE-2016-4956

For more info to see:
http://support.ntp.org/bin/view/Main/SecurityNotice#June_2016_ntp_4_2_8p8_NTP_Securi

Signed-off-by: Fan Xin 
---
 .../recipes-support/ntp/{ntp_4.2.8p7.bb => ntp_4.2.8p8.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ntp/{ntp_4.2.8p7.bb => ntp_4.2.8p8.bb} 
(97%)

diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p7.bb 
b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
similarity index 97%
rename from meta-networking/recipes-support/ntp/ntp_4.2.8p7.bb
rename to meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
index d242f93..5f60441 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p7.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
@@ -23,8 +23,8 @@ SRC_URI = 
"http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
file://ntpd.list \
 "
 
-SRC_URI[md5sum] = "46dfba933c3e4bc924d8e55068797578"
-SRC_URI[sha256sum] = 
"81d20c06a0b01abe3b84fac092185bf014252d38fe5e7b2758f604680a0220dc"
+SRC_URI[md5sum] = "4a8636260435b230636f053ffd070e34"
+SRC_URI[sha256sum] = 
"2ab3d0b5f0456e6311dda1cc27ab75da108762773a19e46abd938bd9407b97ee"
 
 inherit autotools update-rc.d useradd systemd pkgconfig
 
-- 
1.8.4.2

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


[oe] [meta-gnome][PATCH 2/2] abiword 3.0.1: fix python code to work with python3

2016-06-07 Thread Koen Kooi
Signed-off-by: Koen Kooi 
---
 meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb 
b/meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb
index 962a56c..0d0ba11 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb
+++ b/meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb
@@ -102,7 +102,7 @@ FILES_${PN}-templates  += 
"${datadir}/${PN}-${SHRT_VER}/templates"
 PACKAGES_DYNAMIC += "^${PN}-meta.* ^${PN}-plugin-.*"
 
 python populate_packages_prepend () {
-abiword_libdir= d.expand('${libdir}/${PN}-${SHRT_VER}/plugins')
+abiword_libdir = d.expand('${libdir}/${PN}-${SHRT_VER}/plugins')
 do_split_packages(d, abiword_libdir, '(.*)\.so$', 'abiword-plugin-%s', 
'Abiword plugin for %s', extra_depends='')
 
 metapkg = "abiword-meta"
@@ -113,7 +113,7 @@ python populate_packages_prepend () {
 packages = d.getVar('PACKAGES', 1).split()
 for pkg in packages[1:]:
 if not pkg in blacklist and not pkg in metapkg_rdepends and not 
pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not 
pkg.count("locale") and not pkg.count("abiword-doc"):
-print "Modifying ", pkg
+print ("Modifying %s" % pkg)
 metapkg_rdepends.append(pkg)
 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
 d.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package')
-- 
2.4.3

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


[oe] [meta-gnome][PATCH 1/2] gnome-vfs 2.24.4: drop useless print

2016-06-07 Thread Koen Kooi
This fixes the python3 traceback.

Signed-off-by: Koen Kooi 
---
 meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb 
b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
index f9b02b1..1c78474 100644
--- a/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
+++ b/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb
@@ -53,8 +53,6 @@ FILES_${PN}-doc += "${datadir}/gtk-doc"
 PACKAGES_DYNAMIC += "^gnome-vfs-plugin-.*"
 
 python populate_packages_prepend () {
-print d.getVar('FILES_gnome-vfs', 1)
-
 plugindir = d.expand('${libdir}/gnome-vfs-2.0/modules/')
 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 
'GNOME VFS plugin for %s')
 }
-- 
2.4.3

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


[oe] [PATCH 2/2] nostromo: add group www-data

2016-06-07 Thread Robert Yang
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist

Signed-off-by: Robert Yang 
---
 meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb 
b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index 562ecd0..c6593e1 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -30,6 +30,7 @@ do_compile() {
 # we need user/group www-data to exist when we install
 #
 USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system www-data"
 USERADD_PARAM_${PN} = "--system -g www-data www-data"
 
 do_install() {
-- 
2.7.4

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


[oe] [PATCH 1/2] nginx: add group www-data

2016-06-07 Thread Robert Yang
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist

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

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index ebf926a..946db12 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx"
 INITSCRIPT_PARAMS = "defaults 92 20"
 
 USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system www-data"
 USERADD_PARAM_${PN} = " \
 --system --no-create-home \
 --home ${NGINX_WWWDIR} \
-- 
2.7.4

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