Re: [oe] [meta-python][jethro][PATCH][V2] python-m2crypto: fix SSLv2 symbol issue

2016-03-19 Thread Pushpal Sidhu
On Thu, Mar 17, 2016 at 2:54 PM, Martin Jansa  wrote:
> On Mon, Mar 14, 2016 at 03:21:33PM -0700, Pushpal Sidhu wrote:
>> Hi,
>>
>> On Wed, Mar 9, 2016 at 11:18 AM, akuster808  wrote:
>> >
>> >
>> >
>> > On 03/09/2016 11:11 AM, Martin Jansa wrote:
>> > > On Wed, Mar 09, 2016 at 09:06:57AM -0800, Armin Kuster wrote:
>> > >> From: Armin Kuster 
>> > >>
>> > >> missed using "-D"  for OPENSSL_NO_SSL2 swig_features.
>> > >
>> > > fido version:
>> > > http://patchwork.openembedded.org/patch/117291/
>> > > needed -D as well, right?
>> >
>> > yes.
>> >
>> >
>> > >
>> > > I've pushed both to fido-next and jethro-next
>>
>> When will this be merged into fido/jethro? I've been running into this
>> build breakage for about a week now and if I patch it myself, I'll
>> only run into a conflict again later, causing more build issues.
>
> I'm still seeing multiple issues caused by last openssl upgrade, e.g.
> ruby, pywbem, crda
>
> Are they all supposed to be fixed by this?

Good point, it doesn't seem like they are because these tools haven't
been updated to stop supporting SSLv2. We either need to patch every
broken package or update them (which may or may not fix them). For
example, I bumped the crda package from 3.13 -> 3.18 (fido), but I
still run into this problem.

Another approach we can try is by updating m2crypto as Armin did here:
http://patchwork.openembedded.org/patch/117217/. This would have to be
backported all the way back to fido (unless openssl was updated for
other branches as well). Apparently, this fixes crda, might be a fix
for other packages as well?

- Pushpal

>> > thanks
>> > -armin
>> > >
>> > >>
>> > >> ERROR: Failed to import the "M2Crypto" module: 
>> > >> .../usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined 
>> > >> symbol: SSLv2_method
>> > >>
>> > >> disable using SSLv2_method if not supported in openssl. This is now the 
>> > >> case
>> > >> with the advent of CVE-2016-0800
>> > >>
>> > >> Signed-off-by: Armin Kuster 
>> > >> ---
>> > >>  ...y_build_with_SSLv2_when_it_is_not_available.patch | 20 
>> > >> 
>> > >>  .../python/python-m2crypto_0.21.1.bb |  4 +++-
>> > >>  2 files changed, 23 insertions(+), 1 deletion(-)
>> > >>  create mode 100644 
>> > >> meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
>> > >>
>> > >> diff --git 
>> > >> a/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
>> > >>  
>> > >> b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
>> > >> new file mode 100644
>> > >> index 000..526c23f
>> > >> --- /dev/null
>> > >> +++ 
>> > >> b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
>> > >> @@ -0,0 +1,20 @@
>> > >> +Upstream-Status: Backport
>> > >> +https://gitlab.com/m2crypto/m2crypto/commit/ac01b38302474920288c1a9eb63fd35fa8d1db5b
>> > >> +
>> > >> +Signed-off-by: Armin Kuster 
>> > >> +
>> > >> +Index: M2Crypto-0.21.1/SWIG/_ssl.i
>> > >> +===
>> > >> +--- M2Crypto-0.21.1.orig/SWIG/_ssl.i
>> > >>  M2Crypto-0.21.1/SWIG/_ssl.i
>> > >> +@@ -48,8 +48,10 @@ extern const char *SSL_alert_desc_string
>> > >> + %rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
>> > >> + extern const char *SSL_alert_desc_string_long(int);
>> > >> +
>> > >> ++#ifndef OPENSSL_NO_SSL2
>> > >> + %rename(sslv2_method) SSLv2_method;
>> > >> + extern SSL_METHOD *SSLv2_method(void);
>> > >> ++#endif
>> > >> + %rename(sslv3_method) SSLv3_method;
>> > >> + extern SSL_METHOD *SSLv3_method(void);
>> > >> + %rename(sslv23_method) SSLv23_method;
>> > >> diff --git 
>> > >> a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb 
>> > >> b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
>> > >> index ff6203f..9daea5e 100644
>> > >> --- a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
>> > >> +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
>> > >> @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = 
>> > >> "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
>> > >>
>> > >>  SRC_URI = 
>> > >> "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz
>> > >>  \
>> > >> 
>> > >> file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \
>> > >> -   file://0001-M2Crypto-Error-fix.patch"
>> > >> +   file://0001-M2Crypto-Error-fix.patch \
>> > >> +   
>> > >> file://dont_try_build_with_SSLv2_when_it_is_not_available.patch"
>> > >>
>> > >>  SRC_URI[md5sum] = "f93d8462ff7646397a9f77a2fe602d17"
>> > >>  SRC_URI[sha256sum] = 
>> > >> "25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a"
>> > >> @@ -19,6 +20,7 @@ inherit setuptools

[oe] [meta-oe][PATCH v2 1/2] apache2: stage apachectl

2016-03-19 Thread Ioan-Adrian Ratiu
Some apache module recipes like the newly introduced apache-websocket
also need apachectl at build in the sysroot besides apxs.

Signed-off-by: Ioan-Adrian Ratiu 
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb 
b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
index 597afe6..53d0564 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
@@ -113,6 +113,8 @@ SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"
 apache_sysroot_preprocess () {
 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
 install -m 755 ${D}${bindir}/apxs ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+install -d ${SYSROOT_DESTDIR}${sbindir}/
+install -m 755 ${D}${sbindir}/apachectl ${SYSROOT_DESTDIR}${sbindir}/
 sed -i 's!my $installbuilddir = .*!my $installbuilddir = 
"${STAGING_DIR_HOST}/${datadir}/${BPN}/build";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 sed -i 's!my $libtool = .*!my $libtool = 
"${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 
-- 
2.7.3

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


Re: [oe] [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe

2016-03-19 Thread Martin Jansa
On Fri, Mar 18, 2016 at 10:40:56AM +0200, Ioan-Adrian Ratiu wrote:
> Hello
> 
> On Thu, 17 Mar 2016 22:41:18 +0100
> Martin Jansa  wrote:
> 
> > On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> > > From: Haris Okanovic 
> > > 
> > > The apache-websocket module is an Apache 2.x server module that may be
> > > used to process requests using the WebSocket protocol (RFC 6455) by an
> > > Apache 2.x server. The module consists of a plugin architecture for
> > > handling WebSocket messaging.  
> > 
> > does v2 fix hits?
> > 
> > | checking for libtool... no
> > | configure: error: could not find an installed libtool
> > | NOTE: The following config.log files may provide further information.
> > | NOTE:
> > /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/apache-websocket/1.1.1-r0/git/config.log
> > 
> > ?
> 
> v2 fixes just the version number for apache-websocket. I'm not seeing that 
> error on my machine:
> 
> (...)
> checking for apachectl... 
> /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x64/usr/sbin/apachectl
> checking for httpd... 
> /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/httpd
> checking for libtool... /usr/bin/libtool

That build machine doesn't even have /usr/bin/libtool, you should use
libtool provided by libtool-cross recipe.

> checking for the httpd modules directory... /usr/lib/apache2/modules
> (...)
> 
> Is there some kind of host contamination going on here?
> 
> > 
> > > 
> > > Signed-off-by: Haris Okanovic 
> > > Signed-off-by: Ioan-Adrian Ratiu 
> > > ---
> > >  .../apache-mod/apache-websocket_git.bb | 32 
> > > ++
> > >  1 file changed, 32 insertions(+)
> > >  create mode 100644 
> > > meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > > 
> > > diff --git 
> > > a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
> > > b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > > new file mode 100644
> > > index 000..2cfc1f3
> > > --- /dev/null
> > > +++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > > @@ -0,0 +1,32 @@
> > > +SUMMARY = "Websocket module for Apache web server"
> > > +DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
> > > +HOMEPAGE = "https://github.com/jchampio/${PN}/;
> > > +SECTION = "net"
> > > +LICENSE = "Apache-2.0"
> > > +
> > > +inherit autotools-brokensep pkgconfig
> > > +
> > > +DEPENDS = "apache2 apache2-native"
> > > +RDEPENDS_${PN} += "apache2"
> > > +
> > > +# Original (github.com/disconnect/apache-websocket) is dead since 2012, 
> > > the
> > > +# fork contains patches from the modules ML and fixes CVE compliance 
> > > issues
> > > +SRC_URI = "git://github.com/jchampio/apache-websocket.git"
> > > +
> > > +SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
> > > +
> > > +PV = "0.1.1"
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> > > +
> > > +EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
> > > +
> > > +do_install() {
> > > +install -d ${D}${libdir}/apache2/modules/
> > > +install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
> > > +}
> > > +
> > > +FILES_${PN} += " ${libdir}/apache2/modules/* "
> > > +FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
> > > -- 
> > > 2.7.3
> > >   
> > 
> 

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


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


[oe] [meta-oe][PATCH v3 1/2] apache2: stage apachectl

2016-03-19 Thread Ioan-Adrian Ratiu
Some apache module recipes like the newly introduced apache-websocket
also need apachectl at build in the sysroot besides apxs.

Signed-off-by: Ioan-Adrian Ratiu 
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb 
b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
index 597afe6..53d0564 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
@@ -113,6 +113,8 @@ SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"
 apache_sysroot_preprocess () {
 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
 install -m 755 ${D}${bindir}/apxs ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+install -d ${SYSROOT_DESTDIR}${sbindir}/
+install -m 755 ${D}${sbindir}/apachectl ${SYSROOT_DESTDIR}${sbindir}/
 sed -i 's!my $installbuilddir = .*!my $installbuilddir = 
"${STAGING_DIR_HOST}/${datadir}/${BPN}/build";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 sed -i 's!my $libtool = .*!my $libtool = 
"${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 
-- 
2.7.3

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


[oe] [meta-oe][PATCH 2/2] apache-websocket: Add recipe

2016-03-19 Thread Ioan-Adrian Ratiu
From: Haris Okanovic 

The apache-websocket module is an Apache 2.x server module that may be
used to process requests using the WebSocket protocol (RFC 6455) by an
Apache 2.x server. The module consists of a plugin architecture for
handling WebSocket messaging.

Signed-off-by: Haris Okanovic 
Signed-off-by: Ioan-Adrian Ratiu 
---
 .../apache-mod/apache-websocket_git.bb | 32 ++
 1 file changed, 32 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb

diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
new file mode 100644
index 000..e2bd097
--- /dev/null
+++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Websocket module for Apache web server"
+DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
+HOMEPAGE = "https://github.com/jchampio/${PN}/;
+SECTION = "net"
+LICENSE = "Apache-2.0"
+
+inherit autotools-brokensep pkgconfig
+
+DEPENDS = "apache2 apache2-native"
+RDEPENDS_${PN} += "apache2"
+
+# Original (github.com/disconnect/apache-websocket) is dead since 2012, the
+# fork contains patches from the modules ML and fixes CVE compliance issues
+SRC_URI = "git://github.com/jchampio/apache-websocket.git"
+
+SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
+
+PV = "1.1.1"
+
+S = "${WORKDIR}/git"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
+
+do_install() {
+install -d ${D}${libdir}/apache2/modules/
+install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
+}
+
+FILES_${PN} += " ${libdir}/apache2/modules/* "
+FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
-- 
2.7.3

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


[oe] [meta-oe][PATCH v3 3/4] opencv: Fix pkg-config file.

2016-03-19 Thread Ricardo Ribalda Delgado
Libdir was pointing to the wrong location

also fix for QA Issue: opencv.pc failed sanity test (tmpdir) in path

Signed-off-by: Ricardo Ribalda Delgado 
---
 .../opencv/opencv/fixpkgconfig.patch   | 29 ++
 meta-oe/recipes-support/opencv/opencv_3.1.bb   |  3 ++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch

diff --git a/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch 
b/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch
new file mode 100644
index ..3aeda7d4439d
--- /dev/null
+++ b/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch
@@ -0,0 +1,29 @@
+diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake
+index b8cb8777c06b..75281ee964fd 100644
+--- a/cmake/OpenCVGenPkgconfig.cmake
 b/cmake/OpenCVGenPkgconfig.cmake
+@@ -27,7 +27,7 @@ macro(fix_prefix lst isown)
+   get_filename_component(libdir "${item}" PATH)
+   get_filename_component(libname "${item}" NAME_WE)
+   string(REGEX REPLACE "^lib(.*)" "\\1" libname "${libname}")
+-  list(APPEND _lst "-L${libdir}" "-l${libname}")
++  list(APPEND _lst "-l${libname}")
+ else()
+   list(APPEND _lst "-l${item}")
+ endif()
+@@ -66,10 +66,14 @@ ocv_list_unique(_3rdparty)
+ 
+ set(OPENCV_PC_LIBS
+   "-L\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}"
++  "-L\${exec_prefix}/${OPENCV_3P_LIB_INSTALL_PATH}"
+   "${_modules}"
+ )
+ if (BUILD_SHARED_LIBS)
+-  set(OPENCV_PC_LIBS_PRIVATE "${_extra}")
++  set(OPENCV_PC_LIBS_PRIVATE
++"-L\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}"
++"${_extra}"
++  )
+ else()
+   set(OPENCV_PC_LIBS_PRIVATE
+ "-L\${exec_prefix}/${OPENCV_3P_LIB_INSTALL_PATH}"
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb 
b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index b8fb6a51376f..6f0c83829809 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -16,7 +16,8 @@ SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
 SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
 SRCREV_FORMAT = "opencv"
 SRC_URI = "git://github.com/Itseez/opencv.git;name=opencv \
-  
git://github.com/Itseez/opencv_contrib.git;destsuffix=contrib;name=contrib"
+
git://github.com/Itseez/opencv_contrib.git;destsuffix=contrib;name=contrib \
+file://fixpkgconfig.patch"
 
 PV = "3.1+git${SRCPV}"
 
-- 
2.7.0

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


[oe] OE Changelog since 2016-03-06 until 2016-03-13

2016-03-19 Thread cliff . brake
Changelog since 2016-03-06 until 2016-03-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-atmel: https://github.com/linux4sam/meta-atmel.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: 
https://github.com/schnitzeltony/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-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git
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-nodejs: https://github.com/imyller/meta-nodejs.git
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:

Belen Barros Pena (2):
  toaster: change 'revision' to 'Git revision'
  toaster: bring back the strict directive

Brendan Le Foll (1):
  fetch2/npm: fix ud.registry so that alternative registries can be handled

Dave Lerner (1):
  toaster: fixup dependency excludes for customimage

Ed Bartosh (11):
  toaster: raise NotImplementedError
  toaster: don't use sshbecontroller
  toaster: remove sshbecontroller module
  toasterui: reformat list of events
  toasterui: update list of events
  command: make setEventMask readonly
  toasterui: check if setEventMask succeeded
  toasterui: make toasterui to work in build mode
  toasterui: exit on final events
  toasterui: fix warning 'Unknown event'
  xmlrpc: fix bug in setting XMLRPCServer.single_use

Elliot Smith (1):
  toaster: rework task buildstats storage and display

Lucas Dutra Nunes (1):
  server/process: Try connecting 4 times before giving up

Michael Wood (2):
  toaster: views api Package info return both kinds of RDEPENDS
  toaster: models List only have the specified project's imported layers

Paul Eggleton (6):
  fetch2/npm: fix indentation
  fetch2/npm: handle alternative dependency syntax
  fetch2/npm: ignore unknown headers in tarballs
  fetch2/npm: fix errors with some version specifications
  fetch2/npm: properly handle npm dependencies
  fetch2/npm: add missing URL argument to ParameterError

Peter Kjellerstedt (1):
  fetch2: Make SRC_URI[md5sum] and SRC_URI[sha256sum] expand their values

Sujith H (1):
  toaster: use force_bytes to display non-ascii project names


Changelog for openembedded-core:

Alejandro del Castillo (1):
  busybox.inc: add tail symlink so busybox can commit suicide cleanly

Alexander Kanavin (23):
  qemu.bbclass: add qemu_wrapper_cmdline()
  python3-native: use the previous version of python-config script
  python3: fix patching get_python_lib() in distutils/sysconfig.py
  gobject-introspection: add the recipe
  gtk-doc-stub: remove introspection stubs
  gobject-introspection.bbclass: add a class that enables gobject introspectio
  vala: enable the use of vapigen by packages with vala support
  vala.bbclass: remove pre-packaged vapigen.m4 from tarballs
  avahi-ui: remove the dependency on python-pygtk by disabling avahi-discover
  python-pygtk: remove the recipe
  avahi: enable gobject-introspection
  gtk+: enable gobject introspection
  gtk+3: enable gobject-introspection
  clutter: enable gobject introspection
  

[oe] [meta-oe][PATCH v3 4/4] opencv: Remove blacklist

2016-03-19 Thread Ricardo Ribalda Delgado
Opencv 3.1 builds fine with ffmpeg.

ricardo@neopili:~/curro/qt5022/oe/openembedded-core/build$ bitbake
opencv
Loading cache: 100%
||
ETA:  00:00:00
Loaded 2018 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.29.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Debian-testing"
TARGET_SYS= "i586-oe-linux"
MACHINE   = "qemux86"
DISTRO= "nodistro"
DISTRO_VERSION= "nodistro.0"
TUNE_FEATURES = "m32 i586"
TARGET_FPU= ""
meta  = "master:300f858ba07c938427ccd05a3d7220027a03d461"
meta-oe   = "master:29462f7161b346dbc2ea00830da869a0a1c35fb9"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1242 tasks of which 1228 didn't need to
be rerun and all succeeded.

Signed-off-by: Ricardo Ribalda Delgado 
---
 meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb 
b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index 6f0c83829809..87338cad4a4b 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -133,5 +133,3 @@ do_install_append() {
 cp -f bin/*-tutorial-* bin/*-example-* ${D}${datadir}/OpenCV/samples/bin/
 }
 
-# http://errors.yoctoproject.org/Errors/Details/40660/
-PNBLACKLIST[opencv] ?= "Not compatible with currently used ffmpeg 3"
-- 
2.7.0

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


Re: [oe] [meta-oe][PATCH v3 4/4] opencv: Remove blacklist

2016-03-19 Thread Martin Jansa
OK, it build now, but please add one more patch to fix autodetected
dependencies:

opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
libgphotoport, but it isn't a build dependency, missing libgphoto2 in
DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
libgphoto2, but it isn't a build dependency, missing libgphoto2 in
DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-dnn rdepends on protobuf,
but it isn't a build dependency, missing protobuf in DEPENDS or
PACKAGECONFIG? [build-deps]



On Fri, Mar 18, 2016 at 12:20 PM, Ricardo Ribalda Delgado <
ricardo.riba...@gmail.com> wrote:

> Opencv 3.1 builds fine with ffmpeg.
>
> ricardo@neopili:~/curro/qt5022/oe/openembedded-core/build$ bitbake
> opencv
> Loading cache: 100%
>
> ||
> ETA:  00:00:00
> Loaded 2018 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION= "1.29.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING   = "Debian-testing"
> TARGET_SYS= "i586-oe-linux"
> MACHINE   = "qemux86"
> DISTRO= "nodistro"
> DISTRO_VERSION= "nodistro.0"
> TUNE_FEATURES = "m32 i586"
> TARGET_FPU= ""
> meta  = "master:300f858ba07c938427ccd05a3d7220027a03d461"
> meta-oe   = "master:29462f7161b346dbc2ea00830da869a0a1c35fb9"
>
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 1242 tasks of which 1228 didn't need to
> be rerun and all succeeded.
>
> Signed-off-by: Ricardo Ribalda Delgado 
> ---
>  meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb
> b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> index 6f0c83829809..87338cad4a4b 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> @@ -133,5 +133,3 @@ do_install_append() {
>  cp -f bin/*-tutorial-* bin/*-example-*
> ${D}${datadir}/OpenCV/samples/bin/
>  }
>
> -# http://errors.yoctoproject.org/Errors/Details/40660/
> -PNBLACKLIST[opencv] ?= "Not compatible with currently used ffmpeg 3"
> --
> 2.7.0
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

2016-03-19 Thread Gary Thomas

Ping?  Once I understand why it breaks in world builds, I can submit a new 
patchset.
See below - what's causing rst to be brought in?

Thanks

On 03/12/2016 05:52 AM, Gary Thomas wrote:

On 2016-03-11 14:17, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 05:07:22PM +0100, Gary Thomas wrote:

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 
---
  meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67 
  1 file changed, 67 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..acad319
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/;
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+   libxscrnsaver libv4l libxinerama \
+"


It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is 
located at
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory
`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| [  1/195] Compiling version.sh
| [  2/195] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> 
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File 
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py", 
line 21, in 
| from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory
`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
| {task 139933719149072: rst2man mpv.rst -> mpv.1}
| ' 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py
 ../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb,
do_compile) failed with exit code '1'



What recipe/package is pulling in rst?  I'll check the config options
and make sure it builds correctly with/without that package present.


+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+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
+
+# 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"
+
+EXTRA_OECONF = " \
+--prefix=${prefix} \
+--target=${SIMPLE_TARGET_SYS} \


Where is this variable set? git grep in oe-core and meta-oe didn't show 
anything.

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"


Thanks for pointing this out.




+--confdir=${sysconfdir} \
+--datadir=${datadir} \
+--disable-manpage-build \
+--disable-gl \
+--disable-libsmbclient \

[oe] [PATCH][meta-oe] umip: blacklist

2016-03-19 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-connectivity/umip/umip_1.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-connectivity/umip/umip_1.0.bb 
b/meta-oe/recipes-connectivity/umip/umip_1.0.bb
index 76901ab..41e5340 100644
--- a/meta-oe/recipes-connectivity/umip/umip_1.0.bb
+++ b/meta-oe/recipes-connectivity/umip/umip_1.0.bb
@@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
 EXTRA_OE_CONF = "--enable-vt"
 
 inherit autotools-brokensep
+
+PNBLACKLIST[umip] ?= "BROKEN: SRC_URI seems to be down and build from 
premirror fails to find gram.h, see 
http://errors.yoctoproject.org/Errors/Details/56158/;
-- 
2.7.3

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


Re: [oe] [meta-python][jethro][PATCH][V2] python-m2crypto: fix SSLv2 symbol issue

2016-03-19 Thread Martin Jansa
On Mon, Mar 14, 2016 at 03:21:33PM -0700, Pushpal Sidhu wrote:
> Hi,
> 
> On Wed, Mar 9, 2016 at 11:18 AM, akuster808  wrote:
> >
> >
> >
> > On 03/09/2016 11:11 AM, Martin Jansa wrote:
> > > On Wed, Mar 09, 2016 at 09:06:57AM -0800, Armin Kuster wrote:
> > >> From: Armin Kuster 
> > >>
> > >> missed using "-D"  for OPENSSL_NO_SSL2 swig_features.
> > >
> > > fido version:
> > > http://patchwork.openembedded.org/patch/117291/
> > > needed -D as well, right?
> >
> > yes.
> >
> >
> > >
> > > I've pushed both to fido-next and jethro-next
> 
> When will this be merged into fido/jethro? I've been running into this
> build breakage for about a week now and if I patch it myself, I'll
> only run into a conflict again later, causing more build issues.

I'm still seeing multiple issues caused by last openssl upgrade, e.g.
ruby, pywbem, crda

Are they all supposed to be fixed by this?

> > thanks
> > -armin
> > >
> > >>
> > >> ERROR: Failed to import the "M2Crypto" module: 
> > >> .../usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined 
> > >> symbol: SSLv2_method
> > >>
> > >> disable using SSLv2_method if not supported in openssl. This is now the 
> > >> case
> > >> with the advent of CVE-2016-0800
> > >>
> > >> Signed-off-by: Armin Kuster 
> > >> ---
> > >>  ...y_build_with_SSLv2_when_it_is_not_available.patch | 20 
> > >> 
> > >>  .../python/python-m2crypto_0.21.1.bb |  4 +++-
> > >>  2 files changed, 23 insertions(+), 1 deletion(-)
> > >>  create mode 100644 
> > >> meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
> > >>
> > >> diff --git 
> > >> a/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
> > >>  
> > >> b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
> > >> new file mode 100644
> > >> index 000..526c23f
> > >> --- /dev/null
> > >> +++ 
> > >> b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
> > >> @@ -0,0 +1,20 @@
> > >> +Upstream-Status: Backport
> > >> +https://gitlab.com/m2crypto/m2crypto/commit/ac01b38302474920288c1a9eb63fd35fa8d1db5b
> > >> +
> > >> +Signed-off-by: Armin Kuster 
> > >> +
> > >> +Index: M2Crypto-0.21.1/SWIG/_ssl.i
> > >> +===
> > >> +--- M2Crypto-0.21.1.orig/SWIG/_ssl.i
> > >>  M2Crypto-0.21.1/SWIG/_ssl.i
> > >> +@@ -48,8 +48,10 @@ extern const char *SSL_alert_desc_string
> > >> + %rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
> > >> + extern const char *SSL_alert_desc_string_long(int);
> > >> +
> > >> ++#ifndef OPENSSL_NO_SSL2
> > >> + %rename(sslv2_method) SSLv2_method;
> > >> + extern SSL_METHOD *SSLv2_method(void);
> > >> ++#endif
> > >> + %rename(sslv3_method) SSLv3_method;
> > >> + extern SSL_METHOD *SSLv3_method(void);
> > >> + %rename(sslv23_method) SSLv23_method;
> > >> diff --git 
> > >> a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb 
> > >> b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
> > >> index ff6203f..9daea5e 100644
> > >> --- a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
> > >> +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
> > >> @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = 
> > >> "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
> > >>
> > >>  SRC_URI = 
> > >> "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz 
> > >> \
> > >> 
> > >> file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \
> > >> -   file://0001-M2Crypto-Error-fix.patch"
> > >> +   file://0001-M2Crypto-Error-fix.patch \
> > >> +   
> > >> file://dont_try_build_with_SSLv2_when_it_is_not_available.patch"
> > >>
> > >>  SRC_URI[md5sum] = "f93d8462ff7646397a9f77a2fe602d17"
> > >>  SRC_URI[sha256sum] = 
> > >> "25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a"
> > >> @@ -19,6 +20,7 @@ inherit setuptools
> > >>
> > >>  SWIG_FEATURES_x86-64 = "-D__x86_64__"
> > >>  SWIG_FEATURES ?= ""
> > >> +SWIG_FEATURES += "-DOPENSSL_NO_SSL2"
> > >>  export SWIG_FEATURES
> > >>
> > >>  # Get around a problem with swig, but only if the
> > >> --
> > >> 2.3.5
> > >>
> > >> --
> > >> ___
> > >> Openembedded-devel mailing list
> > >> Openembedded-devel@lists.openembedded.org
> > >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 

[oe] [PATCH][RFC][meta-oe] luajit: fix build II

2016-03-19 Thread Martin Jansa
* previous fix didn't work very well, because host version really needs
  to use the same pointer size, so it's better to disable native builds
  completely and let HOST_LUA to be compiled in target build with
  correct params
* EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"'
  looks like mistake, is mips64 using 32bit pointers?

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb | 32 +
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb 
b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
index 9609469..4f1345d 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
@@ -13,26 +13,28 @@ S = "${WORKDIR}/LuaJIT-${PV}"
 
 inherit pkgconfig binconfig
 
-BBCLASSEXTEND = "native"
-
 do_configure_prepend() {
 sed -i 's:PREFIX= /usr/local:PREFIX= ${prefix}:g' ${S}/Makefile
 sed -i 's:MULTILIB= lib:MULTILIB= ${baselib}:g' ${S}/Makefile
 }
 
-EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} \
-TARGET_CFLAGS="${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" \
-TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" \
-TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}"'
-EXTRA_OEMAKE_append_powerpc = ' HOST_CC="${BUILD_CC} -m32"'
-EXTRA_OEMAKE_append_x86 = ' HOST_CC="${BUILD_CC} -m32"'
-EXTRA_OEMAKE_append_x86-64 = ' HOST_CC="${BUILD_CC}"'
-EXTRA_OEMAKE_append_powerpc64 = ' HOST_CC="${BUILD_CC}"'
-EXTRA_OEMAKE_append_arm = ' HOST_CC="${BUILD_CC} -m32"'
-EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"'
-
-DEPENDS_append_class_target = " luajit-native"
-EXTRA_OEMAKE_append_class_target = " HOST_LUA=luajit"
+# http://luajit.org/install.html#cross
+# Host luajit needs to be compiled with the same pointer size
+# If you want to cross-compile to any 32 bit target on an x64 OS,
+# you need to install the multilib development package (e.g.
+# libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part
+# (HOST_CC="gcc -m32").
+BUILD_CC_ARCH_append_powerpc = ' -m32'
+BUILD_CC_ARCH_append_x86 = ' -m32'
+BUILD_CC_ARCH_append_arm = ' -m32'
+
+EXTRA_OEMAKE_append_class-target = '\
+CROSS=${HOST_PREFIX} \
+HOST_CC="${BUILD_CC} ${BUILD_CC_ARCH}" \
+TARGET_CFLAGS="${TOOLCHAIN_OPTIONS} ${TARGET_CC_ARCH}" \
+TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" \
+TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}" \
+'
 
 do_compile () {
 oe_runmake
-- 
2.7.3

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


[oe] [meta-oe][PATCH v3 2/4] opencv: Update to version 3.1

2016-03-19 Thread Ricardo Ribalda Delgado
The first major update in 3.0 release series

Signed-off-by: Ricardo Ribalda Delgado 
---
 meta-oe/recipes-support/opencv/{opencv_3.0.bb => opencv_3.1.bb} | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-support/opencv/{opencv_3.0.bb => opencv_3.1.bb} (97%)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.0.bb 
b/meta-oe/recipes-support/opencv/opencv_3.1.bb
similarity index 97%
rename from meta-oe/recipes-support/opencv/opencv_3.0.bb
rename to meta-oe/recipes-support/opencv/opencv_3.1.bb
index f6c4ca8fac16..b8fb6a51376f 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.0.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -10,15 +10,15 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
 
 DEFAULT_PREFERENCE = "-1"
 
-DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0"
+DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 
libwebp"
 
-SRCREV_opencv = "424c2bddb39dae97dc4639a24eaa0e0c8fbb8e69"
-SRCREV_contrib = "844c30e8b2f2f4b34b96a169fafe9beea3c45e87"
+SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
+SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
 SRCREV_FORMAT = "opencv"
 SRC_URI = "git://github.com/Itseez/opencv.git;name=opencv \
   
git://github.com/Itseez/opencv_contrib.git;destsuffix=contrib;name=contrib"
 
-PV = "3.0+git${SRCPV}"
+PV = "3.1+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.0

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


[oe] [meta-cpan] pushed to master

2016-03-19 Thread Jens Rehsack
Hi,

I pushed following commits to master of meta-cpan 
(https://github.com/rehsack/meta-cpan)

6b1f323 net-dns-perl: add recipe for Net::DNS
4d01125 moo-perl: update to 2.001001
c0049e3 mime-types-perl: update to 2.13
24f2213 devel-stacktrace-perl: update to 2.01
9757a34 data-munge-perl: update to 0.096
939fd5d class-method-modifiers-perl: Update to 2.12
293c32c capture-tiny-perl: Update to 0.36
722850b perl-tidy-perl: Update recipe to 20160302
37f5371 log-any-adapter-daemontools-perl: Add recipe for 
Log::Any::Adapter::Daemontools 0.101
a0d6f66 file-touch-perl: Add recipe for File::Touch 0.11

At end of February, those where already pushed:

c7c5266 encode-perl: Update to 2.82
59cb8a8 regexp-common-perl: Update to 2016020301
ca63f61 text-csv_xs-perl: Update to 1.22
eb07ebb yaml-libyaml-perl: Update to 0.62
95dac2f datetime-format-strptime-perl: Update to 1.64
caf1cfb crypt-pbkdf2-perl: Update to 0.160410
d103a68 io-socket-ssl-perl: Update to 2.024
23771f5 path-class-perl: Update to 0.36
44a5080 moose-perl: Update to 2.1605
2466782 scalar-list-utils-perl: Update to 1.43
74a3c03 params-validate-perl: Update to 1.22
a01a1dc log-any-perl: Update to 1.040
89a9485 capture-tiny-perl: Update to 0.34
f11ac8d dbd-sqlite-perl: Update to 1.50.
e121472 netaddr-ip-perl: Add recipe for NetAddr::IP 4.078

Cheers
--
Jens Rehsack - rehs...@gmail.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] State of bitbake world, test-dependencies 2016-03-14

2016-03-19 Thread Martin Jansa
On Thu, Mar 10, 2016 at 11:34:56AM +0100, Martin Jansa wrote:
> On Wed, Feb 24, 2016 at 02:20:51PM +0100, Martin Jansa wrote:
> > On Mon, Dec 14, 2015 at 08:03:47PM +0100, Martin Jansa wrote:
> > > This time full build (testing all recipes available in "my world" - 2503
> > > recipes), it took record-breaking 25days to finish.
> > > 
> > > Complete log:
> > > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20151120_144802.log/
> > >  
> > > I've already sent patches for few of them, will send one for 
> > > pulseaudio-lirc as well
> > > as I already have it in out local recipes. For the rest I would 
> > > appreciate some help
> > > from people actually using these recipes.
> > > 
> > > I'll trigger new incremental build after that huge meta-oe patch queue 
> > > from master-next
> > > is in master.
> > > 
> > > ERROR: 34 issues were found in these recipes: clutter-gst-3.0 
> > > cryptodev-module ctdb gnome-panel jasper lcdproc libftdi mpd places 
> > > pulseaudio python python3 rain rygel samba shr-e-gadgets shr-wizard snort 
> > > sysdig tmux uptime vboxguestdrivers xfce4-clipman-plugin
> > 
> > Complete log:
> > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160223_111019.log/
> > 
> > There are many issues in current master, but as a bonus we get separate
> > build log for each issue so it's easier for any contributor to check his
> > favourite recipe and send fix for it (please do).
> > 
> > ERROR: 111 issues were found in these recipes:
> > android-image-utils-native chkconfig-alternatives-native
> > compat-wireless-all core-image-rt core-image-rt-sdk core-image-sato-dev
> > core-image-sato-sdk core-image-testmaster cryptodev-module
> > dfu-util-native efivar ffmpeg firefox gnome-panel iksemel iscsitarget
> > libconnman-qt5 libetpan libftdi libgdata libnice ltp-ddt netmap
> > netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
> > python python-feedparser python-flufl-enum python-mock python-monotonic
> > python-msgpack python-tornado-redis python-txws python-ujson python3
> > qt4-x11-free remake samba samsung-modem-mgr samsung-rfs-mgr shr-image
> > shr-image-all shr-lite-image snort synergy system-config-keyboard thrift
> > tracker xfce4-clipman-plugin
> 
> Complete log:
> http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160307_041519.log/
> 
> There are still almost issues reported last time
> 
> ERROR: 88 issues were found in these recipes: android-image-utils-native
> chkconfig-alternatives-native compat-wireless-all core-image-rt
> core-image-rt-sdk core-image-sato-dev core-image-sato-sdk
> core-image-testmaster cryptodev-module dfu-util-native efivar
> gnome-panel iksemel iscsitarget libetpan libftdi ltp-ddt luajit netmap
> netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
> python python-cryptography python3 qt4-x11-free remake samba
> samsung-modem-mgr samsung-rfs-mgr shr-image shr-image-all shr-lite-image
> snort synergy system-config-keyboard xfce4-clipman-plugin

Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160314_013628.log/

Corresponding build for qemux86 is running now.

Since last time I've fixed couple components:
  android-image-utils-native
  pty-forward-native
  samsung-modem-mgr
  synergy
  system-config-keyboard
but few new ones got broken
  gnome-bluetooth (by introspection changes)
  opencv (by ffmpeg upgrade)
  umip (missing gram.h)

WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build 
dependency?
WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build 
dependency?
WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build 
dependency?
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
WARN: libftdi: libftdi rdepends on libgcc, but it isn't a build dependency?
WARN: libftdi: libftdi rdepends on libstdc++, but it isn't a build dependency?
WARN: gnome-panel: gnome-panel rdepends on dbus-lib, but it isn't a build 
dependency?
WARN: xfce4-clipman-plugin: xfce4-clipman-plugin rdepends on qrencode, but it 
isn't a build dependency?
WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency?
WARN: python: python-tkinter rdepends on libpython2, but it isn't a build 
dependency?
WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build 
dependency?

3_min/failed/compat-wireless-all.log
3_min/failed/core-image-sato-dev.log
3_min/failed/core-image-sato-sdk.log
3_min/failed/core-image-testmaster.log
3_min/failed/dfu-util-native.log
3_min/failed/efivar.log
3_min/failed/gnome-bluetooth.log
3_min/failed/ltp-ddt.log
3_min/failed/luajit.log
3_min/failed/opencv.log
3_min/failed/perf.log
3_min/failed/proxy-libintl.log
3_min/failed/python-cryptography.log
3_min/failed/samsung-rfs-mgr.log
3_min/failed/shr-image-all.log
3_min/failed/shr-image.log
3_min/failed/shr-lite-image.log
3_min/failed/umip.log

2_max/failed/chkconfig-alternatives-native.log

[oe] [PATCH][meta-xfce] xfce4-clipman-plugin: Add PACKAGECONFIG for qrencode

2016-03-19 Thread Martin Jansa
* fixes:
  WARN: xfce4-clipman-plugin: xfce4-clipman-plugin rdepends on qrencode, but it 
isn't a build dependency?

Signed-off-by: Martin Jansa 
---
 meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.2.6.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.2.6.bb 
b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.2.6.bb
index aee4a3d..a07f3cc 100644
--- a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.2.6.bb
+++ b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.2.6.bb
@@ -13,5 +13,6 @@ SRC_URI[sha256sum] = 
"23043f99c3e5257d1f3d68b5ee5125e3469c15620d098e22c625038619
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[unique] = "--enable-unique,--disable-unique,libunique"
+PACKAGECONFIG[qrencode] = "--enable-libqrencode,--disable-libqrencode,qrencode"
 
 FILES_${PN} += "${datadir}/appdata"
-- 
2.7.3

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


Re: [oe] [PATCH 1/2] gnome-bluetooth: fix compile

2016-03-19 Thread alexander . kanavin
> fixes error series starting with
> | Caught exception:  TypeError('expected a
> string or other character buffer object',)
> | >
> /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)()
> | -> PREFIX = os.path.normpath(sys.prefix).replace(
> os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )

Both this patch and the second one should be replaced with a patch that
simply adds

inherit gobject-introspection

to the recipe. For some reason I forgot to do that in my g-i fixes patchset.

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


[oe] [PATCH][meta-oe] umip: blacklist

2016-03-19 Thread Martin Jansa
* SRC_URI seems to be down:
  fatal: unable to connect to git.umip.org:
  git.umip.org[0: 77.133.223.36]: errno=Connection timed out
  git.umip.org[1: 2a02:8428:26f:b200:221:70ff:fe55:8f78]: errno=Network is 
unreachable
* and build fails with:
  scan.l:38:18: fatal error: gram.h: No such file or directory
  http://errors.yoctoproject.org/Errors/Details/56158/

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-connectivity/umip/umip_1.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-connectivity/umip/umip_1.0.bb 
b/meta-oe/recipes-connectivity/umip/umip_1.0.bb
index 76901ab..41e5340 100644
--- a/meta-oe/recipes-connectivity/umip/umip_1.0.bb
+++ b/meta-oe/recipes-connectivity/umip/umip_1.0.bb
@@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
 EXTRA_OE_CONF = "--enable-vt"
 
 inherit autotools-brokensep
+
+PNBLACKLIST[umip] ?= "BROKEN: SRC_URI seems to be down and build from 
premirror fails to find gram.h, see 
http://errors.yoctoproject.org/Errors/Details/56158/;
-- 
2.7.3

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


Re: [oe] [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe

2016-03-19 Thread Martin Jansa
On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> From: Haris Okanovic 
> 
> The apache-websocket module is an Apache 2.x server module that may be
> used to process requests using the WebSocket protocol (RFC 6455) by an
> Apache 2.x server. The module consists of a plugin architecture for
> handling WebSocket messaging.

does v2 fix hits?

| checking for libtool... no
| configure: error: could not find an installed libtool
| NOTE: The following config.log files may provide further information.
| NOTE:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/apache-websocket/1.1.1-r0/git/config.log

?

> 
> Signed-off-by: Haris Okanovic 
> Signed-off-by: Ioan-Adrian Ratiu 
> ---
>  .../apache-mod/apache-websocket_git.bb | 32 
> ++
>  1 file changed, 32 insertions(+)
>  create mode 100644 
> meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> 
> diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
> b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> new file mode 100644
> index 000..2cfc1f3
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> @@ -0,0 +1,32 @@
> +SUMMARY = "Websocket module for Apache web server"
> +DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
> +HOMEPAGE = "https://github.com/jchampio/${PN}/;
> +SECTION = "net"
> +LICENSE = "Apache-2.0"
> +
> +inherit autotools-brokensep pkgconfig
> +
> +DEPENDS = "apache2 apache2-native"
> +RDEPENDS_${PN} += "apache2"
> +
> +# Original (github.com/disconnect/apache-websocket) is dead since 2012, the
> +# fork contains patches from the modules ML and fixes CVE compliance issues
> +SRC_URI = "git://github.com/jchampio/apache-websocket.git"
> +
> +SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
> +
> +PV = "0.1.1"
> +
> +S = "${WORKDIR}/git"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> +
> +EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
> +
> +do_install() {
> +install -d ${D}${libdir}/apache2/modules/
> +install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
> +}
> +
> +FILES_${PN} += " ${libdir}/apache2/modules/* "
> +FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
> -- 
> 2.7.3
> 

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


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


[oe] [meta-networking][PATCH 1/2] dhcpcd: cleanup recipe

2016-03-19 Thread Pascal Bach
- use autotools-brokensep instead of B = "${S}"
- make udev configurable via PACKAGECONFIG
- make ipv6 configurable via PACKAGECONFIG

Signed-off-by: Pascal Bach 
Signed-off-by: Freudiger Raphael 
---
 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb 
b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
index 058a932..76d0103 100644
--- a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
+++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
@@ -12,11 +12,13 @@ SRC_URI = 
"http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz;
 SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
 SRC_URI[sha256sum] = 
"ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
 
-inherit autotools
+inherit autotools-brokensep
 
-B = "${S}"
-EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+PACKAGECONFIG ?= "udev ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", 
"", d)}"
 
-FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
+PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
+
+EXTRA_OECONF = "--enable-ipv4"
 
-RDEPENDS_${PN} = "udev"
+FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
-- 
2.1.4

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


[oe] [meta-oe][jethro][PATCH] mplayer2: fix building with gcc 5.x

2016-03-19 Thread Awais Belal
From: "Belal, Awais" 

This patch works around a potential problem in the theora
glue code where it assumes that the compiler will
somehow find a function which is not exported explicitly
through the libtheora library. Due to this problem the
build fails with gcc-5.x compiler.
The included patch essentially backports a commit which
updates the glue code to use the Theora 1.0 API to
eliminate this problem and PNBLACKLIST is cleared
for mplayer2.

Signed-off-by: Awais Belal 
Signed-off-by: Martin Jansa 
---
 ...artially-port-libtheora-glue-code-to-Theo.patch | 136 +
 meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb |   4 +-
 2 files changed, 137 insertions(+), 3 deletions(-)
 create mode 100644 
meta-oe/recipes-multimedia/mplayer/mplayer2/0001-demux_ogg-partially-port-libtheora-glue-code-to-Theo.patch

diff --git 
a/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-demux_ogg-partially-port-libtheora-glue-code-to-Theo.patch
 
b/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-demux_ogg-partially-port-libtheora-glue-code-to-Theo.patch
new file mode 100644
index 000..b4d9841
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-demux_ogg-partially-port-libtheora-glue-code-to-Theo.patch
@@ -0,0 +1,136 @@
+From 0571bb4f1a6e1934ee7e093ce7aa517b9bac8e6a Mon Sep 17 00:00:00 2001
+From: Awais Belal 
+Date: Sun, 17 Jan 2016 14:46:10 +0500
+Subject: [PATCH] demux_ogg: partially port libtheora glue code to Theora 1.0
+ API
+
+This partially backports the following commit to allow building
+with gcc-5.x and otherwise fails to find the definition of
+the _ilog function the way it is used.
+
+https://github.com/pigoz/mplayer-svn/commit/85e51408cd00979fc209da8e3a39b6f0e7f325bc
+
+Signed-off-by: Awais Belal 
+---
+ libmpdemux/demux_ogg.c | 52 ++
+ 1 file changed, 27 insertions(+), 25 deletions(-)
+
+diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c
+index 9eea061..9144426 100644
+--- a/libmpdemux/demux_ogg.c
 b/libmpdemux/demux_ogg.c
+@@ -50,8 +50,7 @@
+ #endif
+ 
+ #ifdef CONFIG_OGGTHEORA
+-#include 
+-int _ilog (unsigned int); /* defined in many places in theora/lib/ */
++#include 
+ #endif
+ 
+ #define BLOCK_SIZE 4096
+@@ -62,9 +61,10 @@ int _ilog (unsigned int); /* defined in many places in 
theora/lib/ */
+  */
+ #ifdef CONFIG_OGGTHEORA
+ typedef struct theora_struct_st {
+-theora_state   st;
+-theora_comment cc;
+-theora_infoinf;
++th_setup_info *tsi;
++th_dec_ctx*tctx;
++th_comment tc;
++th_infoti;
+ } theora_struct_t;
+ #endif
+ 
+@@ -117,7 +117,7 @@ typedef struct ogg_stream {
+ float   samplerate; /// granulpos 2 time
+ int64_t lastpos;
+ int32_t lastsize;
+-int keyframe_frequency_force;
++int keyframe_granule_shift;
+ 
+ // Logical stream state
+ ogg_stream_state stream;
+@@ -300,11 +300,10 @@ static unsigned char *demux_ogg_read_packet(ogg_stream_t 
*os, ogg_packet *pack,
+have theora_state st, until all header packets were passed to the
+decoder. */
+ if (!pack->bytes || !(*data&0x80)) {
+-int keyframe_granule_shift = _ilog(os->keyframe_frequency_force - 
1);
+-int64_t iframemask = (1 << keyframe_granule_shift) - 1;
++int64_t iframemask = iframemask = (1 << 
os->keyframe_granule_shift) - 1;
+ 
+ if (pack->granulepos >= 0) {
+-os->lastpos  = pack->granulepos >> keyframe_granule_shift;
++os->lastpos  = pack->granulepos >> os->keyframe_granule_shift;
+ os->lastpos += pack->granulepos & iframemask;
+ *keyframe = (pack->granulepos & iframemask) == 0;
+ } else {
+@@ -888,14 +887,15 @@ int demux_ogg_open(demuxer_t *demuxer)
+ #ifdef CONFIG_OGGTHEORA
+ } else if (pack.bytes >= 7 && !strncmp ([1], "theora", 
6)) {
+ int errorCode = 0;
+-theora_info inf;
+-theora_comment cc;
++th_info ti;
++th_comment tc;
++th_setup_info *tsi = NULL;
+ 
+-theora_info_init ();
+-theora_comment_init ();
++th_info_init ();
++th_comment_init ();
+ 
+-errorCode = theora_decode_header (, , );
+-if (errorCode) {
++errorCode = th_decode_headerin(, , , );
++if (errorCode < 0) {
+ mp_msg(MSGT_DEMUX, MSGL_ERR,
+"Theora header parsing failed: %i \n", errorCode);
+ } else {
+@@ -904,30 +904,32 @@ int demux_ogg_open(demuxer_t *demuxer)
+ sh_v->bih = calloc(1, sizeof(*sh_v->bih));
+ sh_v->bih->biSize= sizeof(*sh_v->bih);
+ sh_v->bih->biCompression = sh_v->format = FOURCC_THEORA;
+-sh_v->fps = 

[oe] [meta-oe][PATCH 1/2] apache2: stage apachectl

2016-03-19 Thread Ioan-Adrian Ratiu
Some apache module recipes like the newly introduced apache-websocket
also need apachectl at build in the sysroot besides apxs.

Signed-off-by: Ioan-Adrian Ratiu 
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb 
b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
index 597afe6..53d0564 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
@@ -113,6 +113,8 @@ SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"
 apache_sysroot_preprocess () {
 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
 install -m 755 ${D}${bindir}/apxs ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+install -d ${SYSROOT_DESTDIR}${sbindir}/
+install -m 755 ${D}${sbindir}/apachectl ${SYSROOT_DESTDIR}${sbindir}/
 sed -i 's!my $installbuilddir = .*!my $installbuilddir = 
"${STAGING_DIR_HOST}/${datadir}/${BPN}/build";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 sed -i 's!my $libtool = .*!my $libtool = 
"${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' 
${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 
-- 
2.7.3

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


[oe] [PATCH 2/2] gnome-bluetooth: pack introspection related files

2016-03-19 Thread Andreas Müller
fixes:

| WARNING: gnome-bluetooth-3.18.2-r0 do_package: QA Issue: gnome-bluetooth: 
Files/directories were installed but not shipped in any package:
|  /usr/lib/girepository-1.0
|  /usr/lib/girepository-1.0/GnomeBluetooth-1.0.typelib
|  /usr/share/gir-1.0
|  /usr/share/gir-1.0/GnomeBluetooth-1.0.gir

Signed-off-by: Andreas Müller 
---
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb 
b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
index d64346e..ab08254 100644
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
@@ -17,6 +17,10 @@ REQUIRED_DISTRO_FEATURES = "systemd"
 SRC_URI[archive.md5sum] = "75d09c924468ec0c687f9ab3acf7f113"
 SRC_URI[archive.sha256sum] = 
"d8df073c331df0f97261869fb77ffcdbf4e3e4eaf460d3c3ed2b16e03d9c5398"
 
+FILES_${PN} += " \
+${datadir}/gir* \
+${libdir}/gir* \
+"
 FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
 
 # required for python binding
-- 
2.5.0

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


Re: [oe] [meta-oe][PATCH v2 4/4] opencv: Fix pkg-config file.

2016-03-19 Thread Martin Jansa
On Mon, Mar 14, 2016 at 01:13:38PM +0100, Ricardo Ribalda Delgado wrote:
> It was pointing to the wrong location
> 
> Signed-off-by: Ricardo Ribalda Delgado 
> ---
>  meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch | 12 
>  meta-oe/recipes-support/opencv/opencv_3.1.bb |  3 ++-
>  2 files changed, 14 insertions(+), 1 deletion(-)
>  create mode 100644 meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch 
> b/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch
> new file mode 100644
> index ..4ac3e888e1f0
> --- /dev/null
> +++ b/meta-oe/recipes-support/opencv/opencv/fixpkgconfig.patch
> @@ -0,0 +1,12 @@
> +diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake
> +index b8cb8777c06b..081c62dafd77 100644
> +--- a/cmake/OpenCVGenPkgconfig.cmake
>  b/cmake/OpenCVGenPkgconfig.cmake
> +@@ -66,6 +66,7 @@ ocv_list_unique(_3rdparty)
> + 
> + set(OPENCV_PC_LIBS
> +   "-L\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}"
> ++  "-L\${exec_prefix}/${OPENCV_3P_LIB_INSTALL_PATH}"
> +   "${_modules}"
> + )
> + if (BUILD_SHARED_LIBS)
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb 
> b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> index 9fd3b12e3631..c403852cf405 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> @@ -16,7 +16,8 @@ SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
>  SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
>  SRCREV_FORMAT = "opencv"
>  SRC_URI = "git://github.com/Itseez/opencv.git;name=opencv \
> -
> git://github.com/Itseez/opencv_contrib.git;destsuffix=contrib;name=contrib"
> +
> git://github.com/Itseez/opencv_contrib.git;destsuffix=contrib;name=contrib \
> +file://fixpkgconfig.patch"

Please don't mix tabs and spaces, use 4 spaces everywhere.

3.1 doesn't fails with ffmpeg 3.0 but this fix isn't enough, still shows:

ERROR: QA Issue: opencv.pc failed sanity test (tmpdir) in path
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/opencv/3.1+gitAUTOINC+92387b1ef8-r0/sysroot-destdir/usr/lib/pkgconfig
[pkgconfig]

http://errors.yoctoproject.org/Errors/Details/56596/

>  
>  PV = "3.1+git${SRCPV}"
>  
> -- 
> 2.7.0
> 

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


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


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

2016-03-19 Thread Gary Thomas

On 03/17/2016 10:38 AM, Martin Jansa wrote:

I don't know, but it doesn't matter what pulled rst.

mpv should build ok with or without rst available.


I agree and it does build without rst in the mix.  It fails if those tools
are present and I'd like to fix it but I don't know what is bringing them
in (and I don't have the resources available to run 'bitbake world')



On Thu, Mar 17, 2016 at 10:26 AM, Gary Thomas  wrote:


Ping?  Once I understand why it breaks in world builds, I can submit a new
patchset.
See below - what's causing rst to be brought in?

Thanks


On 03/12/2016 05:52 AM, Gary Thomas wrote:


On 2016-03-11 14:17, Martin Jansa wrote:


On Thu, Mar 10, 2016 at 05:07:22PM +0100, Gary Thomas wrote:


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 
---
   meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67

   1 file changed, 67 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..acad319
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/;
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+   libxscrnsaver libv4l libxinerama \
+"



It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file
is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| [  1/195] Compiling version.sh
| [  2/195] Compiling
TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py",
line 21, in 
| from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
| {task 139933719149072: rst2man mpv.rst -> mpv.1}
| '
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py
../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/
mpv_0.15.0.bb,
do_compile) failed with exit code '1'



What recipe/package is pulling in rst?  I'll check the config options
and make sure it builds correctly with/without that package present.

+

+REQUIRED_DISTRO_FEATURES = "x11"
+
+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
+
+# 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"
+
+EXTRA_OECONF = " \
+--prefix=${prefix} \
+

[oe] [meta-oe][PATCH] openldap: control ipv6 support via DISTRO_FEATURES

2016-03-19 Thread Ioan-Adrian Ratiu
From: Richard Tollerton 

Explicitly disable ipv6 support if the distro does not include it.

Signed-off-by: Richard Tollerton 
---
 meta-oe/recipes-support/openldap/openldap_2.4.43.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.43.bb 
b/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
index 9670f1a..8618365 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
@@ -53,6 +53,7 @@ EXTRA_OECONF += "--enable-dynamic"
 
 PACKAGECONFIG ??= "gnutls modules \
ldap meta monitor null passwd shell proxycache dnssrv \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', 
d)} \
 "
 #--with-tls  with TLS/SSL support auto|openssl|gnutls [auto]
 PACKAGECONFIG[gnutls] = "--with-tls=gnutls,,gnutls libgcrypt"
@@ -60,6 +61,7 @@ PACKAGECONFIG[openssl] = "--with-tls=openssl,,openssl"
 
 PACKAGECONFIG[sasl] = "--with-cyrus-sasl,--without-cyrus-sasl,cyrus-sasl"
 PACKAGECONFIG[modules] = "lt_cv_dlopen_self=yes 
--enable-modules,--disable-modules,libtool"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
 
 # SLAPD options
 #
-- 
2.7.3

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


Re: [oe] [meta-oe][PATCH v3 1/2] libass: Update to latest version

2016-03-19 Thread Martin Jansa
See first line:
http://www.openembedded.org/wiki/Bitbake_World_Status

On Fri, Mar 18, 2016 at 7:56 AM, Gary Thomas  wrote:

> On 2016-03-17 15:44, Martin Jansa wrote:
>
>> On Thu, Mar 10, 2016 at 05:07:21PM +0100, Gary Thomas wrote:
>>
>>> libass has moved from Google to github.com
>>> Also update to the latest version (libass.so.5)
>>>
>>
>> libass-0.13.2: ELF binary
>>
>> '/tmp/work/i586-oe-linux/libass/0.13.2-r0/packages-split/libass/usr/lib/libass.so.5.3.0'
>> has relocations in .text [textrel]
>>
>>
> Hmm, this doesn't happen on arm (cortexa9) builds :-(
>
> Please tell me how you do "world builds" and I'll try to duplicate this
> and the mpv issues.
>
>
> Signed-off-by: Gary Thomas 
>>> ---
>>>   meta-oe/recipes-multimedia/libass/libass.inc   | 7 ++-
>>>   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, 6 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..a394c56 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 = "http://github.com/libass/libass/;
>>>   SECTION = "libs/multimedia"
>>>
>>>   LICENSE = "ISC"
>>> @@ -7,10 +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/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz;
>>>   inherit autotools pkgconfig
>>>
>>>   PACKAGECONFIG ??= ""
>>> 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..123c9dd
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
>>> @@ -0,0 +1,4 @@
>>> +require ${PN}.inc
>>> +
>>> +SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
>>> +SRC_URI[sha256sum] =
>>> "8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
>>> --
>>> 2.5.0
>>>
>>
> --
> 
> 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


Re: [oe] Strange and annoying bug with gstreamer: 0.10

2016-03-19 Thread Burton, Ross
On 15 March 2016 at 22:52, Andreas Müller 
wrote:

> arm-angstrom-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon-vfpv4
> -mfloat-abi=hard -mcpu=cortex-a7
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> -DHAVE_CONFIG_H -I. -I../../../gstreamer-0.10.36/gst/parse -I../..
> -I../../../gstreamer-0.10.36 -I../.. -pthread line
>

Never seen this, so I'd start by looking at the makefile that is failing
and seeing where "line" is coming from.

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


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

2016-03-19 Thread Martin Jansa
On Thu, Mar 17, 2016 at 10:45:23AM +0100, Gary Thomas wrote:
> On 03/17/2016 10:38 AM, Martin Jansa wrote:
> > I don't know, but it doesn't matter what pulled rst.
> >
> > mpv should build ok with or without rst available.
> 
> I agree and it does build without rst in the mix.  It fails if those tools
> are present and I'd like to fix it but I don't know what is bringing them
> in (and I don't have the resources available to run 'bitbake world')

There is also:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency,
missing jack in DEPENDS or PACKAGECONFIG? [build-deps]

> > On Thu, Mar 17, 2016 at 10:26 AM, Gary Thomas  wrote:
> >
> >> Ping?  Once I understand why it breaks in world builds, I can submit a new
> >> patchset.
> >> See below - what's causing rst to be brought in?
> >>
> >> Thanks
> >>
> >>
> >> On 03/12/2016 05:52 AM, Gary Thomas wrote:
> >>
> >>> On 2016-03-11 14:17, Martin Jansa wrote:
> >>>
>  On Thu, Mar 10, 2016 at 05:07:22PM +0100, Gary Thomas wrote:
> 
> > 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 
> > ---
> >meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67
> > 
> >1 file changed, 67 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..acad319
> > --- /dev/null
> > +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> > @@ -0,0 +1,67 @@
> > +SUMMARY = "Open Source multimedia player"
> > +SECTION = "multimedia"
> > +HOMEPAGE = "http://www.mpv.io/;
> > +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
> > +   libxscrnsaver libv4l libxinerama \
> > +"
> >
> 
>  It's failing in world builds
> 
>  ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file
>  is located at
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
>  ERROR: Logfile of failure stored in:
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
>  Log data follows:
>  | DEBUG: Executing shell function do_compile
>  | Waf: Entering directory
> 
>  `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
>  | [  1/195] Compiling version.sh
>  | [  2/195] Compiling
>  TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
>  | [  3/195] Compiling video/out/x11_icon.bin
>  | [  4/195] Compiling etc/input.conf
>  | [  5/195] Compiling sub/osd_font.otf
>  | [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
>  | [  7/195] Compiling player/lua/defaults.lua
>  | [  8/195] Compiling player/lua/assdraw.lua
>  | [  9/195] Compiling player/lua/options.lua
>  | [ 10/195] Compiling player/lua/osc.lua
>  | [ 11/195] Compiling player/lua/ytdl_hook.lua
>  | [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
>  build/ebml_types.h
>  | [ 13/195] Compiling demux/ebml.c
>  | [ 14/195] Compiling DOCS/man/mpv.rst
>  | Traceback (most recent call last):
>  |   File
>  "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py",
>  line 21, in 
>  | from docutils.core import publish_cmdline, default_description
>  | ImportError: No module named docutils.core
>  |
>  | Waf: Leaving directory
> 
>  `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
>  | Build failed
>  |  -> task in 'rst2man' failed (exit status 1):
>  | {task 139933719149072: rst2man mpv.rst -> mpv.1}
>  | '
>  /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py
>  ../DOCS/man/mpv.rst
>  DOCS/man/mpv.1 '
>  | WARNING: exit code 1 from a shell command.
>  | ERROR: Function failed: do_compile (log file is located at
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
>  NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
>  ERROR: Task 15304
>  (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/
>  mpv_0.15.0.bb,
>  do_compile) failed with exit code '1'
> 
> 
> >>> What recipe/package is pulling in rst?  I'll check the config options
> >>> and make sure it builds correctly with/without that package present.
> >>>
> >>> +
> > +REQUIRED_DISTRO_FEATURES = "x11"
> > +
> > +LICENSE = "GPLv2+"
> 

Re: [oe] State of bitbake world, test-dependencies 2016-03-14

2016-03-19 Thread Martin Jansa
On Wed, Mar 16, 2016 at 04:20:07PM +0100, Martin Jansa wrote:
> On Thu, Mar 10, 2016 at 11:34:56AM +0100, Martin Jansa wrote:
> > On Wed, Feb 24, 2016 at 02:20:51PM +0100, Martin Jansa wrote:
> > > On Mon, Dec 14, 2015 at 08:03:47PM +0100, Martin Jansa wrote:
> > > > This time full build (testing all recipes available in "my world" - 2503
> > > > recipes), it took record-breaking 25days to finish.
> > > > 
> > > > Complete log:
> > > > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20151120_144802.log/
> > > >  
> > > > I've already sent patches for few of them, will send one for 
> > > > pulseaudio-lirc as well
> > > > as I already have it in out local recipes. For the rest I would 
> > > > appreciate some help
> > > > from people actually using these recipes.
> > > > 
> > > > I'll trigger new incremental build after that huge meta-oe patch queue 
> > > > from master-next
> > > > is in master.
> > > > 
> > > > ERROR: 34 issues were found in these recipes: clutter-gst-3.0 
> > > > cryptodev-module ctdb gnome-panel jasper lcdproc libftdi mpd places 
> > > > pulseaudio python python3 rain rygel samba shr-e-gadgets shr-wizard 
> > > > snort sysdig tmux uptime vboxguestdrivers xfce4-clipman-plugin
> > > 
> > > Complete log:
> > > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160223_111019.log/
> > > 
> > > There are many issues in current master, but as a bonus we get separate
> > > build log for each issue so it's easier for any contributor to check his
> > > favourite recipe and send fix for it (please do).
> > > 
> > > ERROR: 111 issues were found in these recipes:
> > > android-image-utils-native chkconfig-alternatives-native
> > > compat-wireless-all core-image-rt core-image-rt-sdk core-image-sato-dev
> > > core-image-sato-sdk core-image-testmaster cryptodev-module
> > > dfu-util-native efivar ffmpeg firefox gnome-panel iksemel iscsitarget
> > > libconnman-qt5 libetpan libftdi libgdata libnice ltp-ddt netmap
> > > netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
> > > python python-feedparser python-flufl-enum python-mock python-monotonic
> > > python-msgpack python-tornado-redis python-txws python-ujson python3
> > > qt4-x11-free remake samba samsung-modem-mgr samsung-rfs-mgr shr-image
> > > shr-image-all shr-lite-image snort synergy system-config-keyboard thrift
> > > tracker xfce4-clipman-plugin
> > 
> > Complete log:
> > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160307_041519.log/
> > 
> > There are still almost issues reported last time
> > 
> > ERROR: 88 issues were found in these recipes: android-image-utils-native
> > chkconfig-alternatives-native compat-wireless-all core-image-rt
> > core-image-rt-sdk core-image-sato-dev core-image-sato-sdk
> > core-image-testmaster cryptodev-module dfu-util-native efivar
> > gnome-panel iksemel iscsitarget libetpan libftdi ltp-ddt luajit netmap
> > netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
> > python python-cryptography python3 qt4-x11-free remake samba
> > samsung-modem-mgr samsung-rfs-mgr shr-image shr-image-all shr-lite-image
> > snort synergy system-config-keyboard xfce4-clipman-plugin
> 
> Complete log:
> http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160314_013628.log/
> 
> Corresponding build for qemux86 is running now.
> 
> Since last time I've fixed couple components:
>   android-image-utils-native
>   pty-forward-native
>   samsung-modem-mgr
>   synergy
>   system-config-keyboard
> but few new ones got broken
>   gnome-bluetooth (by introspection changes)
>   opencv (by ffmpeg upgrade)
>   umip (missing gram.h)
> 
> WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build 
> dependency?
> WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build 
> dependency?
> WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build 
> dependency?
> WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
> WARN: libftdi: libftdi rdepends on libgcc, but it isn't a build dependency?
> WARN: libftdi: libftdi rdepends on libstdc++, but it isn't a build dependency?
> WARN: gnome-panel: gnome-panel rdepends on dbus-lib, but it isn't a build 
> dependency?
> WARN: xfce4-clipman-plugin: xfce4-clipman-plugin rdepends on qrencode, but it 
> isn't a build dependency?
> WARN: python: python-tkinter rdepends on glibc, but it isn't a build 
> dependency?
> WARN: python: python-tkinter rdepends on libpython2, but it isn't a build 
> dependency?
> WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build 
> dependency?
> 
> 3_min/failed/compat-wireless-all.log
> 3_min/failed/core-image-sato-dev.log
> 3_min/failed/core-image-sato-sdk.log
> 3_min/failed/core-image-testmaster.log
> 3_min/failed/dfu-util-native.log
> 3_min/failed/efivar.log
> 3_min/failed/gnome-bluetooth.log
> 3_min/failed/ltp-ddt.log
> 3_min/failed/luajit.log
> 3_min/failed/opencv.log
> 3_min/failed/perf.log
> 

[oe] [meta-oe][PATCH] poco: update to 1.7.1

2016-03-19 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 ...dation-library-version-back-to-SHARED_LIB.patch | 35 --
 .../poco/{poco_1.6.1.bb => poco_1.7.1.bb}  |  5 ++--
 2 files changed, 2 insertions(+), 38 deletions(-)
 delete mode 100644 
meta-oe/recipes-support/poco/poco-1.6.1/0001-Change-Foundation-library-version-back-to-SHARED_LIB.patch
 rename meta-oe/recipes-support/poco/{poco_1.6.1.bb => poco_1.7.1.bb} (95%)

diff --git 
a/meta-oe/recipes-support/poco/poco-1.6.1/0001-Change-Foundation-library-version-back-to-SHARED_LIB.patch
 
b/meta-oe/recipes-support/poco/poco-1.6.1/0001-Change-Foundation-library-version-back-to-SHARED_LIB.patch
deleted file mode 100644
index f65bb15..000
--- 
a/meta-oe/recipes-support/poco/poco-1.6.1/0001-Change-Foundation-library-version-back-to-SHARED_LIB.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From cec5a43151a11d8afbb5dd50caf4e22fb89c6340 Mon Sep 17 00:00:00 2001
-From: Mike Gelfand 
-Date: Sun, 20 Sep 2015 03:08:19 +0300
-Subject: [PATCH] Change Foundation library version back to
- SHARED_LIBRARY_VERSION
-
-Foundation is the only library using PROJECT_VERSION as library version,
-the change accidentally introduced by commit b69fafb84c. This causes
-difference in library being linked to (libPocoFoundation.31.dylib on Mac)
-and library returned by $ for imported
-target (libPocoFoundation.1.6.1.dylib), causing inconvenience. Also, this
-differs from autoconf-based builds where only "31" (soversion) library is
-being created and not "1.6.1" (project version) one.
-
-Upstream-Status: Backport from 1.6.2

- Foundation/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
-index c1dd25f..25f401c 100644
 a/Foundation/CMakeLists.txt
-+++ b/Foundation/CMakeLists.txt
-@@ -108,7 +108,7 @@ add_library( "${LIBNAME}" ${LIB_MODE} ${SRCS})
- add_library( "${POCO_LIBNAME}" ALIAS "${LIBNAME}")
- set_target_properties( "${LIBNAME}"
- PROPERTIES
--VERSION ${PROJECT_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION}
-+VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION}
- OUTPUT_NAME ${POCO_LIBNAME}
- DEFINE_SYMBOL Foundation_EXPORTS
- )
--- 
-2.1.4
-
diff --git a/meta-oe/recipes-support/poco/poco_1.6.1.bb 
b/meta-oe/recipes-support/poco/poco_1.7.1.bb
similarity index 95%
rename from meta-oe/recipes-support/poco/poco_1.6.1.bb
rename to meta-oe/recipes-support/poco/poco_1.7.1.bb
index 9822186..135d2aa 100644
--- a/meta-oe/recipes-support/poco/poco_1.6.1.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.1.bb
@@ -14,12 +14,11 @@ BBCLASSEXTEND = "native"
 
 SRC_URI = " \
 https://github.com/pocoproject/poco/archive/poco-${PV}-release.tar.gz \
-file://0001-Change-Foundation-library-version-back-to-SHARED_LIB.patch \
 file://run-ptest \
"
 
-SRC_URI[md5sum] = "208872b13d282dfb0f0580fc11df96f3"
-SRC_URI[sha256sum] = 
"08bc0a9bae4fb793eb694ad5ec7742c179bad48a286ae614682483021043658b"
+SRC_URI[md5sum] = "a4b755d47303b20a0e2586f281d05a36"
+SRC_URI[sha256sum] = 
"6dbbc2018912ad9af6af96f605933ed91354a1e7423e5dbd04d8e9a2b2d15c05"
 
 S = "${WORKDIR}/poco-poco-${PV}-release"
 
-- 
2.1.4

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


Re: [oe] [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe

2016-03-19 Thread Martin Jansa
On Thu, Mar 17, 2016 at 10:41:18PM +0100, Martin Jansa wrote:
> On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> > From: Haris Okanovic 
> > 
> > The apache-websocket module is an Apache 2.x server module that may be
> > used to process requests using the WebSocket protocol (RFC 6455) by an
> > Apache 2.x server. The module consists of a plugin architecture for
> > handling WebSocket messaging.
> 
> does v2 fix hits?
> 
> | checking for libtool... no
> | configure: error: could not find an installed libtool
> | NOTE: The following config.log files may provide further information.
> | NOTE:
> /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/apache-websocket/1.1.1-r0/git/config.log

Whole log:
http://errors.yoctoproject.org/Errors/Details/56598/
> 
> ?
> 
> > 
> > Signed-off-by: Haris Okanovic 
> > Signed-off-by: Ioan-Adrian Ratiu 
> > ---
> >  .../apache-mod/apache-websocket_git.bb | 32 
> > ++
> >  1 file changed, 32 insertions(+)
> >  create mode 100644 
> > meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > 
> > diff --git 
> > a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
> > b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > new file mode 100644
> > index 000..2cfc1f3
> > --- /dev/null
> > +++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> > @@ -0,0 +1,32 @@
> > +SUMMARY = "Websocket module for Apache web server"
> > +DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
> > +HOMEPAGE = "https://github.com/jchampio/${PN}/;
> > +SECTION = "net"
> > +LICENSE = "Apache-2.0"
> > +
> > +inherit autotools-brokensep pkgconfig
> > +
> > +DEPENDS = "apache2 apache2-native"
> > +RDEPENDS_${PN} += "apache2"
> > +
> > +# Original (github.com/disconnect/apache-websocket) is dead since 2012, the
> > +# fork contains patches from the modules ML and fixes CVE compliance issues
> > +SRC_URI = "git://github.com/jchampio/apache-websocket.git"
> > +
> > +SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
> > +
> > +PV = "0.1.1"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> > +
> > +EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
> > +
> > +do_install() {
> > +install -d ${D}${libdir}/apache2/modules/
> > +install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
> > +}
> > +
> > +FILES_${PN} += " ${libdir}/apache2/modules/* "
> > +FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
> > -- 
> > 2.7.3
> > 
> 
> -- 
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com



-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


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


[oe] [meta-oe][PATCH v3 1/4] opencv: Fix use before set error on meta package

2016-03-19 Thread Ricardo Ribalda Delgado
This bug was introducing a loop dependency of opencv->opencv that was
confusing dpkg.

Signed-off-by: Ricardo Ribalda Delgado 
---
 meta-oe/recipes-support/opencv/opencv_3.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.0.bb 
b/meta-oe/recipes-support/opencv/opencv_3.0.bb
index 99ca8b35727d..f6c4ca8fac16 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.0.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.0.bb
@@ -86,8 +86,8 @@ python populate_packages_prepend () {
 metapkg_rdepends.append(pkg)
 d.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends))
 
-blacklist = [ metapkg ]
 metapkg =  pn
+blacklist = [ metapkg ]
 metapkg_rdepends = [ ]
 for pkg in packages[1:]:
 if not pkg in blacklist and not pkg in metapkg_rdepends and not 
pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') :
-- 
2.7.0

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


[oe] [meta-oe][PATCH v3 2/2] apache-websocket: Add recipe

2016-03-19 Thread Ioan-Adrian Ratiu
From: Haris Okanovic 

The apache-websocket module is an Apache 2.x server module that may be
used to process requests using the WebSocket protocol (RFC 6455) by an
Apache 2.x server. The module consists of a plugin architecture for
handling WebSocket messaging.

Signed-off-by: Haris Okanovic 
Signed-off-by: Ioan-Adrian Ratiu 
---
 .../apache-mod/apache-websocket_git.bb | 33 ++
 1 file changed, 33 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb

diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
new file mode 100644
index 000..da33115
--- /dev/null
+++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Websocket module for Apache web server"
+DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
+HOMEPAGE = "https://github.com/jchampio/${PN}/;
+SECTION = "net"
+LICENSE = "Apache-2.0"
+
+inherit autotools-brokensep pkgconfig
+
+DEPENDS = "apache2 apache2-native"
+RDEPENDS_${PN} += "apache2"
+
+# Original (github.com/disconnect/apache-websocket) is dead since 2012, the
+# fork contains patches from the modules ML and fixes CVE compliance issues
+SRC_URI = "git://github.com/jchampio/apache-websocket.git"
+
+SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
+
+PV = "0.1.1"
+
+S = "${WORKDIR}/git"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl \
+
LIBTOOL=${STAGING_DIR_TARGET}${bindir_crossscripts}/${HOST_SYS}-libtool"
+
+do_install() {
+install -d ${D}${libdir}/apache2/modules/
+install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
+}
+
+FILES_${PN} += " ${libdir}/apache2/modules/* "
+FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
-- 
2.7.3

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


Re: [oe] [meta-oe][PATCH v3 1/2] libass: Update to latest version

2016-03-19 Thread Gary Thomas

On 2016-03-17 15:44, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 05:07:21PM +0100, Gary Thomas wrote:

libass has moved from Google to github.com
Also update to the latest version (libass.so.5)


libass-0.13.2: ELF binary
'/tmp/work/i586-oe-linux/libass/0.13.2-r0/packages-split/libass/usr/lib/libass.so.5.3.0'
has relocations in .text [textrel]



Hmm, this doesn't happen on arm (cortexa9) builds :-(

Please tell me how you do "world builds" and I'll try to duplicate this and the 
mpv issues.


Signed-off-by: Gary Thomas 
---
  meta-oe/recipes-multimedia/libass/libass.inc   | 7 ++-
  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, 6 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..a394c56 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 = "http://github.com/libass/libass/;
  SECTION = "libs/multimedia"

  LICENSE = "ISC"
@@ -7,10 +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/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz;
  inherit autotools pkgconfig

  PACKAGECONFIG ??= ""
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..123c9dd
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] = 
"8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
--
2.5.0


--

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] [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe

2016-03-19 Thread Ioan-Adrian Ratiu
From: Haris Okanovic 

The apache-websocket module is an Apache 2.x server module that may be
used to process requests using the WebSocket protocol (RFC 6455) by an
Apache 2.x server. The module consists of a plugin architecture for
handling WebSocket messaging.

Signed-off-by: Haris Okanovic 
Signed-off-by: Ioan-Adrian Ratiu 
---
 .../apache-mod/apache-websocket_git.bb | 32 ++
 1 file changed, 32 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb

diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
new file mode 100644
index 000..2cfc1f3
--- /dev/null
+++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Websocket module for Apache web server"
+DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
+HOMEPAGE = "https://github.com/jchampio/${PN}/;
+SECTION = "net"
+LICENSE = "Apache-2.0"
+
+inherit autotools-brokensep pkgconfig
+
+DEPENDS = "apache2 apache2-native"
+RDEPENDS_${PN} += "apache2"
+
+# Original (github.com/disconnect/apache-websocket) is dead since 2012, the
+# fork contains patches from the modules ML and fixes CVE compliance issues
+SRC_URI = "git://github.com/jchampio/apache-websocket.git"
+
+SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc"
+
+PV = "0.1.1"
+
+S = "${WORKDIR}/git"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
+
+do_install() {
+install -d ${D}${libdir}/apache2/modules/
+install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/
+}
+
+FILES_${PN} += " ${libdir}/apache2/modules/* "
+FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
-- 
2.7.3

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


[oe] [meta-oe][PATCH] ttf-pt-sans: add recipe

2016-03-19 Thread Ioan-Adrian Ratiu
PT Sans is an open source licensed font released in 2010 by ParaType.
The ParaTypeFFL-1.3 license file has been submitted to OE-core.

Signed-off-by: Ioan-Adrian Ratiu 
---
 .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 44 ++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb 
b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
new file mode 100644
index 000..b7f4548
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
@@ -0,0 +1,44 @@
+SUMMARY = "PT Sans Fonts"
+DESCRIPTION = "The PT Sans TTF font set"
+HOMEPAGE = "http://www.paratype.com/public/;
+
+SECTION = "x11/fonts"
+
+LICENSE = "ParaTypeFFL-1.3"
+LIC_FILES_CHKSUM = 
"file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
+
+inherit allarch fontcache
+
+RDEPENDS_${PN} = "fontconfig-utils"
+
+FONT_PACKAGES = "${PN}"
+
+# Downloading from fedora because upstream doesn't version its zip file
+# and causes hash build failures
+SRC_URI = 
"http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip;
+
+SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
+SRC_URI[sha256sum] = 
"0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
+
+do_install () {
+   install -d ${D}${datadir}/fonts/X11/TTF/
+   cd ..
+   for i in *.ttf; do
+   install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
+   done
+}
+
+FILES_${PN} += "${datadir}"
+
+pkg_postinst_${PN} () {
+set -x
+for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
+mkfontdir $fontdir
+mkfontscale $fontdir
+done
+for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
+mkfontdir $fontdir
+mkfontscale $fontdir
+done
+}
+
-- 
2.7.3

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


[oe] [PATCH][meta-efl] packagegroup-x11-illume: lower ETHEME dependency to RRECOMMENDS because default e-wm-theme-default could be empty

2016-03-19 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb 
b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb
index 63ef0f6..9997828 100644
--- a/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb
+++ b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb
@@ -11,11 +11,14 @@ inherit packagegroup allarch
 ETHEME ?= "e-wm-theme-default"
 ECONFIG ?= "e-wm-config-mobile"
 
+RRECOMMENDS_${PN} = "\
+${ETHEME} \
+"
+
 RDEPENDS_${PN} = "\
 packagegroup-core-x11-xserver \
 packagegroup-core-x11-utils \
 \
 e-wm \
 ${ECONFIG} \
-${ETHEME} \
 "
-- 
2.7.3

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