[oe] [meta-xfce][PATCH 2/2] mousepad: remove blacklist caused by gtksourceview2

2016-07-04 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb 
b/meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb
index 3748a06..e87dea7 100644
--- a/meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb
+++ b/meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb
@@ -18,4 +18,3 @@ EXTRA_OECONF = "--disable-gtk3"
 
 FILES_${PN} += "${datadir}/glib-2.0/schemas"
 
-PNBLACKLIST[mousepad] ?= "Depends on broken gtksourceview2"
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 1/2] gtksourceview2: fix build with gcc6

2016-07-04 Thread Yi Zhao
Fix build error:
../../gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c:
In function 'strdup_strftime':
../../gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c:1951:3:
error: format not a string literal, format string not checked 
[-Werror=format-nonliteral]
   tmplen = strftime (tmpbuf, tmpbufsize, locale_format, tm);
   ^~

A wrapper for strftime() would compile failed with -Werror=format-nonliteral
in newer GCC. See GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438

Since most of the strdup_strftime function code is taken from GLib's
g_date_strftime() in gdate.c which already had a fix:
https://bugzilla.gnome.org/show_bug.cgi?id=761550

So this patch refers the glib fixes:
https://git.gnome.org/browse/glib/commit/?id=0817af40e8c74c721c30f6ef482b1f53d12044c7
https://git.gnome.org/browse/glib/commit/?id=8cdbc7fb2c8c876902e457abe46ee18a0b134486

Signed-off-by: Yi Zhao 
---
 .../suppress-string-format-literal-warning.patch   | 33 ++
 .../gtksourceview/gtksourceview2_2.10.5.bb |  3 +-
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 
meta-gnome/recipes-gnome/gtksourceview/gtksourceview2/suppress-string-format-literal-warning.patch

diff --git 
a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2/suppress-string-format-literal-warning.patch
 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2/suppress-string-format-literal-warning.patch
new file mode 100644
index 000..f9ae077
--- /dev/null
+++ 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2/suppress-string-format-literal-warning.patch
@@ -0,0 +1,33 @@
+Fix build error with gcc6:
+../../gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c: In 
function 'strdup_strftime':
+../../gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c:1951:3: 
error: format not a string literal, format string not checked 
[-Werror=format-nonliteral]
+   tmplen = strftime (tmpbuf, tmpbufsize, locale_format, tm);
+   ^~
+
+Patch Reference:
+https://git.gnome.org/browse/glib/commit/?id=0817af40e8c74c721c30f6ef482b1f53d12044c7
+https://git.gnome.org/browse/glib/commit/?id=8cdbc7fb2c8c876902e457abe46ee18a0b134486
+
+Upstream-Status: Pending
+Signed-off-by: Yi Zhao 
+
+diff -Nurp gtksourceview-2.10.5.orig/gtksourceview/gtksourceprintcompositor.c 
gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c
+--- gtksourceview-2.10.5.orig/gtksourceview/gtksourceprintcompositor.c 
2016-07-01 13:11:43.631173762 +0800
 gtksourceview-2.10.5/gtksourceview/gtksourceprintcompositor.c  
2016-07-04 13:54:18.223726343 +0800
+@@ -1913,6 +1913,8 @@ setup_pango_layouts (GtkSourcePrintCompo
+  * GLIB - Library of useful routines for C programming
+  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald 
*/
+ 
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+ static gchar *
+ strdup_strftime (const gchar *format, const struct tm *tm)
+ {
+@@ -1982,6 +1984,7 @@ strdup_strftime (const gchar *format, co
+ 
+   return convbuf;
+ }
++#pragma GCC diagnostic pop
+ 
+ static gchar *
+ evaluate_format_string (GtkSourcePrintCompositor *compositor,
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2_2.10.5.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2_2.10.5.bb
index 1820ba8..8d935b8 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2_2.10.5.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2_2.10.5.bb
@@ -15,6 +15,7 @@ inherit gnomebase lib_package gettext
 # overrule SRC_URI from gnome.conf
 SRC_URI = 
"${GNOME_MIRROR}/${PNAME}/${@gnome_verdir("${PV}")}/${PNAME}-${PV}.tar.bz2;name=archive
 \
file://gtk-doc.make \
+   file://suppress-string-format-literal-warning.patch \
 "
 SRC_URI[archive.md5sum] = "1219ad1694df136f126507466aeb41aa"
 SRC_URI[archive.sha256sum] = 
"c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e"
@@ -27,5 +28,3 @@ do_configure_prepend() {
 
 FILES_${PN} += " ${datadir}/gtksourceview-2.0"
 
-# http://errors.yoctoproject.org/Errors/Details/68609/
-PNBLACKLIST[gtksourceview2] ?= "BROKEN: fails to build with gcc-6"
-- 
2.7.4

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


[oe] [meta-gnome][PATCH 0/2] gtksourceview2 and mousepad: fix build error with gcc6

2016-07-04 Thread Yi Zhao

The following changes since commit 1cb7275961fd4bca3a6cb70e064ad6e6e1ff04d6:

  gnome-terminal, toscoterm, vala-terminal, xfce4-terminal: use vte9 
(2016-06-23 15:21:27 +0200)

are available in the git repository at:

  git://git.openembedded.org/meta-openembedded-contrib yzhao/gcc6-fixes
  
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/gcc6-fixes

Yi Zhao (2):
  gtksourceview2: fix build with gcc6
  mousepad: remove blacklist caused by gtksourceview2

 .../suppress-string-format-literal-warning.patch   | 33 ++
 .../gtksourceview/gtksourceview2_2.10.5.bb |  3 +-
 meta-xfce/recipes-apps/mousepad/mousepad_0.4.0.bb  |  1 -
 3 files changed, 34 insertions(+), 3 deletions(-)
 create mode 100644 
meta-gnome/recipes-gnome/gtksourceview/gtksourceview2/suppress-string-format-literal-warning.patch

-- 
2.7.4

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


[oe] [meta-java][PATCH] rxtx: Add remove-libtool class to remove all .la files

2016-07-04 Thread Fabio Berton
Class remove-libtool adds a postfunc to do_install to remove all .la
files installed by libtool, so that they are absent from both the
sysroots and target packages.

Fix error:
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA Issue: librxtxRaw.la
  failed sanity test (workdir) in path
  ../build/tmp/work/cortexa9hf-neon-emcontrols-linux-gnueabi/
  rxtx/2.2.0-r2/sysroot-destdir/usr/lib/jni [la]
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA staging was broken by the
  package built above
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: Function failed: do_qa_staging

Signed-off-by: Fabio Berton 
---
 recipes-extended/rxtx/rxtx_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb 
b/recipes-extended/rxtx/rxtx_2.2.0.bb
index 564df32..c3fbc13 100644
--- a/recipes-extended/rxtx/rxtx_2.2.0.bb
+++ b/recipes-extended/rxtx/rxtx_2.2.0.bb
@@ -28,7 +28,7 @@ S = "${WORKDIR}/rxtx-2.2pre2"
 
 INSANE_SKIP_${JPN} += "dev-so"
 
-inherit autotools-brokensep java-library
+inherit autotools-brokensep java-library remove-libtool
 PACKAGE_ARCH = "${TUNE_PKGARCH}"
 
 JARFILENAME = "RXTXcomm.jar"
-- 
2.1.4

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


Re: [oe] [meta-networking][PATCH] Samba: use only libsystemd

2016-07-04 Thread Szombathelyi György
On Monday, June 20, 2016 10:08:45 AM CEST Joe MacDonald wrote:
> Hi Gyorgy,
> 
Hi Joe,

> [[oe] [meta-networking][PATCH] Samba: use only libsystemd] On 16.06.18 (Sat 
21:06) Gyorgy Szombathelyi wrote:
> > This patch was disappeared while moved to 4.4.2
> 
> I can't find this patch in the git history, but I'm happy to merge it if
> you can provide a bit more detail on it.  Is it always valid to assume
> HAVE_LIBSYSTEMD will always mean HAVE_LIBSYSTEMD_JOURNAL and
> HAVE_LIBSYSTEMD_DAEMON?  Also, can you provide an upstream-status on
> this?
I found out the real history: since systemd-209, there's only one library 
built, called libsystemd.so.

https://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
 * The APIs "sd-journal.h", "sd-login.h", "sd-id128.h" are no
  longer found in individual libraries libsystemd-journal.so,
  libsystemd-login.so, libsystemd-id128.so. Instead, we have
  merged them into a single library, libsystemd.so, which
  provides all symbols.

Seems others are noticed it, too :)
http://firstyear.id.au/blog/html/2016/05/23/systemd_is_not_monolithic.html


> Thanks.
> -J.

Br,
György

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


[oe] [meta-multimedia][PATCH] Mpd: use libsystemd

2016-07-04 Thread Gyorgy Szombathelyi
Mpd tries to find and link to libsystemd-daemon by default,
but there's only libsystemd in OpenEmbedded. Fixing this makes
socket activation work.

Signed-off-by: Gyorgy Szombathelyi 
---
 meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb 
b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb
index caba589..5c574c1 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb
@@ -22,6 +22,10 @@ PACKAGECONFIG[id3tag] = 
"--enable-id3,--disable-id3,libid3tag"
 PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame"
 PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba"
 
+do_configure_prepend() {
+sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
+}
+
 do_install_append() {
 install -d ${D}/${localstatedir}/lib/mpd/music
 chmod 775 ${D}/${localstatedir}/lib/mpd/music
-- 
2.7.4

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


[oe] proftpd 1.3.5 cannot authenticate with any user

2016-07-04 Thread Cjb_SW Freescale
Hello,
I am facing some problems with Proftpd and I cannot login with any user.
I am aligned with poky 1.8, and the version of proftpd is 1.3.5
The ftp client can connect to the server, but with the "correct"
password I get an error 530 Login Failed.

The only thing that I changed from the standard configuration, is the line:
RootLogin  on

I know that I shouldn't do it, but I really need it.
Anyhow, I tried also other users, and passwords, nothing works.

Any suggestion?
Thank you
Simone
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] directfb: move recipe to meta-oe

2016-07-04 Thread Maxin B. John
directfb.org has been down for about a year now. Since there
are active users for this recipe, it makes sense to move this
from oe-core to meta-oe.

Signed-off-by: Maxin B. John 
---
 .../configure.in-Fix-string-argument-syntax.patch  |  28 +
 .../directfb/directfb-examples_1.7.0.bb|  21 
 meta-oe/recipes-graphics/directfb/directfb.inc |  80 ++
 ...direct-Aboid-usng-VLAs-and-printf-formats.patch |  61 +++
 .../directfb/directfb/bashism.patch|  18 
 .../directfb/directfb/compar_fn_t.patch|  62 +++
 .../directfb/directfb/configurefix.patch   |  60 +++
 .../fix-client-gfx_state-initialisation.patch  |  38 +++
 .../directfb/directfb/fusion.patch |  36 +++
 .../directfb/directfb/union-sigval.patch   |  19 
 .../directfb/use-PTHREAD_MUTEX_RECURSIVE.patch | 116 +
 .../recipes-graphics/directfb/directfb_1.7.7.bb|   8 ++
 12 files changed, 547 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb.inc
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/bashism.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/compar_fn_t.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/configurefix.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/fusion.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/union-sigval.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/use-PTHREAD_MUTEX_RECURSIVE.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb

diff --git 
a/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
 
b/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
new file mode 100644
index 000..0717ea6
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
@@ -0,0 +1,28 @@
+From 88077ed156a714f32bb408f422278d61611ffd41 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador 
+Date: Sat, 26 Jul 2014 16:57:46 -0300
+Subject: [PATCH] configure.in: Fix string argument syntax
+
+Upstream-Status: Submitted
+
+Signed-off-by: Otavio Salvador 
+---
+ configure.in |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index bfe1b82..e939bbd 100644
+--- a/configure.in
 b/configure.in
+@@ -65,7 +65,7 @@ fi)
+ 
+ DIRECTFB_REQUIRED_VERSION=1.4.14
+ 
+-PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION,[ 
WATER=`$PKG_CONFIG --variable=water directfb` ],
++PKG_CHECK_MODULES([DIRECTFB], directfb >= $DIRECTFB_REQUIRED_VERSION,[ 
WATER=`$PKG_CONFIG --variable=water directfb` ],
+   AC_MSG_ERROR([$DIRECTFB_PKG_ERRORS
+ *** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest 
version
+ *** of DirectFB is available from http://www.directfb.org/.]))
+-- 
+1.7.10.4
+
diff --git a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb 
b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
new file mode 100644
index 000..7907c5c
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Example DirectFB applications"
+DESCRIPTION = "The DirectFB-examples package contains a set of simple DirectFB 
\
+  applications that can be used to test and demonstrate various DirectFB \
+  features"
+DEPENDS = "directfb"
+SECTION = "libs"
+LICENSE = "MIT"
+
+SRC_URI = " \
+   
http://downloads.yoctoproject.org/mirror/sources/DirectFB-examples-${PV}.tar.gz 
\
+   file://configure.in-Fix-string-argument-syntax.patch \
+  "
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
+
+S = "${WORKDIR}/DirectFB-examples-${PV}"
+
+inherit autotools pkgconfig
+
+SRC_URI[md5sum] = "8b60c867af295481c32a8c7fc5802307"
+SRC_URI[sha256sum] = 
"9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a"
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc 
b/meta-oe/recipes-graphics/directfb/directfb.inc
new file mode 100644
index 000..46e0838
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -0,0 +1,80 @@
+SUMMARY = "Graphics abstraction library for the Linux Framebuffer Device"
+DESCRIPTION = "DirectFB is a thin library that provides developers \
+with hardware graphics 

Re: [oe] [meta-browser][PATCH] firefox: Fix build using gcc 6

2016-07-04 Thread Fabio Berton
Hi Khem,

The option -fno-schedule-insn2 is not needed. I sent a v2.

Thanks.

On Fri, Jul 1, 2016 at 11:56 AM, Fabio Berton  wrote:

> For me only worked with these options, but I can make more tests and try
> without -fno-schedule-insn2 option.
>
> On Fri, Jul 1, 2016 at 11:49 AM, Khem Raj  wrote:
>
>> On Fri, Jul 1, 2016 at 6:13 AM, Fabio Berton
>>  wrote:
>> > Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
>> > otherwise regard as out-of-specification and allow it to produce a
>> > working program.
>> > Add patch to to correct the source to be compatible with gcc6 by
>> > preventing c++ scope errors.
>> >
>> > Signed-off-by: Fabio Berton 
>> > ---
>> >  ...-source-to-be-compatible-with-gcc6-by-pre.patch | 29
>> ++
>> >  recipes-mozilla/firefox/firefox_38.8.0esr.bb   | 19 +++---
>> >  2 files changed, 33 insertions(+), 15 deletions(-)
>> >  create mode 100644
>> recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
>> >
>> > diff --git
>> a/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
>> b/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
>> > new file mode 100644
>> > index 000..643fef2
>> > --- /dev/null
>> > +++
>> b/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
>> > @@ -0,0 +1,29 @@
>> > +From fd21526d36bd579f2a227b3add38bd615e59db5e Mon Sep 17 00:00:00 2001
>> > +From: Fabio Berton 
>> > +Date: Thu, 30 Jun 2016 16:57:00 -0300
>> > +Subject: [PATCH] Correct the source to be compatible with gcc6 by
>> preventing
>> > + c++ scope errors
>> > +Organization: O.S. Systems Software LTDA.
>> > +
>> > +Signed-off-by: Fabio Berton 
>> > +---
>> > + nsprpub/config/make-system-wrappers.pl | 2 ++
>> > + 1 file changed, 2 insertions(+)
>> > +
>> > +diff --git a/nsprpub/config/make-system-wrappers.pl b/nsprpub/config/
>> make-system-wrappers.pl
>> > +index fa0873a..bf09583 100644
>> > +--- a/nsprpub/config/make-system-wrappers.pl
>> >  b/nsprpub/config/make-system-wrappers.pl
>> > +@@ -19,7 +19,9 @@ while () {
>> > + open OUT, ">$output_dir/$_";
>> > + print OUT "#pragma GCC system_header\n";  # suppress include_next
>> warning
>> > + print OUT "#pragma GCC visibility push(default)\n";
>> > ++print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
>> > + print OUT "#include_next \<$_\>\n";
>> > ++print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
>> > + print OUT "#pragma GCC visibility pop\n";
>> > + close OUT;
>> > + }
>> > +--
>> > +2.1.4
>> > +
>> > diff --git a/recipes-mozilla/firefox/firefox_38.8.0esr.bb
>> b/recipes-mozilla/firefox/firefox_38.8.0esr.bb
>> > index bd9b82c..94e5e04 100644
>> > --- a/recipes-mozilla/firefox/firefox_38.8.0esr.bb
>> > +++ b/recipes-mozilla/firefox/firefox_38.8.0esr.bb
>> > @@ -48,6 +48,7 @@ SRC_URI = "
>> https://archive.mozilla.org/pub/firefox/releases/${PV}/source/firefox
>> >
>>  file://debian-hacks/Work-around-binutils-assertion-on-mips.patch \
>> >
>>  file://debian-hacks/Revert-Bump-search-engine-max-icon-size-to-35kB.patch \
>> > file://fixes/Fix-firefox-install-dir.patch \
>> > +
>>  file://fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch \
>> > "
>> >
>> >  SRC_URI[archive.md5sum] = "af46898414a433f8260c5373efb97d19"
>> > @@ -63,6 +64,9 @@ EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
>> >
>> >  ARM_INSTRUCTION_SET = "arm"
>> >
>> > +CFLAGS +=" -fno-delete-null-pointer-checks -fno-lifetime-dse
>> -fno-schedule-insns2"
>> > +CXXFLAGS +=" -fno-delete-null-pointer-checks -fno-lifetime-dse
>> -fno-schedule-insns2"
>> > +
>>
>> I am ok with this patch, however am curious why -fno-schedule-insn2 is
>> needed ?
>>
>>
>> >  do_install_append() {
>> >  install -d ${D}${datadir}/applications
>> >  install -d ${D}${datadir}/pixmaps
>> > @@ -105,18 +109,3 @@ PRIVATE_LIBS += " \
>> >  libssl3.so \
>> >  libsoftokn3.so \
>> >  "
>> > -
>> > -# | i586-oe-linux-gcc  -m32 -march=i586
>> --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86 -o
>> WebMElement.o -c
>> > -#  -I../../dist/system_wrappers -include
>> /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/config/gcc_hidden.h
>> -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT
>> > -#
>> -I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/media/libmkv
>> -I.
>> > -#  -I../../dist/include
>>  
>> -I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/firefox-build-dir/dist/include/nspr
>> 

[oe] [meta-browser][PATCH v2] firefox: Fix build using gcc 6

2016-07-04 Thread Fabio Berton
Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
otherwise regard as out-of-specification and allow it to produce a
working program.
Add patch to to correct the source to be compatible with gcc6 by
preventing c++ scope errors.

Signed-off-by: Fabio Berton 
---
 ...-source-to-be-compatible-with-gcc6-by-pre.patch | 29 ++
 recipes-mozilla/firefox/firefox_38.8.0esr.bb   | 19 +++---
 2 files changed, 33 insertions(+), 15 deletions(-)
 create mode 100644 
recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch

diff --git 
a/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
 
b/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
new file mode 100644
index 000..643fef2
--- /dev/null
+++ 
b/recipes-mozilla/firefox/firefox/fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
@@ -0,0 +1,29 @@
+From fd21526d36bd579f2a227b3add38bd615e59db5e Mon Sep 17 00:00:00 2001
+From: Fabio Berton 
+Date: Thu, 30 Jun 2016 16:57:00 -0300
+Subject: [PATCH] Correct the source to be compatible with gcc6 by preventing
+ c++ scope errors
+Organization: O.S. Systems Software LTDA.
+
+Signed-off-by: Fabio Berton 
+---
+ nsprpub/config/make-system-wrappers.pl | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/nsprpub/config/make-system-wrappers.pl 
b/nsprpub/config/make-system-wrappers.pl
+index fa0873a..bf09583 100644
+--- a/nsprpub/config/make-system-wrappers.pl
 b/nsprpub/config/make-system-wrappers.pl
+@@ -19,7 +19,9 @@ while () {
+ open OUT, ">$output_dir/$_";
+ print OUT "#pragma GCC system_header\n";  # suppress include_next warning
+ print OUT "#pragma GCC visibility push(default)\n";
++print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
+ print OUT "#include_next \<$_\>\n";
++print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
+ print OUT "#pragma GCC visibility pop\n";
+ close OUT;
+ }
+-- 
+2.1.4
+
diff --git a/recipes-mozilla/firefox/firefox_38.8.0esr.bb 
b/recipes-mozilla/firefox/firefox_38.8.0esr.bb
index bd9b82c..58ff9d8 100644
--- a/recipes-mozilla/firefox/firefox_38.8.0esr.bb
+++ b/recipes-mozilla/firefox/firefox_38.8.0esr.bb
@@ -48,6 +48,7 @@ SRC_URI = 
"https://archive.mozilla.org/pub/firefox/releases/${PV}/source/firefox
file://debian-hacks/Work-around-binutils-assertion-on-mips.patch \

file://debian-hacks/Revert-Bump-search-engine-max-icon-size-to-35kB.patch \
file://fixes/Fix-firefox-install-dir.patch \
+   
file://fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch \
"
 
 SRC_URI[archive.md5sum] = "af46898414a433f8260c5373efb97d19"
@@ -63,6 +64,9 @@ EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
 
 ARM_INSTRUCTION_SET = "arm"
 
+CFLAGS +=" -fno-delete-null-pointer-checks -fno-lifetime-dse"
+CXXFLAGS +=" -fno-delete-null-pointer-checks -fno-lifetime-dse"
+
 do_install_append() {
 install -d ${D}${datadir}/applications
 install -d ${D}${datadir}/pixmaps
@@ -105,18 +109,3 @@ PRIVATE_LIBS += " \
 libssl3.so \
 libsoftokn3.so \
 "
-
-# | i586-oe-linux-gcc  -m32 -march=i586 
--sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86 -o 
WebMElement.o -c
-#  -I../../dist/system_wrappers -include 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/config/gcc_hidden.h
 -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT
-#  
-I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/media/libmkv
 -I. 
-#  -I../../dist/include   
-I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/firefox-build-dir/dist/include/nspr
 
-I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/firefox-build-dir/dist/include/nss
   
-#  
-I/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86/usr/include/pixman-1
   -fPIC   -include ../../mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF 
.deps/WebMElement.o.pp  -Wall -Wdeclaration-after-statement -Wempty-body 
-Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -Os 
-fsigned-char -fno-strict-aliasing -std=gnu99 -fgnu89-inline 
-fno-strict-aliasing -fno-math-errno -pthread -pipe  -DNDEBUG -DTRIMMED 
-freorder-blocks -Os -fomit-frame-pointer 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/firefox/38.7.1esr-r0/mozilla-esr38/media/libmkv/WebMElement.c
-# | In file included from ../../../dist/system_wrappers/stdlib.h:3:0,
-# |  from ../../../dist/include/mozilla/mozalloc.h:15,
-# |  from ../../../dist/stl_wrappers/cstdlib:39,
-# |  from 

[oe] [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb

2016-07-04 Thread mingli.yu
From: Mingli Yu 

* Add python-setuptools-scm bb as python-pytest-runner depends
  on python-setuptools-scm

Signed-off-by: Mingli Yu 
---
 .../python/python-setuptools-scm_1.11.1.bb | 18 ++
 1 file changed, 18 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb

diff --git 
a/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb 
b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
new file mode 100644
index 000..2a3b97d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "the blessed package to manage your versions by scm tags"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
+
+inherit pypi setuptools
+
+SRCNAME = "setuptools_scm"
+
+SRC_URI = 
"https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz;
+
+SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
+SRC_URI[sha256sum] = 
"8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger 
python-json"
+
+
-- 
2.8.1

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


[oe] [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency

2016-07-04 Thread mingli.yu
From: Mingli Yu 

* Add python-pytest-runner dependency for python-mccabe

Signed-off-by: Mingli Yu 
---
 meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb 
b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
index 0958f75..ba966eb 100644
--- a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
@@ -8,6 +8,9 @@ SRC_URI[sha256sum] = 
"9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca498226886
 
 inherit pypi setuptools
 
+DEPENDS += " \
+python-pytest-runner"
+
 RDEPENDS_${PN} += " \
 python-prettytable \
 python-cmd2 \
-- 
2.8.1

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


[oe] [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb

2016-07-04 Thread mingli.yu
From: Mingli Yu 

* Add python-pbr bb file as python-mock depends on
  python-pbr-native

Signed-off-by: Mingli Yu 
---
 meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pbr_1.10.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb 
b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
new file mode 100644
index 000..fd35197
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some 
useful and sensible default behaviors into your setuptools run"
+HOMEPAGE = "https://pypi.python.org/pypi/pbr;
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+SRC_URI[md5sum] = "8e4968c587268f030e38329feb9c8f17"
+SRC_URI[sha256sum] = 
"186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c"
+
+inherit pypi setuptools
+
+DEPENDS_class-target += " \
+python-pip \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.8.1

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


[oe] [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb

2016-07-04 Thread mingli.yu
From: Mingli Yu 

* Add python-pytest-runner bb as python-mccabe depends
  on python-pytest-runner

Signed-off-by: Mingli Yu 
---
 .../recipes-devtools/python/python-pytest-runner_2.8.bb| 14 ++
 1 file changed, 14 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb

diff --git a/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb 
b/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb
new file mode 100644
index 000..a4685ec
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e38b971c2b4c33b978d1b9c9ece9ae63"
+
+SRC_URI[md5sum] = "041f3624f450d87a242e3907d7f90e8f"
+SRC_URI[sha256sum] = 
"1ec44deddaa551f85fd563c40a4c483a2609aca1f284a95399566a74d0680d5c"
+PYPI_PACKAGE_HASH = 
"466cff61a9e0d513222afa3529bdb565a465812b7e50b218a5afd705f46b258c"
+
+DEPENDS += " \
+python-setuptools-scm"
+
+RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger 
python-json"
+
+inherit pypi setuptools
-- 
2.8.1

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


[oe] [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency

2016-07-04 Thread mingli.yu
From: Mingli Yu 

* Add python-pbr-native dependency for python-mock

Signed-off-by: Mingli Yu 
---
 meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb 
b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
index eb473d2..849c99e 100644
--- a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
@@ -8,6 +8,9 @@ PYPI_PACKAGE_HASH = 
"0c53014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbf
 
 inherit pypi setuptools
 
+DEPENDS += " \
+python-pbr-native"
+
 RDEPENDS_${PN} += " \
 python-prettytable \
 python-cmd2 \
-- 
2.8.1

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


[oe] [meta-python][PATCH v2] Add some python packages bb

2016-07-04 Thread mingli.yu
1, Add python-pbr bb file as python-mock depends on
   python-pbr-native

2, Update python-mock bb to add python-pbr-native dependency 
   for python-mock

3, Update python-mccabe bb to add python-pytest-runner 
   dependency for python-mccabe

4, Add python-pytest-runner bb as python-mccabe depends
   on python-pytest-runner

5, Add python-setuptools-scm bb as python-pytest-runner depends
   on python-setuptools-scm

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


Re: [oe] [meta-oe][PATCH] android-tools: Fix, enhance and move from meta-shr

2016-07-04 Thread Nicolas Dechesne
On Sat, Jul 2, 2016 at 7:15 PM, Khem Raj  wrote:
>> Obviously, it doesn't prevent to get current recipe moved to meta-oe.
>> It's just a heads up :)
>
> Thanks for.update. I think this really should go into oe core. Since sparse
> file system is across many devices

+1. for sure.. that would be very nice.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-filesystems][master][PATCHv4] sshfs-fuse: update to 2.8

2016-07-04 Thread Zoltan Kuscsik
Update SRC_URI, upstream project was
moved from SF to github.

Fix building issue when build and source
directory differs.

Signed-off-by: Zoltan Kuscsik 
---
 .../files/0001-Makefile-fix-path-for-sshfs.1.patch | 32 ++
 .../{sshfs-fuse_2.5.bb => sshfs-fuse_2.8.bb}   |  9 +++---
 2 files changed, 36 insertions(+), 5 deletions(-)
 create mode 100644 
meta-filesystems/recipes-filesystems/sshfs-fuse/files/0001-Makefile-fix-path-for-sshfs.1.patch
 rename meta-filesystems/recipes-filesystems/sshfs-fuse/{sshfs-fuse_2.5.bb => 
sshfs-fuse_2.8.bb} (65%)

diff --git 
a/meta-filesystems/recipes-filesystems/sshfs-fuse/files/0001-Makefile-fix-path-for-sshfs.1.patch
 
b/meta-filesystems/recipes-filesystems/sshfs-fuse/files/0001-Makefile-fix-path-for-sshfs.1.patch
new file mode 100644
index 000..c434a03
--- /dev/null
+++ 
b/meta-filesystems/recipes-filesystems/sshfs-fuse/files/0001-Makefile-fix-path-for-sshfs.1.patch
@@ -0,0 +1,32 @@
+From e3cd445a4ee44a16faa646d7b642d02eea62b1f8 Mon Sep 17 00:00:00 2001
+From: Zoltan Kuscsik 
+Date: Fri, 1 Jul 2016 09:30:31 +0200
+Subject: [PATCH] Makefile: fix path for sshfs.1
+
+Fix source path when build directory differs
+from the source dir.
+
+Upstream-Status: Accepted
+
+https://github.com/libfuse/sshfs/pull/24
+
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index f003bae..3d8f9cb 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -24,7 +24,7 @@ sshfs.1: sshfs.1.in
+   $(AM_V_GEN)sed \
+   -e 's,__IDMAP_DEFAULT__,$(IDMAP_DEFAULT),g' \
+   -e 's,__UNMOUNT_COMMAND__,$(UNMOUNT_COMMAND),g' \
+-  sshfs.1.tmp || exit 1; \
++  <$(srcdir)/sshfs.1.in >sshfs.1.tmp || exit 1; \
+   mv sshfs.1.tmp sshfs.1
+ 
+ if SSH_NODELAY_SO
+-- 
+1.9.1
+
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb 
b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.8.bb
similarity index 65%
rename from meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb
rename to meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.8.bb
index c54cfcb..64ccdac 100644
--- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb
+++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.8.bb
@@ -6,12 +6,11 @@ LICENSE = "GPLv2"
 DEPENDS = "glib-2.0 fuse"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/${BP}.tar.gz"
-S = "${WORKDIR}/${BP}"
+SRC_URI = 
"git://github.com/libfuse/sshfs;tag=b2fa7593586b141298e6159f40f521d2b0f4f894 \
+   file://0001-Makefile-fix-path-for-sshfs.1.patch"
+
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
 
 FILES_${PN} += "${libdir}/sshnodelay.so"
-
-SRC_URI[md5sum] = "17494910db8383a366b1301e5f5148a9"
-SRC_URI[sha256sum] = 
"e9171452e5d0150b9c6a2158fd2e2dcefb5d5d03ba4d208949e00a3a46c6e63e"
-- 
1.9.1

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