Re: [oe] [meta-oe][PATCH] Graphviz: Add new PACKAGECONFIG for graphviz

2016-08-12 Thread Gary Thomas

On 2016-08-12 14:51, Ricardo Ribalda Delgado wrote:

Although it does not have an obvious name (gvc), Graphviz is an
optional library configurable via configure.ac.

Signed-off-by: Ricardo Ribalda Delgado 
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb 
b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
index a9f01344a9ff..1b558caf4f16 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
@@ -24,6 +24,7 @@ EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 
--without-perl --disable

 CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)}"
+PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
 PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
 PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
 PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"



Your subject line is misleading as this patch is for imagemagick

--

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] [Jethro] Can't compile gcc-cross when gcc-6 is the host compiler

2016-08-12 Thread Khem Raj
On 16-08-12 15:38:52, Jérémy Rosen wrote:
> 
> 
> On 11/08/2016 21:38, Burton, Ross wrote:
> >On 11 August 2016 at 13:40, Jérémy Rosen  wrote:
> >
> >>This helped, and allowed me to go much further in my build, but the recipe
> >>gcc-cross-arm still failed. To be able to compile my build I had to add the
> >>following to my local.conf
> >>
> >>CC_pn-gcc-cross-arm= "${BUILD_CC}"
> >>CXX_pn-gcc-cross-arm= "${BUILD_CXX}"
> >>CC_pn-gcc-crosssdk-x86_64= "${BUILD_CC}"
> >>CXX_pn-gcc-crosssdk-x86_64= "${BUILD_CXX}"
> >>
> >>
> >>So apparently, gcc still has some reference to $CC and $CXX hardcoded
> >>somewhere (I think it's in do_configure)
> >>
> >>It seems to set $CC in the do_compile correctly, but not in do_configure.
> >>And it never sets $CXX
> >>
> >>I tried to understand what the GCC recipe was doing wrong, but I couldn't
> >>find out on first look and it's a really complicated recipe
> >>
> >Could you try adding a do_configure_prepend to gcc-cross.inc that sets
> >exports those (and extend the do_compile exports) to see if that solves it?
> 
> I did the following
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc
> b/meta/recipes-devtools/gcc/gcc-cross.inc
> index aa10633..9a2e06f 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross.inc
> @@ -36,8 +36,14 @@ EXTRA_OECONF_PATHS = "\
> 
>  ARCH_FLAGS_FOR_TARGET +=
> "-isystem${STAGING_DIR_TARGET}${target_includedir}"
> 
> +do_configure_prepend () {
> +export CC="${BUILD_CC}"
> +export CXX="${BUILD_CXX}"
> +}
> +
>  do_compile () {
>  export CC="${BUILD_CC}"
> +export CXX="${BUILD_CXX}"
>  export AR_FOR_TARGET="${TARGET_SYS}-ar"
>  export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
>  export LD_FOR_TARGET="${TARGET_SYS}-ld"
> 
> 
> (which I think is what you meant) and it did indeed solve the problem.

this looks ok.

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


Re: [oe] [meta-java][PATCH] README: fix branches of openembedded layers we depend on

2016-08-12 Thread Khem Raj
On 16-08-12 16:06:33, Maxin B. John wrote:
> Hi,
> 
> On Fri, Aug 12, 2016 at 10:07:46AM +0200, Richard Leitner wrote:
> > Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files)
> > rxtx requires the remove-libtool class. This class was introduced
> > in the krogoth branch of openembedded-core and not backported.
> > 
> > Therefore update the branch names in the README to "krogoth".
> > 
> > Signed-off-by: Richard Leitner 
> > ---
> >  README | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/README b/README
> > index 259fa75..f766869 100644
> > --- a/README
> > +++ b/README
> > @@ -7,11 +7,11 @@ Yocto Project build systems.
> >  This layer depends on:
> >  
> >  URI: git://git.openembedded.org/openembedded-core
> > -branch: daisy
> > +branch: krogoth
> >  revision: HEAD
> >  
> >  URI: git://git.openembedded.org/meta-openembedded
> > -branch: daisy
> > +branch: krogoth
> >  revision: HEAD
> >  
> >  Contributing
> > -- 
> > 2.1.4
> 
> README was a bit outdated. Thanks for updating it.
> 
> Pushed to master.

This should also reflect the fact that it also works
with master branches of respective layers

> 
> Best Regards,
> Maxin
> -- 
> ___
> 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] [Jethro] Can't compile gcc-cross when gcc-6 is the host compiler

2016-08-12 Thread Burton, Ross
On 12 August 2016 at 14:38, Jérémy Rosen  wrote:

> (which I think is what you meant) and it did indeed solve the problem.
>

Cool. If you can rebase this to master and submit it as a proper patch then
that would be much appreciated.

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


[oe] [meta-webserver][PATCH] nginx: PACKAGECONFIG for httpv2

2016-08-12 Thread Szombathelyi György
Signed-off-by: Gyorgy Szombathelyi 

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/
recipes-httpd/nginx/nginx.inc
index ebf926a..cb57b42 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -31,6 +31,8 @@ NGINX_USER   ?= "www"
 EXTRA_OECONF = ""
 DISABLE_STATIC = ""
 
+PACKAGECONFIG[http2] = "--with-http_v2_module,,"
+
 do_configure () {
if [ "${SITEINFO_BITS}" = "64" ]; then
PTRSIZE=8

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


[oe] [meta-python][PATCH] python-pymisp: Update to version 2.4.49

2016-08-12 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-pymisp.inc   | 6 +++---
 .../python/{python-pymisp_2.4.48.1.bb => python-pymisp_2.4.49.bb}   | 0
 .../python/{python3-pymisp_2.4.48.1.bb => python3-pymisp_2.4.49.bb} | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pymisp_2.4.48.1.bb => 
python-pymisp_2.4.49.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pymisp_2.4.48.1.bb => 
python3-pymisp_2.4.49.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pymisp.inc 
b/meta-python/recipes-devtools/python/python-pymisp.inc
index c49bf47..f80858e 100644
--- a/meta-python/recipes-devtools/python/python-pymisp.inc
+++ b/meta-python/recipes-devtools/python/python-pymisp.inc
@@ -1,10 +1,10 @@
 DESCRIPTION = "Python API for MISP"
 HOMEPAGE = "https://github.com/MISP/PyMISP;
 LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=f64d66a9942f5e2de6c06b0dab2764b3"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=67a9496dcf5cf97af38edc77834fb4b9"
 PR = "r0"
 
-SRC_URI[md5sum] = "581ec9d30e15b537dcb203f0756aa136"
-SRC_URI[sha256sum] = 
"ba909f0d2186f10f59da383d9fccd20ce3d589b6ff243e7ea8a8ebbfce135f68"
+SRC_URI[md5sum] = "7cd8279f658899aabc606567b094896d"
+SRC_URI[sha256sum] = 
"45527078d48efc493f30c27d0dedc4143670b0cf85ecb8f2118c9c6463b1c86c"
 
 RDEPENDS_${PN} += " ${PYTHON_PN}-requests"
diff --git a/meta-python/recipes-devtools/python/python-pymisp_2.4.48.1.bb 
b/meta-python/recipes-devtools/python/python-pymisp_2.4.49.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pymisp_2.4.48.1.bb
rename to meta-python/recipes-devtools/python/python-pymisp_2.4.49.bb
diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.48.1.bb 
b/meta-python/recipes-devtools/python/python3-pymisp_2.4.49.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pymisp_2.4.48.1.bb
rename to meta-python/recipes-devtools/python/python3-pymisp_2.4.49.bb
-- 
1.9.1

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


[oe] [meta-python][PATCH] python-lxml: update to version 3.6.1

2016-08-12 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-lxml.inc   | 4 ++--
 .../python/{python-lxml_3.6.0.bb => python-lxml_3.6.1.bb} | 0
 .../python/{python3-lxml_3.6.0.bb => python3-lxml_3.6.1.bb}   | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-lxml_3.6.0.bb => 
python-lxml_3.6.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-lxml_3.6.0.bb => 
python3-lxml_3.6.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-lxml.inc 
b/meta-python/recipes-devtools/python/python-lxml.inc
index 0473417..b714218 100644
--- a/meta-python/recipes-devtools/python/python-lxml.inc
+++ b/meta-python/recipes-devtools/python/python-lxml.inc
@@ -18,8 +18,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b \
 
 DEPENDS += "libxml2 libxslt"
 
-SRC_URI[md5sum] = "5957cc384bd6e83934be35c057ec03b6"
-SRC_URI[sha256sum] = 
"9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf"
+SRC_URI[md5sum] = "b27472db50fb794795b767bf713287a0"
+SRC_URI[sha256sum] = 
"3eefcfbc548f8df38063b26c9686554268c1eb736e52cd230ff148aa550239d1"
 
 DISTUTILS_BUILD_ARGS += " \
  --with-xslt-config='pkg-config libxslt' \
diff --git a/meta-python/recipes-devtools/python/python-lxml_3.6.0.bb 
b/meta-python/recipes-devtools/python/python-lxml_3.6.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-lxml_3.6.0.bb
rename to meta-python/recipes-devtools/python/python-lxml_3.6.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-lxml_3.6.0.bb 
b/meta-python/recipes-devtools/python/python3-lxml_3.6.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-lxml_3.6.0.bb
rename to meta-python/recipes-devtools/python/python3-lxml_3.6.1.bb
-- 
1.9.1

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


[oe] [meta-python][PATCH] python-cython: update to version 0.24.1

2016-08-12 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-cython.inc| 9 -
 .../python/{python-cython_0.24.bb => python-cython_0.24.1.bb}| 0
 .../python/{python3-cython_0.24.bb => python3-cython_0.24.1.bb}  | 0
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python-cython_0.24.bb => 
python-cython_0.24.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-cython_0.24.bb => 
python3-cython_0.24.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-cython.inc 
b/meta-python/recipes-devtools/python/python-cython.inc
index f5945b5..de8a1a9 100644
--- a/meta-python/recipes-devtools/python/python-cython.inc
+++ b/meta-python/recipes-devtools/python/python-cython.inc
@@ -4,14 +4,13 @@ and the messy, low-level world of C."
 SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
-SRCNAME = "Cython"
+PYPI_PACKAGE = "Cython"
 BBCLASSEXTEND = "native"
 
-SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz;
-S = "${WORKDIR}/${SRCNAME}-${PV}"
+SRC_URI[md5sum] = "890b494a12951f1d6228c416a5789554"
+SRC_URI[sha256sum] = 
"84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9"
 
-SRC_URI[md5sum] = "14fbc970f4a856845e633cbc09e61048"
-SRC_URI[sha256sum] = 
"6de44d8c482128efc12334641347a9c3e5098d807dd3c69e867fa8f84ec2a3f1"
+inherit pypi
 
 RDEPENDS_${PN} += "\
 ${PYTHON_PN}-netserver \
diff --git a/meta-python/recipes-devtools/python/python-cython_0.24.bb 
b/meta-python/recipes-devtools/python/python-cython_0.24.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-cython_0.24.bb
rename to meta-python/recipes-devtools/python/python-cython_0.24.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-cython_0.24.bb 
b/meta-python/recipes-devtools/python/python3-cython_0.24.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-cython_0.24.bb
rename to meta-python/recipes-devtools/python/python3-cython_0.24.1.bb
-- 
1.9.1

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


[oe] [meta-python][PATCH] python-certifi: update to version 2016.8.8

2016-08-12 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-certifi.inc| 4 ++--
 .../{python-certifi_2016.2.28.bb => python-certifi_2016.8.8.bb}   | 0
 .../{python3-certifi_2016.2.28.bb => python3-certifi_2016.8.8.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-certifi_2016.2.28.bb => 
python-certifi_2016.8.8.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-certifi_2016.2.28.bb => 
python3-certifi_2016.8.8.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-certifi.inc 
b/meta-python/recipes-devtools/python/python-certifi.inc
index 0fe8b15..8c4579a 100644
--- a/meta-python/recipes-devtools/python/python-certifi.inc
+++ b/meta-python/recipes-devtools/python/python-certifi.inc
@@ -7,5 +7,5 @@ HOMEPAGE = " http://certifi.io/;
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
 
-SRC_URI[md5sum] = "5d672aa766e1f773c75cfeccd02d3650"
-SRC_URI[sha256sum] = 
"5e8eccf95924658c97b990b50552addb64f55e1e3dfe4880456ac1f287dc79d0"
+SRC_URI[md5sum] = "b57513f7670482da45bb350b792f659e"
+SRC_URI[sha256sum] = 
"99864ed602d8a9d212e339b15ffa438895002eda7b7db20dca5309dac9605ae9"
diff --git a/meta-python/recipes-devtools/python/python-certifi_2016.2.28.bb 
b/meta-python/recipes-devtools/python/python-certifi_2016.8.8.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-certifi_2016.2.28.bb
rename to meta-python/recipes-devtools/python/python-certifi_2016.8.8.bb
diff --git a/meta-python/recipes-devtools/python/python3-certifi_2016.2.28.bb 
b/meta-python/recipes-devtools/python/python3-certifi_2016.8.8.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-certifi_2016.2.28.bb
rename to meta-python/recipes-devtools/python/python3-certifi_2016.8.8.bb
-- 
1.9.1

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


[oe] [meta-oe][PATCHv2] gd: update to version 2.2.3

2016-08-12 Thread Derek Straka
* Upstream removed vpx support in favor of webp
* Explicity disable webp support

Signed-off-by: Derek Straka 
---
 .../gd/files/fix-gcc-unused-functions.patch| 43 ++
 .../gd/{gd_2.1.1.bb => gd_2.2.3.bb}| 12 +++---
 2 files changed, 49 insertions(+), 6 deletions(-)
 create mode 100644 
meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
 rename meta-oe/recipes-support/gd/{gd_2.1.1.bb => gd_2.2.3.bb} (82%)

diff --git a/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch 
b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
new file mode 100644
index 000..02cb5ad
--- /dev/null
+++ b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
@@ -0,0 +1,43 @@
+gdft.c: remove functions that cause warnings about being unused
+
+Upstream-Status: Backport (Fixed in master branch)
+
+Signed-off-by: Derek Straka 
+--- git/src/gdft.c.orig2016-08-12 10:20:41.418440091 -0400
 git/src/gdft.c 2016-08-12 10:22:34.226442987 -0400
+@@ -139,16 +139,6 @@
+ }
+ #else
+ 
+-#ifndef HAVE_LIBFONTCONFIG
+-static char * font_pattern(char **fontpath, char *fontpattern)
+-{
+-  (void)fontpath;
+-  (void)fontpattern;
+-
+-  return "libgd was not built with FontConfig support\n";
+-}
+-#endif /* HAVE_LIBFONTCONFIG */
+-
+ #include "gdcache.h"
+ /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is
+   mandatory, and it has been supported for a long while. */
+@@ -446,16 +436,15 @@
+   return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags == b->flags);
+ }
+ 
++#ifdef HAVE_LIBFONTCONFIG
+ static int useFontConfig(int flag)
+ {
+-#ifdef HAVE_LIBFONTCONFIG
+   if (fontConfigFlag) {
+   return (!(flag & gdFTEX_FONTPATHNAME));
+   }
+-#endif
+   return flag & gdFTEX_FONTCONFIG;
+ }
+-
++#endif
+ static void *
+ fontFetch (char **error, void *key)
+ {
diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb 
b/meta-oe/recipes-support/gd/gd_2.2.3.bb
similarity index 82%
rename from meta-oe/recipes-support/gd/gd_2.1.1.bb
rename to meta-oe/recipes-support/gd/gd_2.2.3.bb
index 85c7e6a..80d66c9 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.1.bb
+++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb
@@ -12,12 +12,12 @@ LICENSE = "GD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
 DEPENDS = "freetype libpng jpeg zlib tiff"
 
-SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2 \
-"
-SRC_URI[md5sum] = "d3f1a992ac9c550ebc6da89c147f89af"
-SRC_URI[sha256sum] = 
"895ea9c6fcab187b0a908ae3e9e6b06423756f8a643d362349b0caab4014bd0d"
+SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \
+   file://fix-gcc-unused-functions.patch"
 
-S = "${WORKDIR}/libgd-${PV}"
+SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c"
+
+S = "${WORKDIR}/git"
 
 inherit autotools binconfig gettext pkgconfig
 
@@ -25,9 +25,9 @@ EXTRA_OECONF += " --disable-rpath \
   --with-jpeg=${STAGING_LIBDIR}/.. \
   --with-freetype=yes \
   --without-fontconfig \
+  --without-webp \
   --without-xpm \
   --without-x \
-  --without-vpx \
 "
 
 EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
-- 
1.9.1

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


Re: [oe] [meta-oe][PATCH] gd: update to version 2.2.3

2016-08-12 Thread Derek Straka
The vpx support was removed upstream and instead it optionally uses
libwebp.  I should probably explicitly disable libwebp support.  I'll send
a v2 once I test it out.

On Fri, Aug 12, 2016 at 11:14 AM, Martin Jansa 
wrote:

> Does it autodetect libvpx now or was vpx removed in upstream version?
>
> On Fri, Aug 12, 2016 at 5:11 PM, Derek Straka  wrote:
>
> > Signed-off-by: Derek Straka 
> > ---
> >  .../gd/files/fix-gcc-unused-functions.patch| 43
> > ++
> >  .../gd/{gd_2.1.1.bb => gd_2.2.3.bb}| 11 +++---
> >  2 files changed, 48 insertions(+), 6 deletions(-)
> >  create mode 100644 meta-oe/recipes-support/gd/files/fix-gcc-unused-
> > functions.patch
> >  rename meta-oe/recipes-support/gd/{gd_2.1.1.bb => gd_2.2.3.bb} (82%)
> >
> > diff --git a/meta-oe/recipes-support/gd/files/fix-gcc-unused-
> functions.patch
> > b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
> > new file mode 100644
> > index 000..02cb5ad
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
> > @@ -0,0 +1,43 @@
> > +gdft.c: remove functions that cause warnings about being unused
> > +
> > +Upstream-Status: Backport (Fixed in master branch)
> > +
> > +Signed-off-by: Derek Straka 
> > +--- git/src/gdft.c.orig2016-08-12 10:20:41.418440091 -0400
> >  git/src/gdft.c 2016-08-12 10:22:34.226442987 -0400
> > +@@ -139,16 +139,6 @@
> > + }
> > + #else
> > +
> > +-#ifndef HAVE_LIBFONTCONFIG
> > +-static char * font_pattern(char **fontpath, char *fontpattern)
> > +-{
> > +-  (void)fontpath;
> > +-  (void)fontpattern;
> > +-
> > +-  return "libgd was not built with FontConfig support\n";
> > +-}
> > +-#endif /* HAVE_LIBFONTCONFIG */
> > +-
> > + #include "gdcache.h"
> > + /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is
> > +   mandatory, and it has been supported for a long while. */
> > +@@ -446,16 +436,15 @@
> > +   return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags ==
> > b->flags);
> > + }
> > +
> > ++#ifdef HAVE_LIBFONTCONFIG
> > + static int useFontConfig(int flag)
> > + {
> > +-#ifdef HAVE_LIBFONTCONFIG
> > +   if (fontConfigFlag) {
> > +   return (!(flag & gdFTEX_FONTPATHNAME));
> > +   }
> > +-#endif
> > +   return flag & gdFTEX_FONTCONFIG;
> > + }
> > +-
> > ++#endif
> > + static void *
> > + fontFetch (char **error, void *key)
> > + {
> > diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb
> > b/meta-oe/recipes-support/gd/gd_2.2.3.bb
> > similarity index 82%
> > rename from meta-oe/recipes-support/gd/gd_2.1.1.bb
> > rename to meta-oe/recipes-support/gd/gd_2.2.3.bb
> > index 85c7e6a..74e265e 100644
> > --- a/meta-oe/recipes-support/gd/gd_2.1.1.bb
> > +++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb
> > @@ -12,12 +12,12 @@ LICENSE = "GD"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd373321376
> 69"
> >  DEPENDS = "freetype libpng jpeg zlib tiff"
> >
> > -SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}
> > .tar.bz2 \
> > -"
> > -SRC_URI[md5sum] = "d3f1a992ac9c550ebc6da89c147f89af"
> > -SRC_URI[sha256sum] = "895ea9c6fcab187b0a908ae3e9e6b0
> > 6423756f8a643d362349b0caab4014bd0d"
> > +SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \
> > +   file://fix-gcc-unused-functions.patch"
> >
> > -S = "${WORKDIR}/libgd-${PV}"
> > +SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c"
> > +
> > +S = "${WORKDIR}/git"
> >
> >  inherit autotools binconfig gettext pkgconfig
> >
> > @@ -27,7 +27,6 @@ EXTRA_OECONF += " --disable-rpath \
> >--without-fontconfig \
> >--without-xpm \
> >--without-x \
> > -  --without-vpx \
> >  "
> >
> >  EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
> > --
> > 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
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] gd: update to version 2.2.3

