Re: [oe] [meta-qt5][PATCH] qtbase: add PACKAGECONFIG for journald logging
On Thu, Jun 9, 2016 at 4:43 AM, Christoph Settgast wrote: > Note from qtbase configure script: > > If your users intend on developing applications if logging to journal > is enabled, ensure that the IDEs they use either set > QT_LOGGING_TO_CONSOLE to 1 or the IDE is able to read the logged > output from journald. > > Signed-off-by: Christoph Settgast > --- > recipes-qt/qt5/qtbase_git.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb > index 72ef3ae..a2a865d 100644 > --- a/recipes-qt/qt5/qtbase_git.bb > +++ b/recipes-qt/qt5/qtbase_git.bb > @@ -127,6 +127,7 @@ PACKAGECONFIG[nis] = "-nis,-no-nis" > PACKAGECONFIG[widgets] = "-widgets,-no-widgets" > PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" > PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" > +PACKAGECONFIG[journald] = "-journald,-no-journald,systemd" this should also check for systemd being in DISTRO_FEATURES > > QT_CONFIG_FLAGS += " \ > -shared \ > -- > 1.9.1 > > -- > ___ > 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
Re: [oe] [PATCH] libeigen: update to 3.2.8
On Mon, Jun 13, 2016 at 4:33 AM, Lukas Bulwahn wrote: > Due to the update, the pkg_config_libdir configuration has become > obsolete, and instead the pkgconfig directory must be added to the > dev-package. Generally its good to use -M when creating patch to git works hard on detecting renames. Reviewing is easier that way. > > Signed-off-by: Lukas Bulwahn > --- > meta-oe/recipes-support/libeigen/libeigen_3.2.6.bb | 23 > -- > meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb | 21 > 2 files changed, 21 insertions(+), 23 deletions(-) > delete mode 100644 meta-oe/recipes-support/libeigen/libeigen_3.2.6.bb > create mode 100644 meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb > > diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.2.6.bb > b/meta-oe/recipes-support/libeigen/libeigen_3.2.6.bb > deleted file mode 100644 > index 89a25a9..000 > --- a/meta-oe/recipes-support/libeigen/libeigen_3.2.6.bb > +++ /dev/null > @@ -1,23 +0,0 @@ > -DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, > vectors, numerical solvers, and related algorithms." > -AUTHOR = "Benoît Jacob and Gaël Guennebaud and others" > -HOMEPAGE = "http://eigen.tuxfamily.org/"; > -LICENSE = "MPL-2.0" > -LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad" > - > -SRC_URI = "http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 \ > - file://0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch" > -SRC_URI[md5sum] = "87274966745d2d3e7964fcc654d0a24b" > -SRC_URI[sha256sum] = > "8a3352f9a5361fe90e451a7305fb1896fc7f771dc16cc0edd8e6b157f52c343e" > - > -S = "${WORKDIR}/eigen-eigen-c58038c56923" > - > -inherit cmake > - > -EXTRA_OECMAKE += "-Dpkg_config_libdir=${libdir}" > - > -FILES_${PN} = "${includedir} ${libdir}" > -FILES_${PN}-dev = "${datadir}/cmake/Modules" > - > -# ${PN} is empty so we need to tweak -dev and -dbg package dependencies > -RDEPENDS_${PN}-dev = "" > -RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" > diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb > b/meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb > new file mode 100644 > index 000..9e14ee1 > --- /dev/null > +++ b/meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb > @@ -0,0 +1,21 @@ > +DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, > vectors, numerical solvers, and related algorithms." > +AUTHOR = "Benoît Jacob and Gaël Guennebaud and others" > +HOMEPAGE = "http://eigen.tuxfamily.org/"; > +LICENSE = "MPL-2.0" > +LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad" > + > +SRC_URI = "http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 \ > + file://0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch" > +SRC_URI[md5sum] = "9e3bfaaab3db18253cfd87ea697b3ab1" > +SRC_URI[sha256sum] = > "722a63d672b70f39c271c5e2a4a43ba14d12015674331790414fcb167c357e55" > + > +S = "${WORKDIR}/eigen-eigen-07105f7124f9" > + > +inherit cmake > + > +FILES_${PN} = "${includedir} ${libdir}" > +FILES_${PN}-dev = "${datadir}/cmake/Modules ${datadir}/pkgconfig" > + > +# ${PN} is empty so we need to tweak -dev and -dbg package dependencies > +RDEPENDS_${PN}-dev = "" > +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" > -- > 2.5.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
Re: [oe] [meta-networking][PATCHv3] chrony: Versatile implementation of NTP
> Op 15 jun. 2016, om 20:17 heeft Henry Hallam het > volgende geschreven: > > From: Henry Hallam > > chrony is an alternative to ntpd. In particular it may be useful > for quasi-realtime embedded systems that have a pulse-per-second > time reference available and need to rapidly synchronize to it after > boot, which appears to be unachievable with ntpd. > > Signed-off-by: Henry Hallam Reviewed-by: Koen Kooi > --- > .../recipes-support/chrony/chrony/chrony.conf | 44 +++ > .../recipes-support/chrony/chrony/chronyd | 58 ++ > .../recipes-support/chrony/chrony_2.4.bb | 127 + > 3 files changed, 229 insertions(+) > create mode 100644 meta-networking/recipes-support/chrony/chrony/chrony.conf > create mode 100644 meta-networking/recipes-support/chrony/chrony/chronyd > create mode 100644 meta-networking/recipes-support/chrony/chrony_2.4.bb > > diff --git a/meta-networking/recipes-support/chrony/chrony/chrony.conf > b/meta-networking/recipes-support/chrony/chrony/chrony.conf > new file mode 100644 > index 000..8d226d3 > --- /dev/null > +++ b/meta-networking/recipes-support/chrony/chrony/chrony.conf > @@ -0,0 +1,44 @@ > +# Use public NTP servers from the pool.ntp.org project. > +# Please consider joining the pool project if possible by running your own > +# server(s). > +# If you are a vendor distributing a product using chrony, you *MUST* > +# read and comply with http://www.pool.ntp.org/vendors.html > +pool 0.openembedded.pool.ntp.org iburst > + > +# Use a local timeserver in preference to the pool, if it's reachable. > +#server 192.168.22.22 iburst minpoll 2 prefer > + > +# Sync to pulse-per-second from an onboard GPS. > +#refclock PPS /dev/pps0 poll 0 prefer > +# You'll want to enable CONFIG_PPS and CONFIG_PPS_CLIENT_GPIO in your kernel, > +# and an entry something like this in your device tree: > +#pps { > +#compatible = "pps-gpio"; > +#gpios = <&ps7_gpio_0 56 0>; > +#}; > + > +# In first three updates step the system clock instead of slew > +# if the adjustment is larger than 1 second. > +makestep 1.0 3 > + > +# Record the rate at which the system clock gains/loses time, > +# improving accuracy after reboot > +driftfile /var/lib/chrony/drift > + > +# Enable kernel synchronization of the hardware real-time clock (RTC). > +rtcsync > + > +# Allow NTP client access from local network. > +#allow 192.168/16 > + > +# Serve time even if not synchronized to any NTP server. > +#local stratum 10 > + > +# Specify file containing keys for NTP authentication. > +#keyfile /etc/chrony.keys > + > +# Specify directory for log files. > +logdir /var/log/chrony > + > +# Select which information is logged. > +#log measurements statistics tracking > diff --git a/meta-networking/recipes-support/chrony/chrony/chronyd > b/meta-networking/recipes-support/chrony/chrony/chronyd > new file mode 100644 > index 000..04f1b68 > --- /dev/null > +++ b/meta-networking/recipes-support/chrony/chrony/chronyd > @@ -0,0 +1,58 @@ > +#! /bin/sh > + > +# System V init script for chrony > +# Adapted from the script already in meta-networking for ntpd > + > +### BEGIN INIT INFO > +# Provides:chrony > +# Required-Start: $network $remote_fs $syslog > +# Required-Stop: $network $remote_fs $syslog > +# Default-Start: 2 3 4 5 > +# Default-Stop: > +# Short-Description: Start chrony time daemon > +### END INIT INFO > + > +PATH=/sbin:/bin:/usr/bin:/usr/sbin > + > +DAEMON=/usr/sbin/chronyd > +PIDFILE=/var/run/chronyd.pid > + > +test -x $DAEMON -a -r /etc/chrony.conf || exit 0 > + > +# Source function library. > +. /etc/init.d/functions > + > +# Functions to do individual actions > +startdaemon(){ > + echo -n "Starting chronyd: " > + start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas > $DAEMON -- "$@" > + echo "done" > +} > +stopdaemon(){ > + echo -n "Stopping chronyd: " > + start-stop-daemon --stop --quiet --oknodo -p $PIDFILE > + echo "done" > +} > + > +case "$1" in > + start) > + startdaemon > + ;; > + stop) > + stopdaemon > + ;; > + force-reload | restart | reload) > + stopdaemon > + startdaemon > + ;; > + status) > + status /usr/sbin/chronyd; > + exit $? > + ;; > + *) > + echo "Usage: chronyd { start | stop | status | restart | reload }" >&2 > + exit 1 > + ;; > +esac > + > +exit 0 > diff --git a/meta-networking/recipes-support/chrony/chrony_2.4.bb > b/meta-networking/recipes-support/chrony/chrony_2.4.bb > new file mode 100644 > index 000..aa37caa > --- /dev/null > +++ b/meta-networking/recipes-support/chrony/chrony_2.4.bb > @@ -0,0 +1,127 @@ > +SUMMARY = "Versatile implementation of the Network Time Protocol" > +DESCRIPTION = "Chrony can synchronize the system clock with NTP \ > +servers, reference clocks (e.g. GPS receiver), and manual input using \ > +wristwatch and keyboard. It can also operate as an NTPv4 (RFC 5905) \ > +server a
[oe] [meta-networking][PATCHv3] chrony: Versatile implementation of NTP
From: Henry Hallam chrony is an alternative to ntpd. In particular it may be useful for quasi-realtime embedded systems that have a pulse-per-second time reference available and need to rapidly synchronize to it after boot, which appears to be unachievable with ntpd. Signed-off-by: Henry Hallam --- .../recipes-support/chrony/chrony/chrony.conf | 44 +++ .../recipes-support/chrony/chrony/chronyd | 58 ++ .../recipes-support/chrony/chrony_2.4.bb | 127 + 3 files changed, 229 insertions(+) create mode 100644 meta-networking/recipes-support/chrony/chrony/chrony.conf create mode 100644 meta-networking/recipes-support/chrony/chrony/chronyd create mode 100644 meta-networking/recipes-support/chrony/chrony_2.4.bb diff --git a/meta-networking/recipes-support/chrony/chrony/chrony.conf b/meta-networking/recipes-support/chrony/chrony/chrony.conf new file mode 100644 index 000..8d226d3 --- /dev/null +++ b/meta-networking/recipes-support/chrony/chrony/chrony.conf @@ -0,0 +1,44 @@ +# Use public NTP servers from the pool.ntp.org project. +# Please consider joining the pool project if possible by running your own +# server(s). +# If you are a vendor distributing a product using chrony, you *MUST* +# read and comply with http://www.pool.ntp.org/vendors.html +pool 0.openembedded.pool.ntp.org iburst + +# Use a local timeserver in preference to the pool, if it's reachable. +#server 192.168.22.22 iburst minpoll 2 prefer + +# Sync to pulse-per-second from an onboard GPS. +#refclock PPS /dev/pps0 poll 0 prefer +# You'll want to enable CONFIG_PPS and CONFIG_PPS_CLIENT_GPIO in your kernel, +# and an entry something like this in your device tree: +# pps { +# compatible = "pps-gpio"; +# gpios = <&ps7_gpio_0 56 0>; +# }; + +# In first three updates step the system clock instead of slew +# if the adjustment is larger than 1 second. +makestep 1.0 3 + +# Record the rate at which the system clock gains/loses time, +# improving accuracy after reboot +driftfile /var/lib/chrony/drift + +# Enable kernel synchronization of the hardware real-time clock (RTC). +rtcsync + +# Allow NTP client access from local network. +#allow 192.168/16 + +# Serve time even if not synchronized to any NTP server. +#local stratum 10 + +# Specify file containing keys for NTP authentication. +#keyfile /etc/chrony.keys + +# Specify directory for log files. +logdir /var/log/chrony + +# Select which information is logged. +#log measurements statistics tracking diff --git a/meta-networking/recipes-support/chrony/chrony/chronyd b/meta-networking/recipes-support/chrony/chrony/chronyd new file mode 100644 index 000..04f1b68 --- /dev/null +++ b/meta-networking/recipes-support/chrony/chrony/chronyd @@ -0,0 +1,58 @@ +#! /bin/sh + +# System V init script for chrony +# Adapted from the script already in meta-networking for ntpd + +### BEGIN INIT INFO +# Provides:chrony +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: +# Short-Description: Start chrony time daemon +### END INIT INFO + +PATH=/sbin:/bin:/usr/bin:/usr/sbin + +DAEMON=/usr/sbin/chronyd +PIDFILE=/var/run/chronyd.pid + +test -x $DAEMON -a -r /etc/chrony.conf || exit 0 + +# Source function library. +. /etc/init.d/functions + +# Functions to do individual actions +startdaemon(){ + echo -n "Starting chronyd: " + start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- "$@" + echo "done" +} +stopdaemon(){ + echo -n "Stopping chronyd: " + start-stop-daemon --stop --quiet --oknodo -p $PIDFILE + echo "done" +} + +case "$1" in + start) + startdaemon + ;; + stop) + stopdaemon + ;; + force-reload | restart | reload) + stopdaemon + startdaemon + ;; + status) + status /usr/sbin/chronyd; + exit $? + ;; + *) + echo "Usage: chronyd { start | stop | status | restart | reload }" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/meta-networking/recipes-support/chrony/chrony_2.4.bb b/meta-networking/recipes-support/chrony/chrony_2.4.bb new file mode 100644 index 000..aa37caa --- /dev/null +++ b/meta-networking/recipes-support/chrony/chrony_2.4.bb @@ -0,0 +1,127 @@ +SUMMARY = "Versatile implementation of the Network Time Protocol" +DESCRIPTION = "Chrony can synchronize the system clock with NTP \ +servers, reference clocks (e.g. GPS receiver), and manual input using \ +wristwatch and keyboard. It can also operate as an NTPv4 (RFC 5905) \ +server and peer to provide a time service to other computers in the \ +network. \ +\ +It is designed to perform well in a wide range of conditions, \ +including intermittent network connections, heavily congested \ +networks, changing temperatures (ordinary computer clocks are \ +sensitive to temperature), and systems that do not run continuously, or
[oe] [meta-networking][PATCHv3] chrony: Versatile implementation of NTP
Patch version 3: - Move variable defs to appropriate places in the recipe, per Koen's feedback - Correct location of drift file - Add conflict with ntimed, and note about systemd-timesyncd Thanks, Henry -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] iperf: resolve issues with gcc6
Signed-off-by: Derek Straka --- .../iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch| 16 meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb | 4 +--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch diff --git a/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch b/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch new file mode 100644 index 000..348e316 --- /dev/null +++ b/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch @@ -0,0 +1,16 @@ +--- iperf-2.0.5/m4/dast.m4.orig2016-06-15 11:42:03.945581785 -0400 iperf-2.0.5/m4/dast.m4 2016-06-15 11:42:11.053581641 -0400 +@@ -11,7 +11,12 @@ + + AC_DEFUN(DAST_CHECK_BOOL, [ + +-AC_CHECK_SIZEOF(bool) ++if test "$ac_cv_header_stdbool_h" = yes; then ++ AC_CHECK_SIZEOF(bool,,[#include ]) ++else ++AC_CHECK_SIZEOF(bool) ++fi ++ + if test "$ac_cv_sizeof_bool" = 0 ; then + AC_DEFINE(bool, int) + fi diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb index b9709f1..a9e0d87 100644 --- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb +++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298" SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \ file://iperf-2.0.5_ManPage.patch \ file://0001-fix-out-of-tree-config.patch \ +file://0002-fix-bool-size-m4.patch \ " SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" @@ -17,6 +18,3 @@ S = "${WORKDIR}/${BP}" inherit autotools pkgconfig EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" - -# http://errors.yoctoproject.org/Errors/Details/68671/ -PNBLACKLIST[iperf] ?= "BROKEN: fails to build with gcc-6" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [OE-core] State of bitbake world 2016-06-13
Derek already sent similar patches. Thanks On Wed, Jun 15, 2016 at 4:53 PM, Patrick Ohly wrote: > On Wed, 2016-06-15 at 12:45 +0200, Martin Jansa wrote: > > libgphoto2, v4l-utils fail because recent upgrade of libjpeg-turbo in > oe-core (PNBLACKLIST sent) > > I have patches ready for that, will send them now. > > -- > Best Regards, Patrick Ohly > > The content of this message is my personal opinion only and although > I am an employee of Intel, the statements I make here in no way > represent Intel's position on the issue, nor am I authorized to speak > on behalf of Intel on this matter. > > > > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/2] v4l-utils: fix compatibility with libjpeg-turbo
The libjpeg-turbo update to 1.5.0 broke components which embedd their own, conflicting definitions of the jpeg_mem functions. Signed-off-by: Patrick Ohly --- .../jpeg_memsrcdest-extend-feature-check.patch | 62 ++ .../recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb | 1 + 2 files changed, 63 insertions(+) create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/jpeg_memsrcdest-extend-feature-check.patch diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/jpeg_memsrcdest-extend-feature-check.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/jpeg_memsrcdest-extend-feature-check.patch new file mode 100644 index 000..17f8ba9 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/jpeg_memsrcdest-extend-feature-check.patch @@ -0,0 +1,62 @@ +From c40f7873d89fd88b0485fd94f45c139be41e1899 Mon Sep 17 00:00:00 2001 +From: Patrick Ohly +Date: Wed, 15 Jun 2016 10:33:24 +0200 +Subject: [PATCH] jpeg_memsrcdest: extend feature check + +libjpeg.h in OpenEmbedded master (from libjpeg-turbo 1.5.0) provides +these methods if "JPEG_LIB_VERSION >= 80 || +defined(MEM_SRCDST_SUPPORTED)". + +The support for the jpeg_mem functions was added even when not +emulating the libjpeg8 API, controlled via the MEM_SRCDST_SUPPORTED +define, so checking for the version alone is not enough anymore. + +See https://github.com/libjpeg-turbo/libjpeg-turbo/commit/ab70623eb29e09e67222be5b9e1ea320fe5aa0e9 + +This fixes errors about conflicting declarations (signed vs. unsigned +char). + +Upstream-Status: Submitted [http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/102965] + +Signed-off-by: Patrick Ohly +--- + lib/libv4lconvert/jpeg_memsrcdest.c | 4 ++-- + lib/libv4lconvert/jpeg_memsrcdest.h | 4 + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/lib/libv4lconvert/jpeg_memsrcdest.c b/lib/libv4lconvert/jpeg_memsrcdest.c +index b70af8e..8ada421 100644 +--- a/lib/libv4lconvert/jpeg_memsrcdest.c b/lib/libv4lconvert/jpeg_memsrcdest.c +@@ -26,8 +26,8 @@ + #include "jpeg_memsrcdest.h" + + /* libjpeg8 and later come with their own (API compatible) memory source +- and dest */ +-#if JPEG_LIB_VERSION < 80 ++ and dest, and older versions may have it backported */ ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + +diff --git a/lib/libv4lconvert/jpeg_memsrcdest.h b/lib/libv4lconvert/jpeg_memsrcdest.h +index e971182..b13bf3f 100644 +--- a/lib/libv4lconvert/jpeg_memsrcdest.h b/lib/libv4lconvert/jpeg_memsrcdest.h +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +-- +2.1.4 + diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb index 75a42a2..46cd942 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb @@ -16,6 +16,7 @@ SRC_URI = "http://linuxtv.org/downloads/v4l-utils/v4l-utils-${PV}.tar.bz2 \ file://0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch \ file://mediactl-pkgconfig.patch \ file://export-mediactl-headers.patch \ + file://jpeg_memsrcdest-extend-feature-check.patch \ " SRC_URI[md5sum] = "9cb3c178f937954e65bf30920af433ef" SRC_URI[sha256sum] = "d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d" -- 2.1.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] libgphoto2: fix compatibility with libjpeg-turbo
The libjpeg-turbo update to 1.5.0 broke components which embedd their own, conflicting definitions of the jpeg_mem functions. Signed-off-by: Patrick Ohly --- .../jpeg_memsrcdest-extend-feature-check.patch | 97 ++ .../recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 1 + 2 files changed, 98 insertions(+) create mode 100644 meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/jpeg_memsrcdest-extend-feature-check.patch diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/jpeg_memsrcdest-extend-feature-check.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/jpeg_memsrcdest-extend-feature-check.patch new file mode 100644 index 000..810d025 --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/jpeg_memsrcdest-extend-feature-check.patch @@ -0,0 +1,97 @@ +From d4f7fdc9de00562d796287a365408b4c24de5db2 Mon Sep 17 00:00:00 2001 +From: Patrick Ohly +Date: Wed, 15 Jun 2016 10:33:24 +0200 +Subject: [PATCH] jpeg_memsrcdest: extend feature check + +libjpeg.h in OpenEmbedded master (from libjpeg-turbo 1.5.0) provides +these methods if "JPEG_LIB_VERSION >= 80 || +defined(MEM_SRCDST_SUPPORTED)". + +The support for the jpeg_mem functions was added even when not +emulating the libjpeg8 API, controlled via the MEM_SRCDST_SUPPORTED +define, so checking for the version alone is not enough anymore. + +See https://github.com/libjpeg-turbo/libjpeg-turbo/commit/ab70623eb29e09e67222be5b9e1ea320fe5aa0e9 + +This fixes errors about conflicting declarations (signed vs. unsigned +char). + +Upstream-Status: Submitted [https://github.com/gphoto/libgphoto2/pull/64] + +Signed-off-by: Patrick Ohly +--- + camlibs/ax203/jpeg_memsrcdest.c | 4 ++-- + camlibs/ax203/jpeg_memsrcdest.h | 4 + camlibs/jl2005c/jpeg_memsrcdest.c | 4 ++-- + camlibs/jl2005c/jpeg_memsrcdest.h | 4 + 4 files changed, 12 insertions(+), 4 deletions(-) + +diff --git a/camlibs/ax203/jpeg_memsrcdest.c b/camlibs/ax203/jpeg_memsrcdest.c +index 0ed83b1..5614573 100644 +--- a/camlibs/ax203/jpeg_memsrcdest.c b/camlibs/ax203/jpeg_memsrcdest.c +@@ -25,8 +25,8 @@ + #include "jpeg_memsrcdest.h" + + /* libjpeg8 and later come with their own (API compatible) memory source +- and dest */ +-#if JPEG_LIB_VERSION < 80 ++ and dest, and older versions may have it backported */ ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + +diff --git a/camlibs/ax203/jpeg_memsrcdest.h b/camlibs/ax203/jpeg_memsrcdest.h +index e971182..b13bf3f 100644 +--- a/camlibs/ax203/jpeg_memsrcdest.h b/camlibs/ax203/jpeg_memsrcdest.h +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +diff --git a/camlibs/jl2005c/jpeg_memsrcdest.c b/camlibs/jl2005c/jpeg_memsrcdest.c +index 321f926..b65310e 100644 +--- a/camlibs/jl2005c/jpeg_memsrcdest.c b/camlibs/jl2005c/jpeg_memsrcdest.c +@@ -25,8 +25,8 @@ + #include "jpeg_memsrcdest.h" + + /* libjpeg8 and later come with their own (API compatible) memory source +- and dest */ +-#if JPEG_LIB_VERSION < 80 ++ and dest, and older versions may have it backported */ ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + +diff --git a/camlibs/jl2005c/jpeg_memsrcdest.h b/camlibs/jl2005c/jpeg_memsrcdest.h +index e971182..b13bf3f 100644 +--- a/camlibs/jl2005c/jpeg_memsrcdest.h b/camlibs/jl2005c/jpeg_memsrcdest.h +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +-- +2.1.4 + diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb index 3de6942..25c82cb 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb @@ -14,6 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 file://10-camera-libgphoto2.fdi \ file://40-libgphoto2.rules \ file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ + file://jpeg_memsrcdest-extend-feature-check.patch \ " SRC_URI[libgphoto2.md5sum] = "873ab01aced49c6b92a98e515db5dcef" -- 2.1.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists
[oe] [meta-browser][PATCH] chromium: Fix build issue with i686
Previously a build of i686 would fail looking for include.gypi. With this new directory it can be found by both i686 and i586 targetted builds. Signed-off-by: Michael Davis --- recipes-browser/chromium/chromium/i586/include.gypi | 5 - recipes-browser/chromium/chromium/i586/oe-defaults.gypi | 15 --- recipes-browser/chromium/chromium/x86/include.gypi | 5 + recipes-browser/chromium/chromium/x86/oe-defaults.gypi | 15 +++ 4 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 recipes-browser/chromium/chromium/i586/include.gypi delete mode 100644 recipes-browser/chromium/chromium/i586/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium/x86/include.gypi create mode 100644 recipes-browser/chromium/chromium/x86/oe-defaults.gypi diff --git a/recipes-browser/chromium/chromium/i586/include.gypi b/recipes-browser/chromium/chromium/i586/include.gypi deleted file mode 100644 index 69f3a08..000 --- a/recipes-browser/chromium/chromium/i586/include.gypi +++ /dev/null @@ -1,5 +0,0 @@ -{ - 'variables': { -'target_arch': 'ia32', - } -} diff --git a/recipes-browser/chromium/chromium/i586/oe-defaults.gypi b/recipes-browser/chromium/chromium/i586/oe-defaults.gypi deleted file mode 100644 index 0a6e8e8..000 --- a/recipes-browser/chromium/chromium/i586/oe-defaults.gypi +++ /dev/null @@ -1,15 +0,0 @@ -{ - 'variables': { -'use_system_bzip2': 1, -'disable_nacl': 1, -'proprietary_codecs': 0, -'v8_use_snapshot': 1, -'use_system_ffmpeg': 0, -'linux_use_tcmalloc': 1, -'linux_link_kerberos': 0, -'use_kerberos': 0, -'use_cups': 0, -'use_gnome_keyring': 0, -'linux_link_gnome_keyring': 0, - }, -} diff --git a/recipes-browser/chromium/chromium/x86/include.gypi b/recipes-browser/chromium/chromium/x86/include.gypi new file mode 100644 index 000..69f3a08 --- /dev/null +++ b/recipes-browser/chromium/chromium/x86/include.gypi @@ -0,0 +1,5 @@ +{ + 'variables': { +'target_arch': 'ia32', + } +} diff --git a/recipes-browser/chromium/chromium/x86/oe-defaults.gypi b/recipes-browser/chromium/chromium/x86/oe-defaults.gypi new file mode 100644 index 000..0a6e8e8 --- /dev/null +++ b/recipes-browser/chromium/chromium/x86/oe-defaults.gypi @@ -0,0 +1,15 @@ +{ + 'variables': { +'use_system_bzip2': 1, +'disable_nacl': 1, +'proprietary_codecs': 0, +'v8_use_snapshot': 1, +'use_system_ffmpeg': 0, +'linux_use_tcmalloc': 1, +'linux_link_kerberos': 0, +'use_kerberos': 0, +'use_cups': 0, +'use_gnome_keyring': 0, +'linux_link_gnome_keyring': 0, + }, +} -- 2.5.5 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] poco: update to 1.7.3
Signed-off-by: Pascal Bach --- meta-oe/recipes-support/poco/{poco_1.7.1.bb => poco_1.7.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/poco/{poco_1.7.1.bb => poco_1.7.3.bb} (96%) diff --git a/meta-oe/recipes-support/poco/poco_1.7.1.bb b/meta-oe/recipes-support/poco/poco_1.7.3.bb similarity index 96% rename from meta-oe/recipes-support/poco/poco_1.7.1.bb rename to meta-oe/recipes-support/poco/poco_1.7.3.bb index 135d2aa..75e0997 100644 --- a/meta-oe/recipes-support/poco/poco_1.7.1.bb +++ b/meta-oe/recipes-support/poco/poco_1.7.3.bb @@ -17,8 +17,8 @@ SRC_URI = " \ file://run-ptest \ " -SRC_URI[md5sum] = "a4b755d47303b20a0e2586f281d05a36" -SRC_URI[sha256sum] = "6dbbc2018912ad9af6af96f605933ed91354a1e7423e5dbd04d8e9a2b2d15c05" +SRC_URI[md5sum] = "6b979d7d9c1751c2e063338cb5ea8977" +SRC_URI[sha256sum] = "af75f279c9eac35b39fc998d8d20dc45d5bef91eb75851ff99d948ca128c7740" 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
[oe] [meta-oe][PATCH] v4l-utils: correct compatibility issues with libjpeg-turbo-1.5.0
Signed-off-by: Derek Straka --- .../0002-correct-jpeg-memsrcdest-support.patch | 27 ++ .../recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb | 5 +--- 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-correct-jpeg-memsrcdest-support.patch diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-correct-jpeg-memsrcdest-support.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-correct-jpeg-memsrcdest-support.patch new file mode 100644 index 000..d3aa1bd --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-correct-jpeg-memsrcdest-support.patch @@ -0,0 +1,27 @@ +--- v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.h.orig 2016-06-15 09:22:29.765751407 -0400 v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.h2016-06-15 09:22:47.153751055 -0400 +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +--- v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.c.orig 2016-06-15 09:23:03.825750717 -0400 v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.c2016-06-15 09:23:12.817750535 -0400 +@@ -27,7 +27,7 @@ + + /* libjpeg8 and later come with their own (API compatible) memory source +and dest */ +-#if JPEG_LIB_VERSION < 80 ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb index 1141bff..81babdb 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb @@ -16,6 +16,7 @@ SRC_URI = "http://linuxtv.org/downloads/v4l-utils/v4l-utils-${PV}.tar.bz2 \ file://0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch \ file://mediactl-pkgconfig.patch \ file://export-mediactl-headers.patch \ + file://0002-correct-jpeg-memsrcdest-support.patch \ " SRC_URI[md5sum] = "9cb3c178f937954e65bf30920af433ef" SRC_URI[sha256sum] = "d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d" @@ -43,7 +44,3 @@ FILES_libv4l-dbg += "${libdir}/libv4l/.debug ${libdir}/libv4l/plugins/.debug" FILES_libv4l-dev += "${includedir} ${libdir}/pkgconfig \ ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \ ${libdir}/v4l*${SOLIBSDEV} ${libdir}/libv4l/*.la ${libdir}/libv4l/plugins/*.la" - -# | ../../../v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src' -# | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, -PNBLACKLIST[v4l-utils] ?= "Not compatible with libjpeg-turbo-1.5.0" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] rootfs-postcommands: generate /var/lib/systemd/clock
On Wed, Jun 15, 2016 at 12:02:18PM +0200, Martin Jansa wrote: > On Wed, Jun 15, 2016 at 11:23:32AM +0200, Jan Remmet wrote: > > systemd timesyncd check /var/lib/systemd/clock instead of > > /etc/timestamp. > > If this file is missing it defaults to TIME_EPOCH. It's set while > > configuring systemd. > > Wrong ML, re-send to openembedded-core Thanks, Jan > > > > Signed-off-by: Jan Remmet > > --- > > meta/classes/rootfs-postcommands.bbclass | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/meta/classes/rootfs-postcommands.bbclass > > b/meta/classes/rootfs-postcommands.bbclass > > index db8b551..0c7b764 100644 > > --- a/meta/classes/rootfs-postcommands.bbclass > > +++ b/meta/classes/rootfs-postcommands.bbclass > > @@ -234,6 +234,12 @@ python write_image_manifest () { > > # sane default time setting > > rootfs_update_timestamp () { > > date -u +%4Y%2m%2d%2H%2M%2S >${IMAGE_ROOTFS}/etc/timestamp > > + > > + if ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "true", "false", > > d)}; then > > + # touch needs timestamp as [[CC]YY]MMDDhhmm[.ss] > > + TS=$(sed 's/[.]*/&./13' ${IMAGE_ROOTFS}/etc/timestamp) > > + touch -t $TS ${IMAGE_ROOTFS}/var/lib/systemd/clock > > + fi > > } > > > > # Prevent X from being started > > -- > > 1.9.1 > > > > -- > > ___ > > 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 > -- > ___ > 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
[oe] [meta-oe][PATCH 2/2] gvfs: remove dependency on broken libgphoto2
Signed-off-by: Martin Jansa --- meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb index aa62070..6f2bd42 100644 --- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb +++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb @@ -44,7 +44,10 @@ PACKAGES += "${PN}-bash-completion" FILES_${PN}-bash-completion = "${datadir}/bash-completion" RDEPENDS_${PN}-bash-completion = "bash-completion" -PACKAGECONFIG ?= "libgphoto2" +# libgphoto2 is currently broken +# PACKAGECONFIG ?= "libgphoto2" +PACKAGECONFIG ?= "" + PACKAGECONFIG[afc] = "--enable-afc, --disable-afc, libimobiledevice libplist" PACKAGECONFIG[archive] = "--enable-archive, --disable-archive, libarchive" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] gphoto2, mpv: blacklist because dependency on broken libgphoto2 and libv4l
Signed-off-by: Martin Jansa --- meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.8.bb | 1 + meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.8.bb b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.8.bb index 62d283b..ae5a2f4 100644 --- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.8.bb +++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.8.bb @@ -20,3 +20,4 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ --without-cdk \ " +PNBLACKLIST[gphoto2] ?= "Depends on broken libgphoto2" diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb index 768c87a..b196f60 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb @@ -57,3 +57,5 @@ do_configure_prepend () { } FILES_${PN} += "${datadir}/icons" + +PNBLACKLIST[mpv] ?= "Depends on broken libv4l" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] libgphoto2: correct compatibility issues with libjpeg-turbo-1.5.0
Signed-off-by: Derek Straka --- .../0002-correct-jpeg-memsrcdest-support.patch | 54 ++ .../recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 5 +- 2 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/0002-correct-jpeg-memsrcdest-support.patch diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/0002-correct-jpeg-memsrcdest-support.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/0002-correct-jpeg-memsrcdest-support.patch new file mode 100644 index 000..cf2d86d --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.5.8/0002-correct-jpeg-memsrcdest-support.patch @@ -0,0 +1,54 @@ +--- libgphoto2-2.5.8/camlibs/ax203/jpeg_memsrcdest.h.orig 2016-06-15 09:03:20.625774684 -0400 libgphoto2-2.5.8/camlibs/ax203/jpeg_memsrcdest.h 2016-06-15 09:03:47.049774148 -0400 +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +--- libgphoto2-2.5.8/camlibs/ax203/jpeg_memsrcdest.c.orig 2016-06-15 09:03:58.689773913 -0400 libgphoto2-2.5.8/camlibs/ax203/jpeg_memsrcdest.c 2016-06-15 09:04:17.769773526 -0400 +@@ -26,7 +26,7 @@ + + /* libjpeg8 and later come with their own (API compatible) memory source +and dest */ +-#if JPEG_LIB_VERSION < 80 ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + +--- libgphoto2-2.5.8/camlibs/jl2005c/jpeg_memsrcdest.h.orig2016-06-15 09:05:01.893772632 -0400 libgphoto2-2.5.8/camlibs/jl2005c/jpeg_memsrcdest.h 2016-06-15 09:05:17.433772318 -0400 +@@ -1,5 +1,7 @@ + #include + ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) ++ + void + jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, + unsigned long bufsize); +@@ -7,3 +9,5 @@ + void + jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, + unsigned long * outsize); ++ ++#endif +--- libgphoto2-2.5.8/camlibs/jl2005c/jpeg_memsrcdest.c.orig2016-06-15 09:04:42.641773022 -0400 libgphoto2-2.5.8/camlibs/jl2005c/jpeg_memsrcdest.c 2016-06-15 09:04:48.657772901 -0400 +@@ -26,7 +26,7 @@ + + /* libjpeg8 and later come with their own (API compatible) memory source +and dest */ +-#if JPEG_LIB_VERSION < 80 ++#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + + /* Expanded data source object for memory input */ + diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb index f0e8b13..dde14ad 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb @@ -14,6 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 file://10-camera-libgphoto2.fdi \ file://40-libgphoto2.rules \ file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ + file://0002-correct-jpeg-memsrcdest-support.patch \ " SRC_URI[libgphoto2.md5sum] = "873ab01aced49c6b92a98e515db5dcef" @@ -52,7 +53,3 @@ FILES_libgphotoport = "${libdir}/libgphoto2_port.so.*" FILES_${PN} += "${nonarch_base_libdir}/udev/* ${datadir}/hal" FILES_${PN}-dbg += "${libdir}/*/*/.debug" FILES_${PN}-dev += "${libdir}/*/*/*.la" - -# | ../../libgphoto2-2.5.8/camlibs/ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src' -# | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, -PNBLACKLIST[libgphoto2] ?= "Not compatible with libjpeg-turbo-1.5.0" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] State of bitbake world 2016-06-13
On Mon, Jun 13, 2016 at 10:01:56PM +0200, Martin Jansa wrote: > On Thu, Jun 09, 2016 at 09:03:45AM +0200, Martin Jansa wrote: > > This report includes python3 changes, there are few more failures, but > > it's hard to see what is new, so I've sent couple PNBLACKLISTs for > > recipes reported in previous 2 reports which are still failing with > > glibc-2.24 and gcc-6. Hopefully next report will show only "new" issues > > caused by python3 switch. > > I've blacklisted most of issues caused by gcc-6 and older issues which > were reported multiple times, now the list is a lot shorter for cost of > much more PNBLACKLISTs. > > Thanks to Darek who sent couple fixes already. These will be tested in next > run. > > I've sent additional fix for bundler, blacklist for tasks and luna-next, so > next > report should be even shorter. With massive PNBLACKLISTing we finally got report where I can spot at least new issues. libgphoto2, v4l-utils fail because recent upgrade of libjpeg-turbo in oe-core (PNBLACKLIST sent) libjs-jquery is caused by bitbake's fetch module not fully migrated to python3 (patch sent) I've hopefully fixed my modification report-error.bbclass for automatically sending the reports to work correctly with python3, so next report should contain links to errors.yoctoproject.org again. == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!colspan='6'|Failed depencencies!!|Signatures !!colspan='12'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64 ||qemuarm||max||min ||qemux86||max||min ||all ||already-stripped ||libdir||textrel ||build-deps||file-rdeps ||version-going-backwards ||host-user-contaminated ||installed-vs-shipped ||unknown-configure-option ||symlink-to-sysroot ||invalid-pkgconfig ||pkgname || |- ||2016-06-13||4 ||4 ||4 ||29||9 ||8 ||21||6 ||5 ||0 ||0 ||0 ||0 ||5 ||5 ||0 ||0 ||0 ||0 ||0 ||0 ||0 || |} http://www.openembedded.org/wiki/Bitbake_World_Status == Failed tasks 2016-06-13 == INFO: jenkins-job.sh-1.8.10 Complete log available at http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20160615_000938.log === common (3) === * meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb, do_compile * meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb, do_compile * meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery_1.7.2.bb, do_unpack === common-x86 (1) === * openembedded-core/meta/recipes-graphics/piglit/piglit_git.bb, do_compile === qemuarm (1) === * openembedded-core/meta/recipes-bsp/systemd-boot/systemd-boot.bb, do_compile === qemux86 (0) === === qemux86_64 (0) === === Number of failed tasks (12) === {| class=wikitable |- || qemuarm || 4 || http://logs.nslu2-linux.org/buildlogs/oe/world/log.world.qemuarm.20160613_105420.log/ || |- || qemux86 || 4 || http://logs.nslu2-linux.org/buildlogs/oe/world/log.world.qemux86.20160613_113803.log/ || |- || qemux86_64 || 4 || http://logs.nslu2-linux.org/buildlogs/oe/world/log.world.qemux86-64.20160613_214933.log/ || |} === PNBLACKLISTs (143) === === QA issues (10) === {| class=wikitable !| Count||Issue |- ||0 ||already-stripped |- ||0 ||host-user-contaminated |- ||0 ||installed-vs-shipped |- ||0 ||invalid-pkgconfig |- ||0 ||libdir |- ||0 ||pkgname |- ||0 ||symlink-to-sysroot |- ||0 ||textrel |- ||0 ||unknown-configure-option |- ||0 ||version-going-backwards |- ||5 ||build-deps |- ||5 ||file-rdeps |} === Failed dependencies for qemuarm (29) === Complete log: http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.qemuarm.20160613_205240.log/ Found differences: * WARN: samba: samba rdepends on libpam, but it isn't a build dependency? * WARN: libdrm: libdrm-tests rdepends on cunit, but it isn't a build dependency? * WARN: libdrm: libdrm-tests rdepends on libdrm-amdgpu, but it isn't a build dependency? * WARN: jasper: jasper-bin rdepends on freeglut, but it isn't a build dependency? * WARN: jasper: jasper-bin rdepends on libgl-mesa, but it isn't a build dependency? * WARN: jasper: jasper-bin rdepends on libglu, but it isn't a build dependency? * WARN: enchant: enchant rdepends on hunspell, but it isn't a build dependency? Found errors: * ERROR: 29 issues were found in these recipes: chkconfig-alternatives-native enchant gtkmathview jasper libdrm libgphoto2 libjs-jquery meta-world-pkgdata netmap proxy-libintl samba systemd-boot v4l-utils === Recipes failing with maximal dependencies for qemuarm (9) === * chkconf
Re: [oe] [PATCH] rootfs-postcommands: generate /var/lib/systemd/clock
On Wed, Jun 15, 2016 at 11:23:32AM +0200, Jan Remmet wrote: > systemd timesyncd check /var/lib/systemd/clock instead of > /etc/timestamp. > If this file is missing it defaults to TIME_EPOCH. It's set while > configuring systemd. Wrong ML, re-send to openembedded-core > > Signed-off-by: Jan Remmet > --- > meta/classes/rootfs-postcommands.bbclass | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/meta/classes/rootfs-postcommands.bbclass > b/meta/classes/rootfs-postcommands.bbclass > index db8b551..0c7b764 100644 > --- a/meta/classes/rootfs-postcommands.bbclass > +++ b/meta/classes/rootfs-postcommands.bbclass > @@ -234,6 +234,12 @@ python write_image_manifest () { > # sane default time setting > rootfs_update_timestamp () { > date -u +%4Y%2m%2d%2H%2M%2S >${IMAGE_ROOTFS}/etc/timestamp > + > + if ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "true", "false", > d)}; then > + # touch needs timestamp as [[CC]YY]MMDDhhmm[.ss] > + TS=$(sed 's/[.]*/&./13' ${IMAGE_ROOTFS}/etc/timestamp) > + touch -t $TS ${IMAGE_ROOTFS}/var/lib/systemd/clock > + fi > } > > # Prevent X from being started > -- > 1.9.1 > > -- > ___ > 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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] gpsd fails to compile due to scons-generated malformed command line
Hi there, I'm getting the following error when trying to compile gpsd: | arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/home/ashaepe/yocto/tmn2000/build/arago-tmp-external-linaro-toolchain/sysroots/k2l-evm -o bits.os -c -isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -Wno-error=unused-value -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE --sysroot=/home/ashaepe/yocto/tmn2000/build/arago-tmp-external-linaro-toolchain/sysroots/k2l-evm -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -g -O0 -fPIC " -isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -Wno-error=unused-value -fstack-protector" bits.c | arm-linux-gnueabihf-gcc: error: -isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -Wno-error=unused-value -fstack-protector: No such file or directory | scons: *** [bits.os] Error 1 Obviously the command line part in double quotes (" -isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include -Wno-error=unused-value -fstack-protector") is wrongly placed/repeated by SCons. But I'm lost finding a reason for this behaviour? Any hint would be appreciated greatly... Regards, Peter -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] rootfs-postcommands: generate /var/lib/systemd/clock
systemd timesyncd check /var/lib/systemd/clock instead of /etc/timestamp. If this file is missing it defaults to TIME_EPOCH. It's set while configuring systemd. Signed-off-by: Jan Remmet --- meta/classes/rootfs-postcommands.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index db8b551..0c7b764 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass @@ -234,6 +234,12 @@ python write_image_manifest () { # sane default time setting rootfs_update_timestamp () { date -u +%4Y%2m%2d%2H%2M%2S >${IMAGE_ROOTFS}/etc/timestamp + + if ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "true", "false", d)}; then + # touch needs timestamp as [[CC]YY]MMDDhhmm[.ss] + TS=$(sed 's/[.]*/&./13' ${IMAGE_ROOTFS}/etc/timestamp) + touch -t $TS ${IMAGE_ROOTFS}/var/lib/systemd/clock + fi } # Prevent X from being started -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH v2] chrony: Versatile implementation of NTP
> Op 15 jun. 2016, om 04:12 heeft Henry Hallam het > volgende geschreven: > > From: Henry Hallam [..] > +DEPENDS = "pps-tools" > +# It's probably a bad idea to run chrony and ntpd on the same system. > +RCONFLICTS_${PN} = “ntp" The rule of thumb is to put variables where there are used, so R* go below do_install since they affect packaging. > + > +SRC_URI = "https://download.tuxfamily.org/chrony/chrony-${PV}.tar.gz \ > +file://chrony.conf \ > +file://chronyd" > + > +SRC_URI[md5sum] = "d0598aa8a9be8faccef9386f6fc0d5f2" > +SRC_URI[sha256sum] = > "8d04e7cda2333289c2104b731d39c3c1db94816e43bae35d7ee4e7ae8af6391f" > + > +# Note: Despite being built via './configure; make; make install', > +# chrony does not use GNU Autotools. > +inherit update-rc.d systemd > + > +CONFFILES_${PN} = "${sysconfdir}/chrony.conf" > + > +INITSCRIPT_NAME = "chronyd" > +INITSCRIPT_PARAMS = "defaults" > + > +SYSTEMD_PACKAGES = "${PN}" > +SYSTEMD_SERVICE_${PN} = “chronyd.service" The same CONFFILES/INITSCRIPT*/SYSTEMD_*, below do_install > + > +# Configuration options: > +# - For command line editing support in chronyc, you may specify either > +# 'editline' or 'readline' but not both. editline is smaller, but > +# many systems already have readline for other purposes so you might want > +# to choose that instead. However, beware license incompatibility > +# since chrony is GPLv2 and readline versions after 6.0 are GPLv3+. > +# You can of course choose neither, but if you're that tight on space > +# consider dropping chronyc entirely (you can use it remotely with > +# appropriate chrony.conf options). > +# - Security-related: > +# - 'sechash' is omitted by default because it pulls in nss which is huge. > +# - 'privdrop' allows chronyd to run as non-root; would need changes to > +# chrony.conf and init script. > +# - 'scfilter' enables support for system call filtering, but requires the > +# kernel to have CONFIG_SECCOMP enabled. > +PACKAGECONFIG ??= "editline scfilter" > +PACKAGECONFIG[readline] = "--without-editline,--without-readline,readline" > +PACKAGECONFIG[editline] = ",--without-editline,libedit" > +PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" > +PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" > +PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" > + > +# --disable-static isn't supported by chrony's configure script. > +DISABLE_STATIC = "" > + > +PACKAGES += "chronyc" > +FILES_${PN} = "${sbindir}/chronyd ${sysconfdir} ${localstatedir}" > +FILES_chronyc = "${bindir}/chronyc” Change that to: PACKAGES =+ “chronyc" FILES_chronyc = "${bindir}/chronyc” And move those below do_install The recipe looks good to me beside the points mentioned. regards, Koen > + > +do_configure() { > +./configure --sysconfdir=${sysconfdir} --bindir=${bindir} > --sbindir=${sbindir} \ > +--localstatedir=${localstatedir} --datarootdir=${datadir} \ > +${EXTRA_OECONF} > +} > + > +do_install() { > +# Binaries > +install -d ${D}${bindir} > +install -m 0755 ${S}/chronyc ${D}${bindir} > +install -d ${D}${sbindir} > +install -m 0755 ${S}/chronyd ${D}${sbindir} > + > +# Config file > +install -d ${D}${sysconfdir} > +install -m 644 ${WORKDIR}/chrony.conf ${D}${sysconfdir} > + > +# System V init script > +install -d ${D}${sysconfdir}/init.d > +install -m 755 ${WORKDIR}/chronyd ${D}${sysconfdir}/init.d > + > +# Systemd unit > +install -d ${D}${systemd_unitdir}/system > +install -m 0644 ${S}/examples/chronyd.service > ${D}${systemd_unitdir}/system/ > + > +# Variable data (for drift file) > +install -d ${D}${localstatedir}/lib/chrony > + > +# Log files > +install -d ${D}${localstatedir}/log/chrony > + > +# Fix hard-coded paths in config files and init scripts > +sed -i -e 's!/var/!${localstatedir}/!g' -e 's!/etc/!${sysconfdir}/!g' \ > + -e 's!/usr/sbin/!${sbindir}/!g' -e 's!/usr/bin/!${bindir}/!g' \ > + ${D}${sysconfdir}/chrony.conf \ > + ${D}${sysconfdir}/init.d/chronyd \ > + ${D}${systemd_unitdir}/system/chronyd.service > +sed -i > 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' > ${D}${sysconfdir}/init.d/chronyd > +sed -i > 's!^EnvironmentFile=.*!EnvironmentFile=-${sysconfdir}/default/chronyd!' > ${D}${systemd_unitdir}/system/chronyd.service > +} > -- > 2.8.1 > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel