Re: [OE-core] [PATCH 4/9] gzip: upgrade to 1.8

2016-06-14 Thread ChenQi

On 06/14/2016 08:03 PM, Richard Purdie wrote:

On Tue, 2016-06-14 at 17:41 +0800, ChenQi wrote:

On 06/14/2016 12:38 PM, Maxin B. John wrote:

Hi,

On Sun, Jun 12, 2016 at 10:21:02AM +0800, Chen Qi wrote:

Signed-off-by: Chen Qi 
---
   meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} | 0
   1 file changed, 0 insertions(+), 0 deletions(-)
   rename meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb}
(100%)

diff --git a/meta/recipes-extended/gzip/gzip_1.6.bb
b/meta/recipes-extended/gzip/gzip_1.8.bb
similarity index 100%
rename from meta/recipes-extended/gzip/gzip_1.6.bb
rename to meta/recipes-extended/gzip/gzip_1.8.bb
--
1.9.1

gzip-1.8 build failed on qemux86 - musl:
http://errors.yoctoproject.org/Errors/Details/69401/

Best Regards,
Maxin


Thanks.
I'll look into it.

I've updated the patch in -next to deal with this, and the
PREFERRED_VERSION warning it introduced too...

Cheers,

Richard



Thanks a lot for that.

Best Regards,
Chen Qi
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][PATCH] u-boot: extend UBOOT_CONFIG format to support different binary name

2016-06-14 Thread ting.liu
From: Ting Liu 

When using UBOOT_CONFIG format, the final u-boot binary for each config
may have different names. Extend UBOOT_CONFIG format to support different
binary to be copied.

The new format is supposed to be compatible with old one as ${UBOOT_BINARY}
is copied by default, and images,binary can be empty.

An example format to specify it, in the machine, is:
UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
UBOOT_CONFIG[nor] = "ls1021atwr_nor_config,,u-boot-dtb.bin"
UBOOT_CONFIG[sdcard-ifc] = 
"ls1021atwr_sdcard_ifc_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[sdcard-qspi] = 
"ls1021atwr_sdcard_qspi_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config,,u-boot-dtb.bin"
UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config,,u-boot-dtb.bin"
UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"

Signed-off-by: Ting Liu 
---
 meta/classes/uboot-config.bbclass  | 19 ---
 meta/recipes-bsp/u-boot/u-boot.inc | 12 +---
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/meta/classes/uboot-config.bbclass 
b/meta/classes/uboot-config.bbclass
index cb061af..3f760f2 100644
--- a/meta/classes/uboot-config.bbclass
+++ b/meta/classes/uboot-config.bbclass
@@ -3,7 +3,7 @@
 # The format to specify it, in the machine, is:
 #
 # UBOOT_CONFIG ??= 
-# UBOOT_CONFIG[foo] = "config,images"
+# UBOOT_CONFIG[foo] = "config,images,binary"
 #
 # or
 #
@@ -11,9 +11,13 @@
 #
 # Copyright 2013, 2014 (C) O.S. Systems Software LTDA.
 
+UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
+
 python () {
 ubootmachine = d.getVar("UBOOT_MACHINE", True)
 ubootconfigflags = d.getVarFlags('UBOOT_CONFIG')
+ubootbinary = d.getVar('UBOOT_BINARY', True)
+ubootbinaries = d.getVar('UBOOT_BINARIES', True)
 # The "doc" varflag is special, we don't want to see it here
 ubootconfigflags.pop('doc', None)
 
@@ -27,6 +31,9 @@ python () {
 if ubootmachine and ubootconfigflags:
 raise bb.parse.SkipPackage("You cannot use UBOOT_MACHINE and 
UBOOT_CONFIG at the same time.")
 
+if ubootconfigflags and ubootbinaries:
+raise bb.parse.SkipPackage("You cannot use UBOOT_BINARIES as it is 
internal to uboot_config.bbclass.")
+
 if not ubootconfigflags:
 return
 
@@ -36,13 +43,19 @@ python () {
 for f, v in ubootconfigflags.items():
 if config == f: 
 items = v.split(',')
-if items[0] and len(items) > 2:
-raise bb.parse.SkipPackage('Only config,images can be 
specified!')
+if items[0] and len(items) > 3:
+raise bb.parse.SkipPackage('Only config,images,binary 
can be specified!')
 d.appendVar('UBOOT_MACHINE', ' ' + items[0])
 # IMAGE_FSTYPES appending
 if len(items) > 1 and items[1]:
 bb.debug(1, "Appending '%s' to IMAGE_FSTYPES." % 
items[1])
 d.appendVar('IMAGE_FSTYPES', ' ' + items[1])
+if len(items) > 2 and items[2]:
+bb.debug(1, "Appending '%s' to UBOOT_BINARIES." % 
items[2])
+d.appendVar('UBOOT_BINARIES', ' ' + items[2])
+else:
+bb.debug(1, "Appending '%s' to UBOOT_BINARIES." % 
ubootbinary)
+d.appendVar('UBOOT_BINARIES', ' ' + ubootbinary)
 break
 elif len(ubootconfig) == 0:
raise bb.parse.SkipPackage('You must set a default in UBOOT_CONFIG.')
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 1071d1f..92e9c11 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -32,7 +32,6 @@ UBOOT_LOCALVERSION ?= ""
 # but enable individual recipes to change this value.
 UBOOT_SUFFIX ??= "bin"
 UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
-UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
 UBOOT_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_SUFFIX}"
 UBOOT_MAKE_TARGET ?= "all"
 
@@ -82,15 +81,22 @@ do_compile () {
 
 if [ -n "${UBOOT_CONFIG}" ]
 then
+unset i j k
 for config in ${UBOOT_MACHINE}; do
 i=$(expr $i + 1);
-for type  in ${UBOOT_CONFIG}; do
+for type in ${UBOOT_CONFIG}; do
 j=$(expr $j + 1);
 if [ $j -eq $i ]
 then
 oe_runmake O=${config} ${config}
 oe_runmake O=${config} ${UBOOT_MAKE_TARGET}
-cp  ${S}/${config}/${UBOOT_BINARY}  
${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
+for binary in ${UBOOT_BINARIES}; do
+k=$(expr $k + 1);
+if [ $k -eq $i ]; then
+cp ${S}/${config}/${binary} 
${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
+break
+

[OE-core] [PATCH 1/1] make: 4.2 -> 4.2.1

2016-06-14 Thread Robert Yang
1) Remove unused patch 
0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch.

2) Here are the fixes since 4.2, the [SV 47995] is important for us.
   * maintMakefile: TP recommends rsync for retrieving PO files.
   * main.c (main): [SV 48009] Reset stack limit for make re-exec.
   [SV 47995] Ensure forced double-colon rules work with -j.
   * DELETE_ON_ERROR: [SV 48061] Use "exit 1" for portability.
   * w32/pathstuff.c: [SV 47996] Use ISBLANK() not isblank().
   Fix printing time stamps on MS-Windows
   [SV 48037] Fix MinGW build with Posix configury tools

Signed-off-by: Robert Yang 
---
 ...-SV-43434-Handle-NULL-returns-from-ttynam.patch | 63 --
 .../make/{make_4.2.bb => make_4.2.1.bb}|  4 +-
 2 files changed, 2 insertions(+), 65 deletions(-)
 delete mode 100644 
meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
 rename meta/recipes-devtools/make/{make_4.2.bb => make_4.2.1.bb} (71%)

diff --git 
a/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
 
b/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
deleted file mode 100644
index 7a5f4ba..000
--- 
a/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 292da6f6867b75a5af7ddbb639a1feae022f438f Mon Sep 17 00:00:00 2001
-From: Paul Smith 
-Date: Mon, 20 Oct 2014 01:54:56 -0400
-Subject: [PATCH] * main.c (main): [SV 43434] Handle NULL returns from
- ttyname().
-
-Upstream-Status: Backport
-
-From: 
http://git.savannah.gnu.org/cgit/make.git/commit/?id=292da6f6867b75a5af7ddbb639a1feae022f438f
-

- main.c| 15 ++-
- makeint.h |  3 ++-
- 2 files changed, 12 insertions(+), 6 deletions(-)
-
-diff --git a/main.c b/main.c
-index b2d169c..0cdb8a8 100644
 a/main.c
-+++ b/main.c
-@@ -1429,13 +1429,18 @@ main (int argc, char **argv, char **envp)
- #ifdef HAVE_ISATTY
- if (isatty (fileno (stdout)))
-   if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMOUT")))
--define_variable_cname ("MAKE_TERMOUT", TTYNAME (fileno (stdout)),
--   o_default, 0)->export = v_export;
--
-+{
-+  const char *tty = TTYNAME (fileno (stdout));
-+  define_variable_cname ("MAKE_TERMOUT", tty ? tty : DEFAULT_TTYNAME,
-+ o_default, 0)->export = v_export;
-+}
- if (isatty (fileno (stderr)))
-   if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMERR")))
--define_variable_cname ("MAKE_TERMERR", TTYNAME (fileno (stderr)),
--   o_default, 0)->export = v_export;
-+{
-+  const char *tty = TTYNAME (fileno (stderr));
-+  define_variable_cname ("MAKE_TERMERR", tty ? tty : DEFAULT_TTYNAME,
-+ o_default, 0)->export = v_export;
-+}
- #endif
- 
-   /* Reset in case the switches changed our minds.  */
-diff --git a/makeint.h b/makeint.h
-index 6223936..2009f41 100644
 a/makeint.h
-+++ b/makeint.h
-@@ -436,10 +436,11 @@ extern struct rlimit stack_limit;
- /* The number of bytes needed to represent the largest integer as a string.  
*/
- #define INTSTR_LENGTH CSTRLEN ("18446744073709551616")
- 
-+#define DEFAULT_TTYNAME "true"
- #ifdef HAVE_TTYNAME
- # define TTYNAME(_f) ttyname (_f)
- #else
--# define TTYNAME(_f) "true"
-+# define TTYNAME(_f) DEFAULT_TTYNAME
- #endif
- 
- 
--- 
-1.9.1
-
diff --git a/meta/recipes-devtools/make/make_4.2.bb 
b/meta/recipes-devtools/make/make_4.2.1.bb
similarity index 71%
rename from meta/recipes-devtools/make/make_4.2.bb
rename to meta/recipes-devtools/make/make_4.2.1.bb
index 6327d6c..c6e6a0c 100644
--- a/meta/recipes-devtools/make/make_4.2.bb
+++ b/meta/recipes-devtools/make/make_4.2.1.bb
@@ -6,7 +6,7 @@ require make.inc
 
 EXTRA_OECONF += "--without-guile"
 
-SRC_URI[md5sum] = "85ad14d08766201ffe71efa866f4fb91"
-SRC_URI[sha256sum] = 
"4e5ce3b62fe5d75ff8db92b7f6df91e476d10c3aceebf1639796dc5bfece655f"
+SRC_URI[md5sum] = "15b012617e7c44c0ed482721629577ac"
+SRC_URI[sha256sum] = 
"d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.8.0

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


[OE-core] [PATCH 0/1] make: 4.2 -> 4.2.1

2016-06-14 Thread Robert Yang
Hi RP and Ross,

This patch is based on master-next (make 4.2 is on master-next), the
4.2.1 is released on June 10 which contains a patch needed by us,
otherwise git may fail to build with make-native:
[SV 47995] Ensure forced double-colon rules work with -j.

// Robert

The following changes since commit 6979749fd31baf20f19d3307bba510907016aa3f:

  make: 4.1 -> 4.2 (2016-06-14 19:22:12 -0700)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/make
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/make

Robert Yang (1):
  make: 4.2 -> 4.2.1

 ...-SV-43434-Handle-NULL-returns-from-ttynam.patch | 63 --
 .../make/{make_4.2.bb => make_4.2.1.bb}|  4 +-
 2 files changed, 2 insertions(+), 65 deletions(-)
 delete mode 100644 
meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
 rename meta/recipes-devtools/make/{make_4.2.bb => make_4.2.1.bb} (71%)

-- 
2.8.0

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


[OE-core] [PATCH] directfb: fix client->gfx_state initialisation

2016-06-14 Thread Andre McCurdy
Shortly before the DirectFB 1.7.7 release, an optimisation was added
to CoreGraphicsStateClient_Init() to avoid creating an extended
Graphics State object if it will not later be required:

  4d422fb Client: Create extended Graphics State object when needed for later 
usage

Unfortunately the client->gfx_state variable used to track the
extended Graphics State object is not initialised, which can lead to
crashes etc due to creation of the Graphics State object erroneously
being skipped.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-graphics/directfb/directfb.inc|  1 +
 .../fix-client-gfx_state-initialisation.patch  | 38 ++
 2 files changed, 39 insertions(+)
 create mode 100644 
meta/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch

diff --git a/meta/recipes-graphics/directfb/directfb.inc 
b/meta/recipes-graphics/directfb/directfb.inc
index f6b7cbe..527062a 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -19,6 +19,7 @@ SRC_URI = 
"http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g
file://compar_fn_t.patch \
file://union-sigval.patch \
file://use-PTHREAD_MUTEX_RECURSIVE.patch \
+   file://fix-client-gfx_state-initialisation.patch \
   "
 
 S = "${WORKDIR}/DirectFB-${PV}"
diff --git 
a/meta/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch
 
b/meta/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch
new file mode 100644
index 000..57a9b0d
--- /dev/null
+++ 
b/meta/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch
@@ -0,0 +1,38 @@
+From 8e53c0b9cedb62b82e2b7680d793d433b647ae20 Mon Sep 17 00:00:00 2001
+From: Andre McCurdy 
+Date: Mon, 13 Jun 2016 13:32:44 -0700
+Subject: [PATCH] fix client->gfx_state initialisation
+
+Shortly before the DirectFB 1.7.7 release, an optimisation was added
+to CoreGraphicsStateClient_Init() to avoid creating an extended
+Graphics State object if it will not later be required:
+
+  4d422fb Client: Create extended Graphics State object when needed for later 
usage
+
+Unfortunately the client->gfx_state variable used to track the
+extended Graphics State object is not initialised, which can lead to
+crashes etc due to creation of the Graphics State object erroneously
+being skipped.
+
+Upstream-Status: Pending
+
+Signed-off-by: Andre McCurdy 
+---
+ src/core/CoreGraphicsStateClient.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/core/CoreGraphicsStateClient.cpp 
b/src/core/CoreGraphicsStateClient.cpp
+index 5d46f0e..5007755 100644
+--- a/src/core/CoreGraphicsStateClient.cpp
 b/src/core/CoreGraphicsStateClient.cpp
+@@ -364,6 +364,7 @@ CoreGraphicsStateClient_Init( CoreGraphicsStateClient 
*client,
+  client->renderer  = NULL;
+  client->requestor = NULL;
+  client->throttle  = NULL;
++ client->gfx_state = NULL;
+ 
+  if (dfb_config->task_manager) {
+   if (dfb_config->call_nodirect) {
+-- 
+1.9.1
+
-- 
1.9.1

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


Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-14 Thread Mariano Lopez



On 06/14/2016 04:26 AM, Burton, Ross wrote:


On 13 June 2016 at 14:32, > wrote:


+   features = 'INHERIT += "testexport"\n'
+features = 'TEST_SUITES = "ping ssh selftest"\n'
+
+# Build core-image-sato and testimage
+bitbake('core-image-sato socat')
+bitbake('-c testimage core-image-sato')


If we're just running ping/ssh/selftest, can the image be something a 
lot smaller such as core-image-base?


Ross


Unfortunately, base or minimal don't have ssh installed, and ssh it is 
required for the runtime tests.
I could add the ssh to DISTRO_FEATURES but personally I think that is 
not clean. What do you think?


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


[OE-core] [master][krogoth][jethro][fido][v2][PATCH 1/2] tzcode: update to 2016e

2016-06-14 Thread Armin Kuster
From: Armin Kuster 

V2: typo in title (jet lagged)
Changes to code

zic now outputs a dummy transition at time 2**31 - 1 in zones
whose POSIX-style TZ strings contain a '<'.  This mostly works
around Qt bug 53071 .
(Thanks to Zhanibek Adilbekov for reporting the Qt bug.)

Changes affecting documentation and commentary

tz-link.htm says why governments should give plenty of notice for
time zone or DST changes, and refers to Matt Johnson's blog post.
tz-link.htm mentions Tzdata for Elixir.  (Thanks to Matt Johnson.)

Signed-off-by: Armin Kuster 
---
 .../tzcode/{tzcode-native_2016d.bb => tzcode-native_2016e.bb}| 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta/recipes-extended/tzcode/{tzcode-native_2016d.bb => 
tzcode-native_2016e.bb} (69%)

diff --git a/meta/recipes-extended/tzcode/tzcode-native_2016d.bb 
b/meta/recipes-extended/tzcode/tzcode-native_2016e.bb
similarity index 69%
rename from meta/recipes-extended/tzcode/tzcode-native_2016d.bb
rename to meta/recipes-extended/tzcode/tzcode-native_2016e.bb
index 4b5ab86..78af639 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2016d.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2016e.bb
@@ -9,10 +9,11 @@ SRC_URI =" 
http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz

http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata";
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones";
 
-SRC_URI[tzcode.md5sum] = "06fc6fc111cd8dd681abdc5326529afd"
-SRC_URI[tzcode.sha256sum] = 
"a8f33d6f87aef7e109e4769fc7f6e63637d52d07ddf6440a1a50df3d9a34e0ca"
-SRC_URI[tzdata.md5sum] = "14bf84b6c2cdab0a9428991e0150ebe6"
-SRC_URI[tzdata.sha256sum] = 
"d9554dfba0efd76053582bd89e8c7036ef12eee14fdd506675b08a5b59f0a1b4"
+SRC_URI[tzcode.md5sum] = "6e6d3f0046a9383aafba8c2e0708a3a3"
+SRC_URI[tzcode.sha256sum] = 
"57d8c4fcd5e8a90657d0e298eac5effb1a642119c92308db68d13a4612fa459e"
+
+SRC_URI[tzdata.md5sum] = "43f9f929a8baf0dd2f17efaea02c2d2a"
+SRC_URI[tzdata.sha256sum] = 
"ba00f899f18dc4048d7fa21f5e1fdef434496084eedc06f6caa15e5ecdb6bd81"
 
 S = "${WORKDIR}"
 
-- 
2.3.5

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


[OE-core] [master][krogoth][jethro][fido][v2][PATCH 2/2] tzdata: update to 2016e

2016-06-14 Thread Armin Kuster
From: Armin Kuster 

Changes affecting future time stamps

Africa/Cairo observes DST in 2016 from July 7 to the end of October.
Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.)
For future years, guess April's last Thursday to October's last
Thursday except for Ramadan.

Changes affecting past time stamps

Locations while uninhabited now use '-00', not 'zzz', as a
placeholder time zone abbreviation.  This is inspired by Internet
RFC 3339 and is more consistent with numeric time zone
abbreviations already used elsewhere.  The change affects several
arctic and antarctic locations, e.g., America/Cambridge_Bay before
1920 and Antarctica/Troll before 2005.

Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was
at 03:00, not 23:00 the previous day.  (Thanks to Michael Deckers.)

Signed-off-by: Armin Kuster 
---
 meta/recipes-extended/tzdata/{tzdata_2016d.bb => tzdata_2016e.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/tzdata/{tzdata_2016d.bb => tzdata_2016e.bb} (98%)

diff --git a/meta/recipes-extended/tzdata/tzdata_2016d.bb 
b/meta/recipes-extended/tzdata/tzdata_2016e.bb
similarity index 98%
rename from meta/recipes-extended/tzdata/tzdata_2016d.bb
rename to meta/recipes-extended/tzdata/tzdata_2016e.bb
index a525c8c..ac05726 100644
--- a/meta/recipes-extended/tzdata/tzdata_2016d.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2016e.bb
@@ -9,8 +9,8 @@ DEPENDS = "tzcode-native"
 SRC_URI = 
"http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata";
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones";
 
-SRC_URI[tzdata.md5sum] = "14bf84b6c2cdab0a9428991e0150ebe6"
-SRC_URI[tzdata.sha256sum] = 
"d9554dfba0efd76053582bd89e8c7036ef12eee14fdd506675b08a5b59f0a1b4"
+SRC_URI[tzdata.md5sum] = "43f9f929a8baf0dd2f17efaea02c2d2a"
+SRC_URI[tzdata.sha256sum] = 
"ba00f899f18dc4048d7fa21f5e1fdef434496084eedc06f6caa15e5ecdb6bd81"
 
 inherit allarch
 
-- 
2.3.5

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


Re: [OE-core] [PATCH] flex: Fix top_builddir path for flex's test-driver script

2016-06-14 Thread Benjamin Esquivel
ACK'ed.

I verified that your patch works.

On Mon, 2016-06-13 at 17:02 -0500,
leonardo.sandoval.gonza...@linux.intel.com wrote:
> From: Leonardo Sandoval 
> 
> Since 5f82d17ac63f6d5b55f7b8d019c239620ab54596, test-driver scripts
> look into top_buildir path, so fix this path on flex's
> tests/Makefile.
> 
> [YOCTO #9721]
> 
> Signed-off-by: Leonardo Sandoval  tel.com>
> ---
>  meta/recipes-devtools/flex/flex_2.6.0.bb | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-
> devtools/flex/flex_2.6.0.bb
> index 8285426..f6d136c 100644
> --- a/meta/recipes-devtools/flex/flex_2.6.0.bb
> +++ b/meta/recipes-devtools/flex/flex_2.6.0.bb
> @@ -51,5 +51,8 @@ do_install_ptest() {
>   cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
>   cp -r ${S}/tests/* ${D}${PTEST_PATH}
>   cp -r ${B}/tests/* ${D}${PTEST_PATH}
> - sed -e 's/^Makefile:/_Makefile:/' -e 's/^srcdir =
> \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./'  -i
> ${D}${PTEST_PATH}/Makefile
> + sed -e 's/^Makefile:/_Makefile:/' \
> + -e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir =
> \(.*\)/top_srcdir = ./' \
> + -e 's/^builddir = \(.*\)/builddir = ./' -e
> 's/^top_builddir = \(.*\)/top_builddir = ./' \
> + -i ${D}${PTEST_PATH}/Makefile
>  }
> -- 
> 2.1.4
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] classes/rm_work: use the idle I/O scheduler class

2016-06-14 Thread Christopher Larson
On Tue, Jun 14, 2016 at 8:18 AM, Ross Burton  wrote:

> As rm_work is just cleanup it shouldn't starve more important tasks such as
> do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle
> scheduler class.
>
> Signed-off-by: Ross Burton 
>

Nice.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] classes/rm_work: use the idle I/O scheduler class

2016-06-14 Thread Ross Burton
As rm_work is just cleanup it shouldn't starve more important tasks such as
do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle
scheduler class.

Signed-off-by: Ross Burton 
---
 meta/classes/rm_work.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 3ebf095..3e6c5ac 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -15,6 +15,9 @@
 # to try and reduce disk usage
 BB_SCHEDULER ?= "completion"
 
+# Run the rm_work task in the idle scheduling class
+BB_TASK_IONICE_LEVEL_task-rm_work = "3.0"
+
 RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
 BB_DEFAULT_TASK = "rm_work_all"
 
-- 
2.8.0.rc3

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


Re: [OE-core] [PATCH] icecc.bbclass: replace os.popen with subprocess.check_output

2016-06-14 Thread Burton, Ross
On 14 June 2016 at 15:59, Leonardo Sandoval <
leonardo.sandoval.gonza...@linux.intel.com> wrote:

> Also, now that we switch to subprocess.check_output, I wonder if we need
> to convert it to string (the output of this method) before proceeding.
>

Yeah, check_output under py3 returns byte arrays, so you either need to
convert to string or pass universal_newlines=True.

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


Re: [OE-core] [PATCH] icecc.bbclass: replace os.popen with subprocess.check_output

2016-06-14 Thread Leonardo Sandoval



On 06/14/2016 09:03 AM, Martin Jansa wrote:

* otherwise there is a lot of warnings about missing close on file descriptor

Signed-off-by: Martin Jansa 
---
  meta/classes/icecc.bbclass | 14 ++
  1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index e1c06c4..cb44007 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -47,7 +47,8 @@ def get_cross_kernel_cc(bb,d):
  
  # evaluate the expression by the shell if necessary

  if '`' in kernel_cc or '$(' in kernel_cc:
-kernel_cc = os.popen("echo %s" % kernel_cc).read()[:-1]
+import subprocess
There are two imports like this, would it make sense to place just once 
on top?


Also, now that we switch to subprocess.check_output, I wonder if we need 
to convert it to string (the output of this method) before proceeding.

+kernel_cc = subprocess.check_output("echo %s" % kernel_cc, shell=True)
  
  kernel_cc = d.expand(kernel_cc)

  kernel_cc = kernel_cc.replace('ccache', '').strip()
@@ -220,9 +221,14 @@ def icecc_get_and_check_tool(bb, d, tool):
  # PATH or icecc-create-env script will silently create an invalid
  # compiler environment package.
  t = icecc_get_tool(bb, d, tool)
-if t and os.popen("readlink -f %s" % t).read()[:-1] == get_icecc(d):
-bb.error("%s is a symlink to %s in PATH and this prevents icecc from 
working" % (t, get_icecc(d)))
-return ""
+if t:
+import subprocess
+link_path = subprocess.check_output("readlink -f %s" % t, shell=True)
+if link_path == get_icecc(d):
+bb.error("%s is a symlink to %s in PATH and this prevents icecc from 
working" % (t, get_icecc(d)))
+return ""
+else:
+return t
  else:
  return t
  


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


Re: [OE-core] [PATCHv3 10/30] vte: Upgrade to 0.44.1

2016-06-14 Thread Jussi Kukkonen
On 14 June 2016 at 11:14, Jussi Kukkonen  wrote:

> * License change LGPL 2.0 -> LGPL 2.1+
> * vte-termcap is no more
> * API break: current version seems to be parallel installable
>   with old one, but I did not opt for that.
> * Add patch to avoid stack protection by default
> * Add SECURITY_NO_PIE_CFLAGS exception until linking failure with
>   libc_nonshared.a is resolved (undefined reference to
>   __init_array_start)
>

Just found out Khem has worked around a similar problem with libtool-cross
already: I've modified this patch so that SECURITY_NO_PIE_CFLAGS is no
longer used, but instead libtool-cross is used:

+# libtool adds "-nostdlib" when g++ is used. This breaks PIE builds.
+# Use libtool-cross (which has a hack to prevent that) instead.
+EXTRA_OEMAKE_class-target =
"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"

 - Jussi




> Signed-off-by: Jussi Kukkonen 
> ---
>  meta/conf/distro/include/security_flags.inc|   2 +
>  .../vte/vte-0.28.2/cve-2012-2738.patch | 136
> -
>  .../vte/vte-0.28.2/obsolete_automake_macros.patch  |  14 ---
>  meta/recipes-support/vte/vte.inc   |  15 ---
>  ...-Don-t-enable-stack-protection-by-default.patch |  29 +
>  meta/recipes-support/vte/vte_0.28.2.bb |  16 ---
>  meta/recipes-support/vte/vte_0.44.1.bb |  24 
>  7 files changed, 55 insertions(+), 181 deletions(-)
>  delete mode 100644 meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
>  delete mode 100644
> meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch
>  delete mode 100644 meta/recipes-support/vte/vte.inc
>  create mode 100644
> meta/recipes-support/vte/vte/0001-Don-t-enable-stack-protection-by-default.patch
>  delete mode 100644 meta/recipes-support/vte/vte_0.28.2.bb
>  create mode 100644 meta/recipes-support/vte/vte_0.44.1.bb
>
> diff --git a/meta/conf/distro/include/security_flags.inc
> b/meta/conf/distro/include/security_flags.inc
> index ea1d4e5..0df65e0 100644
> --- a/meta/conf/distro/include/security_flags.inc
> +++ b/meta/conf/distro/include/security_flags.inc
> @@ -95,6 +95,8 @@ SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}"
>  SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
>  SECURITY_CFLAGS_pn-pulseaudio = "${SECURITY_NO_PIE_CFLAGS}"
>
> +SECURITY_CFLAGS_pn-vte = "${SECURITY_NO_PIE_CFLAGS}"
> +
>  # Recipes which fail to compile when elevating -Wformat-security to an
> error
>  SECURITY_STRINGFORMAT_pn-busybox = ""
>  SECURITY_STRINGFORMAT_pn-console-tools = ""
> diff --git a/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
> b/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
> deleted file mode 100644
> index 9b99803..000
> --- a/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
> +++ /dev/null
> @@ -1,136 +0,0 @@
> -Upstream-Status: Backport
> -CVE: CVE-2012-2738
> -Signed-off-by: Ross Burton 
> -
> -From e524b0b3bd8fad844ffa73927c199545b892cdbd Mon Sep 17 00:00:00 2001
> -From: Christian Persch 
> -Date: Sat, 19 May 2012 19:36:09 +0200
> -Subject: [PATCH 1/2] emulation: Limit integer arguments to 65535
> -
> -To guard against malicious sequences containing excessively big numbers,
> -limit all parsed numbers to 16 bit range. Doing this here in the parsing
> -routine is a catch-all guard; this doesn't preclude enforcing
> -more stringent limits in the handlers themselves.
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=676090
> 
> - src/table.c  | 2 +-
> - src/vteseq.c | 2 +-
> - 2 files changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/src/table.c b/src/table.c
> -index 140e8c8..85cf631 100644
>  a/src/table.c
> -+++ b/src/table.c
> -@@ -550,7 +550,7 @@ _vte_table_extract_numbers(GValueArray **array,
> -   if (G_UNLIKELY (*array == NULL)) {
> -   *array = g_value_array_new(1);
> -   }
> --  g_value_set_long(&value, total);
> -+  g_value_set_long(&value, CLAMP (total, 0, G_MAXUSHORT));
> -   g_value_array_append(*array, &value);
> -   } while (i++ < arginfo->length);
> -   g_value_unset(&value);
> -diff --git a/src/vteseq.c b/src/vteseq.c
> -index 7ef4c8c..10991db 100644
>  a/src/vteseq.c
> -+++ b/src/vteseq.c
> -@@ -557,7 +557,7 @@ vte_sequence_handler_multiple(VteTerminal *terminal,
> -   GValueArray *params,
> -   VteTerminalSequenceHandler handler)
> - {
> --vte_sequence_handler_multiple_limited(terminal, params, handler,
> G_MAXLONG);
> -+vte_sequence_handler_multiple_limited(terminal, params, handler,
> G_MAXUSHORT);
> - }
> -
> - static void
> ---
> -2.4.9 (Apple Git-60)
> -
> -
> -From cf1ad453a8def873c49cf6d88162593402f32bb2 Mon Sep 17 00:00:00 2001
> -From: Christian Persch 
> -Date: Sat, 19 May 2012 20:04:12 +0200
> -Subject: [PATCH 2/2] emulation: Limit repetitions
> -
> -Don't allow malicious sequences to cause excessive repetitions.
> -
> -https://bu

[OE-core] [PATCH] icecc.bbclass: replace os.popen with subprocess.check_output

2016-06-14 Thread Martin Jansa
* otherwise there is a lot of warnings about missing close on file descriptor

Signed-off-by: Martin Jansa 
---
 meta/classes/icecc.bbclass | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index e1c06c4..cb44007 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -47,7 +47,8 @@ def get_cross_kernel_cc(bb,d):
 
 # evaluate the expression by the shell if necessary
 if '`' in kernel_cc or '$(' in kernel_cc:
-kernel_cc = os.popen("echo %s" % kernel_cc).read()[:-1]
+import subprocess
+kernel_cc = subprocess.check_output("echo %s" % kernel_cc, shell=True)
 
 kernel_cc = d.expand(kernel_cc)
 kernel_cc = kernel_cc.replace('ccache', '').strip()
@@ -220,9 +221,14 @@ def icecc_get_and_check_tool(bb, d, tool):
 # PATH or icecc-create-env script will silently create an invalid
 # compiler environment package.
 t = icecc_get_tool(bb, d, tool)
-if t and os.popen("readlink -f %s" % t).read()[:-1] == get_icecc(d):
-bb.error("%s is a symlink to %s in PATH and this prevents icecc from 
working" % (t, get_icecc(d)))
-return ""
+if t:
+import subprocess
+link_path = subprocess.check_output("readlink -f %s" % t, shell=True)
+if link_path == get_icecc(d):
+bb.error("%s is a symlink to %s in PATH and this prevents icecc 
from working" % (t, get_icecc(d)))
+return ""
+else:
+return t
 else:
 return t
 
-- 
2.9.0

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


[OE-core] [PATCH] classes/sdl: remove pointless class

2016-06-14 Thread Ross Burton
This class exists purely to add a number of SDL dependencies, which should be
done directly in the recipe.

Signed-off-by: Ross Burton 
---
 meta/classes/sdl.bbclass | 6 --
 1 file changed, 6 deletions(-)
 delete mode 100644 meta/classes/sdl.bbclass

diff --git a/meta/classes/sdl.bbclass b/meta/classes/sdl.bbclass
deleted file mode 100644
index cc31288..000
--- a/meta/classes/sdl.bbclass
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# (C) Michael 'Mickey' Lauer 
-#
-
-DEPENDS += "virtual/libsdl libsdl-mixer libsdl-image"
-SECTION = "x11/games"
-- 
2.8.0.rc3

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


Re: [OE-core] [PATCH 4/9] gzip: upgrade to 1.8

2016-06-14 Thread Richard Purdie
On Tue, 2016-06-14 at 17:41 +0800, ChenQi wrote:
> On 06/14/2016 12:38 PM, Maxin B. John wrote:
> > Hi,
> > 
> > On Sun, Jun 12, 2016 at 10:21:02AM +0800, Chen Qi wrote:
> > > Signed-off-by: Chen Qi 
> > > ---
> > >   meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} | 0
> > >   1 file changed, 0 insertions(+), 0 deletions(-)
> > >   rename meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb}
> > > (100%)
> > > 
> > > diff --git a/meta/recipes-extended/gzip/gzip_1.6.bb
> > > b/meta/recipes-extended/gzip/gzip_1.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-extended/gzip/gzip_1.6.bb
> > > rename to meta/recipes-extended/gzip/gzip_1.8.bb
> > > -- 
> > > 1.9.1
> > gzip-1.8 build failed on qemux86 - musl:
> > http://errors.yoctoproject.org/Errors/Details/69401/
> > 
> > Best Regards,
> > Maxin
> > 
> 
> Thanks.
> I'll look into it.

I've updated the patch in -next to deal with this, and the
PREFERRED_VERSION warning it introduced too...

Cheers,

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


[OE-core] [PATCH] python3: fix CROSSPYTHONPATH for cross builds

2016-06-14 Thread Awais Belal
There are cases where target and host are of the same
type and at such instances the target modules may be
loaded if CROSSPYTHONPATH is not correct. This adds
host library paths so that target modules are not
loaded while cross compiling to avoid illegal instruction
issues.

Signed-off-by: Awais Belal 
---
 meta/recipes-devtools/python/python3_3.5.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3_3.5.1.bb 
b/meta/recipes-devtools/python/python3_3.5.1.bb
index ebfdcdb..78ae174 100644
--- a/meta/recipes-devtools/python/python3_3.5.1.bb
+++ b/meta/recipes-devtools/python/python3_3.5.1.bb
@@ -70,8 +70,8 @@ export _PYTHON_PROJECT_BASE = "${B}"
 export _PYTHON_PROJECT_SRC = "${S}"
 export CCSHARED = "-fPIC"
 
-# Fix ctypes cross compilation
-export CROSSPYTHONPATH = 
"${B}/build/lib.linux-${TARGET_ARCH}-${PYTHON_MAJMIN}:${S}/Lib:${S}/Lib/plat-linux"
+# Fix cross compilation of different modules
+export CROSSPYTHONPATH = 
"${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/:${B}/build/lib.linux-${TARGET_ARCH}-${PYTHON_MAJMIN}:${S}/Lib:${S}/Lib/plat-linux"
 
 # No ctypes option for python 3
 PYTHONLSBOPTS = ""
-- 
1.9.1

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


Re: [OE-core] [PATCH v2] u-boot: Update to 2016.05 release

2016-06-14 Thread Andrew Shadura
On 13/06/16 14:33, Burton, Ross wrote:
> 
> On 10 June 2016 at 22:35, Andrew Shadura  > wrote:
> 
>> Is it something new in this version or is that something that's also
>> been broken for a while now?
> 
> It worked previously so it must be in the new version.

Okay, I'll have a look.

-- 
Cheers,
  Andrew



signature.asc
Description: OpenPGP digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 07/11] gnu-efi: 3.0.3 -> 3.0.4

2016-06-14 Thread Burton, Ross
On 14 June 2016 at 05:50, Maxin B. John  wrote:

> gnu-efi-3.0.4 build failed on qemux86-64 (Build host Debian-8.5)
> http://errors.yoctoproject.org/Errors/Details/69406/
>

I also see the same error on intel-corei7-64.

Also note that the makefiles produce the message "/bin/sh: 1: /usrgcc: not
found", which is because $prefix is exported.  Adding prefix[noexport] =
"1" in the recipe solves this.

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


Re: [OE-core] [PATCH 07/11] gnu-efi: 3.0.3 -> 3.0.4

2016-06-14 Thread Maxin B. John
Hi,

On Sun, Jun 12, 2016 at 01:25:09AM -0700, Robert Yang wrote:
> * Remove gnu-efi-Make-setjmp.S-portable-to-ARM.patch since it is already
>   in the source.
> 
> * Updated LIC_FILES_CHKSUM
>   - The following files are gone:
> lib/arm/div64.S
> lib/arm/lib1funcs.S
>   - Updated md5sum for other files, they add the following words, which are
> still GPLv2+:
> Redistribution and use in source and binary forms, with or without
> modification, are permitted provided that the following conditions
> are met:
> 1. Redistributions of source code must retain the above copyright
>notice and this list of conditions, without modification.
> 2. The name of the author may not be used to endorse or promote products
>derived from this software without specific prior written permission.
> 
> Alternatively, this software may be distributed under the terms of the
> GNU General Public License as published by the Free Software Foundation;
> either version 2 of the License, or (at your option) any later version.
> 
> Signed-off-by: Robert Yang 
> ---
> - ldmia   r0, {r3-r12,r14}
> --- 
> -1.9.1
> -
> diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb 
> b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb
> similarity index 60%
> rename from meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb
> rename to meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb
> index 6b130a2..6a4acfb 100644
> --- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb
> +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb

gnu-efi-3.0.4 build failed on qemux86-64 (Build host Debian-8.5)
http://errors.yoctoproject.org/Errors/Details/69406/

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


Re: [OE-core] [PATCH 4/9] gzip: upgrade to 1.8

2016-06-14 Thread ChenQi

On 06/14/2016 12:38 PM, Maxin B. John wrote:

Hi,

On Sun, Jun 12, 2016 at 10:21:02AM +0800, Chen Qi wrote:

Signed-off-by: Chen Qi 
---
  meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} | 0
  1 file changed, 0 insertions(+), 0 deletions(-)
  rename meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} (100%)

diff --git a/meta/recipes-extended/gzip/gzip_1.6.bb 
b/meta/recipes-extended/gzip/gzip_1.8.bb
similarity index 100%
rename from meta/recipes-extended/gzip/gzip_1.6.bb
rename to meta/recipes-extended/gzip/gzip_1.8.bb
--
1.9.1

gzip-1.8 build failed on qemux86 - musl:
http://errors.yoctoproject.org/Errors/Details/69401/

Best Regards,
Maxin



Thanks.
I'll look into it.

Best Regards,
Chen Qi
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/9] gzip: upgrade to 1.8

2016-06-14 Thread Maxin B. John
Hi,

On Sun, Jun 12, 2016 at 10:21:02AM +0800, Chen Qi wrote:
> Signed-off-by: Chen Qi 
> ---
>  meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  rename meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb} (100%)
> 
> diff --git a/meta/recipes-extended/gzip/gzip_1.6.bb 
> b/meta/recipes-extended/gzip/gzip_1.8.bb
> similarity index 100%
> rename from meta/recipes-extended/gzip/gzip_1.6.bb
> rename to meta/recipes-extended/gzip/gzip_1.8.bb
> -- 
> 1.9.1

gzip-1.8 build failed on qemux86 - musl:
http://errors.yoctoproject.org/Errors/Details/69401/

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


Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-14 Thread Burton, Ross
On 13 June 2016 at 14:32,  wrote:

> +features = 'INHERIT += "testexport"\n'
> +features = 'TEST_SUITES = "ping ssh selftest"\n'
> +
> +# Build core-image-sato and testimage
> +bitbake('core-image-sato socat')
> +bitbake('-c testimage core-image-sato')
>

If we're just running ping/ssh/selftest, can the image be something a lot
smaller such as core-image-base?

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


[OE-core] [PATCH] gcc: make sure header path is set correctly

2016-06-14 Thread Anuj Mittal
We're setting the native header paths in do_configure_prepend,
and don't need to set them again here.

This results in gcc-target not being able to locate the headers
and not being able to detect glibc version, which in turn
results in SSP support not getting detected even though it's available
in libc.

Signed-off-by: Anuj Mittal 
---
 meta/recipes-devtools/gcc/gcc-target.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-target.inc 
b/meta/recipes-devtools/gcc/gcc-target.inc
index a960ed4..37c5c62 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -4,7 +4,6 @@ require gcc-configure-common.inc
 EXTRA_OECONF_PATHS = "\
 --with-sysroot=/ \
 --with-build-sysroot=${STAGING_DIR_TARGET} \
---with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
 --with-gxx-include-dir=${includedir}/c++/${BINV} \
 "
 
-- 
1.9.1

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


[OE-core] [PATCHv3 29/30] gtk-engines: Remove as unused

2016-06-14 Thread Jussi Kukkonen
gtk-engines is no longer used by any theme in oe-core

Signed-off-by: Jussi Kukkonen 
---
 .../gtk-engines/gtk-engines-2.20.2/glib-2.32.patch | 23 -
 .../gtk-engines-2.20.2/substitute-tests.patch  | 37 ---
 .../gtk-engines/gtk-engines_2.20.2.bb  | 55 --
 3 files changed, 115 deletions(-)
 delete mode 100644 
meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
 delete mode 100644 
meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
 delete mode 100644 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb

diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch 
b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
deleted file mode 100644
index f0b878d..000
--- a/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 8d49a386f467cbf8e0842d2218126f643e50f834 Mon Sep 17 00:00:00 2001
-From: Dominique Leuenberger 
-Date: Sun, 27 Nov 2011 14:24:57 +
-Subject: Fix build with glib 2.31: Only glib.h can be #include'd. Fixes bug 
#664914
-
-Upstream-Status: Backport
-

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

[OE-core] [PATCHv3 25/30] matchbox-desktop: Add Sato folder configuration

2016-06-14 Thread Jussi Kukkonen
matchbox-desktop folder configuration for Sato was in a separate
project 'matchbox-desktop-sato'. Skip the extra overhead: remove
matchbox-desktop-sato and include the files here.

Drop Utilities folder and include those icons in the Applictions
folder in an effort to make the common case a little more useful:
Now e.g. Terminal icon should be visible on startup.

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-desktop-sato_git.bb   | 22 --
 .../matchbox-desktop/files/vfolders/All.directory  |  5 +
 .../files/vfolders/Applications.directory  |  6 ++
 .../files/vfolders/Games.directory |  9 +
 .../matchbox-desktop/files/vfolders/Root.order |  4 
 .../files/vfolders/Settings.directory  |  8 
 .../matchbox-desktop/matchbox-desktop_2.1.bb   | 11 ++-
 .../matchbox-sato/matchbox-session-sato_0.1.bb |  2 +-
 8 files changed, 43 insertions(+), 24 deletions(-)
 delete mode 100644 
meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb
 create mode 100644 
meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory
 create mode 100644 
meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory
 create mode 100644 
meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order
 create mode 100644 
meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory

diff --git 
a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb 
b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb
deleted file mode 100644
index 1979cbb..000
--- a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Matchbox desktop folders for the Sato environment"
-HOMEPAGE = "http://matchbox-project.org";
-BUGTRACKER = "http://bugzilla.yoctoproject.org/";
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-
-SECTION = "x11"
-DEPENDS = ""
-RCONFLICTS_${PN} = "matchbox-common"
-
-SRCREV = "810b0b08eb79e4685202da2ec347b990bb467e07"
-PV = "0.1+git${SRCPV}"
-PR = "r1"
-
-SRC_URI = "git://git.yoctoproject.org/${BPN}"
-
-S = "${WORKDIR}/git"
-
-inherit autotools pkgconfig
-
-FILES_${PN} += "${datadir}"
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory 
b/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory
new file mode 100644
index 000..dfa41e3
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=All
+Icon=mbfolder.png
+Type=Directory
+Match=meta-all
diff --git 
a/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory 
b/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory
new file mode 100644
index 000..a7e3501
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Applications
+Comment=Applications
+Icon=gnome-applications.png
+Type=Directory
+Match=AudioVideo;Audio;Video;Graphics;Network;Office;Utility;System;Development;meta-fallback;
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory 
b/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory
new file mode 100644
index 000..1b0928c
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Games
+Name[de]=Spiele
+Comment=Games of all kind
+Comment[de]=Spiele aller Art
+Icon=mbfolder.png
+Type=Directory
+Match=Game
+
diff --git a/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order 
b/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order
new file mode 100644
index 000..01a86d2
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order
@@ -0,0 +1,4 @@
+Applications
+Games
+Settings
+All
diff --git 
a/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory 
b/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory
new file mode 100644
index 000..5dde365
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Settings
+Name[de]=Einstellungen
+Comment=Settings for your handheld computer
+Comment[de]=Einstellungen für Ihren Handheld-Computer
+Icon=mbfolder.png
+Type=Directory
+Match=Settings
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb 
b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
index d6c53b0..d9a2f22 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
@@ -12,7 +12,9 @@ SECTION = "x11/wm"
 
 # SRCREV tagged 2.1
 SRCREV = "c8473519a0f37488b8b3e839e275b000cdde0b80"
-SRC_URI = "git://git.yoctoproject.org/${BPN}-2"
+SRC_URI = "git://git

[OE-core] [PATCHv3 30/30] gnome-themes-standard: Use distro_features_check for GTK+2

2016-06-14 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb 
b/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
index 06135e0..523253e 100644
--- a/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
@@ -6,7 +6,9 @@ SECTION = "x11/gnome"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even
+inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even 
distro_features_check
+
+ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
 
 DEPENDS += "intltool-native gtk+"
 
-- 
2.1.4

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


[OE-core] [PATCHv3 27/30] gtk-sato-engine: Remove as unused

2016-06-14 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/gtk-engines/gtk-sato-engine.inc  | 25 --
 .../gtk-engines/gtk-sato-engine_git.bb | 14 
 2 files changed, 39 deletions(-)
 delete mode 100644 meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
 delete mode 100644 meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb

diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc 
b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
deleted file mode 100644
index 93538ed..000
--- a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-SUMMARY = "Sato theme engine for GTK+"
-HOMEPAGE = "http://www.o-hand.com";
-BUGTRACKER = "http://bugzilla.yoctoproject.org/";
-
-LICENSE = "LGPLv2.1 & LGPLv2+"
-
-SECTION = "x11/base"
-DEPENDS = "gtk+"
-RDEPENDS_gtk-theme-sato = "gtk-sato-engine"
-
-inherit distro_features_check
-ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
-
-PACKAGES += "gtk-theme-sato"
-FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so "
-FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la"
-FILES_gtk-theme-sato = "${datadir}/icons ${datadir}/themes"
-
-inherit autotools-brokensep pkgconfig
-
-do_configure_prepend() {
-   for i in `ls gtk-common`; do
-   ln -sf ../gtk-common/$i gtk2-engine/$i
-   done
-}
diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb 
b/meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb
deleted file mode 100644
index da4d98a..000
--- a/meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require gtk-sato-engine.inc
-
-LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
-
file://src/sato-utils.h;endline=24;md5=708f28cfe7fe028d497aaf4389b80b62 \
-
file://src/sato-main.c;endline=24;md5=b5e5dddebca570275becb51b526e4c5a"
-
-SRCREV = "4740ad8d53aba4368ce3e03b06cfdc69eb86dcdc"
-PV = "0.3.3+git${SRCPV}"
-
-SRC_URI = "git://git.yoctoproject.org/${BPN}"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'qvga', 
'--with-mode=qvga', '',d)}"
-- 
2.1.4

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


[OE-core] [PATCHv3 26/30] packagegroup-self-hosted: Remove unused theme, use Adwaita icons

2016-06-14 Thread Jussi Kukkonen
GTK+3 default theme is included in GTK+3. The corresponding GTK+2
theme would be in gnome-theme-adwaita, but the packagegroup does not
have GTK+2 apps anymore.

Also move icons to -graphics package.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb 
b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index 974664d..e8b4feb 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -121,8 +121,6 @@ RDEPENDS_packagegroup-self-hosted-extended = "\
 groff \
 gzip \
 settings-daemon \
-hicolor-icon-theme \
-sato-icon-theme \
 libaio \
 libusb1 \
 libxml2 \
@@ -184,7 +182,7 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\
 libsdl \
 libsdl-dev \
 libx11-dev \
-gtk-theme-clearlooks \
+adwaita-icon-theme \
 xdg-utils \
 epiphany \
 l3afpad \
-- 
2.1.4

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


[OE-core] [PATCHv3 28/30] sato-icon-theme: remove as unused

2016-06-14 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 .../0001-Inherit-the-GNOME-icon-theme.patch| 31 -
 .../sato-icon-theme/sato-icon-theme_0.4.1.bb   | 40 --
 2 files changed, 71 deletions(-)
 delete mode 100644 
meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch
 delete mode 100644 meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb

diff --git 
a/meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch
 
b/meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch
deleted file mode 100644
index 2c176ee..000
--- 
a/meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From b9f02989310a3c920589f1aa646bcbf16b2572a0 Mon Sep 17 00:00:00 2001
-From: Ross Burton 
-Date: Wed, 13 Jun 2012 11:07:33 +0100
-Subject: [PATCH] Inherit the GNOME icon theme
-
-If the GNOME icon theme isn't installed this is a no-op, but if it is then
-you'll get fallback from Sato to GNOME for icons that are not in Sato.
-
-As applications that use the full GNOME icon theme depend on gnome-icon-theme,
-this just works.
-
-Upstream-Status: Backport

- index.theme |1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/index.theme b/index.theme
-index c4b03a7..688fbbf 100644
 a/index.theme
-+++ b/index.theme
-@@ -1,6 +1,7 @@
- [Icon Theme]
- Name=Sato
- Comment=Sato icon theme
-+Inherits=Adwaita
- 
- 
Directories=16x16/apps,16x16/status,16x16/stock,16x16/places,16x16/mimetypes,16x16/devices,16x16/actions,22x22/apps,22x22/status,22x22/stock,22x22/places,22x22/mimetypes,22x22/devices,22x22/actions,32x32/apps,32x32/status,32x32/stock,32x32/places,32x32/mimetypes,32x32/devices,32x32/actions,48x48/apps,48x48/status,48x48/stock,48x48/places,48x48/mimetypes,48x48/devices,48x48/actions,64x64/apps,64x64/status,64x64/stock,64x64/places,64x64/mimetypes,64x64/devices,64x64/actions,
- 
--- 
-1.7.10
-
diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb 
b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
deleted file mode 100644
index ced735f..000
--- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-SUMMARY = "Sato icon theme"
-HOMEPAGE = "http://www.o-hand.com";
-BUGTRACKER = "http://bugzilla.yoctoproject.org/";
-
-LICENSE = "CC-BY-SA-3.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2"
-SECTION = "x11"
-
-PR = "r6"
-
-DEPENDS = "icon-naming-utils-native libxml-simple-perl-native"
-
-SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \
-   file://0001-Inherit-the-GNOME-icon-theme.patch"
-
-SRC_URI[md5sum] = "86a847f3128a43a9cf23b7029a656f50"
-SRC_URI[sha256sum] = 
"0b0a2807a6a96918ac799a86094ec3e8e2c892be0fd679a4232c2a77f2f61732"
-
-inherit autotools pkgconfig allarch gtk-icon-cache perlnative
-
-# The configure script uses pkg-config to find native binaries to execute, so
-# tell it to use our pkg-config-native wrapper.
-export PKG_CONFIG = "pkg-config-native"
-
-FILES_${PN} += "${datadir}/icons/Sato"
-
-do_install_append() {
-   find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s 
preferences-system.png {}/apps/preferences-desktop.png \;
-   find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s 
file-manager.png {}/apps/system-file-manager.png \;
-   find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s 
../apps/terminal.png {}/places/computer.png \;
-}
-
-# Explictly setting "Sato" as the default icon theme to avoid flickering from
-# the desktop and settings daemon racing.  This shouldn't be done here but in 
the sato image
-pkg_postinst_${PN} () {
-mkdir -p $D/etc/gtk-2.0
-
-grep -s -q -e ^gtk-icon-theme-name.*\"Sato\" $D/etc/gtk-2.0/gtkrc || \
-echo 'gtk-icon-theme-name = "Sato"' >> $D/etc/gtk-2.0/gtkrc
-}
-- 
2.1.4

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


[OE-core] [PATCHv3 18/30] libowl: Remove as unused

2016-06-14 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/libowl/libowl_git.bb | 23 ---
 1 file changed, 23 deletions(-)
 delete mode 100644 meta/recipes-sato/libowl/libowl_git.bb

diff --git a/meta/recipes-sato/libowl/libowl_git.bb 
b/meta/recipes-sato/libowl/libowl_git.bb
deleted file mode 100644
index 9cc47db..000
--- a/meta/recipes-sato/libowl/libowl_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "OpenedHand Widget Library"
-HOMEPAGE = "http://www.o-hand.com";
-BUGTRACKER = "http://bugzilla.yoctoproject.org/";
-
-LICENSE = "GPLv2 & LGPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-
file://libowl/owlpaned.h;endline=20;md5=7fef844c4cc01b10541a7ab6ab5971af \
-
file://libowl/owltreemodelslice.h;endline=20;md5=a5421f2cdae8debe5e4c48c09a02beb9
 \
-
file://libowl/owlcolourswatch.h;endline=24;md5=063c415c58719d536990ca8f606b5730"
-
-SECTION = "libs"
-DEPENDS = "gtk+"
-SRCREV = "6ebc8ac8f8575278dd40a535cadefa26374e44b1"
-PV = "0.1+git${SRCPV}"
-
-SRC_URI = "git://git.yoctoproject.org/${BPN}"
-
-S = "${WORKDIR}/git"
-
-inherit autotools pkgconfig distro_features_check
-
-# Requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.1.4

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


[OE-core] [PATCHv3 14/30] matchbox-config-gtk: Upgrade to 0.2

2016-06-14 Thread Jussi Kukkonen
New version supports Gtk+3.
Rebase the patch.

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-config-gtk/files/no-handed.patch  | 26 +-
 ...onfig-gtk_git.bb => matchbox-config-gtk_0.2.bb} | 11 +
 2 files changed, 20 insertions(+), 17 deletions(-)
 rename meta/recipes-sato/matchbox-config-gtk/{matchbox-config-gtk_git.bb => 
matchbox-config-gtk_0.2.bb} (80%)

diff --git a/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch 
b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
index 8256949..1cb184f 100644
--- a/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
+++ b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
@@ -1,10 +1,13 @@
 Upstream-Status: Inappropriate [configuration]
+---
+ appearance/mb-appearance.c | 4 
+ 1 file changed, 4 insertions(+)
 
-Index: appearance/mb-appearance.c
-===
 appearance/mb-appearance.c (revision 1614)
-+++ appearance/mb-appearance.c (working copy)
-@@ -300,11 +300,13 @@
+diff --git a/appearance/mb-appearance.c b/appearance/mb-appearance.c
+index 6af8376..71fd57b 100644
+--- a/appearance/mb-appearance.c
 b/appearance/mb-appearance.c
+@@ -317,11 +317,13 @@ on_gconf_value_changed (GConfClient* client, const 
gchar* key, GConfValue* value
  gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button),
 gconf_value_get_string (value));
} else if (strcmp (key, HANDED_KEY) == 0) {
@@ -18,18 +21,19 @@ Index: appearance/mb-appearance.c
}
  }
  
-@@ -395,12 +397,13 @@
-   gtk_container_add (GTK_CONTAINER (align), font_button);
+@@ -408,10 +410,12 @@ main (int argc, char **argv) {
  
/* Left/Right Handed */
--  
+   
 +#if 0
-   frame = new_frame (_("Orientation"), &align);
-   gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0);
handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed"));
+   frame = new_frame (_("Orientation"),handed_check);
+   gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0);
g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), 
NULL);
-   gtk_container_add (GTK_CONTAINER (align), handed_check);
 +#endif
  
gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, 
NULL);
g_signal_connect (gconf, "value-changed", G_CALLBACK 
(on_gconf_value_changed), NULL);
+-- 
+2.8.1
+
diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb 
b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
similarity index 80%
rename from meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb
rename to meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
index 5f73a4c..3ca5989 100644
--- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb
+++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
@@ -6,17 +6,16 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28"
 
-DEPENDS = "gconf gtk+"
+DEPENDS = "gconf gtk+3"
 RDEPENDS_${PN} = "settings-daemon"
 
-SRCREV = "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
-PV = "0.0+git${SRCPV}"
+# SRCREV tagged 0.2
+SRCREV = "ef2192ce98d9374ffdad5f78544c3f8f353c16aa"
+SRC_URI = "git://git.yoctoproject.org/${BPN} \
+   file://no-handed.patch"
 
 S = "${WORKDIR}/git"
 
-SRC_URI = "git://git.yoctoproject.org/${BPN} \
-file://no-handed.patch;striplevel=0"
-
 inherit autotools pkgconfig distro_features_check
 
 # The settings-daemon requires x11 in DISTRO_FEATURES
-- 
2.1.4

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


[OE-core] [PATCHv3 16/30] pcmanfm: switch to GTK3 version

2016-06-14 Thread Jussi Kukkonen
From: "Maxin B. John" 

Build GTK3 version of pcmanfm.

Signed-off-by: Maxin B. John 
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb 
b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
index a6b0aac..a6bf213 100644
--- a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
+++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb
@@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2"
 
 SECTION = "x11"
-DEPENDS = "gtk+ startup-notification libfm intltool-native gettext-native"
-DEPENDS_append_poky = " libowl"
+DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native"
 
 
 COMPATIBLE_HOST = 
'(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
@@ -30,6 +29,8 @@ inherit autotools pkgconfig distro_features_check
 # The startup-notification requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
 
+EXTRA_OECONF = "--with-gtk=3"
+
 do_install_append () {
install -d ${D}/${datadir}
install -d ${D}/${datadir}/pixmaps/
-- 
2.1.4

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


[OE-core] [PATCHv3 24/30] matchbox-session-sato: Update session startup

2016-06-14 Thread Jussi Kukkonen
* Use Adwaita Gtk+ theme
* sato-gtk-engine is no longer needed with Adwaita
* GTK_CSD tricks are no longer needed since the panel
  does not draw on top windows
* Add meta-theme index file: it used to be provided by gtk-sato-engine
  and is used by matchbox-config-gtk only (to be able to show a single
  selection for Gtk+, icon and Matchbox themes). This is a more
  logical place for it.
* Set matchbox-theme gconf key (just to be explicit, this is the
  default already)

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-sato/matchbox-session-sato/index.theme   |  7 +++
 meta/recipes-sato/matchbox-sato/matchbox-session-sato/session |  9 ++---
 meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb  | 11 ---
 3 files changed, 17 insertions(+), 10 deletions(-)
 create mode 100644 
meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme

diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme 
b/meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme
new file mode 100644
index 000..c9260cf
--- /dev/null
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme
@@ -0,0 +1,7 @@
+[X-GNOME-Metatheme]
+Encoding=UTF-8
+Type=X-GNOME-Metatheme
+Name=Sato
+GtkTheme=Adwaita
+IconTheme=Sato
+MatchboxTheme=Sato
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato/session 
b/meta/recipes-sato/matchbox-sato/matchbox-session-sato/session
index 42ce483..f6313bd 100644
--- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato/session
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato/session
@@ -14,11 +14,6 @@ else
 KEYBOARD_APPLET="keyboard"
 fi
 
-# Tell GTK+3 we really want server side decorations, even with
-# GtkHeaderBar using applications: Without that mb-panel will render
-# on top of the client side decorations.
-export GTK_CSD=0
-
 matchbox-desktop &
 
 # Lines containing feature-[foo] are removed at build time if the machine
@@ -28,6 +23,6 @@ START_APPLETS=showdesktop,windowselector
 END_APPLETS=clock,battery,$KEYBOARD_APPLET,systray,startup-notify,notify
 END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone
 
-matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets 
$END_APPLETS &
+matchbox-panel --start-applets $START_APPLETS --end-applets $END_APPLETS &
 
-exec matchbox-window-manager -theme Sato -use_desktop_mode decorated 
-use_cursor $SHOWCURSOR $@
+exec matchbox-window-manager -theme Sato -use_cursor $SHOWCURSOR $@
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb 
b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
index 76de18a..fb4750b 100644
--- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be6
 
 SECTION = "x11"
 DEPENDS = "gconf-native"
-RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato 
gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato matchbox-session gconf"
+RDEPENDS_${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 
matchbox-desktop-sato matchbox-session gconf"
 PR = "r30"
 
 # This package is architecture specific because the session script is modified
@@ -19,9 +19,12 @@ inherit distro_features_check
 # The matchbox-theme-sato requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI = "file://session"
+SRC_URI = "file://session \
+   file://index.theme"
 S = "${WORKDIR}"
 
+FILES_${PN} += "${datadir}/themes/Sato/index.theme"
+
 do_install() {
# This is the set of machine features that the script has markers for
FEATURES="phone"
@@ -34,6 +37,7 @@ do_install() {
fi
done
 
+   install -D ${S}/index.theme ${D}/${datadir}/themes/Sato/index.theme
install -d ${D}/${sysconfdir}/matchbox
sed -f "$SCRIPT" ${S}/session > ${D}/${sysconfdir}/matchbox/session
 chmod +x ${D}/${sysconfdir}/matchbox/session
@@ -44,7 +48,8 @@ pkg_postinst_${PN} () {
#type, name, value
gconftool-2 
--config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type 
$1 --set /desktop/poky/interface/$2 "$3"
}
-   set_value string theme Sato
+   set_value string theme Adwaita
+   set_value string matchbox_theme Sato
set_value string icon_theme Sato
set_value bool touchscreen true
set_value string font_name "Sans 9"
-- 
2.1.4

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


[OE-core] [PATCHv3 20/30] gtk+: RRECOMMEND adwaita theme

2016-06-14 Thread Jussi Kukkonen
Without this a gtk+2 app appended to an image is going to look awful.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-gnome/gtk+/gtk+.inc | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index 5bbfe6b..c240baa 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -58,7 +58,14 @@ FILES_libgail = " \
${libdir}/gtk-2.0/modules/libferret.so \
"
 
-GTKBASE_RRECOMMENDS ?= "liberation-fonts gdk-pixbuf-loader-png 
gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm 
shared-mime-info"
+GTKBASE_RRECOMMENDS ?= "liberation-fonts \
+gdk-pixbuf-loader-png \
+gdk-pixbuf-loader-jpeg \
+gdk-pixbuf-loader-gif \
+gdk-pixbuf-loader-xpm \
+shared-mime-info \
+gnome-theme-adwaita \
+"
 GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
 
 RRECOMMENDS_${PN} = "${GTKBASE_RRECOMMENDS}"
-- 
2.1.4

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


[OE-core] [PATCHv3 21/30] webkitgtk: Disable Gtk2 plugin process by default

2016-06-14 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/webkit/webkitgtk_2.12.3.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.12.3.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.12.3.bb
index 265fedb..6c03e98 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.12.3.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.12.3.bb
@@ -39,7 +39,6 @@ DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt 
libidn gnutls \
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 
'wayland' ,d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl', 
'' ,d)} \
enchant \
-   gtk2 \
libsecret \
   "
 
-- 
2.1.4

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


[OE-core] [PATCHv3 15/30] leafpad: Replace with L3afpad

2016-06-14 Thread Jussi Kukkonen
L3afpad is a GTK+3 fork of leafpad.

Signed-off-by: Jussi Kukkonen 
---
 .../packagegroups/packagegroup-self-hosted.bb  |  2 +-
 .../builder/files/builder_session.sh   |  4 +-
 meta/recipes-sato/l3afpad/l3afpad_git.bb   | 23 ++
 meta/recipes-sato/leafpad/files/leafpad.desktop| 10 ---
 meta/recipes-sato/leafpad/files/owl-menu.patch | 63 -
 ...gtkprint-.c-Fix-security-formatting-issue.patch | 81 --
 meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb  | 37 --
 .../packagegroups/packagegroup-core-x11-sato.bb|  2 +-
 8 files changed, 27 insertions(+), 195 deletions(-)
 create mode 100644 meta/recipes-sato/l3afpad/l3afpad_git.bb
 delete mode 100644 meta/recipes-sato/leafpad/files/leafpad.desktop
 delete mode 100644 meta/recipes-sato/leafpad/files/owl-menu.patch
 delete mode 100644 
meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch
 delete mode 100644 meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb 
b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index 4e7fd4d..974664d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -187,7 +187,7 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\
 gtk-theme-clearlooks \
 xdg-utils \
 epiphany \
-leafpad \
+l3afpad \
 pcmanfm \
 vte \
 "
diff --git a/meta/recipes-graphics/builder/files/builder_session.sh 
b/meta/recipes-graphics/builder/files/builder_session.sh
index 001a033..4e509a7 100644
--- a/meta/recipes-graphics/builder/files/builder_session.sh
+++ b/meta/recipes-graphics/builder/files/builder_session.sh
@@ -23,8 +23,8 @@ if [ ! -d /home/builder/.local/share/applications ]; then
 xdg-mime default epiphany.desktop x-scheme-handler/https
 xdg-mime default epiphany.desktop text/html
 
-#register text files with leafpad text editor
-xdg-mime default leafpad.desktop text/plain
+#register text files with l3afpad text editor
+xdg-mime default l3afpad.desktop text/plain
 fi
 
 cd /home/builder/poky
diff --git a/meta/recipes-sato/l3afpad/l3afpad_git.bb 
b/meta/recipes-sato/l3afpad/l3afpad_git.bb
new file mode 100644
index 000..1e7c82f
--- /dev/null
+++ b/meta/recipes-sato/l3afpad/l3afpad_git.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Simple GTK+ Text Editor"
+HOMEPAGE = "https://github.com/stevenhoneyman/l3afpad";
+
+# Note that COPYING seems to mistakenly contain LGPLv2.1.
+# The source code is marked GPLv2+ and COPYING used to contain
+# that as well.
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
+
file://src/l3afpad.h;endline=20;md5=8848fd645cd45115d8cb47ca5c42a50e \
+
file://src/utils.c;endline=20;md5=ae4792f69d3bb7b7ba91d582ba9b1a05"
+
+DEPENDS = "gtk+3 intltool-native gettext-native"
+
+PV = "0.8.18.1.11+git${SRCPV}"
+SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git"
+SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig distro_features_check
+
+EXTRA_OECONF = "--disable-emacs --disable-print"
+FILES_${PN} += "${datadir}/icons"
diff --git a/meta/recipes-sato/leafpad/files/leafpad.desktop 
b/meta/recipes-sato/leafpad/files/leafpad.desktop
deleted file mode 100644
index c7e2d5b..000
--- a/meta/recipes-sato/leafpad/files/leafpad.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Notes
-Exec=/usr/bin/leafpad
-Comment=Text Editor
-Icon=accessories-text-editor
-Terminal=false
-Type=Application
-Categories=GTK;Utility;TextEditor;
-X-MB-SingleInstance=true
-StartupNotify=true
diff --git a/meta/recipes-sato/leafpad/files/owl-menu.patch 
b/meta/recipes-sato/leafpad/files/owl-menu.patch
deleted file mode 100644
index 2ebf74a..000
--- a/meta/recipes-sato/leafpad/files/owl-menu.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Upstream-Status: Inappropriate [enable feature]
-
 tmp/src/menu.c.orig2007-04-23 12:08:41.0 +0100
-+++ tmp/src/menu.c 2007-04-23 12:08:41.0 +0100
-@@ -152,7 +152,7 @@
-   }
-   
-   accel_group = gtk_accel_group_new();
--  ifactory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "", 
accel_group);
-+  ifactory = gtk_item_factory_new(GTK_TYPE_MENU, "", accel_group);
-   gtk_item_factory_set_translate_func(ifactory, menu_translate, NULL, 
NULL);
-   gtk_item_factory_create_items(ifactory, nmenu_items, menu_items, NULL);
-   gtk_window_add_accel_group(GTK_WINDOW(window), accel_group);
-
 tmp/src/window.c.orig  2007-04-23 12:14:07.0 +0100
-+++ tmp/src/window.c   2007-04-23 12:14:07.0 +0100
-@@ -18,6 +18,8 @@
-  */
- 
- #include "leafpad.h"
-+#include 
-+
- /*
- static void cb_scroll_event(GtkAdjustment *adj, GtkWidget *view)
- {
-@@ -52,7 +54,6 @@
-   gtk_container_add(GTK_CONTAINER(window)

[OE-core] [PATCHv3 19/30] packagegroup-core-x11-sato: Remove gtk-sato-engine

2016-06-14 Thread Jussi Kukkonen
The theme engine is no longer needed with GTK+3.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb 
b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index 034fc75..1b065d6 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -32,7 +32,6 @@ RDEPENDS_${PN}-base = "\
 xcursor-transparent-theme \
 adwaita-icon-theme \
 settings-daemon \
-gtk-sato-engine \
 shutdown-desktop \
 libsdl \
 ${NETWORK_MANAGER} \
-- 
2.1.4

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


[OE-core] [PATCHv3 23/30] sysprof: Upgrade to git version slightly past 3.20

2016-06-14 Thread Jussi Kukkonen
New version uses Gtk+3. 3.20 release requires a bunch of fixes to
build without polkit, this git revision inclues those fixes.

* Add patch to use proper U64_TO_POINTER macro to fix build on
  32 bit platforms.
* Forward port memory barrier patches for arm & mips
* sysprof builds with loads of warnings and git builds also use
  -Werror: avoid that by setting "--enable-compile-warnings"

Signed-off-by: Jussi Kukkonen 
---
 .../sysprof/files/0001-Avoid-building-docs.patch   | 42 ++
 .../0001-Disable-check-for-polkit-for-UI.patch | 32 +
 ...ward-port-mips-arm-memory-barrier-patches.patch | 38 
 .../files/0001-callgraph-Use-U64_TO_POINTER.patch  | 29 +++
 .../sysprof/files/define-NT_GNU_BUILD_ID.patch |  4 +--
 .../sysprof/files/gui-argument.patch   | 35 --
 meta/recipes-kernel/sysprof/files/rmb-arm.patch| 21 ---
 meta/recipes-kernel/sysprof/files/rmb-mips.patch   | 22 
 meta/recipes-kernel/sysprof/sysprof_git.bb | 34 ++
 9 files changed, 163 insertions(+), 94 deletions(-)
 create mode 100644 
meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch
 create mode 100644 
meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
 create mode 100644 
meta/recipes-kernel/sysprof/files/0001-Forward-port-mips-arm-memory-barrier-patches.patch
 create mode 100644 
meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/gui-argument.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-arm.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-mips.patch

diff --git a/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch 
b/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch
new file mode 100644
index 000..202f354
--- /dev/null
+++ b/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch
@@ -0,0 +1,42 @@
+From 27df521c68e7c8b5b050dab15f40aa15fd03623a Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen 
+Date: Wed, 4 May 2016 14:58:24 +0300
+Subject: [PATCH] Avoid building docs
+
+Upstream-Status: Inappropriate
+Signed-off-by: Jussi Kukkonen 
+---
+ Makefile.am | 2 +-
+ m4/yelp.m4  | 6 --
+ 2 files changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b919a3f..3a3851d 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = daemon data help lib po src tools tests
++SUBDIRS = daemon data lib po src tools tests
+ 
+ EXTRA_DIST = AUTHORS tap-test COPYING.gpl-2
+ 
+diff --git a/m4/yelp.m4 b/m4/yelp.m4
+index 5db847f..1b6ede4 100644
+--- a/m4/yelp.m4
 b/m4/yelp.m4
+@@ -27,12 +27,6 @@ AC_ARG_WITH([help-dir],
+ HELP_DIR="$with_help_dir"
+ AC_SUBST(HELP_DIR)
+ 
+-AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command])
+-AC_CHECK_PROG([ITSTOOL], [itstool], [itstool])
+-if test x"$ITSTOOL" = x; then
+-  AC_MSG_ERROR([itstool not found])
+-fi
+-
+ AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command])
+ AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint])
+ if test x"$XMLLINT" = x; then
+-- 
+2.1.4
+
diff --git 
a/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch 
b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
new file mode 100644
index 000..6085232
--- /dev/null
+++ 
b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
@@ -0,0 +1,32 @@
+From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen 
+Date: Wed, 4 May 2016 10:59:36 +0300
+Subject: [PATCH] Disable check for polkit for UI
+
+The check is not technically required: sysprof just needs
+to be able to access system perf counters at runtime.
+
+Upstream-Status: Pending
+Signed-off-by: Jussi Kukkonen 
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 8559597..ecf93ad 100644
+--- a/configure.ac
 b/configure.ac
+@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[
+   AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = 
"yes"],[enable_gtk=yes],[enable_gtk=no])
+ ])
+ AS_IF([test "$enable_gtk" = "yes"],[
+-  AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[],[
+-  AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= 
gtk_required_version and polkit-gobject-1])
++  AS_IF([test "$have_gtk" = "yes"],[],[
++  AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= 
gtk_required_version])
+   ])
+ ])
+ AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes")
+-- 
+2.8.1
+
diff --git 
a/meta/recipes-kernel/sysprof/files/0001-Forward-port-mips-arm-memory-barrier-patches.patch
 
b/meta/recipes-kernel/sysprof/files/0001-Forward-port-mips-arm-memory-barrier-patches.patch
new file mode 100644
index 000..92e804f
--- /dev/null
+++ 
b/meta/recipes-kernel/sysprof/files/0001-Forward-port-mip

[OE-core] [PATCHv3 17/30] libfm: switch to GTK3 version

2016-06-14 Thread Jussi Kukkonen
From: "Maxin B. John" 

Build GTK3 version of libfm.

Signed-off-by: Maxin B. John 
Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-support/libfm/libfm_1.2.4.bb | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libfm/libfm_1.2.4.bb 
b/meta/recipes-support/libfm/libfm_1.2.4.bb
index 866b11a..2218f9c 100644
--- a/meta/recipes-support/libfm/libfm_1.2.4.bb
+++ b/meta/recipes-support/libfm/libfm_1.2.4.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \
 
 
 SECTION = "x11/libs"
-DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra 
gettext-native"
+DEPENDS = "glib-2.0 pango gtk+3 menu-cache intltool-native libexif libfm-extra 
gettext-native"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
 
@@ -17,7 +17,9 @@ SRC_URI[md5sum] = "74997d75e7e87dc73398746fd373bf52"
 SRC_URI[sha256sum] = 
"7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f"
 
 inherit autotools pkgconfig gtk-doc distro_features_check
-ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+
+EXTRA_OECONF = "--with-gtk=3"
 
 do_configure[dirs] =+ "${S}/m4"
 
-- 
2.1.4

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


[OE-core] [PATCHv3 22/30] avahi-ui: Build with Gtk+3

2016-06-14 Thread Jussi Kukkonen
Add patch to install GtkBuilder ui files for GTK+3.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | 11 +
 ...c-install-GtkBuilder-interface-files-for-.patch | 28 ++
 2 files changed, 34 insertions(+), 5 deletions(-)
 create mode 100644 
meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch

diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb 
b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
index 1b3e918..c6f67f1 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
@@ -7,14 +7,15 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 require avahi.inc
 
 inherit distro_features_check
-ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
+SRC_URI += 
"file://0001-configure.ac-install-GtkBuilder-interface-files-for-.patch"
 SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
 SRC_URI[sha256sum] = 
"d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
 
-DEPENDS += "avahi gtk+ libglade"
+DEPENDS += "avahi gtk+3"
 
-AVAHI_GTK = "--enable-gtk --disable-gtk3 --disable-pygtk"
+AVAHI_GTK = "--disable-gtk --enable-gtk3 --disable-pygtk"
 
 S = "${WORKDIR}/avahi-${PV}"
 
@@ -27,9 +28,9 @@ FILES_${PN}-staticdev += "${libdir}/libavahi-ui.a"
 FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*"
 
 FILES_avahi-discover = "${datadir}/applications/avahi-discover.desktop \
-${datadir}/avahi/interfaces/avahi-discover* \
+${datadir}/avahi/interfaces/avahi-discover.ui \
 ${bindir}/avahi-discover-standalone \
-${datadir}/avahi/interfaces/avahi-discover.glade"
+"
 
 do_install_append () {
rm ${D}${sysconfdir} -rf
diff --git 
a/meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch
 
b/meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch
new file mode 100644
index 000..8ccef08
--- /dev/null
+++ 
b/meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch
@@ -0,0 +1,28 @@
+From a59f13fab31a6e25bb03b2c2bc3aea576f857b6c Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen 
+Date: Sun, 12 Jun 2016 18:32:49 +0300
+Subject: [PATCH] configure.ac: install GtkBuilder interface files for GTK+3
+ too
+
+Upstream-Status: Pending
+Signed-off-by: Jussi Kukkonen 
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index aebb716..48bdf63 100644
+--- a/configure.ac
 b/configure.ac
+@@ -965,7 +965,7 @@ AC_SUBST(avahi_socket)
+ #
+ # Avahi interfaces dir
+ #
+-if test "x$HAVE_PYTHON_DBUS" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++if test "x$HAVE_PYTHON_DBUS" = "xyes" -o "x$HAVE_GTK" = "xyes" -o 
"x$HAVE_GTK3" = "xyes"; then
+   interfacesdir="${datadir}/${PACKAGE}/interfaces/"
+   AC_SUBST(interfacesdir)
+ fi
+-- 
+2.1.4
+
-- 
2.1.4

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


[OE-core] [PATCHv3 13/30] gst-player: Start building with Gtk+3

2016-06-14 Thread Jussi Kukkonen
Drop the patch that added gtk+2 support.
Use an icon that is found in adwaita icon theme.

Signed-off-by: Jussi Kukkonen 
---
 .../gstreamer/gst-player/gst-player.desktop|  2 +-
 .../gstreamer/gst-player/gtk2.patch| 71 --
 .../recipes-multimedia/gstreamer/gst-player_git.bb |  5 +-
 3 files changed, 3 insertions(+), 75 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop 
b/meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop
index 9fd207b..7ddd456 100644
--- a/meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop
+++ b/meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Media Player
 Comment=Basic media player
-Icon=audio-player
+Icon=multimedia-player
 TryExec=gtk-play
 Exec=gtk-play
 StartupNotify=true
diff --git a/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch 
b/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
deleted file mode 100644
index 2cd18bb..000
--- a/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-As the rest of Sato is GTK+ 2, patch gtk-play to use GTK+ 2.  When the rest of
-Sato has been ported to GTK+ 3 this patch can be dropped.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton 
-
-
-diff --git a/configure.ac b/configure.ac
-index b8af13b..90ab74c 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -60,7 +60,7 @@ AC_SUBST(GLIB_PREFIX)
- GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-1.0`"
- AC_SUBST(GST_PREFIX)
- 
--PKG_CHECK_MODULES(GTK, [gtk+-3.0], [have_gtk="yes"], [have_gtk="no"])
-+PKG_CHECK_MODULES(GTK, [gtk+-2.0], [have_gtk="yes"], [have_gtk="no"])
- AM_CONDITIONAL(HAVE_GTK, test "x$have_gtk" != "xno")
- 
- GOBJECT_INTROSPECTION_CHECK([1.31.1])
-diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c
-index f015077..954d6fb 100644
 a/gtk/gtk-play.c
-+++ b/gtk/gtk-play.c
-@@ -34,6 +34,46 @@ typedef struct
-   gulong seekbar_value_changed_signal_id;
- } GtkPlay;
- 
-+/* Compat stubs */
-+GtkWidget *
-+gtk_box_new (GtkOrientation orientation,
-+ gint spacing)
-+{
-+  switch (orientation) {
-+  case GTK_ORIENTATION_HORIZONTAL:
-+return gtk_hbox_new (FALSE, spacing);
-+  case GTK_ORIENTATION_VERTICAL:
-+return gtk_vbox_new (FALSE, spacing);
-+  }
-+}
-+
-+GtkWidget*
-+gtk_button_new_from_icon_name (const gchar *icon_name,
-+   GtkIconSize  size)
-+{
-+  GtkWidget *button;
-+  GtkWidget *image;
-+
-+  image = gtk_image_new_from_icon_name (icon_name, size);
-+  button =  g_object_new (GTK_TYPE_BUTTON,
-+ "image", image,
-+ NULL);
-+  return button;
-+}
-+
-+GtkWidget *
-+gtk_scale_new_with_range (GtkOrientation orientation,
-+  gdouble min,
-+  gdouble max,
-+  gdouble step)
-+{
-+  switch (orientation) {
-+  case GTK_ORIENTATION_HORIZONTAL:
-+return gtk_hscale_new_with_range (min, max, step);
-+  case GTK_ORIENTATION_VERTICAL:
-+return gtk_vscale_new_with_range (min, max, step);
-+  }
-+}
- 
- static void
- set_title (GtkPlay * play, const gchar * title)
diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb 
b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
index 8129169..6d39c2d 100644
--- a/meta/recipes-multimedia/gstreamer/gst-player_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
@@ -2,11 +2,10 @@ SUMMARY = "GStreamer playback helper library and examples"
 LICENSE = "LGPL-2.0+"
 LIC_FILES_CHKSUM = 
"file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=03aeca9d8295f811817909075a15ff65"
 
-DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+"
+DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+3"
 
 SRC_URI = "git://github.com/sdroege/gst-player.git \
file://filechooser.patch \
-   file://gtk2.patch \
file://Fix-pause-play.patch \
file://Add-error-signal-emission-for-missing-plugins.patch \
file://gst-player.desktop"
@@ -17,7 +16,7 @@ S = "${WORKDIR}/git"
 
 inherit autotools gtk-doc lib_package pkgconfig distro_features_check 
gobject-introspection
 
-ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 do_configure_prepend() {
touch ${S}/ChangeLog
-- 
2.1.4

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


[OE-core] [PATCHv3 03/30] matchbox-panel-2: Upgrade to 2.10

2016-06-14 Thread Jussi Kukkonen
* Changes in 2.10:
   - Port to GTK3, avoid all deprecated API
   - Add --mode for easier testing
* Remove a backported patch.
* License checksum changes because copyright years change

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-panel-2/files/silence-warnings.patch  | 64 --
 ...box-panel-2_git.bb => matchbox-panel-2_2.10.bb} | 15 +++--
 2 files changed, 7 insertions(+), 72 deletions(-)
 delete mode 100644 
meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch
 rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_git.bb => 
matchbox-panel-2_2.10.bb} (74%)

diff --git a/meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch 
b/meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch
deleted file mode 100644
index 45ba9a0..000
--- a/meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-Don't warn if the machine doesn't actually have a battery, or if the applets
-string contains consecutive separators.
-
-Upstream-Status: Backport
-Signed-off-by: Ross Burton 
-
-diff --git a/applets/battery/battery-acpi.c b/applets/battery/battery-acpi.c
-index 6515cb0..c44dd12 100644
 a/applets/battery/battery-acpi.c
-+++ b/applets/battery/battery-acpi.c
-@@ -14,8 +14,6 @@ int batt_state, ac_state;
- int pm_support(void)
- {
-   if(check_acpi_support() == NOT_SUPPORTED){
--  g_warning("No ACPI support\n");
--
-   return 0;
-   }
- 
-@@ -32,8 +30,9 @@ const char* pm_battery_icon(void)
-   const char *icon;
-   battery_t *binfo;
- 
-+/* No battery available (not present, disabled, or something
-+   else. Silently do nothing. */
-   if (batt_state != SUCCESS) {
--  g_warning("Couldnt initialize ACPI battery\n");
-   return NULL;
-   }
- 
-diff --git a/applets/battery/battery-apm.c b/applets/battery/battery-apm.c
-index 5467438..2f39cb6 100644
 a/applets/battery/battery-apm.c
-+++ b/applets/battery/battery-apm.c
-@@ -10,8 +10,6 @@
- int pm_support(void)
- {
-   if (1 == apm_exists ()) {
--g_warning ("No APM support");
--
- return 0;
- }
- 
-diff --git a/matchbox-panel/mb-panel.c b/matchbox-panel/mb-panel.c
-index 2d8cafd..828a36d 100644
 a/matchbox-panel/mb-panel.c
-+++ b/matchbox-panel/mb-panel.c
-@@ -110,10 +110,15 @@ load_applets (const char*applets_desc,
- applets = g_strsplit (applets_desc, ",", -1);
- 
- for (i = 0; applets[i]; i++) {
-+char *s;
- char **bits;
- GtkWidget *applet;
- 
--bits = g_strsplit (applets[i], ":", 2);
-+s = applets[i];
-+if (s == NULL || s[0] == '\0')
-+continue;
-+
-+bits = g_strsplit (s, ":", 2);
- 
- applet = load_applet (bits[0],
-   bits[1],
diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb 
b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb
similarity index 74%
rename from meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb
rename to meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb
index ff35b33..3ccd6a26 100644
--- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb
+++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb
@@ -5,25 +5,23 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://matchbox-panel/mb-panel.h;endline=10;md5=0b7db28f4b6863fb853d0467e590019a
 \
-
file://applets/startup/startup.c;endline=22;md5=b0a64fbef3097d79f8264e6907a98f03"
+
file://applets/startup/startup.c;endline=22;md5=7cbcea60b667f609495222faf3e07917"
 
-DEPENDS = "gnome-common gtk+ startup-notification dbus dbus-glib 
dbus-glib-native"
+DEPENDS = "gnome-common gtk+3 startup-notification dbus dbus-glib 
dbus-glib-native"
 DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", 
"",d)}"
 DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}"
 
 # The startup-notification requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRCREV = "26a3a67b41c50e0ae163d8fe86ccf7a0f0a671ae"
-PV = "2.0+git${SRCPV}"
+# SRCREV tagged 2.10
+SRCREV = "145a8075c66952dad9ab5f36d944c78c1ae3f4ab"
 
 RPROVIDES_${PN} = "matchbox-panel"
 RREPLACES_${PN} = "matchbox-panel"
 RCONFLICTS_${PN} = "matchbox-panel"
 
-SRC_URI = "git://git.yoctoproject.org/${BPN} \
-   file://0001-showdesktop-Make-sure-active-state-is-initialized.patch 
\
-   file://silence-warnings.patch"
+SRC_URI = "git://git.yoctoproject.org/${BPN}"
 
 EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", 
"--with-battery=acpi", "",d)}"
@@ -33,7 +31,8 @@ S = "${WO

[OE-core] [PATCHv3 10/30] vte: Upgrade to 0.44.1

2016-06-14 Thread Jussi Kukkonen
* License change LGPL 2.0 -> LGPL 2.1+
* vte-termcap is no more
* API break: current version seems to be parallel installable
  with old one, but I did not opt for that.
* Add patch to avoid stack protection by default
* Add SECURITY_NO_PIE_CFLAGS exception until linking failure with
  libc_nonshared.a is resolved (undefined reference to
  __init_array_start)

Signed-off-by: Jussi Kukkonen 
---
 meta/conf/distro/include/security_flags.inc|   2 +
 .../vte/vte-0.28.2/cve-2012-2738.patch | 136 -
 .../vte/vte-0.28.2/obsolete_automake_macros.patch  |  14 ---
 meta/recipes-support/vte/vte.inc   |  15 ---
 ...-Don-t-enable-stack-protection-by-default.patch |  29 +
 meta/recipes-support/vte/vte_0.28.2.bb |  16 ---
 meta/recipes-support/vte/vte_0.44.1.bb |  24 
 7 files changed, 55 insertions(+), 181 deletions(-)
 delete mode 100644 meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
 delete mode 100644 
meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch
 delete mode 100644 meta/recipes-support/vte/vte.inc
 create mode 100644 
meta/recipes-support/vte/vte/0001-Don-t-enable-stack-protection-by-default.patch
 delete mode 100644 meta/recipes-support/vte/vte_0.28.2.bb
 create mode 100644 meta/recipes-support/vte/vte_0.44.1.bb

diff --git a/meta/conf/distro/include/security_flags.inc 
b/meta/conf/distro/include/security_flags.inc
index ea1d4e5..0df65e0 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -95,6 +95,8 @@ SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-pulseaudio = "${SECURITY_NO_PIE_CFLAGS}"
 
+SECURITY_CFLAGS_pn-vte = "${SECURITY_NO_PIE_CFLAGS}"
+
 # Recipes which fail to compile when elevating -Wformat-security to an error
 SECURITY_STRINGFORMAT_pn-busybox = ""
 SECURITY_STRINGFORMAT_pn-console-tools = ""
diff --git a/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch 
b/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
deleted file mode 100644
index 9b99803..000
--- a/meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-Upstream-Status: Backport
-CVE: CVE-2012-2738
-Signed-off-by: Ross Burton 
-
-From e524b0b3bd8fad844ffa73927c199545b892cdbd Mon Sep 17 00:00:00 2001
-From: Christian Persch 
-Date: Sat, 19 May 2012 19:36:09 +0200
-Subject: [PATCH 1/2] emulation: Limit integer arguments to 65535
-
-To guard against malicious sequences containing excessively big numbers,
-limit all parsed numbers to 16 bit range. Doing this here in the parsing
-routine is a catch-all guard; this doesn't preclude enforcing
-more stringent limits in the handlers themselves.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=676090

- src/table.c  | 2 +-
- src/vteseq.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/table.c b/src/table.c
-index 140e8c8..85cf631 100644
 a/src/table.c
-+++ b/src/table.c
-@@ -550,7 +550,7 @@ _vte_table_extract_numbers(GValueArray **array,
-   if (G_UNLIKELY (*array == NULL)) {
-   *array = g_value_array_new(1);
-   }
--  g_value_set_long(&value, total);
-+  g_value_set_long(&value, CLAMP (total, 0, G_MAXUSHORT));
-   g_value_array_append(*array, &value);
-   } while (i++ < arginfo->length);
-   g_value_unset(&value);
-diff --git a/src/vteseq.c b/src/vteseq.c
-index 7ef4c8c..10991db 100644
 a/src/vteseq.c
-+++ b/src/vteseq.c
-@@ -557,7 +557,7 @@ vte_sequence_handler_multiple(VteTerminal *terminal,
-   GValueArray *params,
-   VteTerminalSequenceHandler handler)
- {
--vte_sequence_handler_multiple_limited(terminal, params, handler, 
G_MAXLONG);
-+vte_sequence_handler_multiple_limited(terminal, params, handler, 
G_MAXUSHORT);
- }
- 
- static void
--- 
-2.4.9 (Apple Git-60)
-
-
-From cf1ad453a8def873c49cf6d88162593402f32bb2 Mon Sep 17 00:00:00 2001
-From: Christian Persch 
-Date: Sat, 19 May 2012 20:04:12 +0200
-Subject: [PATCH 2/2] emulation: Limit repetitions
-
-Don't allow malicious sequences to cause excessive repetitions.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=676090

- src/vteseq.c | 25 ++---
- 1 file changed, 18 insertions(+), 7 deletions(-)
-
-diff --git a/src/vteseq.c b/src/vteseq.c
-index 10991db..209522f 100644
 a/src/vteseq.c
-+++ b/src/vteseq.c
-@@ -1392,7 +1392,7 @@ vte_sequence_handler_dc (VteTerminal *terminal, 
GValueArray *params)
- static void
- vte_sequence_handler_DC (VteTerminal *terminal, GValueArray *params)
- {
--  vte_sequence_handler_multiple(terminal, params, 
vte_sequence_handler_dc);
-+  vte_sequence_handler_multiple_r(terminal, params, 
vte_sequence_handler_dc);
- }
- 
- /* Delete a line at the current cursor position. */
-@@ -1785,7 +1785,7 

[OE-core] [PATCHv3 11/30] matchbox-terminal: Upgrade to 0.1

2016-06-14 Thread Jussi Kukkonen
New version uses Gtk+3 and a more modern Vte.

Signed-off-by: Jussi Kukkonen 
---
 .../{matchbox-terminal_git.bb => matchbox-terminal_0.1.bb}| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-sato/matchbox-terminal/{matchbox-terminal_git.bb => 
matchbox-terminal_0.1.bb} (76%)

diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb 
b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb
similarity index 76%
rename from meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
rename to meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb
index c8cbd57..e0a899c 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb
@@ -6,15 +6,15 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://main.c;endline=20;md5=96e39176d9e355639a0b8b1c7a840820"
 
-DEPENDS = "gtk+ vte"
+DEPENDS = "gtk+3 vte"
 SECTION = "x11/utils"
-SRCREV = "452bca253492a97a587f440289b9ab27d217353e"
-PV = "0.0+git${SRCPV}"
 
+#SRCREV tagged 0.1
+SRCREV = "3ad357db2302760b8a8817b5f4478dd87479442f"
 SRC_URI = "git://git.yoctoproject.org/${BPN}"
 
 S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig distro_features_check
 
-ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-- 
2.1.4

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


[OE-core] [PATCHv3 12/30] puzzles: Use Gtk+3 by default

2016-06-14 Thread Jussi Kukkonen
Also split the puzzles into two packages (just like the old
oh-puzzles).

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/puzzles/puzzles_git.bb | 18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
index 346f43b..a9daacd 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -23,16 +23,28 @@ S = "${WORKDIR}/git"
 
 inherit autotools-brokensep distro_features_check pkgconfig
 
-PACKAGECONFIG ??= "gtk2"
+PACKAGECONFIG ??= "gtk3"
 PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+,"
 PACKAGECONFIG[gtk3] = "--with-gtk=3,,gtk+3,"
 
+PACKAGES += "${PN}-extra"
+FILES_${PN} = ""
+FILES_${PN}-extra = "${prefix}/bin ${datadir}/applications"
+
+python __anonymous () {
+var = bb.data.expand("FILES_${PN}", d, 1)
+data = d.getVar(var, True)
+for name in ("bridges", "fifteen", "inertia", "map", "samegame", "slant"):
+data = data + " ${prefix}/bin/%s" % name
+data = data + " ${datadir}/applications/%s.desktop" % name
+d.setVar(var, data)
+}
+
+
 do_configure_prepend () {
 ./mkfiles.pl
 }
 
-FILES_${PN} = "${prefix}/bin/* ${datadir}/applications/*"
-
 do_install () {
 rm -rf ${D}/*
 export prefix=${D}
-- 
2.1.4

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


[OE-core] [PATCHv3 09/30] packagegroup-core-x11: Use adwaita icons instead of sato

2016-06-14 Thread Jussi Kukkonen
Adwaita icon set is significantly more extensive (8MB vs 2MB). However,
as pcmanfm already rrecommends adwaita-icon-theme, this change actually
makes typical packagegroup-core-x11 smaller as a whole since
sato-icon-theme is no longer required.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb 
b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index 21b5ce7..234a23a 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -30,7 +30,7 @@ RDEPENDS_${PN}-base = "\
 matchbox-keyboard-im \
 matchbox-config-gtk \
 xcursor-transparent-theme \
-sato-icon-theme \
+adwaita-icon-theme \
 settings-daemon \
 gtk-sato-engine \
 shutdown-desktop \
-- 
2.1.4

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


[OE-core] [PATCHv3 08/30] matchbox-keyboard: Enable GTK+3 IM module

2016-06-14 Thread Jussi Kukkonen
* Build GTK+3 im module (and no GTK+2 by default)
* Fix FILES for this case

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb 
b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
index fb4c6e9..c7870cf 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF = "--disable-cairo"
 
-PACKAGECONFIG ??= "gtk2-im applet"
+PACKAGECONFIG ??= "gtk3-im applet"
 PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2"
 PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+"
 PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3"
@@ -39,7 +39,8 @@ FILES_${PN} = "${bindir}/ \
   ${datadir}/pixmaps \
   ${datadir}/matchbox-keyboard"
 
-FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so"
+FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \
+  ${libdir}/gtk-3.0/*/immodules/*.so"
 
 FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so"
 
@@ -49,6 +50,7 @@ do_install_append () {
install -m 755 ${WORKDIR}/80matchboxkeyboard.sh 
${D}/${sysconfdir}/X11/Xsession.d/
 
rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
+   rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la
rm -f ${D}${libdir}/matchbox-panel/*.la
 }
 
-- 
2.1.4

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


[OE-core] [PATCHv3 07/30] connman-gnome: Add patch to port to Gtk+3

2016-06-14 Thread Jussi Kukkonen
Upstream is not really active anymore: patch the Gtk+3 upgrade
in for now (long term solution is to change to another UI).

Signed-off-by: Jussi Kukkonen 
---
 .../connman/connman-gnome/0001-Port-to-Gtk3.patch  | 277 +
 .../connman/connman-gnome_0.7.bb   |   5 +-
 2 files changed, 280 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch

diff --git 
a/meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch 
b/meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch
new file mode 100644
index 000..c93e9b4
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch
@@ -0,0 +1,277 @@
+From a59b0fac02e74a971ac3f08bf28c17ce361a9526 Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen 
+Date: Wed, 2 Mar 2016 15:47:49 +0200
+Subject: [PATCH] Port to Gtk3
+
+Some unused (or not useful) code was removed, functionality should stay
+the same.
+
+Code still contains quite a few uses of deprecated API.
+
+Upstream-Status: Submitted
+Signed-off-by: Jussi Kukkonen 
+---
+ applet/agent.c|  3 +--
+ applet/main.c | 43 ---
+ applet/status.c   |  8 
+ configure.ac  |  3 +--
+ properties/ethernet.c | 14 +++---
+ properties/main.c |  2 +-
+ properties/wifi.c | 12 ++--
+ 7 files changed, 16 insertions(+), 69 deletions(-)
+
+diff --git a/applet/agent.c b/applet/agent.c
+index 65bed08..04fe86a 100644
+--- a/applet/agent.c
 b/applet/agent.c
+@@ -126,7 +126,6 @@ static void request_input_dialog(GHashTable *request,
+   gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
+   gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
+   gtk_window_set_urgency_hint(GTK_WINDOW(dialog), TRUE);
+-  gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE);
+   input->dialog = dialog;
+ 
+   gtk_dialog_add_button(GTK_DIALOG(dialog),
+@@ -139,7 +138,7 @@ static void request_input_dialog(GHashTable *request,
+   gtk_table_set_row_spacings(GTK_TABLE(table), 4);
+   gtk_table_set_col_spacings(GTK_TABLE(table), 20);
+   gtk_container_set_border_width(GTK_CONTAINER(table), 12);
+-  gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), table);
++  gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area 
(GTK_DIALOG(dialog))), table);
+ 
+   label = gtk_label_new(_("Please provide some network information:"));
+   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.0);
+diff --git a/applet/main.c b/applet/main.c
+index f12d371..cd16285 100644
+--- a/applet/main.c
 b/applet/main.c
+@@ -157,46 +157,6 @@ static void name_owner_changed(DBusGProxy *proxy, const 
char *name,
+   }
+ }
+ 
+-static void open_uri(GtkWindow *parent, const char *uri)
+-{
+-  GtkWidget *dialog;
+-  GdkScreen *screen;
+-  GError *error = NULL;
+-  gchar *cmdline;
+-
+-  screen = gtk_window_get_screen(parent);
+-
+-  cmdline = g_strconcat("xdg-open ", uri, NULL);
+-
+-  if (gdk_spawn_command_line_on_screen(screen,
+-  cmdline, &error) == FALSE) {
+-  dialog = gtk_message_dialog_new(parent,
+-  GTK_DIALOG_DESTROY_WITH_PARENT, 
GTK_MESSAGE_ERROR,
+-  GTK_BUTTONS_CLOSE, "%s", error->message);
+-  gtk_dialog_run(GTK_DIALOG(dialog));
+-  gtk_widget_destroy(dialog);
+-  g_error_free(error);
+-  }
+-
+-  g_free(cmdline);
+-}
+-
+-static void about_url_hook(GtkAboutDialog *dialog,
+-  const gchar *url, gpointer data)
+-{
+-  open_uri(GTK_WINDOW(dialog), url);
+-}
+-
+-static void about_email_hook(GtkAboutDialog *dialog,
+-  const gchar *email, gpointer data)
+-{
+-  gchar *uri;
+-
+-  uri = g_strconcat("mailto:";, email, NULL);
+-  open_uri(GTK_WINDOW(dialog), uri);
+-  g_free(uri);
+-}
+-
+ static void about_callback(GtkWidget *item, gpointer user_data)
+ {
+   const gchar *authors[] = {
+@@ -204,9 +164,6 @@ static void about_callback(GtkWidget *item, gpointer 
user_data)
+   NULL
+   };
+ 
+-  gtk_about_dialog_set_url_hook(about_url_hook, NULL, NULL);
+-  gtk_about_dialog_set_email_hook(about_email_hook, NULL, NULL);
+-
+   gtk_show_about_dialog(NULL, "version", VERSION,
+   "copyright", "Copyright \xc2\xa9 2008 Intel 
Corporation",
+   "comments", _("A connection manager for the GNOME 
desktop"),
+diff --git a/applet/status.c b/applet/status.c
+index aed6f1e..015ff29 100644
+--- a/applet/status.c
 b/applet/status.c
+@@ -102,8 +102,6 @@ static void icon_animation_start(IconAnimation *animation,
+ {
+   available = TRUE;
+ 
+-  gtk_status_icon_set_tooltip(statusicon, NULL);
+-
+   animation->start = start;
+   animation-

[OE-core] [PATCHv3 02/30] matchbox-desktop: Ugrade to 2.1

2016-06-14 Thread Jussi Kukkonen
Changes since 2.0
* Ported to GTK+3
* Removed deprecated API use, started using new
  GTK+ features like FlowBox instead of custom code
* Added --mode for easier debugging

One of the LIC_FILES_CHKSUM files was removed upstream.

Signed-off-by: Jussi Kukkonen 
---
 .../{matchbox-desktop_git.bb => matchbox-desktop_2.1.bb}  | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)
 rename meta/recipes-sato/matchbox-desktop/{matchbox-desktop_git.bb => 
matchbox-desktop_2.1.bb} (65%)

diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb 
b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
similarity index 65%
rename from meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb
rename to meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
index dbe8c11..d6c53b0 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb
@@ -4,18 +4,15 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/";
 
 LICENSE = "GPLv2+ & LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-
file://libtaku/eggsequence.h;endline=20;md5=b91f68f7642a1459fa1f4c9df94a8f15 \
 
file://src/desktop.c;endline=20;md5=36c9bf295e6007f3423095f405af5a2d \
 
file://src/main.c;endline=19;md5=2044244f97a195c25b7dc602ac7e9a00"
 
-DEPENDS = "gtk+ startup-notification dbus"
+DEPENDS = "gtk+3 startup-notification dbus"
 SECTION = "x11/wm"
-SRCREV = "71e3e6e04271e9d5a14f1c231ef100c7f320134d"
-PV = "2.0+git${SRCPV}"
 
-SRC_URI = "git://git.yoctoproject.org/${BPN}-2 \
-   file://0001-Do-nothing-on-delete-event-when-not-STANDALONE.patch \
-   "
+# SRCREV tagged 2.1
+SRCREV = "c8473519a0f37488b8b3e839e275b000cdde0b80"
+SRC_URI = "git://git.yoctoproject.org/${BPN}-2"
 
 EXTRA_OECONF = "--enable-startup-notification --with-dbus"
 
-- 
2.1.4

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


[OE-core] [PATCHv3 05/30] settings-daemon: Upgrade to 0.0.2

2016-06-14 Thread Jussi Kukkonen
* New versions builds with gdk-x11-3.0 and supports gconf key
  "matchbox_theme".
* Remove patch that's already upstream.

Signed-off-by: Jussi Kukkonen 
---
 .../files/dso_linking_change_build_fix.patch   | 31 --
 ...ings-daemon_git.bb => settings-daemon_0.0.2.bb} |  9 +++
 2 files changed, 4 insertions(+), 36 deletions(-)
 delete mode 100644 
meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
 rename meta/recipes-sato/settings-daemon/{settings-daemon_git.bb => 
settings-daemon_0.0.2.bb} (85%)

diff --git 
a/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch 
b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
deleted file mode 100644
index 5943744..000
--- a/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-after gcc linking has changed, all the libraries must be explicitely specified 
to for linking. 
-This patch avoids this linking error:
-
-| make  all-am^M
-| make[1]: Entering directory 
`/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
-| ccache i586-poky-linux-gcc -march=i586 
--sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb 
-feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o 
settings-daemon settings_daemon-xsettings-common.o 
settings_daemon-xsettings-manager.o settings_daemon-settings-daemon.o -pthread 
-lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 
-lrt -lglib-2.0^M
-| 
/disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld:
 *^A: invalid DSO for symbol `XCreateSimpleWindow' definition^M
-| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: 
could not read symbols: Bad value^M
-| collect2: ld returned 1 exit status^M
-| make[1]: *** [settings-daemon] Error 1^M
-| make[1]: Leaving directory 
`/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
-| make: *** [all] Error 2^M
-
-Nitin A Kamble 
-Date: 2011/01/11
-
-Index: settings-daemon/configure.ac
-===
 settings-daemon.orig/configure.ac
-+++ settings-daemon/configure.ac
-@@ -14,7 +14,7 @@ AC_PROG_CC
- 
- 
- dnl TODO: make gconf optional
--PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0])
-+PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0 x11])
- 
- 
- AC_SUBST(APP_CFLAGS)
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_git.bb 
b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
similarity index 85%
rename from meta/recipes-sato/settings-daemon/settings-daemon_git.bb
rename to meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
index c061553..56eb656 100644
--- a/meta/recipes-sato/settings-daemon/settings-daemon_git.bb
+++ b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
@@ -4,16 +4,15 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/";
 LICENSE = "MIT-style"
 LIC_FILES_CHKSUM = 
"file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
 
file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
-DEPENDS = "gconf glib-2.0 gtk+"
+DEPENDS = "gconf glib-2.0 gtk+3"
 SECTION = "x11"
-SRCREV = "9a99528b02255450db81176abd9bbcc1dab9a4c1"
-PV = "0.0+git${SRCPV}"
-
 
+# SRCREV tagged 0.0.2
+SRCREV = "b2e5da502f8c5ff75e9e6da771372ef8e40fd9a2"
 SRC_URI = "git://git.yoctoproject.org/xsettings-daemon \
file://addsoundkeys.patch;apply=yes \
file://70settings-daemon.sh \
-   file://dso_linking_change_build_fix.patch"
+   "
 
 S = "${WORKDIR}/git"
 
-- 
2.1.4

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


[OE-core] [PATCHv3 04/30] sato-screenshot: Upgrade to 0.2

2016-06-14 Thread Jussi Kukkonen
New version supports Gtk+3.

Signed-off-by: Jussi Kukkonen 
---
 .../{sato-screenshot_git.bb => sato-screenshot_0.2.bb} | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-sato/sato-screenshot/{sato-screenshot_git.bb => 
sato-screenshot_0.2.bb} (86%)

diff --git a/meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb 
b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb
similarity index 86%
rename from meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb
rename to meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb
index 1b2b65d..92f0ee1 100644
--- a/meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb
+++ b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb
@@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
file://main.c;endline=9;md5=023e14d6404d0a961eb97cbd011fc141 \
 
file://screenshot-ui.h;endline=9;md5=638d9ffa83e9325a36df224166ed6ad0"
 
-DEPENDS = "matchbox-panel-2"
-SRCREV = "3a9688e8a01b63a78f402b4e7c0b8b005fcdfa29"
-PV = "0.1+git${SRCPV}"
-PR = "r2"
+DEPENDS = "matchbox-panel-2 gtk+3"
 
+# SRCREV tagged 0.2
+SRCREV = "5db2672fb857b2c80b949d8fce92e0f0029cc947"
 SRC_URI = "git://git.yoctoproject.org/screenshot"
 
 S = "${WORKDIR}/git"
-- 
2.1.4

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


[OE-core] [PATCHv3 06/30] matchbox-wm: Upgrade to 1.2.1

2016-06-14 Thread Jussi Kukkonen
New version does not change MBWM theme when the Gtk+ theme
is changed using Net/ThemeName X property.

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-wm/{matchbox-wm_git.bb => matchbox-wm_1.2.1.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/matchbox-wm/{matchbox-wm_git.bb => 
matchbox-wm_1.2.1.bb} (94%)

diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb 
b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.1.bb
similarity index 94%
rename from meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
rename to meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.1.bb
index aa76828..c3d2d23 100644
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.1.bb
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = 
"file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa
 SECTION = "x11/wm"
 DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification 
expat gconf libxcursor libxfixes"
 
-SRCREV = "8178e70d5c742c4cd63b51df228cc8aa3594d518"
-PV = "1.2+git${SRCPV}"
-
+# SRCREV tagged 1.2.1
+SRCREV = "9fd1806dfa7c8f2202db18b7bc880857a3019f8c"
 SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager \
file://kbdconfig"
 
-- 
2.1.4

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


[OE-core] [PATCHv3 01/30] matchbox-theme-sato: Upgrade to 0.2

2016-06-14 Thread Jussi Kukkonen
New theme is tries to be more compatible with Adwaita: titlebar is
thinner, colors are mostly uniform gray instead of green.

Signed-off-by: Jussi Kukkonen 
---
 .../matchbox-theme-sato/matchbox-theme-sato_0.1.bb   |  8 
 .../matchbox-theme-sato/matchbox-theme-sato_0.2.bb   |  7 +++
 .../matchbox-theme-sato/matchbox-theme-sato_git.bb   | 12 
 3 files changed, 7 insertions(+), 20 deletions(-)
 delete mode 100644 
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb
 create mode 100644 
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb
 delete mode 100644 
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb

diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb 
b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb
deleted file mode 100644
index f6786dd..000
--- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require matchbox-theme-sato.inc
-
-PR = "r1"
-
-SRC_URI = "http://pokylinux.org/releases/sato/matchbox-theme-sato-0.1.tar.gz";
-
-SRC_URI[md5sum] = "72ae272ef7803141a3dcb69e670cff97"
-SRC_URI[sha256sum] = 
"5b59f9646edbfb907a309332db3bd6fa7080dc1fe24df549480cfae7d974a3fb"
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb 
b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb
new file mode 100644
index 000..8fc6bb3
--- /dev/null
+++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb
@@ -0,0 +1,7 @@
+require matchbox-theme-sato.inc
+
+# SRCREV tagged 0.2
+SRCREV = "df085ba9cdaeaf2956890b0e29d7ea1779bf6c78"
+SRC_URI = "git://git.yoctoproject.org/matchbox-sato"
+
+S = "${WORKDIR}/git"
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb 
b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb
deleted file mode 100644
index 0d3569d..000
--- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require matchbox-theme-sato.inc
-
-SRCREV = "f72cf4ed7d71ad9e47b0f2d3dbc593bc2f3e76f8"
-PV = "0.2+git${SRCPV}"
-
-DEFAULT_PREFERENCE = "-1"
-
-SRC_URI = "git://git.yoctoproject.org/matchbox-sato"
-
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'qvga', 
'--with-mode=qvga', '',d)}"
-
-S = "${WORKDIR}/git"
-- 
2.1.4

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


[OE-core] [PATCHv3 00/30] Port Sato to Gtk+3

2016-06-14 Thread Jussi Kukkonen
Latest version of Sato-gtk3 branch. The main problem is with vte
and I'd appreciate input on that: First, it fails to link with
"-pie -fpie". I've added a workaround (see below) but on musl vte
still fails at runtime because /lib/gcc_s.so.1 seems to be missing
symbols?
# ldd /lib/libgcc_s.so.1 
...
Error relocating /lib/libgcc_s.so.1: __cpu_indicator_init: symbol not found
Error relocating /lib/libgcc_s.so.1: __cpu_model: symbol not found
Is this a gcc bug?


Changes since v2:
* Rebased
* avahi-ui: Make sure GtkBuilder ui files are installed with GTK+3
* sysprof: Add patch to fix "cast to pointer from integer of
  different size" (on 32bit)
* sysprof: Forward port memory barrier patches for arm & mips
* sysprof: Avoid Werror by setting "--enable-compile-warnings"
* matchbox-desktop: Don't use "install -D --target-directory":
  some versions of install do not like it
* vte: Add SECURITY_NO_PIE_CFLAGS as workaround to avoid linking
  failure in libc_nonshared.a: "undefined reference to 
  __init_array_start" when building with security_flags.inc
* gnome-themes-standard: Add distro feature check


Changes since v1:
* vte: disable vala if gobject-introspection is disabled. This
  fixes build on musl.
* matchbox-desktop: combine the configuration from
  matchbox-desktop-sato into matchbox-desktop recipe
* connman-gnome: Squash two patches that were not supposed to
  be separate


Issues:
* vte link failure worked around with SECURITY_NO_PIE_CFLAGS
* vte on musl fails to work, see discussion above

Original cover letter is included below.

Thanks, 
  Jussi




This patchset updates Sato desktop to Gtk+3. This means some work
on matchbox-* components maintained on yp.org, quite a bit of
integration work, and changes to other recipes to build with Gtk+3
instead of Gtk+2. It's not visually amazing but works in my tests
so I think it's time to get it to master so others can start
improving/complaining on the work so far.


Main changes:
 * Separate panel and window title bars: The combo was clever
   but does not work with client side window decorations.
 * No more green: The Gtk+ theme is Adwaita (upstream default) and
   the window manager theme tries to work with that.
 * gtk+ is no longer part of core-image-sato, gtk+3 is.
 * matchbox-desktop-2 had major refactoring, should function the same
 * Image size seems to increase 3-4% (would have increased more but
   icon packages were split).
 * Leafpad editor was replaced with L3afpad, a GTK+3 fork.
   Suggestions for a better alternative are welcome.

Related To-Do list:
 * Desktop styling could use some work (e.g. panel should probably
   be more distinguishable from the desktop)
 * GTK+3 depends on libepoxy which depends on virtual/egl, there's
   no runtime dependency though (#8643)
 * gst-plugins-bad and gst-player should be updated (#9715)
 * connman-gnome should be replaced at some point (#8606)
 * gtk-engines should be moved to meta-gnome (will send a patch)


The following changes since commit a1a0ce1a0064e29159555011ebd667192132e0ce:

  scripts/lib/bsp/engine.py: Added missing parentheses to string formatting 
(2016-06-12 23:47:19 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jku/sato-gtk3
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/sato-gtk3

Jussi Kukkonen (28):
  matchbox-theme-sato: Upgrade to 0.2
  matchbox-desktop: Ugrade to 2.1
  matchbox-panel-2: Upgrade to 2.10
  sato-screenshot: Upgrade to 0.2
  settings-daemon: Upgrade to 0.0.2
  matchbox-wm: Upgrade to 1.2.1
  connman-gnome: Add patch to port to Gtk+3
  matchbox-keyboard: Enable GTK+3 IM module
  packagegroup-core-x11: Use adwaita icons instead of sato
  vte: Upgrade to 0.44.1
  matchbox-terminal: Upgrade to 0.1
  puzzles: Use Gtk+3 by default
  gst-player: Start building with Gtk+3
  matchbox-config-gtk: Upgrade to 0.2
  leafpad: Replace with L3afpad
  libowl: Remove as unused
  packagegroup-core-x11-sato: Remove gtk-sato-engine
  gtk+: RRECOMMEND adwaita theme
  webkitgtk: Disable Gtk2 plugin process by default
  avahi-ui: Build with Gtk+3
  sysprof: Upgrade to git version slightly past 3.20
  matchbox-session-sato: Update session startup
  matchbox-desktop: Add Sato folder configuration
  packagegroup-self-hosted: Remove unused theme, use Adwaita icons
  gtk-sato-engine: Remove as unused
  sato-icon-theme: remove as unused
  gtk-engines: Remove as unused
  gnome-themes-standard: Use distro_features_check for GTK+2

Maxin B. John (2):
  pcmanfm: switch to GTK3 version
  libfm: switch to GTK3 version

 meta/conf/distro/include/security_flags.inc|   2 +
 meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb |  11 +-
 ...c-install-GtkBuilder-interface-files-for-.patch |  28 +++
 .../connman/connman-gnome/0001-Port-to-Gtk3.patch  | 277 +
 .../connman/connman-gnome_0.7.bb   |   5 +-
 .../packagegroups/packagegroup-self-hosted.bb  |   6 +-
 .../gnome/gnome-themes-standard_3.1

[OE-core] [PATCH 2/4] package_ipk: restore cwd after packaging

2016-06-14 Thread Ross Burton
opkg-build needs to be executed in the root of the package, so save and restore
the current directory so this task doesn't modify the state.

Signed-off-by: Ross Burton 
---
 meta/classes/package_ipk.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 08f7020..1b5f4f5 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -21,6 +21,8 @@ python do_package_ipk () {
 import textwrap
 import subprocess
 
+oldcwd = os.getcwd()
+
 workdir = d.getVar('WORKDIR', True)
 outdir = d.getVar('PKGWRITEDIRIPK', True)
 tmpdir = d.getVar('TMPDIR', True)
@@ -254,6 +256,7 @@ python do_package_ipk () {
 cleanupcontrol(root)
 bb.utils.unlockfile(lf)
 
+os.chdir(oldcwd)
 }
 # Otherwise allarch packages may change depending on override configuration
 do_package_ipk[vardepsexclude] = "OVERRIDES"
-- 
2.8.0.rc3

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


[OE-core] [PATCH 3/4] classes/kernel: remove path assumptions in compile_kernelmodules

2016-06-14 Thread Ross Burton
do_compile_kernelmodules was assuming that the current directory was ${B} but
didn't make that explicit, so use an absolute path to ensure this always works.

Signed-off-by: Ross Burton 
---
 meta/classes/kernel.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index dcf8bae..59bbbe8 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -291,7 +291,7 @@ do_compile_kernelmodules() {
# external kernel modules has a dependency on
# other kernel modules and will look at this
# file to do symbol lookups
-   cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/
+   cp ${B}/Module.symvers ${STAGING_KERNEL_BUILDDIR}/
else
bbnote "no modules to compile"
fi
@@ -598,4 +598,3 @@ do_deploy[prefuncs] += "package_get_auto_pr"
 addtask deploy after do_populate_sysroot
 
 EXPORT_FUNCTIONS do_deploy
-
-- 
2.8.0.rc3

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


[OE-core] [PATCH 4/4] classes/package: save/restore cwd in split_and_strip_files

2016-06-14 Thread Ross Burton
This function uses chdir() heavily, so save and restore the cwd so that it
doesn't affect the system state.

Signed-off-by: Ross Burton 
---
 meta/classes/package.bbclass | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index c9e2aa8..d6204cf 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -841,6 +841,9 @@ python split_and_strip_files () {
 dvar = d.getVar('PKGD', True)
 pn = d.getVar('PN', True)
 
+oldcwd = os.getcwd()
+os.chdir(dvar)
+
 # We default to '.debug' style
 if d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory':
 # Single debug-file-directory style debug info
@@ -864,8 +867,6 @@ python split_and_strip_files () {
 sourcefile = d.expand("${WORKDIR}/debugsources.list")
 bb.utils.remove(sourcefile)
 
-os.chdir(dvar)
-
 # Return type (bits):
 # 0 - not elf
 # 1 - ELF
@@ -1052,6 +1053,7 @@ python split_and_strip_files () {
 #
 # End of strip
 #
+os.chdir(oldcwd)
 }
 
 python populate_packages () {
@@ -2129,4 +2131,3 @@ def mapping_rename_hook(d):
 runtime_mapping_rename("RDEPENDS", pkg, d)
 runtime_mapping_rename("RRECOMMENDS", pkg, d)
 runtime_mapping_rename("RSUGGESTS", pkg, d)
-
-- 
2.8.0.rc3

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


[OE-core] [PATCH 1/4] classes/image: don't chdir when creating symlinks

2016-06-14 Thread Ross Burton
There's no need to chdir() when creating image symlinks, and using chdir()
changes the state for future tasks.

Signed-off-by: Ross Burton 
---
 meta/classes/image.bbclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 65ce6bb..bd6d0b5 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -519,14 +519,13 @@ python create_symlinks() {
 taskname = d.getVar("BB_CURRENTTASK", True)
 subimages = (d.getVarFlag("do_" + taskname, 'subimages', False) or 
"").split()
 imgsuffix = d.getVarFlag("do_" + taskname, 'imgsuffix', True) or 
d.expand("${IMAGE_NAME_SUFFIX}.")
-os.chdir(deploy_dir)
 
 if not link_name:
 return
 for type in subimages:
-dst = deploy_dir + "/" + link_name + "." + type
+dst = os.path.join(deploy_dir, link_name + "." + type)
 src = img_name + imgsuffix + type
-if os.path.exists(src):
+if os.path.exists(os.path.join(deploy_dir, src)):
 bb.note("Creating symlink: %s -> %s" % (dst, src))
 if os.path.islink(dst):
 if d.getVar('RM_OLD_IMAGE', True) == "1" and \
-- 
2.8.0.rc3

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