2016-08-12 Thread Martin Jansa
Does it autodetect libvpx now or was vpx removed in upstream version?

On Fri, Aug 12, 2016 at 5:11 PM, Derek Straka  wrote:

> Signed-off-by: Derek Straka 
> ---
>  .../gd/files/fix-gcc-unused-functions.patch| 43
> ++
>  .../gd/{gd_2.1.1.bb => gd_2.2.3.bb}| 11 +++---
>  2 files changed, 48 insertions(+), 6 deletions(-)
>  create mode 100644 meta-oe/recipes-support/gd/files/fix-gcc-unused-
> functions.patch
>  rename meta-oe/recipes-support/gd/{gd_2.1.1.bb => gd_2.2.3.bb} (82%)
>
> diff --git a/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
> b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
> new file mode 100644
> index 000..02cb5ad
> --- /dev/null
> +++ b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
> @@ -0,0 +1,43 @@
> +gdft.c: remove functions that cause warnings about being unused
> +
> +Upstream-Status: Backport (Fixed in master branch)
> +
> +Signed-off-by: Derek Straka 
> +--- git/src/gdft.c.orig2016-08-12 10:20:41.418440091 -0400
>  git/src/gdft.c 2016-08-12 10:22:34.226442987 -0400
> +@@ -139,16 +139,6 @@
> + }
> + #else
> +
> +-#ifndef HAVE_LIBFONTCONFIG
> +-static char * font_pattern(char **fontpath, char *fontpattern)
> +-{
> +-  (void)fontpath;
> +-  (void)fontpattern;
> +-
> +-  return "libgd was not built with FontConfig support\n";
> +-}
> +-#endif /* HAVE_LIBFONTCONFIG */
> +-
> + #include "gdcache.h"
> + /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is
> +   mandatory, and it has been supported for a long while. */
> +@@ -446,16 +436,15 @@
> +   return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags ==
> b->flags);
> + }
> +
> ++#ifdef HAVE_LIBFONTCONFIG
> + static int useFontConfig(int flag)
> + {
> +-#ifdef HAVE_LIBFONTCONFIG
> +   if (fontConfigFlag) {
> +   return (!(flag & gdFTEX_FONTPATHNAME));
> +   }
> +-#endif
> +   return flag & gdFTEX_FONTCONFIG;
> + }
> +-
> ++#endif
> + static void *
> + fontFetch (char **error, void *key)
> + {
> diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb
> b/meta-oe/recipes-support/gd/gd_2.2.3.bb
> similarity index 82%
> rename from meta-oe/recipes-support/gd/gd_2.1.1.bb
> rename to meta-oe/recipes-support/gd/gd_2.2.3.bb
> index 85c7e6a..74e265e 100644
> --- a/meta-oe/recipes-support/gd/gd_2.1.1.bb
> +++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb
> @@ -12,12 +12,12 @@ LICENSE = "GD"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
>  DEPENDS = "freetype libpng jpeg zlib tiff"
>
> -SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}
> .tar.bz2 \
> -"
> -SRC_URI[md5sum] = "d3f1a992ac9c550ebc6da89c147f89af"
> -SRC_URI[sha256sum] = "895ea9c6fcab187b0a908ae3e9e6b0
> 6423756f8a643d362349b0caab4014bd0d"
> +SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \
> +   file://fix-gcc-unused-functions.patch"
>
> -S = "${WORKDIR}/libgd-${PV}"
> +SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c"
> +
> +S = "${WORKDIR}/git"
>
>  inherit autotools binconfig gettext pkgconfig
>
> @@ -27,7 +27,6 @@ EXTRA_OECONF += " --disable-rpath \
>--without-fontconfig \
>--without-xpm \
>--without-x \
> -  --without-vpx \
>  "
>
>  EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
> --
> 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


[oe] [meta-oe][PATCH] gd: update to version 2.2.3

2016-08-12 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../gd/files/fix-gcc-unused-functions.patch| 43 ++
 .../gd/{gd_2.1.1.bb => gd_2.2.3.bb}| 11 +++---
 2 files changed, 48 insertions(+), 6 deletions(-)
 create mode 100644 
meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
 rename meta-oe/recipes-support/gd/{gd_2.1.1.bb => gd_2.2.3.bb} (82%)

diff --git a/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch 
b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
new file mode 100644
index 000..02cb5ad
--- /dev/null
+++ b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch
@@ -0,0 +1,43 @@
+gdft.c: remove functions that cause warnings about being unused
+
+Upstream-Status: Backport (Fixed in master branch)
+
+Signed-off-by: Derek Straka 
+--- git/src/gdft.c.orig2016-08-12 10:20:41.418440091 -0400
 git/src/gdft.c 2016-08-12 10:22:34.226442987 -0400
+@@ -139,16 +139,6 @@
+ }
+ #else
+ 
+-#ifndef HAVE_LIBFONTCONFIG
+-static char * font_pattern(char **fontpath, char *fontpattern)
+-{
+-  (void)fontpath;
+-  (void)fontpattern;
+-
+-  return "libgd was not built with FontConfig support\n";
+-}
+-#endif /* HAVE_LIBFONTCONFIG */
+-
+ #include "gdcache.h"
+ /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is
+   mandatory, and it has been supported for a long while. */
+@@ -446,16 +436,15 @@
+   return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags == b->flags);
+ }
+ 
++#ifdef HAVE_LIBFONTCONFIG
+ static int useFontConfig(int flag)
+ {
+-#ifdef HAVE_LIBFONTCONFIG
+   if (fontConfigFlag) {
+   return (!(flag & gdFTEX_FONTPATHNAME));
+   }
+-#endif
+   return flag & gdFTEX_FONTCONFIG;
+ }
+-
++#endif
+ static void *
+ fontFetch (char **error, void *key)
+ {
diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb 
b/meta-oe/recipes-support/gd/gd_2.2.3.bb
similarity index 82%
rename from meta-oe/recipes-support/gd/gd_2.1.1.bb
rename to meta-oe/recipes-support/gd/gd_2.2.3.bb
index 85c7e6a..74e265e 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.1.bb
+++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb
@@ -12,12 +12,12 @@ LICENSE = "GD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
 DEPENDS = "freetype libpng jpeg zlib tiff"
 
-SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2 \
-"
-SRC_URI[md5sum] = "d3f1a992ac9c550ebc6da89c147f89af"
-SRC_URI[sha256sum] = 
"895ea9c6fcab187b0a908ae3e9e6b06423756f8a643d362349b0caab4014bd0d"
+SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \
+   file://fix-gcc-unused-functions.patch"
 
-S = "${WORKDIR}/libgd-${PV}"
+SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c"
+
+S = "${WORKDIR}/git"
 
 inherit autotools binconfig gettext pkgconfig
 
@@ -27,7 +27,6 @@ EXTRA_OECONF += " --disable-rpath \
   --without-fontconfig \
   --without-xpm \
   --without-x \
-  --without-vpx \
 "
 
 EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
-- 
1.9.1

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


Re: [oe] [Jethro] Can't compile gcc-cross when gcc-6 is the host compiler

2016-08-12 Thread Jérémy Rosen



On 11/08/2016 21:38, Burton, Ross wrote:

On 11 August 2016 at 13:40, Jérémy Rosen  wrote:


This helped, and allowed me to go much further in my build, but the recipe
gcc-cross-arm still failed. To be able to compile my build I had to add the
following to my local.conf

CC_pn-gcc-cross-arm= "${BUILD_CC}"
CXX_pn-gcc-cross-arm= "${BUILD_CXX}"
CC_pn-gcc-crosssdk-x86_64= "${BUILD_CC}"
CXX_pn-gcc-crosssdk-x86_64= "${BUILD_CXX}"


So apparently, gcc still has some reference to $CC and $CXX hardcoded
somewhere (I think it's in do_configure)

It seems to set $CC in the do_compile correctly, but not in do_configure.
And it never sets $CXX

I tried to understand what the GCC recipe was doing wrong, but I couldn't
find out on first look and it's a really complicated recipe


Could you try adding a do_configure_prepend to gcc-cross.inc that sets
exports those (and extend the do_compile exports) to see if that solves it?


I did the following

diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc 
b/meta/recipes-devtools/gcc/gcc-cross.inc

index aa10633..9a2e06f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -36,8 +36,14 @@ EXTRA_OECONF_PATHS = "\

 ARCH_FLAGS_FOR_TARGET += 
"-isystem${STAGING_DIR_TARGET}${target_includedir}"


+do_configure_prepend () {
+export CC="${BUILD_CC}"
+export CXX="${BUILD_CXX}"
+}
+
 do_compile () {
 export CC="${BUILD_CC}"
+export CXX="${BUILD_CXX}"
 export AR_FOR_TARGET="${TARGET_SYS}-ar"
 export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
 export LD_FOR_TARGET="${TARGET_SYS}-ld"


(which I think is what you meant) and it did indeed solve the problem.


Ross


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


Re: [oe] [meta-java][PATCH] openjdk-8: Upgrade from u72 to u102y

2016-08-12 Thread Maxin B. John
Hi Erkka,

On Tue, Aug 09, 2016 at 10:32:17AM +0300, Erkka Kääriä wrote:
> Openjdk is upgraded from u72 to u102. Two patches are dropped, as these
> were backports and the fixes are present in the current version. One
> patch was refreshed. One patch was backported from the upcoming u112 to
> fix a zero mode crash.
> 
> Signed-off-by: Erkka Kääriä 
> ---
>  recipes-core/openjdk/openjdk-8-native_102b14.bb|2 +
>  recipes-core/openjdk/openjdk-8-native_72b05.bb |2 -
>  ...ease-72b05.inc => openjdk-8-release-102b14.inc} |   51 +-
>  .../{openjdk-8_72b05.bb => openjdk-8_102b14.bb}|4 +-
>  .../{openjre-8_72b05.bb => openjre-8_102b14.bb}|4 +-
>  .../openjdk8-avoid-early-ldflags-expansion.patch   |   53 -
>  .../openjdk8-fix-shark-stdc++11.patch  | 2623 
> ++--
>  .../openjdk8-fix-zero-mode-crash.patch |   49 +
>  ..._than_returning_address_of_local_variable.patch |   23 -


openjdk-8 build fails with the following error now:

| 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/os_linux.inline.hpp:127:42:
 error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated 
[-Werror=deprecated-declarations]
|if((status = ::readdir_r(dirp, dbuf, )) != 0) {
|   ^
| In file included from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/jvm_linux.h:44:0,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/prims/jvm.h:30,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/utilities/debug.hpp:29,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/globals.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/allocation.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/iterator.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/genOopClosures.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/oops/klass.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/handles.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/universe.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/oopRecorder.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/codeBlob.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/nmethod.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/simpleThresholdPolicy.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp:26:
| /media/poky/build/tmp/sysroots/qemux86-64/usr/include/dirent.h:183:12: note: 
declared here
|  extern int readdir_r (DIR *__restrict __dirp,
| ^
| cc1plus: all warnings being treated as errors

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


Re: [oe] [meta-java][PATCH] README: fix branches of openembedded layers we depend on

2016-08-12 Thread Maxin B. John
Hi,

On Fri, Aug 12, 2016 at 10:07:46AM +0200, Richard Leitner wrote:
> Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files)
> rxtx requires the remove-libtool class. This class was introduced
> in the krogoth branch of openembedded-core and not backported.
> 
> Therefore update the branch names in the README to "krogoth".
> 
> Signed-off-by: Richard Leitner 
> ---
>  README | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/README b/README
> index 259fa75..f766869 100644
> --- a/README
> +++ b/README
> @@ -7,11 +7,11 @@ Yocto Project build systems.
>  This layer depends on:
>  
>  URI: git://git.openembedded.org/openembedded-core
> -branch: daisy
> +branch: krogoth
>  revision: HEAD
>  
>  URI: git://git.openembedded.org/meta-openembedded
> -branch: daisy
> +branch: krogoth
>  revision: HEAD
>  
>  Contributing
> -- 
> 2.1.4

README was a bit outdated. Thanks for updating it.

Pushed to master.

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


[oe] [meta-oe][PATCH] Graphviz: Add new PACKAGECONFIG for graphviz

2016-08-12 Thread Ricardo Ribalda Delgado
Although it does not have an obvious name (gvc), Graphviz is an
optional library configurable via configure.ac.

Signed-off-by: Ricardo Ribalda Delgado 
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb 
b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
index a9f01344a9ff..1b558caf4f16 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
@@ -24,6 +24,7 @@ EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 
--without-perl --disable
 
 CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)}"
+PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
 PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
 PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
 PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"
-- 
2.8.1

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


Re: [oe] [meta-oe][PATCH] imagemagick: Add missing dependency

2016-08-12 Thread Martin Jansa
On Wed, Aug 10, 2016 at 01:14:24PM +0200, Ricardo Ribalda Delgado wrote:
> graphviz is an optional library, but I did not find the correspondent
> with/without configure option. Instead I think that it is safer to add
> is as a DEPEND.

graphviz wasn't merged yet, still waiting for v3
http://lists.openembedded.org/pipermail/openembedded-devel/2016-May/107460.html

Also check if there is configure option for this in 7* version (upgrade
is on the ML already)

> Signed-off-by: Ricardo Ribalda Delgado 
> ---
>  meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb 
> b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> index a9f01344a9ff..3dc48ad425c6 100644
> --- a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> +++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.2.bb
> @@ -3,7 +3,7 @@ SECTION = "console/utils"
>  LICENSE = "ImageMagick"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=0887b670be7ef0c3cb37092b64d57514"
>  # FIXME: There are many more checked libraries. All should be added or 
> explicitly disabled to get consistent results.
> -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype"
> +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype 
> graphviz"
>  
>  # Important note: tarballs for all patchsets within a version are deleted 
> when
>  # a new pachset is created. To avoid multiple patches for each patchset, try 
> to
> -- 
> 2.8.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


Re: [oe] [meta-networking][PATCH v2] dnsmasq: update to version 2.76

2016-08-12 Thread Martin Jansa
On Thu, Aug 11, 2016 at 08:07:59AM -0600, Terry Boese wrote:
> Change 'basecontains' to 'bb.utils.contain' to avoid warning.

That was already changed 4 months ago, please rebase and test in recent
master before sending.

> Correct do_compile_append(), as the location of the DHCP lease
> tools has changed.
> 
> Signed-off-by: Terry Boese 
> ---
>  meta-networking/recipes-support/dnsmasq/dnsmasq.inc| 18 
> +-
>  .../dnsmasq/{dnsmasq_2.75.bb => dnsmasq_2.76.bb}   |  5 ++---
>  2 files changed, 11 insertions(+), 12 deletions(-)
>  rename meta-networking/recipes-support/dnsmasq/{dnsmasq_2.75.bb => 
> dnsmasq_2.76.bb} (27%)
> 
> diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc 
> b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> index cc7f9e3..9ef54fe 100644
> --- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> @@ -26,10 +26,10 @@ PACKAGECONFIG[conntrack] = ",,libnetfilter-conntrack"
>  PACKAGECONFIG[lua] = ",,lua"
>  PACKAGECONFIG[resolvconf] = ",,,resolvconf"
>  EXTRA_OEMAKE = "\
> -'COPTS=${@base_contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \
> -   ${@base_contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \
> -   ${@base_contains('PACKAGECONFIG', 'conntrack', 
> '-DHAVE_CONNTRACK', '', d)} \
> -   ${@base_contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', 
> d)}' \
> +'COPTS=${@bb.utils.contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', 
> d)} \
> +   ${@bb.utils.contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', 
> d)} \
> +   ${@bb.utils.contains('PACKAGECONFIG', 'conntrack', 
> '-DHAVE_CONNTRACK', '', d)} \
> +   ${@bb.utils.contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', 
> '', d)}' \
>  'CFLAGS=${CFLAGS}' \
>  'LDFLAGS=${LDFLAGS}' \
>  "
> @@ -38,7 +38,7 @@ SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 
> 'resolvconf', 'file://dnsmasq.
>  
>  do_compile_append() {
>  # build dhcp_release
> -cd ${S}/contrib/wrt
> +cd ${S}/contrib/lease-tools
>  oe_runmake
>  }
>  
> @@ -53,19 +53,19 @@ do_install () {
>  
>  install -d ${D}${systemd_unitdir}/system
>  
> -if [ "${@base_contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', 
> d)}" != "" ]; then
> +if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', 
> '', d)}" != "" ]; then
>  install -m 0644 ${WORKDIR}/dnsmasq-resolvconf.service 
> ${D}${systemd_unitdir}/system/dnsmasq.service
>  else
>  install -m 0644 ${WORKDIR}/dnsmasq-noresolvconf.service 
> ${D}${systemd_unitdir}/system/dnsmasq.service
>  fi
>  
> -install -m 0755 ${S}/contrib/wrt/dhcp_release ${D}${bindir}
> +install -m 0755 ${S}/contrib/lease-tools/dhcp_release ${D}${bindir}
>  
> -if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" 
> ]; then
> +if [ "${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != 
> "" ]; then
>  install -d ${D}${sysconfdir}/dbus-1/system.d
>  install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
>  fi
> -if [ "${@base_contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', 
> d)}" != "" ]; then
> +if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', 
> '', d)}" != "" ]; then
>  install -d ${D}${sysconfdir}/resolvconf/update.d/
>  install -m 0755 ${WORKDIR}/dnsmasq.resolvconf 
> ${D}${sysconfdir}/resolvconf/update.d/dnsmasq
>  
> diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.75.bb 
> b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.76.bb
> similarity index 27%
> rename from meta-networking/recipes-support/dnsmasq/dnsmasq_2.75.bb
> rename to meta-networking/recipes-support/dnsmasq/dnsmasq_2.76.bb
> index a11aabb..41573d9 100644
> --- a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.75.bb
> +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.76.bb
> @@ -4,6 +4,5 @@ SRC_URI += "\
>  file://lua.patch \
>  "
>  
> -SRC_URI[dnsmasq-2.75.md5sum] = "d99ac126d4fe910c679d88430559669b"
> -SRC_URI[dnsmasq-2.75.sha256sum] = 
> "f8252c0a0ba162c2cd45f81140c7c17cc40a5fca2b869d1a420835b74acad294"
> -
> +SRC_URI[dnsmasq-2.76.md5sum] = "6610f8233ca89b15a1bb47c788ffb84f"
> +SRC_URI[dnsmasq-2.76.sha256sum] = 
> "777c4762d2fee3738a0380401f2d087b47faa41db2317c60660d69ad10a76c32"
> -- 
> 2.7.4
> 
> -- 
> ___
> 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


Re: [oe] [meta-oe][PATCH v3 1/2] gflags: New recipe

2016-08-12 Thread Martin Jansa
On Fri, Aug 12, 2016 at 10:06:44AM +0200, Ricardo Ribalda Delgado wrote:
> Hi Kehm
> 
> On Fri, Aug 12, 2016 at 9:26 AM, Khem Raj  wrote:
> 
> > So it seems its BSD-3-Clause
> >
> 
> Shall I produce a patch for glog and gflags?

I'll update it in master-next, you don't need to resend.

> -- 
> ___
> 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-java][PATCH] README: fix branches of openembedded layers we depend on

2016-08-12 Thread Richard Leitner
Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files)
rxtx requires the remove-libtool class. This class was introduced
in the krogoth branch of openembedded-core and not backported.

Therefore update the branch names in the README to "krogoth".

Signed-off-by: Richard Leitner 
---
 README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 259fa75..f766869 100644
--- a/README
+++ b/README
@@ -7,11 +7,11 @@ Yocto Project build systems.
 This layer depends on:
 
 URI: git://git.openembedded.org/openembedded-core
-branch: daisy
+branch: krogoth
 revision: HEAD
 
 URI: git://git.openembedded.org/meta-openembedded
-branch: daisy
+branch: krogoth
 revision: HEAD
 
 Contributing
-- 
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 v3 1/2] gflags: New recipe

2016-08-12 Thread Ricardo Ribalda Delgado
Hi Kehm

On Fri, Aug 12, 2016 at 9:26 AM, Khem Raj  wrote:

> So it seems its BSD-3-Clause
>

Shall I produce a patch for glog and gflags?
-- 
___
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] gflags: New recipe

2016-08-12 Thread Khem Raj
On Thu, Aug 11, 2016 at 11:37 PM, Ricardo Ribalda Delgado
 wrote:
> Hi Khem
>
> On Fri, Aug 12, 2016 at 7:36 AM, Khem Raj  wrote:
>
>>> +DESCRIPTION = "The gflags package contains a C++ library that implements 
>>> commandline flags processing. It includes built-in support for standard 
>>> types such as string and the ability to define flags in the source file in 
>>> which they are used"
>>> +HOMEPAGE = "https://github.com/gflags/gflags;
>>> +LICENSE = “BSD"
>>
>> which Clause ?
>
> I have no idea,
> I has the same License file as glog:
>
> https://github.com/gflags/gflags/blob/master/COPYING.txt
> https://github.com/google/glog/blob/master/COPYING
>
> That is why I choose BSD.

So it seems its BSD-3-Clause

>
> Regards!
> --
> ___
> 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-networking][PATCH] proftpd: fix system account login failure

2016-08-12 Thread mingli.yu
From: Mingli Yu 

When pam is enabled,
  1, Customize the proftpd.conf to use pam to authenticate
  2, Add proftpd pam configuration file /etc/pam.d/proftpd

Signed-off-by: Mingli Yu 
---
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb | 9 +
 1 file changed, 9 insertions(+)

diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb 
b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
index b6fd4b2..2332ef8 100644
--- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
+++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
@@ -92,6 +92,15 @@ do_install () {
 # create the pub directory
 mkdir -p ${D}/home/${FTPUSER}/pub/
 chown -R ${FTPUSER}:${FTPGROUP} ${D}/home/${FTPUSER}/pub
+if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; 
then
+# install proftpd pam configuration
+install -d ${D}${sysconfdir}/pam.d
+install -m 644 ${S}/contrib/dist/rpm/ftp.pamd 
${D}${sysconfdir}/pam.d/proftpd
+sed -i '/ftpusers/d' ${D}${sysconfdir}/pam.d/proftpd
+# specify the user Authentication config
+sed -i '/^MaxInstances/a\AuthPAM 
on\nAuthPAMConfig   proftpd' \
+${D}${sysconfdir}/proftpd.conf
+fi
 
 install -d ${D}/${systemd_unitdir}/system
 install -m 644 ${WORKDIR}/proftpd.service ${D}/${systemd_unitdir}/system
-- 
2.8.1

-- 
___
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] gflags: New recipe

2016-08-12 Thread Ricardo Ribalda Delgado
Hi Khem

On Fri, Aug 12, 2016 at 7:36 AM, Khem Raj  wrote:

>> +DESCRIPTION = "The gflags package contains a C++ library that implements 
>> commandline flags processing. It includes built-in support for standard 
>> types such as string and the ability to define flags in the source file in 
>> which they are used"
>> +HOMEPAGE = "https://github.com/gflags/gflags;
>> +LICENSE = “BSD"
>
> which Clause ?

I have no idea,
I has the same License file as glog:

https://github.com/gflags/gflags/blob/master/COPYING.txt
https://github.com/google/glog/blob/master/COPYING

That is why I choose BSD.

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