[OE-core] [oe-core][PATCH v4 2/3] systemd.bbclass: Use systemd_system_unitdir

2015-07-30 Thread Pau Espin Pedrol
Signed-off-by: Pau Espin Pedrol pau.es...@aweurope.be
---
 meta/classes/systemd.bbclass | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index cfe1eb5..46e72c7 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -136,8 +136,7 @@ python systemd_populate_packages() {
 # Check service-files and call systemd_add_files_and_parse for each entry
 def systemd_check_services():
 searchpaths = [oe.path.join(d.getVar(sysconfdir, True), systemd, 
system),]
-searchpaths.append(oe.path.join(d.getVar(nonarch_base_libdir, True), 
systemd, system))
-searchpaths.append(oe.path.join(d.getVar(exec_prefix, True), 
d.getVar(nonarch_base_libdir, True), systemd, system))
+searchpaths.append(d.getVar(systemd_system_unitdir, True))
 systemd_packages = d.getVar('SYSTEMD_PACKAGES', True)
 
 keys = 'Also'
@@ -185,10 +184,10 @@ python rm_sysvinit_initddir (){
 if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) and \
 not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) 
and \
 os.path.exists(sysv_initddir):
-systemd_unitdir = oe.path.join(d.getVar(D, True), 
d.getVar('systemd_unitdir', True), system)
+systemd_system_unitdir = oe.path.join(d.getVar(D, True), 
d.getVar('systemd_system_unitdir', True))
 
-# If systemd_unitdir contains anything, delete sysv_initddir
-if (os.path.exists(systemd_unitdir) and os.listdir(systemd_unitdir)):
+# If systemd_system_unitdir contains anything, delete sysv_initddir
+if (os.path.exists(systemd_system_unitdir) and 
os.listdir(systemd_system_unitdir)):
 shutil.rmtree(sysv_initddir)
 }
 do_install[postfuncs] += rm_sysvinit_initddir 
-- 
1.9.1

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


[OE-core] [oe-core][PATCH v4 3/3] pulseaudio: Add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES

2015-07-30 Thread Pau Espin Pedrol
Signed-off-by: Pau Espin Pedrol pau.es...@aweurope.be
---
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc 
b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 1a9d33a..3389ec9 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -35,7 +35,10 @@ EXTRA_OECONF = \
 PACKAGECONFIG ??= ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 
'${BLUEZ}', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 
'avahi', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)} \
-   ${@bb.utils.contains('DISTRO_FEATURES', '3g', 'ofono', '', 
d)}
+   ${@bb.utils.contains('DISTRO_FEATURES', '3g', 'ofono', '', 
d)} \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 
'systemd', '', d)} \
+   
+
 PACKAGECONFIG[bluez4] = --enable-bluez4,--disable-bluez4,bluez4 sbc
 PACKAGECONFIG[bluez5] = --enable-bluez5,--disable-bluez5,bluez5 sbc
 PACKAGECONFIG[ofono] = 
--enable-bluez5-ofono-headset,--disable-bluez5-ofono-headset,ofono
@@ -94,7 +97,7 @@ FILES_${PN}-dbg += ${libexecdir}/pulse/.debug \
 FILES_${PN}-dev += ${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala 
${libdir}/cmake   
 FILES_${PN}-conf = ${sysconfdir}
 FILES_${PN}-bin += ${sysconfdir}/default/volatiles/volatiles.04_pulse
-FILES_${PN}-server = ${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} 
${bindir}/pactl */udev/rules.d/*.rules
+FILES_${PN}-server = ${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} 
${bindir}/pactl */udev/rules.d/*.rules ${systemd_user_unitdir}/*
 
 #SYSTEMD_PACKAGES = ${PN}-server
 SYSTEMD_SERVICE_${PN}-server = pulseaudio.service
-- 
1.9.1

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


Re: [OE-core] [PATCH 0/2] bitbake.conf: add GITHUB_GIT

2015-07-30 Thread Otavio Salvador
On Thu, Jul 30, 2015 at 5:32 AM, Olof Johansson olof.johans...@axis.com wrote:
 Excerpts from Robert Yang's message of 2015-07-30 09:09:07 +0200:
 PREMIRRORS is for all the recipes/protocols ?

 No, PREMIRRORS is quite expressive, for instance:

 PREMIRRORS =  \
   https?$://downloads.example.org$/.*   http://mirror.example.com/ \n \
 

 This should only premirror downloads.example.com files, fetched via http
 or https. See the bitbake fetcher's uri_replace method in
 bitbake/lib/bb/fetch2/__init__.py for the implementation.

Yes, you can.

But the mirrors scheme allows for, for example, map it for git:// and
https:// protocols without changing the recipes.

I am in favor of consistency here and having a unique var for github helps.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][PATCH v4 1/3] bitbake.conf: Add nonarch_libdir and base systemd vars on it

2015-07-30 Thread Pau Espin Pedrol
Signed-off-by: Pau Espin Pedrol pau.es...@aweurope.be
---
 meta/conf/bitbake.conf | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 730ab80..21f1698 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -32,7 +32,10 @@ export datadir = ${prefix}/share
 export infodir = ${datadir}/info
 export mandir = ${datadir}/man
 export docdir = ${datadir}/doc
-export systemd_unitdir = /lib/systemd
+export systemd_unitdir = ${nonarch_base_libdir}/systemd
+export systemd_system_unitdir = ${nonarch_base_libdir}/systemd/system
+export nonarch_libdir = ${exec_prefix}/lib
+export systemd_user_unitdir = ${nonarch_libdir}/systemd/user
 
 # Architecture dependent paths
 export bindir = ${exec_prefix}/bin
-- 
1.9.1

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


[OE-core] [PATCH 20/26] stress: use developer's website for SRC_URI

2015-07-30 Thread Alexander Kanavin
So that upstream version check happens at the upstream, not
at Fedora's build servers.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-extended/stress/stress_1.0.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb 
b/meta/recipes-extended/stress/stress_1.0.4.bb
index 44f2fc6..df96fc0 100644
--- a/meta/recipes-extended/stress/stress_1.0.4.bb
+++ b/meta/recipes-extended/stress/stress_1.0.4.bb
@@ -4,7 +4,7 @@ HOMEPAGE = http://people.seas.harvard.edu/~apw/stress/;
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
 
-SRC_URI = 
http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-${PV}.tar.gz/a607afa695a511765b40993a64c6e2f4/stress-${PV}.tar.gz
 \
+SRC_URI = http://people.seas.harvard.edu/~apw/stress/stress-${PV}.tar.gz \
file://texinfo.patch \

 
-- 
2.1.4

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


[OE-core] [PATCH 01/26] libproxy: update SRC_URI to not use Google Code

2015-07-30 Thread Alexander Kanavin
Google Code is shutting down soon, so libproxy tarball is now fetched
from Debian mirrors

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/libproxy/libproxy_0.4.11.bb | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-support/libproxy/libproxy_0.4.11.bb 
b/meta/recipes-support/libproxy/libproxy_0.4.11.bb
index 9d388d6..06d0b9b 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.11.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.4.11.bb
@@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = gconf glib-2.0
 
-SRC_URI = http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
+SRC_URI = ${DEBIAN_MIRROR}/main/libp/${BPN}/${BPN}_${PV}.orig.tar.gz \
file://0001-test-Include-sys-select.h-for-select.patch \
   
-
-SRC_URI[md5sum] = 06be230b8b612e64997f8f15af6373aa
-SRC_URI[sha256sum] = 
3175abcb49c0b37fd82c697927783bf7d53de3884a8559bc594e59caa09bdb04
+SRC_URI[md5sum] = 3cd1ae2a4abecf44b3f24d6639d2cd84
+SRC_URI[sha256sum] = 
dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b
 
 inherit cmake pkgconfig
 
-- 
2.1.4

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


[OE-core] [PATCH 09/26] lsb: set PV to 1.4 to match upstream tarball version

2015-07-30 Thread Alexander Kanavin
This allows upstream version check to work

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-extended/lsb/lsb_4.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb 
b/meta/recipes-extended/lsb/lsb_4.1.bb
index 6215b62..171a6c8 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -21,6 +21,7 @@ SRC_URI = 
${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar
file://lsb_pidofproc \
file://lsb_start_daemon \

+PV = 1.4
 
 SRC_URI[md5sum] = 30537ef5a01e0ca94b7b8eb6a36bb1e4
 SRC_URI[sha256sum] = 
99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172
-- 
2.1.4

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


[OE-core] [PATCH 18/26] x264: only numeric characters are allowed in package versions taken from git

2015-07-30 Thread Alexander Kanavin
See regexes in get_recipe_pv_without_srcpv() in meta/lib/oe/recipeutils.py

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-multimedia/x264/x264_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/x264/x264_git.bb 
b/meta/recipes-multimedia/x264/x264_git.bb
index 0a69909..cd29d72 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -14,7 +14,7 @@ SRC_URI = git://git.videolan.org/x264.git \
 
 SRCREV = c8a773ebfca148ef04f5a60d42cbd7336af0baf6
 
-PV = r2491+git${SRCPV}
+PV = 2491+git${SRCPV}
 
 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] [PATCH 06/26] eglinfo: change version from 1.0 to 1.0.0 to match the upstream git tag

2015-07-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-graphics/eglinfo/{eglinfo-fb_1.0.bb = eglinfo-fb_1.0.0.bb}  | 0
 .../recipes-graphics/eglinfo/{eglinfo-x11_1.0.bb = eglinfo-x11_1.0.0.bb} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-graphics/eglinfo/{eglinfo-fb_1.0.bb = 
eglinfo-fb_1.0.0.bb} (100%)
 rename meta/recipes-graphics/eglinfo/{eglinfo-x11_1.0.bb = 
eglinfo-x11_1.0.0.bb} (100%)

diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb 
b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
similarity index 100%
rename from meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb
rename to meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
diff --git a/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.bb 
b/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb
similarity index 100%
rename from meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.bb
rename to meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb
-- 
2.1.4

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


[OE-core] [PATCH 12/26] pseudo: fix upstream SRC_URI to enable upstream version check

2015-07-30 Thread Alexander Kanavin
Previous URI did not allow directory listings.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/pseudo/pseudo_1.6.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb 
b/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb
index dc55950..b8c20ad 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb
@@ -1,7 +1,7 @@
 require pseudo.inc
 
 SRC_URI =  \
-http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
+http://downloads.yoctoproject.org/releases/pseudo/${BPN}-${PV}.tar.bz2 \
 file://fallback-passwd \
 file://fallback-group \
 
-- 
2.1.4

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


[OE-core] [PATCH 17/26] tremor: switch SRC_URI from svn to tarballs on debian mirrors

2015-07-30 Thread Alexander Kanavin
There is no support for checking svn repositories for new commits, so
let's use debian tarballs and assume that Debian has a dedicated maintainer
who would check the upstream now and then.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../{tremor-20120314 = tremor}/obsolete_automake_macros.patch  | 0
 .../tremor/{tremor-20120314 = tremor}/tremor-arm-thumb2.patch  | 0
 .../tremor/{tremor_20120314.bb = tremor_18153.bb}  | 6 --
 3 files changed, 4 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
tremor}/obsolete_automake_macros.patch (100%)
 rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
tremor}/tremor-arm-thumb2.patch (100%)
 rename meta/recipes-multimedia/tremor/{tremor_20120314.bb = tremor_18153.bb} 
(66%)

diff --git 
a/meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch 
b/meta/recipes-multimedia/tremor/tremor/obsolete_automake_macros.patch
similarity index 100%
rename from 
meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch
rename to meta/recipes-multimedia/tremor/tremor/obsolete_automake_macros.patch
diff --git 
a/meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch 
b/meta/recipes-multimedia/tremor/tremor/tremor-arm-thumb2.patch
similarity index 100%
rename from 
meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch
rename to meta/recipes-multimedia/tremor/tremor/tremor-arm-thumb2.patch
diff --git a/meta/recipes-multimedia/tremor/tremor_20120314.bb 
b/meta/recipes-multimedia/tremor/tremor_18153.bb
similarity index 66%
rename from meta/recipes-multimedia/tremor/tremor_20120314.bb
rename to meta/recipes-multimedia/tremor/tremor_18153.bb
index afc78ac..c27fe8c 100644
--- a/meta/recipes-multimedia/tremor/tremor_20120314.bb
+++ b/meta/recipes-multimedia/tremor/tremor_18153.bb
@@ -8,12 +8,14 @@ DEPENDS = libogg
 SRCDATE = ${PV}
 PR = r1
 
-SRC_URI = svn://svn.xiph.org/trunk;module=Tremor;rev=18221;protocol=http \
+SRC_URI = 
${DEBIAN_MIRROR}/main/libv/libvorbisidec/libvorbisidec_1.0.2+svn${PV}.orig.tar.gz
 \
file://obsolete_automake_macros.patch;striplevel=0 \
file://tremor-arm-thumb2.patch \
 
+SRC_URI[md5sum] = 4190859414c5d6760e316b5cf00fe7c5
+SRC_URI[sha256sum] = 
4dc8c224289da3479fc10ce4e49ffbb85c790eb2fe55ef480934a265ee0a6782
 
-S = ${WORKDIR}/Tremor
+S = ${WORKDIR}/libvorbisidec-1.0.2+svn${PV}
 
 inherit autotools pkgconfig
 
-- 
2.1.4

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


[OE-core] [PATCH 15/26] syslinux: drop v6.xx/ from directory path in SRC_URI

2015-07-30 Thread Alexander Kanavin
This allows upstream version check.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/syslinux/syslinux_6.03.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/syslinux/syslinux_6.03.bb 
b/meta/recipes-devtools/syslinux/syslinux_6.03.bb
index c42f05d..ef9ae2f 100644
--- a/meta/recipes-devtools/syslinux/syslinux_6.03.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_6.03.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 # ldlinux.* stuff for now, so skip mtools-native
 DEPENDS = nasm-native util-linux e2fsprogs
 
-SRC_URI = 
${KERNELORG_MIRROR}/linux/utils/boot/syslinux/6.xx/syslinux-${PV}.tar.xz \
+SRC_URI = ${KERNELORG_MIRROR}/linux/utils/boot/syslinux/syslinux-${PV}.tar.xz 
\
file://syslinux-fix-parallel-building-issue.patch \
file://syslinux-libupload-depend-lib.patch \
file://syslinux-remove-clean-script.patch \
-- 
2.1.4

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


[OE-core] [PATCH 14/26] puzzles: switch svn for git, as upstream has done the same

2015-07-30 Thread Alexander Kanavin
Also, drop puzzles_x32_abi_time.patch as it has been merged upstream

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../puzzles/files/puzzles_x32_abi_time.patch   | 30 --
 .../puzzles/{puzzles_r10286.bb = puzzles_git.bb}  |  7 ++---
 2 files changed, 4 insertions(+), 33 deletions(-)
 delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
 rename meta/recipes-sato/puzzles/{puzzles_r10286.bb = puzzles_git.bb} (89%)

diff --git a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch 
b/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
deleted file mode 100644
index 63ab0b8..000
--- a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix printf's for time_t value add castings because ISOC90
-don't support long long int that is used in x32 ABI for 
-time_t.
-
-Upstream-Status: Backport
-
-Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com
-
 a/magnets.c2015-03-15 11:57:39.106674811 +
-+++ b/magnets.c2015-03-15 11:57:58.638674795 +
-@@ -2562,7 +2562,7 @@
- goto done;
- }
- s = new_game(NULL, p, desc);
--printf(%s:%s (seed %ld)\n, id, desc, seed);
-+printf(%s:%s (seed %ld)\n, id, desc, (long) seed);
- if (aux) {
- /* We just generated this ourself. */
- if (verbose || print) {
 a/signpost.c   2015-03-15 11:58:52.866674751 +
-+++ b/signpost.c   2015-03-15 11:59:08.190674738 +
-@@ -2393,7 +2393,7 @@
- }
- }
- 
--sprintf(newseed, %lu, time(NULL));
-+sprintf(newseed, %lu, (unsigned long) time(NULL));
- seedstr = dupstr(newseed);
- 
- if (id || !stdin_desc) {
diff --git a/meta/recipes-sato/puzzles/puzzles_r10286.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
similarity index 89%
rename from meta/recipes-sato/puzzles/puzzles_r10286.bb
rename to meta/recipes-sato/puzzles/puzzles_git.bb
index 1ad8d1b..6346c06 100644
--- a/meta/recipes-sato/puzzles/puzzles_r10286.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -10,12 +10,13 @@ REQUIRED_DISTRO_FEATURES = x11
 LICENSE = MIT
 LIC_FILES_CHKSUM = file://LICENCE;md5=33bcd4bce8f3c197f2aefbdbd2d299bc
 
-SRC_URI = svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV} \
+SRC_URI = git://git.tartarus.org/simon/puzzles.git \
file://fix-compiling-failure-with-option-g-O.patch \
-   file://puzzles_x32_abi_time.patch \
 
+SRCREV = aa1a9375be96cd8e0f89a670359c3c80ad7cf937
+PV = 0.0+git${SRCPV}
 
-S = ${WORKDIR}/${BPN}
+S = ${WORKDIR}/git
 
 inherit autotools-brokensep distro_features_check
 
-- 
2.1.4

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


[OE-core] [PATCH 19/26] xf86-video-omapfb: switch SRC_URI to debian git repo

2015-07-30 Thread Alexander Kanavin
The previous upstream is no longer available.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb 
b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
index 4ad2538..e649270 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
@@ -13,7 +13,7 @@ SRCREV = 28c006c94e57ea71df11ec4fff79d7ffcfc4860f
 PR = ${INC_PR}.7
 PV = 0.1.1+gitr${SRCPV}
 
-SRC_URI = git://git.pingu.fi/xf86-video-omapfb;protocol=http \
+SRC_URI = git://anonscm.debian.org/collab-maint/xf86-video-omapfb.git \
   file://0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch \
   file://0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch \
   file://0003-force-plain-mode.patch \
-- 
2.1.4

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


[OE-core] [PATCH 13/26] oprofile: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Alexander Kanavin
The source tarball should be listed first.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-kernel/oprofile/oprofile.inc  | 2 +-
 meta/recipes-kernel/oprofile/oprofile_1.0.0.bb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-kernel/oprofile/oprofile.inc 
b/meta/recipes-kernel/oprofile/oprofile.inc
index 49e6b16..ff360d1 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -18,7 +18,7 @@ FILES_${PN} = ${bindir} ${libdir}/${BPN}/lib*${SOLIBS} 
${datadir}/${BPN}
 FILES_${PN}-dev += ${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la
 FILES_${PN}-staticdev += ${libdir}/${BPN}/lib*.a
 
-SRC_URI = file://filemode-fix.patch \
+SRC_URI += file://filemode-fix.patch \
file://acinclude.m4 \
file://automake-foreign.patch \
file://oprofile-cross-compile-tests.patch \
diff --git a/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb 
b/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
index f4a34b3..f75a1dd 100644
--- a/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
+++ b/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
@@ -1,13 +1,13 @@
-require oprofile.inc
-
 DEPENDS += virtual/kernel
 DEPENDS_append_powerpc64 =  libpfm4
 
-SRC_URI += ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz
+SRC_URI = ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz
 
 SRC_URI[md5sum] = ba0b340e5c421a93959776c836ed35b3
 SRC_URI[sha256sum] = 
847110b4ecdcf8c8353cd38f94c1b704aad4bfcd9453e38b88d112cfb7e3c45a
 
+require oprofile.inc
+
 S = ${WORKDIR}/oprofile-${PV}
 
 PR = r1
-- 
2.1.4

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


[OE-core] [PATCH 16/26] shared-mime-info: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Alexander Kanavin
Upstream tarball should be listed first.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb 
b/meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb
index 3797972..8c4fde8 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb
@@ -1,6 +1,6 @@
 require shared-mime-info.inc
 
-SRC_URI =+ file://parallelmake.patch \
+SRC_URI += file://parallelmake.patch \
file://install-data-hook.patch
 
 SRC_URI[md5sum] = 16c02f7b658fff2a9c207406d388ea31
-- 
2.1.4

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


[OE-core] [PATCH 26/26] distrodata.bbclass: drop the manual upstream version check logic

2015-07-30 Thread Alexander Kanavin
It's already taken care of in meta/lib/oe/recipeutils.py

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/classes/distrodata.bbclass | 19 +--
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index d33187b..7cb7736 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -347,23 +347,6 @@ python do_checkpkg() {
 elif cmp == 0:
 pstatus = MATCH
 
-Read from manual distro tracking fields as alternative
-pmver = d.getVar(RECIPE_UPSTREAM_VERSION, True)
-if not pmver:
-pmver = N/A
-pmstatus = ErrNoRecipeData
-else:
-mpv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pmver, 
uri_type)
-upv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pupver, 
uri_type)
-
-cmp = vercmp_string(mpv, upv)
-if cmp == -1:
-pmstatus = UPDATE
-elif cmp == 0:
-pmstatus = MATCH
-else:
-pmstatus = 
-
 psrcuri = psrcuri.split()[0]
 pdepends = .join(pdepends.split(\t))
 pdesc = .join(pdesc.split(\t))
@@ -372,7 +355,7 @@ python do_checkpkg() {
 with open(logfile, a) as f:
 writer = csv.writer(f, delimiter='\t')
 writer.writerow([pname, pversion, pupver, plicense, psection, 
phome, 
-prelease, pdepends, pbugtracker, ppe, pdesc, pstatus, pmver, 
+prelease, pdepends, pbugtracker, ppe, pdesc, pstatus, pupver,
 psrcuri, maintainer, no_upgr_reason])
 f.close()
 bb.utils.unlockfile(lf)
-- 
2.1.4

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


[OE-core] [PATCH 22/26] unzip, zip: fix PV to allow upstream version check

2015-07-30 Thread Alexander Kanavin
Upstream does not separate major and minor version numbers in the tarball
filename, so the best we can do is to squash them together as well :-/

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-extended/unzip/unzip_6.0.bb | 3 ++-
 meta/recipes-extended/zip/zip.inc| 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb 
b/meta/recipes-extended/unzip/unzip_6.0.bb
index 4a0a713..8ac3745 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29
 PE = 1
 PR = r5
 
-SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
+PV = 60
+SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tgz \
file://avoid-strip.patch \
file://define-ldflags.patch \
file://06-unzip60-alt-iconv-utf8_CVE-2015-1315.patch \
diff --git a/meta/recipes-extended/zip/zip.inc 
b/meta/recipes-extended/zip/zip.inc
index 6221c5e..5e92daa 100644
--- a/meta/recipes-extended/zip/zip.inc
+++ b/meta/recipes-extended/zip/zip.inc
@@ -5,7 +5,8 @@ SECTION = console/utils
 LICENSE = BSD-3-Clause
 LIC_FILES_CHKSUM = file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d
 
-SRC_URI = 
ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', 
'')}.tgz
+PV = 30
+SRC_URI = ftp://ftp.info-zip.org/pub/infozip/src/zip${PV}.tgz;
 
 EXTRA_OEMAKE = 'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \
-- 
2.1.4

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


[OE-core] [PATCH 21/26] systemd: remove PV from the recipe

2015-07-30 Thread Alexander Kanavin
It is unnecessary because the recipe filename already contains it.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-core/systemd/systemd_219.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_219.bb 
b/meta/recipes-core/systemd/systemd_219.bb
index 83e4bce..148a077 100644
--- a/meta/recipes-core/systemd/systemd_219.bb
+++ b/meta/recipes-core/systemd/systemd_219.bb
@@ -27,8 +27,6 @@ inherit gtk-doc useradd pkgconfig autotools perlnative 
update-rc.d update-altern
 
 SRCREV = 85a6fabdd3e43cfab0fc6359e9f2a9e368d4a3ed
 
-PV = 219-stable+git${SRCPV}
-
 SRC_URI = 
git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stable;protocol=git
 \
file://0002-shared-missing.h-fall-back-to-insecure-getenv.patch \

file://0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
-- 
2.1.4

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


[OE-core] [PATCH 24/26] distrodata.bbclass: do not skip -native recipes in checkpkg task

2015-07-30 Thread Alexander Kanavin
Some recipes are available only in the -native flavour, and we need to
check their upstream version too from the command line.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/classes/distrodata.bbclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index a228242..af3af33 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -218,9 +218,6 @@ python checkpkg_eventhandler() {
 header = row
 continue
 
-if '-native' in pn or 'nativesdk-' in pn:
-continue
-
 if not pn in package_dict.keys():
 package_dict[pn] = row
 f.close()
-- 
2.1.4

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


Re: [OE-core] [PATCH] tzdata: Add marking for config files in recipe

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 03:05, Zhou, Li li.z...@windriver.com wrote:

 Do you mean that I should use branch master instead of fido? Has fido been
 abandoned?
 Thanks.


For patch submissions you generally submit to master and then request a
backport to the stable branches.

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


[OE-core] [PATCH 00/26] Upstream version check fixes for various recipes

2015-07-30 Thread Alexander Kanavin
This patchset contains various recipe fixes that allow upstream version checks.
It also updates recipes that fetch sources from Google Code (about to shut down)
to use alternatives. Please see individual commits for what is fixed and why.

The following changes since commit 3aeeda88e236f3da577adc20597dab38a66157c5:

  wget.py: fix incorrect regexes (2015-07-30 14:47:12 +0300)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/recipe-reporting-fixes
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/recipe-reporting-fixes

Alexander Kanavin (26):
  libproxy: update SRC_URI to not use Google Code
  fotowall: update SRC_URI to use github instead of qt-apps.org
  distcc: update SRC_URI to not use Google Code
  adt-installer: update SRC_URI to not use Google Code
  ossp-uuid: update SRC_URI to not use Google Code
  eglinfo: change version from 1.0 to 1.0.0 to match the upstream git
tag
  gptfdisk: use tarballs instead of git for fetching source code
  libmad: use ftp instead of sourceforge for consistency with libid3tag
  lsb: set PV to 1.4 to match upstream tarball version
  linux-yocto-dev: only numeric characters are allowed in package
versions taken from git
  nss: reorder SRC_URI lines to fix upstream version check
  pseudo: fix upstream SRC_URI to enable upstream version check
  oprofile: reorder SRC_URI lines to fix upstream version check
  puzzles: switch svn for git, as upstream has done the same
  syslinux: drop v6.xx/ from directory path in SRC_URI
  shared-mime-info: reorder SRC_URI lines to fix upstream version check
  tremor: switch SRC_URI from svn to tarballs on debian mirrors
  x264: only numeric characters are allowed in package versions taken
from git
  xf86-video-omapfb: switch SRC_URI to debian git repo
  stress: use developer's website for SRC_URI
  systemd: remove PV from the recipe
  unzip,zip: fix PV to allow upstream version check
  guilt-native: set PV in the recipe to allow upstream version check
  distrodata.bbclass: do not skip -native recipes in checkpkg task
  distrodata.bbclass: do not use get_recipe_pv_without_srcpv() before
comparing versions in checkpkg
  distrodata.bbclass: drop the manual upstream version check logic

 meta/classes/distrodata.bbclass| 27 ++-
 meta/recipes-core/systemd/systemd_219.bb   |  2 --
 meta/recipes-devtools/distcc/distcc_3.1.bb |  3 ++-
 .../fdisk/{gptfdisk_git.bb = gptfdisk_0.8.10.bb}  |  8 +++---
 meta/recipes-devtools/guilt/guilt-native_git.bb|  2 +-
 .../installer/adt-installer_1.0.bb |  2 +-
 meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb |  2 +-
 meta/recipes-devtools/pseudo/pseudo_1.6.7.bb   |  2 +-
 meta/recipes-devtools/syslinux/syslinux_6.03.bb|  2 +-
 meta/recipes-extended/lsb/lsb_4.1.bb   |  1 +
 meta/recipes-extended/stress/stress_1.0.4.bb   |  2 +-
 meta/recipes-extended/unzip/unzip_6.0.bb   |  3 ++-
 meta/recipes-extended/zip/zip.inc  |  3 ++-
 .../{eglinfo-fb_1.0.bb = eglinfo-fb_1.0.0.bb} |  0
 .../{eglinfo-x11_1.0.bb = eglinfo-x11_1.0.0.bb}   |  0
 .../xorg-driver/xf86-video-omapfb_git.bb   |  2 +-
 meta/recipes-kernel/linux/linux-yocto-dev.bb   |  2 +-
 meta/recipes-kernel/oprofile/oprofile.inc  |  2 +-
 meta/recipes-kernel/oprofile/oprofile_1.0.0.bb |  6 ++---
 meta/recipes-multimedia/libmad/libmad_0.15.1b.bb   |  2 +-
 .../obsolete_automake_macros.patch |  0
 .../tremor-arm-thumb2.patch|  0
 .../tremor/{tremor_20120314.bb = tremor_18153.bb} |  6 +++--
 meta/recipes-multimedia/x264/x264_git.bb   |  2 +-
 meta/recipes-qt/qt-apps/fotowall_0.9.bb|  3 ++-
 .../puzzles/files/puzzles_x32_abi_time.patch   | 30 --
 .../puzzles/{puzzles_r10286.bb = puzzles_git.bb}  |  7 ++---
 meta/recipes-support/libproxy/libproxy_0.4.11.bb   |  7 +++--
 meta/recipes-support/nss/nss.inc   |  2 +-
 meta/recipes-support/nss/nss_3.17.3.bb |  6 ++---
 .../shared-mime-info/shared-mime-info_1.4.bb   |  2 +-
 31 files changed, 44 insertions(+), 94 deletions(-)
 rename meta/recipes-devtools/fdisk/{gptfdisk_git.bb = gptfdisk_0.8.10.bb} 
(75%)
 rename meta/recipes-graphics/eglinfo/{eglinfo-fb_1.0.bb = 
eglinfo-fb_1.0.0.bb} (100%)
 rename meta/recipes-graphics/eglinfo/{eglinfo-x11_1.0.bb = 
eglinfo-x11_1.0.0.bb} (100%)
 rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
tremor}/obsolete_automake_macros.patch (100%)
 rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
tremor}/tremor-arm-thumb2.patch (100%)
 rename meta/recipes-multimedia/tremor/{tremor_20120314.bb = tremor_18153.bb} 
(66%)
 delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
 rename meta/recipes-sato/puzzles/{puzzles_r10286.bb = puzzles_git.bb} (89%)

-- 
2.1.4

-- 
___

[OE-core] [PATCH 03/26] distcc: update SRC_URI to not use Google Code

2015-07-30 Thread Alexander Kanavin
Google Code is shutting down soon and distcc has moved to github.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/distcc/distcc_3.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb 
b/meta/recipes-devtools/distcc/distcc_3.1.bb
index e4b9313..b598c77 100644
--- a/meta/recipes-devtools/distcc/distcc_3.1.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.1.bb
@@ -17,13 +17,14 @@ PACKAGECONFIG[popt] = 
--without-included-popt,--with-included-popt,popt
 
 RRECOMMENDS_${PN} = avahi-daemon
 
-SRC_URI = http://distcc.googlecode.com/files/${BPN}-${PV}.tar.bz2 \
+SRC_URI = git://github.com/distcc/distcc.git \
file://separatebuilddir.patch \
file://0001-zeroconf-Include-fcntl.h.patch \
file://default \
file://distccmon-gnome.desktop \
file://distcc \
file://distcc.service
+SRCREV = 9a172d3d20042754a30c0cd9a5d63fd1a8120c31
 
 SRC_URI[md5sum] = a1a9d3853df7133669fffec2a9aab9f3
 SRC_URI[sha256sum] = 
f55dbafd76bed3ce57e1bbcdab1329227808890d90f4c724fcd2d53f934ddd89
-- 
2.1.4

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


[OE-core] [PATCH 04/26] adt-installer: update SRC_URI to not use Google Code

2015-07-30 Thread Alexander Kanavin
Google Code is shutting down and opkg tarballs are now available
from yoctoproject.org

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/installer/adt-installer_1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb 
b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 07070b5..c871e42 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -38,7 +38,7 @@ ADT_DIR = ${WORKDIR}/adt-installer/
 S = ${WORKDIR}/opkg-${PV}
 
 PV = 0.2.0
-SRC_URI = https://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
+SRC_URI = http://downloads.yoctoproject.org/releases/opkg/opkg-${PV}.tar.gz \
file://wget_cache.patch \
file://adt_installer \
file://scripts/adt_installer_internal \
-- 
2.1.4

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


[OE-core] [PATCH 05/26] ossp-uuid: update SRC_URI to not use Google Code

2015-07-30 Thread Alexander Kanavin
Google Code is shutting down so tarballs will be fetched from a Debian mirror
instead

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb 
b/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb
index 33bed75..08926ba 100644
--- a/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb
+++ b/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = 
file://README;beginline=30;endline=55;md5=b394fadb039bbfca6a
 
 PR = r2
 
-SRC_URI = http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz \
+SRC_URI = ${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz \
   file://0001-Change-library-name.patch \
   file://0002-uuid-preserve-m-option-status-in-v-option-handling.patch 
\
   file://0003-Fix-whatis-entries.patch \
-- 
2.1.4

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


[OE-core] [PATCH 07/26] gptfdisk: use tarballs instead of git for fetching source code

2015-07-30 Thread Alexander Kanavin
git repository does not have version tags, so upstream version check
cannot be performed

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../fdisk/{gptfdisk_git.bb = gptfdisk_0.8.10.bb} | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta/recipes-devtools/fdisk/{gptfdisk_git.bb = gptfdisk_0.8.10.bb} 
(75%)

diff --git a/meta/recipes-devtools/fdisk/gptfdisk_git.bb 
b/meta/recipes-devtools/fdisk/gptfdisk_0.8.10.bb
similarity index 75%
rename from meta/recipes-devtools/fdisk/gptfdisk_git.bb
rename to meta/recipes-devtools/fdisk/gptfdisk_0.8.10.bb
index 477c1d9..3b94b56 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk_git.bb
+++ b/meta/recipes-devtools/fdisk/gptfdisk_0.8.10.bb
@@ -5,11 +5,9 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552
 
 DEPENDS = util-linux popt ncurses
 
-PV = 0.8.10+git${SRCPV}
-SRCREV = a920398fa393f9d6301b32b191bc01e086ab8bc8
-SRC_URI = git://git.code.sf.net/p/gptfdisk/code
-
-S = ${WORKDIR}/git
+SRC_URI = ${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz
+SRC_URI[md5sum] = 9cf4246c181c324bdbd553fe9b348373
+SRC_URI[sha256sum] = 
73e64151203ae0c347c488358e71ca582bb7fb7f0d66df86b71c42050390eb9b
 
 do_install() {
 install -d ${D}${sbindir}
-- 
2.1.4

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


[OE-core] [PATCH 10/26] linux-yocto-dev: only numeric characters are allowed in package versions taken from git

2015-07-30 Thread Alexander Kanavin
See regexes in get_recipe_pv_without_srcpv() in meta/lib/oe/recipeutils.py

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb 
b/meta/recipes-kernel/linux/linux-yocto-dev.bb
index 0be3089..ab094cc 100644
--- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
@@ -36,7 +36,7 @@ SRC_URI = 
git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name
 SRCREV_machine ?= 
'${@oe.utils.conditional(PREFERRED_PROVIDER_virtual/kernel, 
linux-yocto-dev, ${AUTOREV}, 29594404d7fe73cd80eaa4ee8c43dcc53970c60e, 
d)}'
 SRCREV_meta ?= '${@oe.utils.conditional(PREFERRED_PROVIDER_virtual/kernel, 
linux-yocto-dev, ${AUTOREV}, 29594404d7fe73cd80eaa4ee8c43dcc53970c60e, 
d)}'
 
-LINUX_VERSION ?= 4.1-rc+
+LINUX_VERSION ?= 4.1
 LINUX_VERSION_EXTENSION ?= -yoctodev-${LINUX_KERNEL_TYPE}
 PV = ${LINUX_VERSION}+git${SRCPV}
 
-- 
2.1.4

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


[OE-core] [PATCH 11/26] nss: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Alexander Kanavin
The source tarball should be listed first

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/nss/nss.inc   | 2 +-
 meta/recipes-support/nss/nss_3.17.3.bb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 665e4e6..b21dc39 100644
--- a/meta/recipes-support/nss/nss.inc
+++ b/meta/recipes-support/nss/nss.inc
@@ -12,7 +12,7 @@ LICENSE = MPL-2.0 | (MPL-2.0  GPL-2.0+) | (MPL-2.0  
LGPL-2.1+)
 
 LIC_FILES_CHKSUM = 
file://nss/lib/freebl/mpi/doc/LICENSE;md5=491f158d09d948466afce85d6f1fe18f \
 
file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=6bf96825e3d7ce4de25621ae886cc859
-SRC_URI = \
+SRC_URI += \
 file://nss-fix-support-cross-compiling.patch \
 file://nss-no-rpath-for-cross-compiling.patch \
 file://nss-fix-incorrect-shebang-of-perl.patch \
diff --git a/meta/recipes-support/nss/nss_3.17.3.bb 
b/meta/recipes-support/nss/nss_3.17.3.bb
index e7d0780..b22eb95 100644
--- a/meta/recipes-support/nss/nss_3.17.3.bb
+++ b/meta/recipes-support/nss/nss_3.17.3.bb
@@ -1,7 +1,7 @@
-require nss.inc
-
-SRC_URI += \
+SRC_URI = \
 
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_17_3_RTM/src/${BP}.tar.gz
 \
 
 SRC_URI[md5sum] = fba7489e1b26f2a0bfe5527430fd61e1
 SRC_URI[sha256sum] = 
f4d5e9035a2f84f25f35c283de3b0ff60d72e918748de25eaf017ed201fa21d5
+
+require nss.inc
-- 
2.1.4

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


[OE-core] [PATCH 08/26] libmad: use ftp instead of sourceforge for consistency with libid3tag

2015-07-30 Thread Alexander Kanavin
Both ftp and SF are official code sources, but ftp is less finicky
for upstream version checks.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-multimedia/libmad/libmad_0.15.1b.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb 
b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
index 30937eb..9e08b16 100644
--- a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
+++ b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
@@ -10,7 +10,7 @@ SECTION = libs
 DEPENDS = libid3tag
 PR = r3
 
-SRC_URI = ${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
+SRC_URI = ftp://ftp.mars.org/pub/mpeg/libmad-${PV}.tar.gz \
file://no-force-mem.patch \
file://add-pkgconfig.patch \
file://fix_for_mips_with_gcc-4.5.0.patch \
-- 
2.1.4

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


[OE-core] [PATCH 02/26] fotowall: update SRC_URI to use github instead of qt-apps.org

2015-07-30 Thread Alexander Kanavin
GitHub is where upstream development is happening, so we are more likely
to find out about new releases from there

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-qt/qt-apps/fotowall_0.9.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-qt/qt-apps/fotowall_0.9.bb 
b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
index 48dcc02..587b074 100644
--- a/meta/recipes-qt/qt-apps/fotowall_0.9.bb
+++ b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
@@ -10,7 +10,8 @@ SECTION = x11/apps
 
 PR = r4
 
-SRC_URI = http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2 
\
+SRCREV = 06d5a4142c599604d9a9fd64727b6945eb8cd3da
+SRC_URI = git://github.com/enricoros/fotowall.git \
file://ExportWizard-depends-on-ui_wizard.patch \

 
-- 
2.1.4

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


Re: [OE-core] [PATCH 1/8] busybox: merge login-utilities.cfg into defconfig

2015-07-30 Thread Otavio Salvador
On Wed, Jul 29, 2015 at 7:08 PM, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
 Obviously any more split up hasn't happened as yet and I know that
 personally, given my workload I'm unlikely to find time soon :(. I'd be
 interested to see what others think?

Having a second thought on this, I second your view here. The more
fragmented the better.

It helps distros to customize it without having to carry a full (and
likely unmaintained) defconfig, benefiting from fixes and
contributions sent for OE-Core.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] oeqa/sstatetests.py: add decorator to test_sstate_nativelsbstring_same_hash

2015-07-30 Thread Costin Constantin
Signed-off-by: Costin Constantin costin.c.constan...@intel.com
---
 meta/lib/oeqa/selftest/sstatetests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/sstatetests.py 
b/meta/lib/oeqa/selftest/sstatetests.py
index 2599e0b..6eacb57 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -240,6 +240,7 @@ BUILD_OS = \linux\
 self.assertItemsEqual(files1, files2)
 
 
+@testcase(1271)
 def test_sstate_nativelsbstring_same_hash(self):
 
 The sstate checksums should be independent of whichever 
NATIVELSBSTRING is
-- 
2.1.4

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


Re: [OE-core] [PATCH] watchdog: kill update-rc.d when not using sysvinit

2015-07-30 Thread Burton, Ross
On 29 July 2015 at 21:09, Christopher Larson chris_lar...@mentor.com
wrote:

 The dependency on initscripts via VIRTUAL-RUNTIME_initscripts is a
 DEPENDS, so it's build time.  The runtime dependency is on
 initscripts-functions.

 As far as I'm aware the sysv-generator used the rcX.d symlinks generated
 by update-rcd to decide what to start when, so you can't just disable the
 class and expect it to still work.


 VIRTUAL-RUNTIME_initscripts is installed at runtime (as you can tell by
 its name) in packagegroup-core-boot and packagegroup-core-full-cmdline
 both. If I don’t want it in my images, wiping the variable is the only
 method that makes any sense.


So there's the problem, and breaking watchdog isn't solving it.

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


Re: [OE-core] [PATCH] u-boot-mkimage: fix a building failure on OpenSus

2015-07-30 Thread Otavio Salvador
Hello,

On Thu, Jul 30, 2015 at 3:26 AM, Rongqing Li rongqing...@windriver.com wrote:
...
 u-boot-mkimage just be upgraded, and has the similar your suggestive fix:

 commit cffcd2861310855130db52c93f7bf4d9b511741d
 Author: Masahiro Yamada yamada.masah...@socionext.com
 Date:   Fri Apr 3 12:30:25 2015 +0900

 kbuild: include config.mk when auto.conf is not older than .config

 Since the Kconfig conversion, config.mk has been included only when
 include/config/auto.conf is newer than the .config file.

 It causes build error if both files have the same time-stamps.
 It is actually possible because EXT* file systems have a 1s time-stamp
 resolution.

 The config.mk should be included when include/config/auto.conf is
 *not older* than the .config file.

 Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com
 Reported-by: Tom Rini tr...@konsulko.com
 Reported-by: York Sun york...@freescale.com
 Reported-by: Stephen Warren swar...@nvidia.com
 Reported-by: Matthew Gerlach mgerl...@opensource.altera.com
 Tested-by: Stephen Warren swar...@nvidia.com

This is part of 2015.07 release so I am wondering what is the issue
here? Is this patch for old release? Fido for instance?

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] meta-gplv2? [Was Re: parted_1.8.6.bb: add parted that not GPLv3]

2015-07-30 Thread Alexander Kanavin

On 07/11/2015 10:57 AM, Richard Purdie wrote:


This does touch on something I have wondered about for a while, which is
whether the time has come to move the GPLv2 pieces to their own layer
and possibly their own maintainership. Obviously there are pros and cons
to doing that.

Thoughts?


I'm all for that, which shouldn't be surprising :) The rationale is that 
we need to keep the scope and breadth of oe-core sane and manageable. 
The emphasis should be on having lesser amount of high quality, 
up-to-date recipes than vice versa.


That means a continuous lookout for possible things to remove. Qt4 is 
one such thing, old GPLv2 software is another.



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


Re: [OE-core] [PATCH] bitbake.conf: Remove replace call from MACHINE_ARCH

2015-07-30 Thread Richard Purdie
On Wed, 2015-07-29 at 13:49 +0300, Ioan-Adrian Ratiu wrote:
 This replace() hack was added to fix Yocto bug #946 [1] with commit id
 69b3a11. It is time to fix this properly.

I'd love to see this fixed properly. I assume you're volunteering to do
this?

  It should not be an issue
 anymore with libzypp after 4.5 years, but if the initial bug still
 exists, then a more intelligent solution should be used to fix it.

We no longer use libzypp. I believe however that this is a more deeply
rooted rpm issue.

So, what testing did you do of the rpm backend after this change?

Note that we also have to do mappings of TARGET_ARCH -
TRANSLATED_TARGET_ARCH which is the same issue as this one.

Cheers,

Richard


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


Re: [OE-core] [oe-core][PATCH 1/1] nss: advance to version 3.19.1

2015-07-30 Thread Burton, Ross
On 29 July 2015 at 23:10, Slater, Joseph W (Wind River) 
joe.sla...@windriver.com wrote:

 ok.  I think I just sent a new version of the patch (but for some reason I
 did not get a copy). Joe


You did, thanks :)

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


[OE-core] [PATCH 23/26] guilt-native: set PV in the recipe to allow upstream version check

2015-07-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/guilt/guilt-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/guilt/guilt-native_git.bb 
b/meta/recipes-devtools/guilt/guilt-native_git.bb
index dfb3378..b63c68c 100644
--- a/meta/recipes-devtools/guilt/guilt-native_git.bb
+++ b/meta/recipes-devtools/guilt/guilt-native_git.bb
@@ -8,7 +8,7 @@ inherit native
 SRC_URI = git://repo.or.cz/guilt.git \
file://guilt-bash.patch \

-
+PV = 0.35+git${SRCPV}
 SRCREV = c2a5bae511c6d5354aa4e1cb59069c31df2b8eeb
 
 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] [PATCH 25/26] distrodata.bbclass: do not use get_recipe_pv_without_srcpv() before comparing versions in checkpkg

2015-07-30 Thread Alexander Kanavin
That function is intended for use with git sources and contains some 
restrictive regexes
that don't work correctly when there are alphabetic characters in the version 
string.
We can simply compare the versions directly.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/classes/distrodata.bbclass | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index af3af33..d33187b 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -341,10 +341,7 @@ python do_checkpkg() {
 if not pupver:
 pupver = N/A
 else:
-pv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pversion, 
uri_type)
-upv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pupver, 
uri_type)
-
-cmp = vercmp_string(pv, upv)
+cmp = vercmp_string(pversion, pupver)
 if cmp == -1:
 pstatus = UPDATE
 elif cmp == 0:
-- 
2.1.4

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


[OE-core] [dizzy][PATCH] bind9.9.5: CVE-2015-5477

2015-07-30 Thread Sona Sarmadi
Fixed a flaw in the way BIND handled requests for TKEY
DNS resource records.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5477
https://kb.isc.org/article/AA-01272

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
---
 .../bind/bind/bind9_9_5-CVE-2015-5477.patch| 45 ++
 meta/recipes-connectivity/bind/bind_9.9.5.bb   |  1 +
 2 files changed, 46 insertions(+)
 create mode 100644 
meta/recipes-connectivity/bind/bind/bind9_9_5-CVE-2015-5477.patch

diff --git a/meta/recipes-connectivity/bind/bind/bind9_9_5-CVE-2015-5477.patch 
b/meta/recipes-connectivity/bind/bind/bind9_9_5-CVE-2015-5477.patch
new file mode 100644
index 000..896272a
--- /dev/null
+++ b/meta/recipes-connectivity/bind/bind/bind9_9_5-CVE-2015-5477.patch
@@ -0,0 +1,45 @@
+From dbb064aa7972ef918d9a235b713108a4846cbb62 Mon Sep 17 00:00:00 2001
+From: Mark Andrews ma...@isc.org
+Date: Tue, 14 Jul 2015 14:48:42 +1000
+Subject: [PATCH] 4165.   [bug]   An failure to reset a value to NULL
+ in tkey.c could result in an assertion failure.
+ (CVE-2015-5477) [RT #40046]
+
+Upstream-Status: Backport
+[CHANGES file has been edited manually to add CVE-2015-5477 and
+an already applied CVE (CVE-2014-8500)].
+
+Referenc: https://kb.isc.org/article/AA-01272
+
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+
+diff -ruN a/CHANGES b/CHANGES
+--- a/CHANGES  2014-01-27 19:58:24.0 +0100
 b/CHANGES  2015-07-30 11:03:18.871670769 +0200
+@@ -1,4 +1,15 @@
+   --- 9.9.5 released ---
++4165.   [security]  An failure to reset a value to NULL in tkey.c could
++result in an assertion failure. (CVE-2015-5477)
++[RT #40046]
++
++4006.   [security]  A flaw in delegation handling could be exploited
++to put named into an infinite loop.  This has
++been addressed by placing limits on the number
++of levels of recursion named will allow (default 7),
++and the number of iterative queries that it will
++send (default 50) before terminating a recursive
++query (CVE-2014-8500).
+ 
+   --- 9.9.5rc2 released ---
+ 
+diff -ruN a/lib/dns/tkey.c b/lib/dns/tkey.c
+--- a/lib/dns/tkey.c   2014-01-27 19:58:24.0 +0100
 b/lib/dns/tkey.c   2015-07-30 10:58:30.647945942 +0200
+@@ -650,6 +650,7 @@
+* Try the answer section, since that's where Win2000
+* puts it.
+*/
++  name = NULL;
+   if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
+dns_rdatatype_tkey, 0, name,
+tkeyset) != ISC_R_SUCCESS) {
diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb 
b/meta/recipes-connectivity/bind/bind_9.9.5.bb
index 8e04f8a..e206cc4 100644
--- a/meta/recipes-connectivity/bind/bind_9.9.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb
@@ -18,6 +18,7 @@ SRC_URI = 
ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
file://bind9 \
file://init.d-add-support-for-read-only-rootfs.patch \
file://bind9_9_5-CVE-2014-8500.patch \
+   file://bind9_9_5-CVE-2015-5477.patch \
   
 
 SRC_URI[md5sum] = e676c65cad5234617ee22f48e328c24e
-- 
1.9.1

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


Re: [OE-core] [PATCH v3] mdadm: 3.3.2 - 3.3.3

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 07:50, Li xin lixin.f...@cn.fujitsu.com wrote:

 3) Add systemd support:
 add systemd service file mdmonitor.service and install conf example file.

 Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 ---
  meta/recipes-extended/mdadm/files/inline.patch | 39
 --
  .../mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch   | 26 +--
  .../mdadm/{mdadm_3.3.2.bb = mdadm_3.3.3.bb}   | 28 


The patch doesn't include mdadm.service.

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


Re: [OE-core] [scripts][PATCH] yocto-layer: Stops duplication of meta- prefix

2015-07-30 Thread Burton, Ross
On 29 July 2015 at 20:50, humberto.ibarra.lo...@intel.com wrote:

 The yocto-layer script puts an extra meta- prefix to the given layer
 name even when the prefix is already there. This fix avoids
 duplicating the prefix in these situations.


If the scripts expects the layer name to not have a meta- prefix, should it
also strip a prefix if its present before passing it to
yocto_layer_create()?

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


Re: [OE-core] [PATCH] tzdata: Add marking for config files in recipe

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 10:05:30AM +0800, Zhou, Li wrote:
 I have setup up poky as below doc described:
 http://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html
 
   $ git clone http://git.yoctoproject.org/git/poky
   $ cd poky
   $ git checkout -b fido origin/fido
   $ source oe-init-build-env
 
 Do you mean that I should use branch master instead of fido? Has fido 
 been abandoned?

You're sending patch for master, so you should prepare and test in in
master not in fido branch.

If you want to get it applied in fido, then first get it merged in
master branch and then ask for backport/resend for fido or other release
branches.

 Thanks.
 
 On 07/29/2015 08:26 PM, Burton, Ross wrote:
 
  On 29 July 2015 at 02:49, Li Zhou li.z...@windriver.com 
  mailto:li.z...@windriver.com wrote:
 
   meta/recipes-extended/tzdata/tzdata.inc |2 ++
 
 
  This inc file was removed last month, please rebase to master.
 
  Ross
 
 -- 
 Best Regards!
 Zhou Li
 Phone number: 86-10-84778511
 

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


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


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


Re: [OE-core] [PATCH 01/26] libproxy: update SRC_URI to not use Google Code

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 15:29, Martin Jansa martin.ja...@gmail.com wrote:

 Why has debian mirror different checksums?


Ones a zip, the other is tar.gz.

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


Re: [OE-core] [PATCH 21/26] systemd: remove PV from the recipe

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:50PM +0300, Alexander Kanavin wrote:
 It is unnecessary because the recipe filename already contains it.

No, it contains only 219

 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-core/systemd/systemd_219.bb | 2 --
  1 file changed, 2 deletions(-)
 
 diff --git a/meta/recipes-core/systemd/systemd_219.bb 
 b/meta/recipes-core/systemd/systemd_219.bb
 index 83e4bce..148a077 100644
 --- a/meta/recipes-core/systemd/systemd_219.bb
 +++ b/meta/recipes-core/systemd/systemd_219.bb
 @@ -27,8 +27,6 @@ inherit gtk-doc useradd pkgconfig autotools perlnative 
 update-rc.d update-altern
  
  SRCREV = 85a6fabdd3e43cfab0fc6359e9f2a9e368d4a3ed
  
 -PV = 219-stable+git${SRCPV}
 -
  SRC_URI = 
 git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stable;protocol=git
  \
 file://0002-shared-missing.h-fall-back-to-insecure-getenv.patch \
 
 file://0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


Re: [OE-core] [PATCH 06/26] eglinfo: change version from 1.0 to 1.0.0 to match the upstream git tag

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 15:31, Martin Jansa martin.ja...@gmail.com wrote:

 Why don't you set PV in eglinfo.inc and rename them to _git.bb?


I think we're going to need the TSC to resolve the opinion in style here.
Again, when it's a release that just happens to use git, I do prefer
keeping the PV in the filename.

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


Re: [OE-core] [PATCH 11/26] nss: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 15:33, Martin Jansa martin.ja...@gmail.com wrote:

 Why don't you move this to .inc file and replace 3_17_3_RTM with some
 variable set in .bb, it would be easier to read than this reorder and
 require .inc later..


Joe sent a patch earlier to remove the inc file entirely, so please rebase
on top of that (it's in ross/mut).

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


Re: [OE-core] [PATCH 02/26] fotowall: update SRC_URI to use github instead of qt-apps.org

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:29 PM, Martin Jansa wrote:
 


So it doesn't need SRC_URI checksums anymore.. drop:
SRC_URI[md5sum] = 142ef697332e0777c6d22c5bc96cc438
SRC_URI[sha256sum] = 
e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d


Done.

Alex

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


Re: [OE-core] [PATCH 01/26] libproxy: update SRC_URI to not use Google Code

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:29 PM, Martin Jansa wrote:


-SRC_URI = http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
+SRC_URI = ${DEBIAN_MIRROR}/main/libp/${BPN}/${BPN}_${PV}.orig.tar.gz \
 file://0001-test-Include-sys-select.h-for-select.patch \

-
-SRC_URI[md5sum] = 06be230b8b612e64997f8f15af6373aa
-SRC_URI[sha256sum] = 
3175abcb49c0b37fd82c697927783bf7d53de3884a8559bc594e59caa09bdb04
+SRC_URI[md5sum] = 3cd1ae2a4abecf44b3f24d6639d2cd84
+SRC_URI[sha256sum] = 
dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b


Why has debian mirror different checksums?

Include the diff in commit message and warn premirror maintainers that
they need to drop old file (otherwise it will fail) - which is very
annoying.


I guess this is not needed because they are in fact two different 
filenames/formats?



Alex

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


Re: [OE-core] [PATCH 01/26] libproxy: update SRC_URI to not use Google Code

2015-07-30 Thread Burton, Ross
On 30 July 2015 at 16:12, Alexander Kanavin 
alexander.kana...@linux.intel.com wrote:

 I guess this is not needed because they are in fact two different
 filenames/formats?


Correct.

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


Re: [OE-core] [PATCH 21/26] systemd: remove PV from the recipe

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:36 PM, Martin Jansa wrote:

On Thu, Jul 30, 2015 at 04:31:50PM +0300, Alexander Kanavin wrote:

It is unnecessary because the recipe filename already contains it.


No, it contains only 219

-PV = 219-stable+git${SRCPV}


The idea here is that we only need the basic version, if the revision 
being fetched matches that version, and there is no need for all that 
git revision clutter in the version string.


Alex

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


[OE-core] [PATCH 21/21] midori: remove the recipe and replace references to midori with epiphany

2015-07-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../packagegroups/packagegroup-self-hosted.bb  | 10 +++
 .../builder/files/builder_hob_start.sh |  8 +++---
 meta/recipes-sato/midori/midori/liststore.patch| 29 
 meta/recipes-sato/midori/midori_0.5.8.bb   | 31 --
 .../packagegroups/packagegroup-core-x11-sato.bb|  2 +-
 5 files changed, 10 insertions(+), 70 deletions(-)
 delete mode 100644 meta/recipes-sato/midori/midori/liststore.patch
 delete mode 100644 meta/recipes-sato/midori/midori_0.5.8.bb

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb 
b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index 7d5a41a..0c79827 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -28,10 +28,10 @@ RDEPENDS_packagegroup-self-hosted = \
 packagegroup-self-hosted-host-tools \
 
 
-# midori depends on webkit-gtk which could not build for mips64
-MIDORI = midori
-MIDORI_mips64 = 
-MIDORI_mips64n32 = 
+# epiphany depends on webkitgtk which could not build for mips64
+EPIPHANY = epiphany
+EPIPHANY_mips64 = 
+EPIPHANY_mips64n32 = 
 
 RDEPENDS_packagegroup-self-hosted-host-tools = \
 connman \
@@ -198,7 +198,7 @@ RDEPENDS_packagegroup-self-hosted-graphics = \
 python-pygtk \
 gtk-theme-clearlooks \
 xdg-utils \
-${MIDORI} \
+${EPIPHANY} \
 leafpad \
 pcmanfm \
 vte \
diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh 
b/meta/recipes-graphics/builder/files/builder_hob_start.sh
index 65a68ee..b394b09 100644
--- a/meta/recipes-graphics/builder/files/builder_hob_start.sh
+++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh
@@ -18,10 +18,10 @@ if [ ! -d /home/builder/.local/share/applications ]; then
 #register folders to open with PCManFM filemanager
 xdg-mime default pcmanfm.desktop inode/directory
 
-#register html links and files with Midori
-xdg-mime default midori.desktop x-scheme-handler/http
-xdg-mime default midori.desktop x-scheme-handler/https
-xdg-mime default midori.desktop text/html
+#register html links and files with epiphany
+xdg-mime default epiphany.desktop x-scheme-handler/http
+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
diff --git a/meta/recipes-sato/midori/midori/liststore.patch 
b/meta/recipes-sato/midori/midori/liststore.patch
deleted file mode 100644
index 4e5d666..000
--- a/meta/recipes-sato/midori/midori/liststore.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-GLib 2.44 has a GListStore type which is GLib.ListStore in Vala, resulting in 
an ambigous type and compile failure.
-
-Fix by using the full type name.
-
-Upstream-Status: Backport
-Signed-off-by: Ross Burton ross.bur...@intel.com
-
-diff --git a/extensions/history-list.vala b/extensions/history-list.vala
-index 3a864b1..f309c0c 100644
 a/extensions/history-list.vala
-+++ b/extensions/history-list.vala
-@@ -319,7 +319,7 @@ namespace HistoryList {
- }
- 
- private void create_widgets () {
--ListStore model;
-+Gtk.ListStore model;
- TreeIter iter;
- TreeIter? active_iter = null;
- 
-@@ -331,7 +331,7 @@ namespace HistoryList {
- 
- var tab_closing_behavior = this.hl_manager.get_integer 
(TabClosingBehavior);
- 
--model = new ListStore (2, typeof (string), typeof (int));
-+model = new Gtk.ListStore (2, typeof (string), typeof (int));
- 
- model.append (out iter);
- model.set (iter, TabClosingBehaviorModel.TEXT, _(Do nothing),
diff --git a/meta/recipes-sato/midori/midori_0.5.8.bb 
b/meta/recipes-sato/midori/midori_0.5.8.bb
deleted file mode 100644
index 1c027fe4..000
--- a/meta/recipes-sato/midori/midori_0.5.8.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = A lightweight web browser
-HOMEPAGE = http://midori-browser.org/;
-LICENSE = LGPLv2.1
-LIC_FILES_CHKSUM = file://COPYING;md5=fbc093901857fcd118f065f900982c24
-DEPENDS = webkit-gtk libsoup-2.4 openssl python-native python-docutils-native 
librsvg-native libnotify libxscrnsaver
-
-SRC_URI = 
https://launchpad.net/midori/trunk/0.5.8/+download/${BPN}-${PV}.tar.bz2;subdir=${BPN}-${PV}
 \
-   file://liststore.patch
-
-SRC_URI[md5sum] = b89e25e74199d705e74767499a415976
-SRC_URI[sha256sum] = 
af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381
-
-# midori depends on webkit-gtk, and webkit-gtk can NOT be built on
-# MIPS64 with n32 ABI. So remove it from mips64 n32 temporarily.
-COMPATIBLE_HOST_mips64n32 = null
-
-inherit gtk-icon-cache pkgconfig vala pythonnative cmake distro_features_check
-
-# The webkit-gtk and libxscrnsaver requires x11 in DISTRO_FEATURES

[OE-core] [PATCH 20/21] webkit-gtk: remove the recipe for the obsolete version 1.8.3

2015-07-30 Thread Alexander Kanavin
webkitgtk 2.8.3 is provided instead and midori browser is replaced by epiphany 
in
separate commits.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/conf/distro/include/security_flags.inc|   2 -
 meta/recipes-sato/webkit/files/bison-2.6.patch | 558 -
 meta/recipes-sato/webkit/files/no-gtkdoc.patch |  20 -
 meta/recipes-sato/webkit/files/nodolt.patch|  19 -
 .../webgit-gtk_fix_build_with_automake_1.12.patch  |  62 ---
 ...bkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch |  26 -
 .../0001-Enable-mips64-build.patch |  69 ---
 .../webkit/webkit-gtk-1.8.3/aarch64.patch  |  41 --
 .../obsolete_automake_macros.patch |  14 -
 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb   | 116 -
 10 files changed, 927 deletions(-)
 delete mode 100644 meta/recipes-sato/webkit/files/bison-2.6.patch
 delete mode 100644 meta/recipes-sato/webkit/files/no-gtkdoc.patch
 delete mode 100644 meta/recipes-sato/webkit/files/nodolt.patch
 delete mode 100644 
meta/recipes-sato/webkit/files/webgit-gtk_fix_build_with_automake_1.12.patch
 delete mode 100644 
meta/recipes-sato/webkit/files/webkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch
 delete mode 100644 
meta/recipes-sato/webkit/webkit-gtk-1.8.3/0001-Enable-mips64-build.patch
 delete mode 100644 meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch
 delete mode 100644 
meta/recipes-sato/webkit/webkit-gtk-1.8.3/obsolete_automake_macros.patch
 delete mode 100644 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb

diff --git a/meta/conf/distro/include/security_flags.inc 
b/meta/conf/distro/include/security_flags.inc
index 3724972..414167d 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -21,7 +21,6 @@ SECURITY_CFLAGS_powerpc = -fstack-protector-all 
${lcl_maybe_fortify}
 SECURITY_CFLAGS_pn-dbus_powerpc = 
 SECURITY_CFLAGS_pn-dbus-ptest_powerpc = 
 SECURITY_CFLAGS_pn-libmatchbox_powerpc = 
-SECURITY_CFLAGS_pn-webkit-gtk_powerpc = 
 
 # arm specific security flag issues
 SECURITY_CFLAGS_pn-lttng-tools_arm = ${SECURITY_NO_PIE_CFLAGS}
@@ -85,7 +84,6 @@ SECURITY_CFLAGS_pn-python-numpy = ${SECURITY_NO_PIE_CFLAGS}
 SECURITY_CFLAGS_pn-tcl = ${SECURITY_NO_PIE_CFLAGS}
 SECURITY_CFLAGS_pn-tiff = ${SECURITY_NO_PIE_CFLAGS}
 SECURITY_CFLAGS_pn-valgrind = ${SECURITY_NO_PIE_CFLAGS}
-SECURITY_CFLAGS_pn-webkit-gtk = ${SECURITY_NO_PIE_CFLAGS}
 SECURITY_CFLAGS_pn-zlib = ${SECURITY_NO_PIE_CFLAGS}
 
 # These 2 have text relco errors with the pie options enabled
diff --git a/meta/recipes-sato/webkit/files/bison-2.6.patch 
b/meta/recipes-sato/webkit/files/bison-2.6.patch
deleted file mode 100644
index d4aa674..000
--- a/meta/recipes-sato/webkit/files/bison-2.6.patch
+++ /dev/null
@@ -1,558 +0,0 @@
-Upstream-Status: Backport
-http://trac.webkit.org/changeset/124099
-
-Subversion Revision: 123651
-diff --git a/Source/WebCore/css/CSSGrammar.y b/Source/WebCore/css/CSSGrammar.y
-index 
c7c10b541cd46ad4febc6efe289e81b2cfb0861e..1c604e76b4da4cc65f395bc4a73b112561bd5c84
 100644
 a/Source/WebCore/css/CSSGrammar.y
-+++ b/Source/WebCore/css/CSSGrammar.y
-@@ -53,14 +53,13 @@ using namespace HTMLNames;
- #define YYMAXDEPTH 1
- #define YYDEBUG 0
- 
--// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend 
on bison 2.x
--#define YYPARSE_PARAM parser
--#define YYLEX_PARAM parser
--
- %}
- 
- %pure_parser
- 
-+%parse-param { CSSParser* parser }
-+%lex-param { CSSParser* parser }
-+
- %union {
- bool boolean;
- char character;
-@@ -89,7 +88,7 @@ using namespace HTMLNames;
- 
- %{
- 
--static inline int cssyyerror(const char*)
-+static inline int cssyyerror(void*, const char*)
- {
- return 1;
- }
-diff --git a/Source/WebCore/css/CSSParser.cpp 
b/Source/WebCore/css/CSSParser.cpp
-index 
650844060477cfc6ea6fdeaf11ec63b34ac646e7..8369549dbff25537cf93a11237a9bbbac4fe50f2
 100644
 a/Source/WebCore/css/CSSParser.cpp
-+++ b/Source/WebCore/css/CSSParser.cpp
-@@ -114,7 +114,7 @@
- extern int cssyydebug;
- #endif
- 
--extern int cssyyparse(void* parser);
-+extern int cssyyparse(WebCore::CSSParser*);
- 
- using namespace std;
- using namespace WTF;
-diff --git a/Source/WebCore/xml/XPathGrammar.y 
b/Source/WebCore/xml/XPathGrammar.y
-index 
2eba5b35bd2338272a0f4ec756d137e47d2d59c8..d558211db2d89ea13716762a51397755560f66f3
 100644
 a/Source/WebCore/xml/XPathGrammar.y
-+++ b/Source/WebCore/xml/XPathGrammar.y
-@@ -34,6 +34,7 @@
- #include XPathParser.h
- #include XPathPath.h
- #include XPathPredicate.h
-+#include XPathStep.h
- #include XPathVariableReference.h
- #include wtf/FastMalloc.h
- 
-@@ -44,8 +45,6 @@
- #define YYLTYPE_IS_TRIVIAL 1
- #define YYDEBUG 0
- #define YYMAXDEPTH 1
--#define YYPARSE_PARAM parserParameter
--#define PARSER static_castParser*(parserParameter)
- 
- using namespace WebCore;
- using namespace XPath;
-@@ -53,6 +52,7 @@ using namespace XPath;
- %}
- 
- %pure_parser
-+%parse-param { 

Re: [OE-core] [PATCH 02/26] fotowall: update SRC_URI to use github instead of qt-apps.org

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:31PM +0300, Alexander Kanavin wrote:
 GitHub is where upstream development is happening, so we are more likely
 to find out about new releases from there
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-qt/qt-apps/fotowall_0.9.bb | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/meta/recipes-qt/qt-apps/fotowall_0.9.bb 
 b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
 index 48dcc02..587b074 100644
 --- a/meta/recipes-qt/qt-apps/fotowall_0.9.bb
 +++ b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
 @@ -10,7 +10,8 @@ SECTION = x11/apps
  
  PR = r4
  
 -SRC_URI = 
 http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2 \
 +SRCREV = 06d5a4142c599604d9a9fd64727b6945eb8cd3da
 +SRC_URI = git://github.com/enricoros/fotowall.git \
 file://ExportWizard-depends-on-ui_wizard.patch \
 

So it doesn't need SRC_URI checksums anymore.. drop:
SRC_URI[md5sum] = 142ef697332e0777c6d22c5bc96cc438
SRC_URI[sha256sum] = 
e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d


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

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


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


Re: [OE-core] [PATCH 03/26] distcc: update SRC_URI to not use Google Code

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:32PM +0300, Alexander Kanavin wrote:
 Google Code is shutting down soon and distcc has moved to github.
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-devtools/distcc/distcc_3.1.bb | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb 
 b/meta/recipes-devtools/distcc/distcc_3.1.bb
 index e4b9313..b598c77 100644
 --- a/meta/recipes-devtools/distcc/distcc_3.1.bb
 +++ b/meta/recipes-devtools/distcc/distcc_3.1.bb
 @@ -17,13 +17,14 @@ PACKAGECONFIG[popt] = 
 --without-included-popt,--with-included-popt,popt
  
  RRECOMMENDS_${PN} = avahi-daemon
  
 -SRC_URI = http://distcc.googlecode.com/files/${BPN}-${PV}.tar.bz2 \
 +SRC_URI = git://github.com/distcc/distcc.git \
 file://separatebuilddir.patch \
 file://0001-zeroconf-Include-fcntl.h.patch \
 file://default \
 file://distccmon-gnome.desktop \
 file://distcc \
 file://distcc.service
 +SRCREV = 9a172d3d20042754a30c0cd9a5d63fd1a8120c31
  
  SRC_URI[md5sum] = a1a9d3853df7133669fffec2a9aab9f3
  SRC_URI[sha256sum] = 
 f55dbafd76bed3ce57e1bbcdab1329227808890d90f4c724fcd2d53f934ddd89

drop

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

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


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


[OE-core] [PATCH 19/21] epiphany: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
Epiphany is replacing midori as the browser in oe-core recipe set
and poky distribution.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-gnome/epiphany/epiphany_3.16.3.bb | 24 
 .../0001-yelp.m4-drop-the-check-for-itstool.patch  | 33 ++
 2 files changed, 57 insertions(+)
 create mode 100644 meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
 create mode 100644 
meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch

diff --git a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb 
b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
new file mode 100644
index 000..0f5aef1
--- /dev/null
+++ b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
@@ -0,0 +1,24 @@
+SUMMARY = WebKit based web browser for GNOME
+LICENSE = GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=751419260aa954499f7abaabaa882bbe
+
+DEPENDS = libsoup-2.4 webkitgtk gtk+3 iso-codes ca-certificates avahi 
libnotify gcr libwnck3 \
+  gsettings-desktop-schemas gnome-desktop3
+
+inherit gnomebase gsettings
+SRC_URI += file://0001-yelp.m4-drop-the-check-for-itstool.patch
+SRC_URI[archive.md5sum] = 3296af4532b8019775f4b40d21a341ae
+SRC_URI[archive.sha256sum] = 
d527f1770779ec22d955aeb13b148a846a26144e433ff0480c981af80e2390b1
+
+EXTRA_OECONF +=  --disable-nss --with-distributor-name=${DISTRO}
+
+do_configure_prepend() {
+touch ${S}/gnome-doc-utils.make
+sed -i -e s:help::g ${S}/Makefile.am
+}
+
+FILES_${PN} += ${datadir}/appdata ${datadir}/dbus-1 
${datadir}/gnome-shell/search-providers
+FILES_${PN}-dbg += 
${libdir}/${PN}/*/web-extensions/.debug/libephywebextension.so
+RDEPENDS_${PN} = iso-codes
+RRECOMMENDS_${PN} = ca-certificates
+
diff --git 
a/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch
 
b/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch
new file mode 100644
index 000..2585d7f
--- /dev/null
+++ 
b/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch
@@ -0,0 +1,33 @@
+From 30f03a256efe375a4d5c3a24bf4168ebf380e3ab Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin alex.kana...@gmail.com
+Date: Thu, 30 Jul 2015 15:13:23 +0300
+Subject: [PATCH] yelp.m4: drop the check for itstool
+
+It isn't used for anything during build, so there's no need to provide
+it as a recipe.
+
+Upstream-Status: Inappropriate [tarball-specific issue]
+---
+ m4/yelp.m4 | 6 --
+ 1 file changed, 6 deletions(-)
+
+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
+
-- 
2.1.4

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


[OE-core] [PATCH 18/21] gsettings-desktop-schemas: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
gsettings-desktop-schemas is a dependency of epiphany

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../gsettings-desktop-schemas_3.16.1.bb | 13 +
 1 file changed, 13 insertions(+)
 create mode 100644 
meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.16.1.bb

diff --git 
a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.16.1.bb
 
b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.16.1.bb
new file mode 100644
index 000..f2f2c75
--- /dev/null
+++ 
b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.16.1.bb
@@ -0,0 +1,13 @@
+SUMMARY = GNOME desktop-wide GSettings schemas
+HOMEPAGE = http://live.gnome.org/gsettings-desktop-schemas;
+BUGTRACKER = https://bugzilla.gnome.org/;
+
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING;md5=4fbd65380cdd255951079008b364516c
+
+DEPENDS = glib-2.0 intltool-native gobject-introspection-stub-native
+
+inherit gnomebase gsettings gettext
+
+SRC_URI[archive.md5sum] = baebbcf3c20591f98876e42fb0a3fd35
+SRC_URI[archive.sha256sum] = 
74fe9fdad510c8afebeceb7ebafc581ef990b3afcc8c1e8b5d90b24b3461
-- 
2.1.4

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


Re: [OE-core] [PATCH 11/21] webkitgtk: add a new recipe for latest upstream version

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 05:27:34PM +0300, Alexander Kanavin wrote:
 Recipe for the obsolete webkit-gtk 1.8.3 is removed in a separate commit

Why is it renamed from webkit-gtk to webkitgtk?

That will break at least one PACKAGECONFIG:
meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb:PACKAGECONFIG[helpbrowser]
= --with-webkit, --without-webkit, webkit-gtk

 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-sato/webkit/webkitgtk_2.8.4.bb | 56 
 +
  1 file changed, 56 insertions(+)
  create mode 100644 meta/recipes-sato/webkit/webkitgtk_2.8.4.bb
 
 diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb 
 b/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb
 new file mode 100644
 index 000..14b722e
 --- /dev/null
 +++ b/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb
 @@ -0,0 +1,56 @@
 +SUMMARY = WebKit web rendering engine for the GTK+ platform
 +HOMEPAGE = http://www.webkitgtk.org/;
 +BUGTRACKER = http://bugs.webkit.org/;
 +
 +LICENSE = BSD  LGPLv2+
 +LIC_FILES_CHKSUM = 
 file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691
  \
 +
 file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \
 +
 file://Source/WebCore/LICENSE-APPLE;md5=4646f90082c40bcf298c285f8bab0b12 \
 + 
 file://Source/WebCore/LICENSE-LGPL-2;md5=36357ffde2b64ae177b2494445b79d21 \
 + 
 file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf8b8a7c36b6eec80 \
 +
 +
 +SRC_URI = \
 +  http://www.webkitgtk.org/releases/${PN}-${PV}.tar.xz \
 +  
t +SRC_URI[md5sum] = 50bde91beb882250e29dfd6837f56d97
 +SRC_URI[sha256sum] = 
 30bd366bd970d4bac2f9ef5bff0fb935376bf91ea2aaa2a5183fe5fdbec20fbd
 +
 +inherit cmake lib_package pkgconfig perlnative pythonnative
 +
 +DEPENDS = zlib enchant libsoup-2.4 curl libxml2 cairo libxslt libxt libidn 
 gnutls \
 +   gtk+ gtk+3 gstreamer1.0 gstreamer1.0-plugins-base flex-native 
 gperf-native sqlite3 \
 +pango icu bison-native gnome-common gawk intltool-native libwebp \
 +atk udev harfbuzz jpeg libpng pulseaudio librsvg libtheora libvorbis 
 libxcomposite libxtst \
 +ruby-native libsecret libnotify gstreamer1.0-plugins-bad \
 +  
 +DEPENDS +=  ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
 'virtual/libgl', '', d)}
 +
 +EXTRA_OECMAKE =  \
 + -DPORT=GTK \
 + -DCMAKE_BUILD_TYPE=Release \
 + -DENABLE_INTROSPECTION=False \
 + -DENABLE_MINIBROWSER=True \
 + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
 '-DENABLE_WEBGL=True', '-DENABLE_WEBGL=False', d)} \
 + 
 +
 +# Javascript JIT is not supported on powerpc
 +# FIXME: This might be needed on powerpc64 as well, but can't be easily 
 tested in poky.
 +EXTRA_OECMAKE_append_powerpc =  -DENABLE_JIT=False 
 +
 +# ARM JIT code does not build on ARMv5/6 anymore, apparently they test only 
 on v7 onwards
 +EXTRA_OECMAKE_append_armv5 =  -DENABLE_JIT=False 
 +EXTRA_OECMAKE_append_armv6 =  -DENABLE_JIT=False 
 +
 +# binutils 2.25 has a bug on aarch64:
 +# https://sourceware.org/bugzilla/show_bug.cgi?id=18430
 +EXTRA_OECMAKE_append_aarch64 =  -DUSE_LD_GOLD=False 
 +
 +# JIT not supported on MIPS either
 +EXTRA_OECMAKE_append_mips =  -DENABLE_JIT=False 
 +EXTRA_OECMAKE_append_mips64 =  -DENABLE_JIT=False 
 +
 +FILES_${PN} += 
 ${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
 +FILES_${PN}-dbg += 
 ${libdir}/webkit2gtk-4.0/injected-bundle/.debug/libwebkit2gtkinjectedbundle.so
 +FILES_${PN}-dbg += ${libdir}/webkitgtk/webkit2gtk-4.0/.debug/*
 +
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


Re: [OE-core] [PATCH] watchdog: kill update-rc.d when not using sysvinit

2015-07-30 Thread Christopher Larson
On Thu, Jul 30, 2015 at 5:53 AM, Burton, Ross ross.bur...@intel.com wrote:

 On 29 July 2015 at 21:09, Christopher Larson chris_lar...@mentor.com
 wrote:

 The dependency on initscripts via VIRTUAL-RUNTIME_initscripts is a
 DEPENDS, so it's build time.  The runtime dependency is on
 initscripts-functions.

 As far as I'm aware the sysv-generator used the rcX.d symlinks generated
 by update-rcd to decide what to start when, so you can't just disable the
 class and expect it to still work.


 VIRTUAL-RUNTIME_initscripts is installed at runtime (as you can tell by
 its name) in packagegroup-core-boot and packagegroup-core-full-cmdline
 both. If I don’t want it in my images, wiping the variable is the only
 method that makes any sense.


 So there's the problem, and breaking watchdog isn't solving it.


I don’t think taking a package that won’t even install, breaking image
creation entirely, and letting it install, though not autostart, is
“breaking watchdog” any worse than it already was.

That said, a better approach would probably be for update-rc.d.bbclass to
explicitly DEPENDS on initscripts, not VIRTUAL-RUNTIME_initscripts. The
latter isn’t guaranteed to provide initscripts-functions, it could be any
recipe that provides baseline startup scripts. Adding initscripts directly
would ensure that the initscripts-functions runtime dependency is satisfied
in all cases.
-- 
Christopher Larson
kergoth at gmail 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


Re: [OE-core] [PATCH 06/26] eglinfo: change version from 1.0 to 1.0.0 to match the upstream git tag

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 06:02 PM, Burton, Ross wrote:


Why don't you set PV in eglinfo.inc and rename them to _git.bb
http://git.bb?


I think we're going to need the TSC to resolve the opinion in style
here.  Again, when it's a release that just happens to use git, I do
prefer keeping the PV in the filename.


I agree; it is good to easily tell what is a versioned release, and what 
is a git snapshot. Also, there's less PV = ... clutter inside the 
recipe that way.


Alex

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


Re: [OE-core] [PATCH] base.bbclass: Don't warn about invalid PACKAGECONFIGs by default

2015-07-30 Thread Robert Yang



On 07/30/2015 07:24 PM, Olof Johansson wrote:

Excerpts from Robert Yang's message of 2015-07-30 12:08:37 +0200:

I have a new patch for this, it will be moved into insane.bbclass,
and the recipe can set INSANE_SKIP:
+
+# Check invalid PACKAGECONFIG
+pkgconfig = (d.getVar(PACKAGECONFIG, True) or ).split()
+if pkgconfig:
+pkgconfigflags = d.getVarFlags(PACKAGECONFIG) or {}
+for pconfig in pkgconfig:
+if pconfig not in pkgconfigflags:
+pn = d.getVar('PN', True)
+error_msg = %s: invalid PACKAGECONFIG: %s % (pn, pconfig)
+package_qa_handle_error(invalid-pkgconfig, error_msg, d)

I'm testing it, and will send it out sooner.


Thanks, such a patch would work nicely with my use case!


You're welcome, sent:

http://lists.openembedded.org/pipermail/openembedded-core/2015-July/108119.html

// Robert




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


Re: [OE-core] [PATCH 09/26] lsb: set PV to 1.4 to match upstream tarball version

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:32 PM, Martin Jansa wrote:


diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb 
b/meta/recipes-extended/lsb/lsb_4.1.bb
index 6215b62..171a6c8 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -21,6 +21,7 @@ SRC_URI = 
${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar
+PV = 1.4


And isn't it confusing to say 4.1 in recipe name and 1.4 inside of the
recipe?


It's confusing to begin with to say the recipe is 4.1, but the tarball 
it fetches is 1.4. I don't see how this makes the confusion much worse, 
but at least it fixes the upstream version check.



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


Re: [OE-core] [PATCH 06/26] eglinfo: change version from 1.0 to 1.0.0 to match the upstream git tag

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:35PM +0300, Alexander Kanavin wrote:
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-graphics/eglinfo/{eglinfo-fb_1.0.bb = eglinfo-fb_1.0.0.bb}  | 0
  .../recipes-graphics/eglinfo/{eglinfo-x11_1.0.bb = eglinfo-x11_1.0.0.bb} | 0
  2 files changed, 0 insertions(+), 0 deletions(-)
  rename meta/recipes-graphics/eglinfo/{eglinfo-fb_1.0.bb = 
 eglinfo-fb_1.0.0.bb} (100%)
  rename meta/recipes-graphics/eglinfo/{eglinfo-x11_1.0.bb = 
 eglinfo-x11_1.0.0.bb} (100%)
 
 diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb 
 b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
 similarity index 100%
 rename from meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb
 rename to meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
 diff --git a/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.bb 
 b/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb
 similarity index 100%
 rename from meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.bb
 rename to meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb

Why don't you set PV in eglinfo.inc and rename them to _git.bb?

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


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


Re: [OE-core] [PATCH 09/26] lsb: set PV to 1.4 to match upstream tarball version

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:38PM +0300, Alexander Kanavin wrote:
 This allows upstream version check to work
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-extended/lsb/lsb_4.1.bb | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb 
 b/meta/recipes-extended/lsb/lsb_4.1.bb
 index 6215b62..171a6c8 100644
 --- a/meta/recipes-extended/lsb/lsb_4.1.bb
 +++ b/meta/recipes-extended/lsb/lsb_4.1.bb
 @@ -21,6 +21,7 @@ SRC_URI = 
 ${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar
 file://lsb_pidofproc \
 file://lsb_start_daemon \
 
 +PV = 1.4

And isn't it confusing to say 4.1 in recipe name and 1.4 inside of the
recipe?

  
  SRC_URI[md5sum] = 30537ef5a01e0ca94b7b8eb6a36bb1e4
  SRC_URI[sha256sum] = 
 99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


[OE-core] [PATCH 08/21] ruby: add a recipe from meta-ruby

2015-07-30 Thread Alexander Kanavin
Ruby is required to build webkit.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/ruby/ruby.inc | 40 +++
 meta/recipes-devtools/ruby/ruby/extmk.patch | 13 +
 meta/recipes-devtools/ruby/ruby_2.2.2.bb| 42 +
 3 files changed, 95 insertions(+)
 create mode 100644 meta/recipes-devtools/ruby/ruby.inc
 create mode 100644 meta/recipes-devtools/ruby/ruby/extmk.patch
 create mode 100644 meta/recipes-devtools/ruby/ruby_2.2.2.bb

diff --git a/meta/recipes-devtools/ruby/ruby.inc 
b/meta/recipes-devtools/ruby/ruby.inc
new file mode 100644
index 000..ba60191
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby.inc
@@ -0,0 +1,40 @@
+SUMMARY = An interpreter of object-oriented scripting language
+DESCRIPTION = Ruby is an interpreted scripting language for quick \
+and easy object-oriented programming. It has many features to process \
+text files and to do system management tasks (as in Perl). \
+It is simple, straight-forward, and extensible. \
+
+HOMEPAGE = http://www.ruby-lang.org/;
+SECTION = devel/ruby
+LICENSE = Ruby | BSD | GPLv2
+LIC_FILES_CHKSUM = \
+file://COPYING;md5=837b32593517ae48b9c3b5c87a5d288c \
+file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5\
+file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263\
+file://LEGAL;md5=c440adb575ba4e6e2344c2630b6a5584\
+
+
+DEPENDS = ruby-native zlib openssl tcl libyaml db gdbm readline
+DEPENDS_class-native = libyaml-native
+
+SHRT_VER = 
${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}
+SRC_URI = http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
+   file://extmk.patch \
+
+
+S = ${WORKDIR}/ruby-${PV}
+
+inherit autotools
+
+
+# This snippet lets compiled extensions which rely on external libraries,
+# such as zlib, compile properly.  If we don't do this, then when extmk.rb
+# runs, it uses the native libraries instead of the target libraries, and so
+# none of the linking operations succeed -- which makes extconf.rb think
+# that the libraries aren't available and hence that the extension can't be
+# built.
+
+do_configure_prepend() {
+sed -i s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; 
s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS# ${S}/common.mk
+rm -rf ${S}/ruby/
+}
diff --git a/meta/recipes-devtools/ruby/ruby/extmk.patch 
b/meta/recipes-devtools/ruby/ruby/extmk.patch
new file mode 100644
index 000..8b68450
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/extmk.patch
@@ -0,0 +1,13 @@
+diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb
+--- ruby-1.8.7-p248.orig/ext/extmk.rb  2009-12-24 03:01:58.0 -0600
 ruby-1.8.7-p248/ext/extmk.rb   2010-02-12 15:55:27.370061558 -0600
+@@ -354,8 +354,8 @@
+   $ruby = '$(topdir)/miniruby' + EXEEXT
+ end
+ $ruby   -I'$(topdir)'
++$ruby   -I'$(top_srcdir)/lib'
+ unless CROSS_COMPILING
+-  $ruby   -I'$(top_srcdir)/lib'
+   $ruby   -I'$(extout)/$(arch)' -I'$(extout)/common' if $extout
+   $ruby   -I./- -I'$(top_srcdir)/ext' -rpurelib.rb
+   ENV[RUBYLIB] = -
diff --git a/meta/recipes-devtools/ruby/ruby_2.2.2.bb 
b/meta/recipes-devtools/ruby/ruby_2.2.2.bb
new file mode 100644
index 000..78c943c
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby_2.2.2.bb
@@ -0,0 +1,42 @@
+require ruby.inc
+
+SRC_URI[md5sum] = 326e99ddc75381c7b50c85f7089f3260
+SRC_URI[sha256sum] = 
5ffc0f317e429e6b29d4a98ac521c3ce65481bfd22a8cf845fa02a7b113d9b44
+
+# it's unknown to configure script, but then passed to extconf.rb
+# maybe it's not really needed as we're hardcoding the result with
+# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
+UNKNOWN_CONFIGURE_WHITELIST += --enable-wide-getaddrinfo
+
+PACKAGECONFIG ??= 
+PACKAGECONFIG += ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', 
d)}
+
+PACKAGECONFIG[valgrind] = --with-valgrind=yes, --with-valgrind=no, valgrind
+PACKAGECONFIG[gpm] = --with-gmp=yes, --with-gmp=no, gmp
+PACKAGECONFIG[ipv6] = ,--enable-wide-getaddrinfo,
+
+EXTRA_OECONF = \
+--disable-versioned-paths \
+--disable-rpath \
+--disable-dtrace \
+--enable-shared \
+--enable-load-relative \
+
+
+EXTRA_OEMAKE =  \
+LIBRUBYARG='-lruby-static' \
+
+
+do_install() {
+oe_runmake 'DESTDIR=${D}' install
+}
+
+FILES_${PN} += ${datadir}/rubygems \
+${datadir}/ri
+
+FILES_${PN}-dbg += ${libdir}/ruby/*/.debug \
+${libdir}/ruby/*/*/.debug \
+${libdir}/ruby/*/*/*/.debug \
+${libdir}/ruby/*/*/*/*/.debug
+
+BBCLASSEXTEND = native
-- 
2.1.4

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


[OE-core] [PATCH 07/21] libyaml: add a recipe from meta-oe

2015-07-30 Thread Alexander Kanavin
libyaml is a dependency of ruby

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/libyaml/libyaml_0.1.6.bb | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-support/libyaml/libyaml_0.1.6.bb

diff --git a/meta/recipes-support/libyaml/libyaml_0.1.6.bb 
b/meta/recipes-support/libyaml/libyaml_0.1.6.bb
new file mode 100644
index 000..8a624f7
--- /dev/null
+++ b/meta/recipes-support/libyaml/libyaml_0.1.6.bb
@@ -0,0 +1,20 @@
+SUMMARY = LibYAML is a YAML 1.1 parser and emitter written in C.
+DESCRIPTION = LibYAML is a C library for parsing and emitting data in YAML 
1.1, \
+a human-readable data serialization format. 
+HOMEPAGE = http://pyyaml.org/wiki/LibYAML;
+SECTION = libs/devel
+
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17
+
+SRC_URI = http://pyyaml.org/download/libyaml/yaml-${PV}.tar.gz \
+  
+
+SRC_URI[md5sum] = 5fe00cda18ca5daeb43762b80c38e06e
+SRC_URI[sha256sum] = 
7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
+
+S = ${WORKDIR}/yaml-${PV}
+
+inherit autotools
+
+BBCLASSEXTEND = native
-- 
2.1.4

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


[OE-core] [PATCH] cross-canadian.bbclass: support n32 OS variant

2015-07-30 Thread Dmitry Eremin-Solenikov
Add support for -gnun32 OS variant which is used by MIPS64 N32.

Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com
---
 meta/classes/cross-canadian.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cross-canadian.bbclass 
b/meta/classes/cross-canadian.bbclass
index a4ce5c7..976a545 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -30,7 +30,7 @@ python () {
 
 tos = d.getVar(TARGET_OS, True)
 whitelist = []
-for variant in [, spe, x32, eabi]:
+for variant in [, spe, x32, eabi, n32]:
 for libc in [, uclibc, musl]:
 entry = linux
 if variant and libc:
-- 
2.4.6

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


Re: [OE-core] [poky][PATCH v5] pulseaudio: Revert launch: Avoid specifically starting PA and rely on autospawn/socket activation

2015-07-30 Thread Tanu Kaskinen
On Fri, 2015-07-31 at 03:06 +0800, Yuqing Zhu wrote:
 Pulseaudio is always started by autospawn, which is there is default process 
 in system,
 it will start the pulseaudio daemon and the session is always exist, so 
 pulseaudio daemon will be closed.
 
 But in yocto, pulseaudio only can be started by boot up script, there is no 
 process to start the pulseaudio daemon.
 But this patch remove the starting PA in script, then pulseaudio will be 
 started in yocto.

Sorry, I don't understand what you're trying to say in the commit
message.

The patch indicates that you're having trouble with starting PulseAudio.
It looks like autospawning isn't working in your setup. The likely
explanations for that are that either you have disabled autospawning, or
you're trying to access PulseAudio as root.

If you have disabled autospawning, then to be able to offer advice, I'd
need to know why you have disabled it.

If you're trying to access PulseAudio as root, then I suppose you're
running a graphical session as root (start-pulseaudio-x11 is relevant
for graphical sessions only). That doesn't work out of the box, because
in multi-user environments running PulseAudio as root can easily cause
trouble for other users, so autospawning is not allowed for root. If
there are no regular users in the system, however, you can enable
autospawning for root by adding allow-autospawn-for-root = yes to
client.conf. The sato images use that option, see
pulseaudio-client-conf-sato.bb.

-- 
Tanu

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


[OE-core] [PATCH 06/21] giflib: add a recipe from meta-oe

2015-07-30 Thread Alexander Kanavin
This is a dependency of libwebp (which is a dependency of webkit)

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-devtools/giflib/giflib_5.1.1.bb | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/giflib/giflib_5.1.1.bb

diff --git a/meta/recipes-devtools/giflib/giflib_5.1.1.bb 
b/meta/recipes-devtools/giflib/giflib_5.1.1.bb
new file mode 100644
index 000..0553f57
--- /dev/null
+++ b/meta/recipes-devtools/giflib/giflib_5.1.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = shared library for GIF images
+SECTION = libs
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a
+PR = r3
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2
+
+inherit autotools
+
+PACKAGES += ${PN}-utils
+FILES_${PN} = ${libdir}/libgif.so.*
+FILES_${PN}-utils = ${bindir}
+
+BBCLASSEXTEND = native
+
+RDEPENDS_${PN}-utils = perl
+
+SRC_URI[md5sum] = 1c39333192712788c6568c78a949f13e
+SRC_URI[sha256sum] = 
391014aceb21c8b489dc7b0d0b6a917c4e32cc014ce2426d47ca376d02fe2ffc
-- 
2.1.4

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


[OE-core] [PATCH 13/21] gcr: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
gcr is a dependency of epiphany

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-gnome/gcr/gcr_3.16.0.bb | 18 ++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-gnome/gcr/gcr_3.16.0.bb

diff --git a/meta/recipes-gnome/gcr/gcr_3.16.0.bb 
b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
new file mode 100644
index 000..8b5b6e4
--- /dev/null
+++ b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = A library for bits of crypto UI and parsing etc
+HOMEPAGE = http://www.gnome.org/;
+BUGTRACKER = https://bugzilla.gnome.org/;
+
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605
+
+DEPENDS = gtk+3 p11-kit glib-2.0 libgcrypt vala
+
+inherit autotools gnomebase gtk-icon-cache gtk-doc
+
+SRC_URI[archive.md5sum] = d5835680be0b6a838e02a528d5378d9c
+SRC_URI[archive.sha256sum] = 
ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075
+
+FILES_${PN} +=  \
+${datadir}/dbus-1 \
+${datadir}/gcr-3 \
+
-- 
2.1.4

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


[OE-core] [PATCH 16/21] gnome-desktop3: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
gnome-desktop3 is a dependency of epiphany

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../gnome-desktop/gnome-desktop3_3.16.2.bb | 25 ++
 1 file changed, 25 insertions(+)
 create mode 100644 meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb

diff --git a/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb 
b/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb
new file mode 100644
index 000..a0542c1
--- /dev/null
+++ b/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb
@@ -0,0 +1,25 @@
+SUMMARY = GNOME library for reading .desktop files
+SECTION = x11/gnome
+LICENSE = GPLv2  LGPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2
+
+BPN = gnome-desktop
+
+inherit gnome pkgconfig
+SRC_URI[archive.md5sum] = ab5bf4cc94ad63639f42adcc1542b1f0
+SRC_URI[archive.sha256sum] = 
3a8f196b46eb9dbd3ba2afb8fb5fef6a8825539d449a02181311242e7bd0
+
+DEPENDS += gsettings-desktop-schemas gconf libxrandr virtual/libx11 gtk+3 
glib-2.0 gnome-doc-utils gnome-common startup-notification
+
+EXTRA_OECONF = --disable-desktop-docs
+
+do_configure_prepend () {
+cp ${STAGING_DATADIR}/gnome-common/data/omf.make ${S}
+}
+
+PACKAGES =+ libgnome-desktop3
+FILES_libgnome-desktop3 = ${libdir}/lib*${SOLIBS} 
${datadir}/libgnome-desktop*/pnp.ids ${datadir}/gnome/*xml
+
+RRECOMMENDS_libgnome-desktop3 += gsettings-desktop-schemas
+
-- 
2.1.4

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


[OE-core] [PATCH 12/21] p11-kit: add a recipe from meta-oe

2015-07-30 Thread Alexander Kanavin
p11-kit is a dependency of gcr (which is a dependency of epiphany)

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/p11-kit/p11-kit_0.22.1.bb | 18 ++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-support/p11-kit/p11-kit_0.22.1.bb

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb 
b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
new file mode 100644
index 000..7ad9626e
--- /dev/null
+++ b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = Provides a way to load and enumerate PKCS#11 modules
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=02933887f609807fbb57aa4237d14a50
+
+inherit autotools gettext pkgconfig
+
+DEPENDS = libtasn1 libffi
+
+SRC_URI = http://p11-glue.freedesktop.org/releases/${BP}.tar.gz;
+SRC_URI[md5sum] = 4e9bea1106628ffb820bdad24a819fac
+SRC_URI[sha256sum] = 
ef3a339fcf6aa0e32c8c23f79ba7191e57312be2bda8b24e6d121c2670539a5c
+
+FILES_${PN}-dev +=  \
+${libdir}/p11-kit-proxy.so \
+${libdir}/pkcs11/p11-kit-trust.so \
+
+FILES_${PN}-dev += ${libdir}/pkcs11/*.la
+FILES_${PN}-dbg += ${libdir}/pkcs11/.debug
-- 
2.1.4

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


Re: [OE-core] [PATCH 01/26] libproxy: update SRC_URI to not use Google Code

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:30PM +0300, Alexander Kanavin wrote:
 Google Code is shutting down soon, so libproxy tarball is now fetched
 from Debian mirrors
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-support/libproxy/libproxy_0.4.11.bb | 7 +++
  1 file changed, 3 insertions(+), 4 deletions(-)
 
 diff --git a/meta/recipes-support/libproxy/libproxy_0.4.11.bb 
 b/meta/recipes-support/libproxy/libproxy_0.4.11.bb
 index 9d388d6..06d0b9b 100644
 --- a/meta/recipes-support/libproxy/libproxy_0.4.11.bb
 +++ b/meta/recipes-support/libproxy/libproxy_0.4.11.bb
 @@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = 
 file://COPYING;md5=4fbd65380cdd255951079008b364516c \
  
  DEPENDS = gconf glib-2.0
  
 -SRC_URI = http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
 +SRC_URI = ${DEBIAN_MIRROR}/main/libp/${BPN}/${BPN}_${PV}.orig.tar.gz \
 file://0001-test-Include-sys-select.h-for-select.patch \

 -
 -SRC_URI[md5sum] = 06be230b8b612e64997f8f15af6373aa
 -SRC_URI[sha256sum] = 
 3175abcb49c0b37fd82c697927783bf7d53de3884a8559bc594e59caa09bdb04
 +SRC_URI[md5sum] = 3cd1ae2a4abecf44b3f24d6639d2cd84
 +SRC_URI[sha256sum] = 
 dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b

Why has debian mirror different checksums?

Include the diff in commit message and warn premirror maintainers that
they need to drop old file (otherwise it will fail) - which is very
annoying.

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

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


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


[OE-core] [PATCH 11/21] webkitgtk: add a new recipe for latest upstream version

2015-07-30 Thread Alexander Kanavin
Recipe for the obsolete webkit-gtk 1.8.3 is removed in a separate commit

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-sato/webkit/webkitgtk_2.8.4.bb | 56 +
 1 file changed, 56 insertions(+)
 create mode 100644 meta/recipes-sato/webkit/webkitgtk_2.8.4.bb

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb
new file mode 100644
index 000..14b722e
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk_2.8.4.bb
@@ -0,0 +1,56 @@
+SUMMARY = WebKit web rendering engine for the GTK+ platform
+HOMEPAGE = http://www.webkitgtk.org/;
+BUGTRACKER = http://bugs.webkit.org/;
+
+LICENSE = BSD  LGPLv2+
+LIC_FILES_CHKSUM = 
file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \
+
file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \
+
file://Source/WebCore/LICENSE-APPLE;md5=4646f90082c40bcf298c285f8bab0b12 \
+   
file://Source/WebCore/LICENSE-LGPL-2;md5=36357ffde2b64ae177b2494445b79d21 \
+   
file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf8b8a7c36b6eec80 \
+  
+
+SRC_URI = \
+  http://www.webkitgtk.org/releases/${PN}-${PV}.tar.xz \
+  
+SRC_URI[md5sum] = 50bde91beb882250e29dfd6837f56d97
+SRC_URI[sha256sum] = 
30bd366bd970d4bac2f9ef5bff0fb935376bf91ea2aaa2a5183fe5fdbec20fbd
+
+inherit cmake lib_package pkgconfig perlnative pythonnative
+
+DEPENDS = zlib enchant libsoup-2.4 curl libxml2 cairo libxslt libxt libidn 
gnutls \
+   gtk+ gtk+3 gstreamer1.0 gstreamer1.0-plugins-base flex-native 
gperf-native sqlite3 \
+  pango icu bison-native gnome-common gawk intltool-native libwebp \
+  atk udev harfbuzz jpeg libpng pulseaudio librsvg libtheora libvorbis 
libxcomposite libxtst \
+  ruby-native libsecret libnotify gstreamer1.0-plugins-bad \
+  
+DEPENDS +=  ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'virtual/libgl', '', d)}
+
+EXTRA_OECMAKE =  \
+   -DPORT=GTK \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DENABLE_INTROSPECTION=False \
+   -DENABLE_MINIBROWSER=True \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'-DENABLE_WEBGL=True', '-DENABLE_WEBGL=False', d)} \
+   
+
+# Javascript JIT is not supported on powerpc
+# FIXME: This might be needed on powerpc64 as well, but can't be easily tested 
in poky.
+EXTRA_OECMAKE_append_powerpc =  -DENABLE_JIT=False 
+
+# ARM JIT code does not build on ARMv5/6 anymore, apparently they test only on 
v7 onwards
+EXTRA_OECMAKE_append_armv5 =  -DENABLE_JIT=False 
+EXTRA_OECMAKE_append_armv6 =  -DENABLE_JIT=False 
+
+# binutils 2.25 has a bug on aarch64:
+# https://sourceware.org/bugzilla/show_bug.cgi?id=18430
+EXTRA_OECMAKE_append_aarch64 =  -DUSE_LD_GOLD=False 
+
+# JIT not supported on MIPS either
+EXTRA_OECMAKE_append_mips =  -DENABLE_JIT=False 
+EXTRA_OECMAKE_append_mips64 =  -DENABLE_JIT=False 
+
+FILES_${PN} += 
${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
+FILES_${PN}-dbg += 
${libdir}/webkit2gtk-4.0/injected-bundle/.debug/libwebkit2gtkinjectedbundle.so
+FILES_${PN}-dbg += ${libdir}/webkitgtk/webkit2gtk-4.0/.debug/*
+
-- 
2.1.4

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


[OE-core] [PATCH 10/21] libwebp: add a recipe from meta-oe

2015-07-30 Thread Alexander Kanavin
libwebp is a dependency of webkit

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-multimedia/webp/libwebp_0.4.3.bb | 47 +++
 1 file changed, 47 insertions(+)
 create mode 100644 meta/recipes-multimedia/webp/libwebp_0.4.3.bb

diff --git a/meta/recipes-multimedia/webp/libwebp_0.4.3.bb 
b/meta/recipes-multimedia/webp/libwebp_0.4.3.bb
new file mode 100644
index 000..3ab2e5b
--- /dev/null
+++ b/meta/recipes-multimedia/webp/libwebp_0.4.3.bb
@@ -0,0 +1,47 @@
+SUMMARY = WebP is an image format designed for the Web
+DESCRIPTION = WebP is a method of lossy and lossless compression that can be \
+   used on a large variety of photographic, translucent and \
+   graphical images found on the web. The degree of lossy \
+   compression is adjustable so a user can choose the trade-off \
+   between file size and image quality. WebP typically achieves \
+   an average of 30% more compression than JPEG and JPEG 2000, \
+   without loss of image quality.
+HOMEPAGE = https://developers.google.com/speed/webp/;
+SECTION = libs
+
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=6e8dee932c26f2dab503abf70c96d8bb
+
+DEPENDS = giflib
+
+SRC_URI = http://downloads.webmproject.org/releases/webp/${BP}.tar.gz;
+SRC_URI[md5sum] = 08813525eeeffe7e305b4cbfade8ae9b
+SRC_URI[sha256sum] = 
efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
+
+EXTRA_OECONF =  \
+--disable-experimental \
+--disable-wic \
+--enable-libwebpmux \
+--enable-libwebpdemux \
+--enable-threading \
+
+
+inherit autotools lib_package
+
+PACKAGECONFIG ??= 
+
+# libwebpdecoder is a subset of libwebp, don't build it unless requested
+PACKAGECONFIG[decoder] = --enable-libwebpdecoder,--disable-libwebpdecoder
+
+# Apply for examples programs: cwebp and dwebp
+PACKAGECONFIG[jpeg] = ,ac_cv_header_jpeglib_h=no,jpeg
+PACKAGECONFIG[png] = ,ac_cv_header_png_h=no,libpng
+PACKAGECONFIG[tiff] = ,ac_cv_header_tiffio_h=no,tiff
+
+# Apply only for example program vwebp
+PACKAGECONFIG[gl] = ,,mesa-glut
+
+PACKAGES =+ ${PN}-gif2webp
+
+DESCRIPTION_${PN}-gif2webp = Simple tool to convert animated GIFs to WebP
+FILES_${PN}-gif2webp = ${bindir}/gif2webp
-- 
2.1.4

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


[OE-core] [PATCH 03/21] classes/cmake: add arch conversion routine

2015-07-30 Thread Alexander Kanavin
cmake expects target architecture strings in the format of uname(2),
which do not always match TARGET_ARCH (e.g. powerpc vs ppc).

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/classes/cmake.bbclass | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index c174246..ae3cc02 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -30,12 +30,22 @@ OECMAKE_EXTRA_ROOT_PATH ?= 
 OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = ONLY
 OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM_class-native = BOTH
 
+# CMake expects target architectures in the format of uname(2),
+# which do not always match TARGET_ARCH, so all the necessary
+# conversions should happen here.
+def map_target_arch_to_uname_arch(target_arch):
+if target_arch == powerpc:
+return ppc
+if target_arch == powerpc64:
+return ppc64
+return target_arch
+
 cmake_do_generate_toolchain_file() {
cat  ${WORKDIR}/toolchain.cmake EOF
 # CMake system name must be something like Linux.
 # This is important for cross-compiling.
 set( CMAKE_SYSTEM_NAME `echo ${TARGET_OS} | sed -e 's/^./\u/' -e 
's/^\(Linux\).*/\1/'` )
-set( CMAKE_SYSTEM_PROCESSOR ${TARGET_ARCH} )
+set( CMAKE_SYSTEM_PROCESSOR 
${@map_target_arch_to_uname_arch(d.getVar('TARGET_ARCH', True))} )
 set( CMAKE_C_COMPILER ${OECMAKE_C_COMPILER} )
 set( CMAKE_CXX_COMPILER ${OECMAKE_CXX_COMPILER} )
 set( CMAKE_ASM_COMPILER ${OECMAKE_C_COMPILER} )
-- 
2.1.4

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


[OE-core] [PATCH 14/21] iso-codes: add a recipe from meta-oe

2015-07-30 Thread Alexander Kanavin
iso-codes is a dependency of epiphany

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-support/iso-codes/iso-codes_3.58.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-support/iso-codes/iso-codes_3.58.bb

diff --git a/meta/recipes-support/iso-codes/iso-codes_3.58.bb 
b/meta/recipes-support/iso-codes/iso-codes_3.58.bb
new file mode 100644
index 000..3df2ea9
--- /dev/null
+++ b/meta/recipes-support/iso-codes/iso-codes_3.58.bb
@@ -0,0 +1,15 @@
+SUMMARY = ISO language, territory, currency, script codes and their 
translations
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://LICENSE;md5=fbc093901857fcd118f065f900982c24
+
+SRC_URI = 
https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz;
+SRC_URI[md5sum] = 34097a0085f0979e28f9db66ec274c5e
+SRC_URI[sha256sum] = 
86af5735dce6e4eff2b983e5d8aa9a3dea1b8db702333ff20be89e45f7f35a72
+
+# inherit gettext cannot be used, because it adds gettext-native to 
BASEDEPENDS which
+# are inhibited by allarch
+DEPENDS = gettext-native
+
+inherit autotools allarch
+
+FILES_${PN} += ${datadir}/xml/
-- 
2.1.4

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


[OE-core] [PATCH 17/21] glib: add a warning suppression patch to glib

2015-07-30 Thread Alexander Kanavin
Otherwise QA check will fail.
Some schemas in gsettings-desktop-schemas (such as proxy and locale)
are still using deprecated paths, as of 3.16.1. This causes warning
messages, and meta/lib/oe/rootfs.py complaints about them.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 ...warning-about-deprecated-paths-in-schemas.patch | 32 ++
 meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb  |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
new file mode 100644
index 000..54e830c
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
@@ -0,0 +1,32 @@
+From 41534253b6b61ed4769eb6a3966698a50ee73b71 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin alex.kana...@gmail.com
+Date: Fri, 12 Jun 2015 17:08:46 +0300
+Subject: [PATCH] Remove the warning about deprecated paths in schemas
+
+Some schemas in gsettings-desktop-schemas (such as proxy and locale)
+are still using deprecated paths, as of 3.16.1. This causes warning
+messages, and meta/lib/oe/rootfs.py complaints about them.
+---
+ gio/glib-compile-schemas.c | 6 --
+ 1 file changed, 6 deletions(-)
+
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index e42949b..ec79d7c 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1202,12 +1202,6 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
+-  if (path  (g_str_has_prefix (path, /apps/) ||
+-   g_str_has_prefix (path, /desktop/) ||
+-   g_str_has_prefix (path, /system/)))
+-g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
+-'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
+-
+   state-schema_state = schema_state_new (path, gettext_domain,
+   extends, extends_name, list_of);
+ 
+-- 
+2.1.4
+
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
index 8eaccfb..1e3d36a 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
@@ -14,6 +14,7 @@ SRC_URI = ${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz 
\
file://uclibc.patch \

file://0001-configure.ac-Do-not-use-readlink-when-cross-compilin.patch \
file://allow-run-media-sdX-drive-mount-if-username-root.patch \
+  
file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \
   
 
 SRC_URI_append_class-native =  file://glib-gettextize-dir.patch
-- 
2.1.4

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


Re: [OE-core] [PATCH 14/26] puzzles: switch svn for git, as upstream has done the same

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:43PM +0300, Alexander Kanavin wrote:
 Also, drop puzzles_x32_abi_time.patch as it has been merged upstream
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  .../puzzles/files/puzzles_x32_abi_time.patch   | 30 
 --
  .../puzzles/{puzzles_r10286.bb = puzzles_git.bb}  |  7 ++---
  2 files changed, 4 insertions(+), 33 deletions(-)
  delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
  rename meta/recipes-sato/puzzles/{puzzles_r10286.bb = puzzles_git.bb} (89%)
 
 diff --git a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch 
 b/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
 deleted file mode 100644
 index 63ab0b8..000
 --- a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
 +++ /dev/null
 @@ -1,30 +0,0 @@
 -Fix printf's for time_t value add castings because ISOC90
 -don't support long long int that is used in x32 ABI for 
 -time_t.
 -
 -Upstream-Status: Backport
 -
 -Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com
 -
  a/magnets.c  2015-03-15 11:57:39.106674811 +
 -+++ b/magnets.c  2015-03-15 11:57:58.638674795 +
 -@@ -2562,7 +2562,7 @@
 - goto done;
 - }
 - s = new_game(NULL, p, desc);
 --printf(%s:%s (seed %ld)\n, id, desc, seed);
 -+printf(%s:%s (seed %ld)\n, id, desc, (long) seed);
 - if (aux) {
 - /* We just generated this ourself. */
 - if (verbose || print) {
  a/signpost.c 2015-03-15 11:58:52.866674751 +
 -+++ b/signpost.c 2015-03-15 11:59:08.190674738 +
 -@@ -2393,7 +2393,7 @@
 - }
 - }
 - 
 --sprintf(newseed, %lu, time(NULL));
 -+sprintf(newseed, %lu, (unsigned long) time(NULL));
 - seedstr = dupstr(newseed);
 - 
 - if (id || !stdin_desc) {
 diff --git a/meta/recipes-sato/puzzles/puzzles_r10286.bb 
 b/meta/recipes-sato/puzzles/puzzles_git.bb
 similarity index 89%
 rename from meta/recipes-sato/puzzles/puzzles_r10286.bb
 rename to meta/recipes-sato/puzzles/puzzles_git.bb
 index 1ad8d1b..6346c06 100644
 --- a/meta/recipes-sato/puzzles/puzzles_r10286.bb
 +++ b/meta/recipes-sato/puzzles/puzzles_git.bb
 @@ -10,12 +10,13 @@ REQUIRED_DISTRO_FEATURES = x11
  LICENSE = MIT
  LIC_FILES_CHKSUM = file://LICENCE;md5=33bcd4bce8f3c197f2aefbdbd2d299bc
  
 -SRC_URI = svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV} \
 +SRC_URI = git://git.tartarus.org/simon/puzzles.git \
 file://fix-compiling-failure-with-option-g-O.patch \
 -   file://puzzles_x32_abi_time.patch \
  
 +SRCREV = aa1a9375be96cd8e0f89a670359c3c80ad7cf937
 +PV = 0.0+git${SRCPV}

Doesn't PV go backwards with this?

  
 -S = ${WORKDIR}/${BPN}
 +S = ${WORKDIR}/git
  
  inherit autotools-brokensep distro_features_check
  
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


Re: [OE-core] [PATCH 11/26] nss: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:40PM +0300, Alexander Kanavin wrote:
 The source tarball should be listed first
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-support/nss/nss.inc   | 2 +-
  meta/recipes-support/nss/nss_3.17.3.bb | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/meta/recipes-support/nss/nss.inc 
 b/meta/recipes-support/nss/nss.inc
 index 665e4e6..b21dc39 100644
 --- a/meta/recipes-support/nss/nss.inc
 +++ b/meta/recipes-support/nss/nss.inc
 @@ -12,7 +12,7 @@ LICENSE = MPL-2.0 | (MPL-2.0  GPL-2.0+) | (MPL-2.0  
 LGPL-2.1+)
  
  LIC_FILES_CHKSUM = 
 file://nss/lib/freebl/mpi/doc/LICENSE;md5=491f158d09d948466afce85d6f1fe18f \
  
 file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=6bf96825e3d7ce4de25621ae886cc859
 -SRC_URI = \
 +SRC_URI += \
  file://nss-fix-support-cross-compiling.patch \
  file://nss-no-rpath-for-cross-compiling.patch \
  file://nss-fix-incorrect-shebang-of-perl.patch \
 diff --git a/meta/recipes-support/nss/nss_3.17.3.bb 
 b/meta/recipes-support/nss/nss_3.17.3.bb
 index e7d0780..b22eb95 100644
 --- a/meta/recipes-support/nss/nss_3.17.3.bb
 +++ b/meta/recipes-support/nss/nss_3.17.3.bb
 @@ -1,7 +1,7 @@
 -require nss.inc
 -
 -SRC_URI += \
 +SRC_URI = \
  
 http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_17_3_RTM/src/${BP}.tar.gz
  \
  

Why don't you move this to .inc file and replace 3_17_3_RTM with some
variable set in .bb, it would be easier to read than this reorder and
require .inc later..

  SRC_URI[md5sum] = fba7489e1b26f2a0bfe5527430fd61e1
  SRC_URI[sha256sum] = 
 f4d5e9035a2f84f25f35c283de3b0ff60d72e918748de25eaf017ed201fa21d5
 +
 +require nss.inc
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


[OE-core] [PATCH] perf: add liblzma depdenency

2015-07-30 Thread Bruce Ashfield
With kernel commit 6c6f0f6164f [tools build: Add feature check for lzma
library], perf now performs a test for lzma and adds functionality
appropriately.

This currently is a floating dependency that will sometimes be present,
and sometimes not. The result is the following QA warning:

  WARNING: QA Issue: perf rdepends on liblzma, but it isn't a build dependency? 
[build-deps]

By adding xz to the DEPENDS, we'll ensure that it is consistently in
place.

[YOCTO: #8045]

Signed-off-by: Bruce Ashfield bruce.ashfi...@windriver.com
---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 056ac831f7ac..246f1b47f7b8 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -29,7 +29,7 @@ DEPENDS =  \
 ${TUI_DEPENDS} \
 ${SCRIPTING_DEPENDS} \
 ${LIBUNWIND_DEPENDS} \
-bison flex \
+bison flex xz \
 
 
 do_configure[depends] += virtual/kernel:do_shared_workdir
-- 
2.1.0

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


[OE-core] [PATCH 2/2] base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()

2015-07-30 Thread Robert Yang
The FOO[doc] is set in meta/conf/documentation.conf, we need remove it
from d.getVarFlags()'s return dict when it causes many loops.

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/classes/base.bbclass  |2 ++
 meta/classes/blacklist.bbclass |2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index b7e22ad..9e33f44 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -336,6 +336,8 @@ python () {
 # PACKAGECONFIG ??= default options
 # PACKAGECONFIG[foo] = 
--enable-foo,--disable-foo,foo_depends,foo_runtime_depends
 pkgconfigflags = d.getVarFlags(PACKAGECONFIG) or {}
+# Remove PACKAGECONFIG[doc]
+pkgconfigflags.pop('doc', None)
 if pkgconfigflags:
 pkgconfig = (d.getVar('PACKAGECONFIG', True) or ).split()
 pn = d.getVar(PN, True)
diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass
index a0141a8..39b3f82 100644
--- a/meta/classes/blacklist.bbclass
+++ b/meta/classes/blacklist.bbclass
@@ -28,6 +28,8 @@ python blacklist_multilib_eventhandler() {
 prefixes.append(eext[1])
 
 blacklists = e.data.getVarFlags('PNBLACKLIST') or {}
+# Remove PNBLACKLIST[doc]
+blacklists.pop('doc', None)
 for pkg, reason in blacklists.items():
 if pkg.endswith((-native, -crosssdk)) or 
pkg.startswith((nativesdk-, virtual/nativesdk-)) or 'cross-canadian' in pkg:
 continue
-- 
1.7.9.5

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


[OE-core] [PATCH 0/2] fixes for PACKAGECONFIG

2015-07-30 Thread Robert Yang
The following changes since commit 27d068d05239c26a3848eb101571acab54635e37:

  harfbuzz: upgrade to 1.0.1 (2015-07-27 23:28:23 +0100)

are available in the git repository at:

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

Robert Yang (2):
  base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass
  base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()

 meta/classes/base.bbclass  |6 ++
 meta/classes/blacklist.bbclass |2 ++
 meta/classes/insane.bbclass|   11 +++
 3 files changed, 15 insertions(+), 4 deletions(-)

-- 
1.7.9.5

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


[OE-core] [PATCH 1/2] base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass

2015-07-30 Thread Robert Yang
There was a problem when check invalid PACKAGECONFIG in the anonymous
function (when parsing), for example, there are two versions of a
recipe:
foo_1.0.bb
foo_2.0.bb
While foo_2.0.bb has a PACKAGECONFIG[item] = 'x,y,z', but foo_1.0.bb
doesn't, if we set PACKAGECONFIG_pn-foo = item in a conf file, we
would get the warning about invalid PACKAGECONFIG for foo_1.0.bb. Delay
the checking to build time will fix the problem.

[YOCTO #8065]

Signed-off-by: Robert Yang liezhi.y...@windriver.com
---
 meta/classes/base.bbclass   |4 
 meta/classes/insane.bbclass |   11 +++
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index e0f1053..b7e22ad 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -340,10 +340,6 @@ python () {
 pkgconfig = (d.getVar('PACKAGECONFIG', True) or ).split()
 pn = d.getVar(PN, True)
 
-for pconfig in pkgconfig:
-if pconfig not in pkgconfigflags:
-bb.warn(%s: invalid PACKAGECONFIG: %s % (pn, pconfig))
-
 mlprefix = d.getVar(MLPREFIX, True)
 
 def expandFilter(appends, extension, prefix):
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index fc3d5ff..9c05c86 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -31,6 +31,7 @@ WARN_QA ?= ldflags useless-rpaths rpaths staticdev libdir 
xorg-driver-abi \
 installed-vs-shipped compile-host-path install-host-path \
 pn-overrides infodir build-deps file-rdeps \
 unknown-configure-option symlink-to-sysroot multilib \
+invalid-pkgconfig \
 
 ERROR_QA ?= dev-so debug-deps dev-deps debug-files arch pkgconfig la \
 perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
@@ -1139,6 +1140,16 @@ Missing inherit gettext? % (gt, config))
 package_qa_handle_error(unknown-configure-option, error_msg, 
d)
 except subprocess.CalledProcessError:
 pass
+
+# Check invalid PACKAGECONFIG
+pkgconfig = (d.getVar(PACKAGECONFIG, True) or ).split()
+if pkgconfig:
+pkgconfigflags = d.getVarFlags(PACKAGECONFIG) or {}
+for pconfig in pkgconfig:
+if pconfig not in pkgconfigflags:
+pn = d.getVar('PN', True)
+error_msg = %s: invalid PACKAGECONFIG: %s % (pn, pconfig)
+package_qa_handle_error(invalid-pkgconfig, error_msg, d)
 }
 
 python do_qa_unpack() {
-- 
1.7.9.5

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


Re: [OE-core] [PATCH 13/26] oprofile: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:34 PM, Martin Jansa wrote:


Move this to .inc instead of re-ordering.



Done.

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


Re: [OE-core] [PATCH 13/26] oprofile: reorder SRC_URI lines to fix upstream version check

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:42PM +0300, Alexander Kanavin wrote:
 The source tarball should be listed first.
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  meta/recipes-kernel/oprofile/oprofile.inc  | 2 +-
  meta/recipes-kernel/oprofile/oprofile_1.0.0.bb | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/meta/recipes-kernel/oprofile/oprofile.inc 
 b/meta/recipes-kernel/oprofile/oprofile.inc
 index 49e6b16..ff360d1 100644
 --- a/meta/recipes-kernel/oprofile/oprofile.inc
 +++ b/meta/recipes-kernel/oprofile/oprofile.inc
 @@ -18,7 +18,7 @@ FILES_${PN} = ${bindir} ${libdir}/${BPN}/lib*${SOLIBS} 
 ${datadir}/${BPN}
  FILES_${PN}-dev += ${libdir}/${BPN}/lib*${SOLIBSDEV} 
 ${libdir}/${BPN}/lib*.la
  FILES_${PN}-staticdev += ${libdir}/${BPN}/lib*.a
  
 -SRC_URI = file://filemode-fix.patch \
 +SRC_URI += file://filemode-fix.patch \
 file://acinclude.m4 \
 file://automake-foreign.patch \
 file://oprofile-cross-compile-tests.patch \
 diff --git a/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb 
 b/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
 index f4a34b3..f75a1dd 100644
 --- a/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
 +++ b/meta/recipes-kernel/oprofile/oprofile_1.0.0.bb
 @@ -1,13 +1,13 @@
 -require oprofile.inc
 -
  DEPENDS += virtual/kernel
  DEPENDS_append_powerpc64 =  libpfm4
  
 -SRC_URI += ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz
 +SRC_URI = ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz

Move this to .inc instead of re-ordering.

  
  SRC_URI[md5sum] = ba0b340e5c421a93959776c836ed35b3
  SRC_URI[sha256sum] = 
 847110b4ecdcf8c8353cd38f94c1b704aad4bfcd9453e38b88d112cfb7e3c45a
  
 +require oprofile.inc
 +
  S = ${WORKDIR}/oprofile-${PV}
  
  PR = r1
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


[OE-core] [PATCH 15/21] libwnck3: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
libwnck is a dependency of epiphany

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb | 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb

diff --git a/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb 
b/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb
new file mode 100644
index 000..6bc625a
--- /dev/null
+++ b/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb
@@ -0,0 +1,17 @@
+SUMMARY = Window navigation construction toolkit
+LICENSE = LGPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2
+
+BPN = libwnck
+
+SECTION = x11/libs
+DEPENDS = gobject-introspection-stub gtk+3 gdk-pixbuf-native libxres
+
+PR = r1
+
+PACKAGECONFIG ??= startup-notification
+PACKAGECONFIG[startup-notification] = 
--enable-startup-notification,--disable-startup-notification,startup-notification
+
+inherit gnomebase
+SRC_URI[archive.md5sum] = 4538672e0d775fadedf10abeb8020047
+SRC_URI[archive.sha256sum] = 
f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c
-- 
2.1.4

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


[OE-core] [PATCH 05/21] libnotify: update to version 0.7.6

2015-07-30 Thread Alexander Kanavin
New webkit requires at least version 0.7

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-gnome/libnotify/libnotify_0.6.0.bb | 21 -
 meta/recipes-gnome/libnotify/libnotify_0.7.6.bb | 12 
 2 files changed, 12 insertions(+), 21 deletions(-)
 delete mode 100644 meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
 create mode 100644 meta/recipes-gnome/libnotify/libnotify_0.7.6.bb

diff --git a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb 
b/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
deleted file mode 100644
index e6ee89b..000
--- a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-SUMMARY = Library for sending desktop notifications to a notification daemon
-SECTION = libs
-LICENSE = LGPLv2.1
-LIC_FILES_CHKSUM = file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34
-
-PR = r1
-
-DEPENDS = dbus gtk+ dbus-glib
-
-inherit gnomebase distro_features_check
-
-# Requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = x11
-
-SRC_URI[archive.md5sum] = 732c9d2cd5eb6a9069264a319d330516
-SRC_URI[archive.sha256sum] = 
73b16a79bb2fed62dcf146b11c4405776cb96a09dce66379ca541da7dbd64210
-
-do_configure_prepend() {
-sed -i /GTK3/d ${S}/configure.ac
-sed -i -e /test-gtk3/d -e 's/test-xy-stress \\/test-xy-stress/' 
${S}/tests/Makefile.am
-}
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb 
b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb
new file mode 100644
index 000..5d7b4ce
--- /dev/null
+++ b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb
@@ -0,0 +1,12 @@
+SUMMARY = Library for sending desktop notifications to a notification daemon
+SECTION = libs
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34
+
+DEPENDS = dbus gtk+3 dbus-glib
+
+inherit gnomebase distro_features_check gtk-doc
+
+SRC_URI[archive.md5sum] = a4997019d08f46f3bf57b78e6f795a59
+SRC_URI[archive.sha256sum] = 
0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837
+
-- 
2.1.4

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


[OE-core] [PATCH 04/21] jpeg: update to version 9a

2015-07-30 Thread Alexander Kanavin
Previous webkit version was blocking this; latest webkit works fine.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 .../jpeg/jpeg-8d/debian-libjpeg7_7-1.diff  | 1070 
 .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch |   44 -
 meta/recipes-core/jpeg/{jpeg_8d.bb = jpeg_9a.bb}  |   28 +-
 3 files changed, 4 insertions(+), 1138 deletions(-)
 delete mode 100644 meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff
 delete mode 100644 meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
 rename meta/recipes-core/jpeg/{jpeg_8d.bb = jpeg_9a.bb} (55%)

diff --git a/meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff 
b/meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff
deleted file mode 100644
index 3b8fa69..000
--- a/meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff
+++ /dev/null
@@ -1,1070 +0,0 @@
-This is a well-known debian patch used by many Linux distribution, but not
-accepted by upstream yet.
-Upstream-Status: Pending
-
 libjpeg7-7.orig/config.sub
-+++ libjpeg7-7/config.sub
-@@ -1,4 +1,10 @@
- #! /bin/sh
-+# autotools-dev hack (ballo...@debian.org, Wed, 14 Nov 2001 10:13:10 +0100)
-+if [ -x /usr/share/misc/config.sub ]; then
-+   /usr/share/misc/config.sub $*
-+   exit $?
-+fi
-+
- # Configuration validation subroutine script.
- #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 libjpeg7-7.orig/config.guess
-+++ libjpeg7-7/config.guess
-@@ -1,4 +1,10 @@
- #! /bin/sh
-+# autotools-dev hack (ballo...@debian.org, Wed, 14 Nov 2001 10:13:10 +0100)
-+if [ -x /usr/share/misc/config.guess ]; then
-+   /usr/share/misc/config.guess $*
-+   exit $?
-+fi
-+
- # Attempt to guess a canonical system name.
- #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 libjpeg7-7.orig/debian/libjpeg7-dev.files
-+++ libjpeg7-7/debian/libjpeg7-dev.files
-@@ -0,0 +1,4 @@
-+usr/include
-+usr/lib/libjpeg.a
-+usr/lib/libjpeg.la
-+usr/lib/libjpeg.so
 libjpeg7-7.orig/debian/libjpeg-progs.README.Debian
-+++ libjpeg7-7/debian/libjpeg-progs.README.Debian
-@@ -0,0 +1,13 @@
-+libjpeg-progs for Debian
-+
-+
-+This package contains programs for manipulating JPEG files:
-+   cjpeg/djpeg: convert to/from the JPEG file format
-+   rdjpgcom/wrjpgcom: read/write comments in JPEG files
-+   jpegtran: lossless transformations of JPEG files
-+   jpegexiforient/exifautotran: manipulate EXIF orientation tag
-+   
-+Thanks for using Debian!
-+
-+--
-+Bill Allombert ballo...@debian.org  Sun, 05 Jul 2009 15:18:59 +0200
 libjpeg7-7.orig/debian/shlibs.local
-+++ libjpeg7-7/debian/shlibs.local
-@@ -0,0 +1 @@
-+libjpeg   7   libjpeg7
 libjpeg7-7.orig/debian/rules
-+++ libjpeg7-7/debian/rules
-@@ -0,0 +1,71 @@
-+#!/usr/bin/make -f
-+# Made with the aid of debmake, by Christoph Lameter,
-+# based on the sample debian/rules file for GNU hello by Ian Jackson.
-+
-+package=libjpeg
-+
-+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-+
-+export CFLAGS=-D_REENTRANT -g -Wall
-+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-+CFLAGS += -O0
-+else
-+CFLAGS += -O2
-+endif
-+
-+#export DH_VERBOSE=1
-+
-+build: build-stamp 
-+build-stamp: 
-+  dh_testdir
-+  ./configure --prefix=/usr --mandir=/usr/share/man \
-+   --enable-static --enable-shared \
-+   --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) 
-+  $(MAKE)
-+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-+  $(MAKE) check
-+endif
-+  $(MAKE) -C debian/extra
-+
-+  touch build-stamp
-+
-+clean:
-+  dh_testdir
-+  dh_testroot
-+  -rm -f build-stamp
-+  if [ -f Makefile ]; then $(MAKE) distclean; fi
-+  $(MAKE) clean -C debian/extra
-+  dh_clean
-+
-+binary-indep: 
-+
-+binary-arch: build
-+  dh_testdir 
-+  dh_testroot 
-+  dh_clean -k
-+  dh_installdirs 
-+  $(MAKE) install DESTDIR=`pwd`/debian/tmp
-+  $(MAKE) install -C debian/extra prefix=/usr DESTDIR=`pwd`/debian/tmp
-+  # fix jconfig.h 
-+  rm debian/tmp/usr/include/jconfig.h
-+  sed -e s/#\(undef\|define\) HAVE_\(LOCALE\|\(STD\(DEF\|LIB\)\)\)_H 
1//g \
-+  jconfig.h  debian/tmp/usr/include/jconfig.h
-+  # separate out lib package
-+  dh_movefiles
-+  # Finish it off with debhelper
-+  dh_installdocs README
-+  dh_installexamples 
-+  dh_installchangelogs change.log
-+  dh_strip --dbg-package=libjpeg7-dbg
-+  dh_compress 
-+  dh_fixperms 
-+  dh_installdeb 
-+  dh_shlibdeps -l`pwd`/debian/libjpeg7/usr/lib 
-+  dh_gencontrol 
-+  dh_md5sums 
-+  dh_builddeb 
-+
-+binary:   binary-indep binary-arch
-+
-+.PHONY: clean binary-indep binary-arch binary build
 

[OE-core] [PATCH 01/21] classes/gnomebase: change tarball compression to xz

2015-07-30 Thread Alexander Kanavin
Upstream, xz has been the only format for some time now, so let's
make it the default and adjust recipes that package old stuff.

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/classes/gnomebase.bbclass  | 2 +-
 meta/recipes-core/glib-networking/glib-networking_2.44.0.bb | 2 --
 meta/recipes-gnome/gnome/gnome-common_3.14.0.bb | 2 --
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb | 2 --
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb  | 1 +
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb| 1 +
 meta/recipes-gnome/json-glib/json-glib_1.0.4.bb | 2 --
 meta/recipes-gnome/libglade/libglade_2.6.4.bb   | 1 +
 meta/recipes-gnome/librsvg/librsvg_2.40.9.bb| 2 --
 meta/recipes-graphics/pango/pango_1.36.8.bb | 2 --
 meta/recipes-support/atk/atk_2.16.0.bb  | 2 --
 meta/recipes-support/libcroco/libcroco_0.6.8.bb | 2 --
 meta/recipes-support/vte/vte_0.28.2.bb  | 4 ++--
 13 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
index 6ca13cb..e5c6776 100644
--- a/meta/classes/gnomebase.bbclass
+++ b/meta/classes/gnomebase.bbclass
@@ -1,7 +1,7 @@
 def gnome_verdir(v):
 return oe.utils.trim_version(v, 2)
 
-GNOME_COMPRESS_TYPE ?= bz2
+GNOME_COMPRESS_TYPE ?= xz
 SECTION ?= x11/gnome
 GNOMEBN ?= ${BPN}
 SRC_URI = 
${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir(${PV})}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.44.0.bb 
b/meta/recipes-core/glib-networking/glib-networking_2.44.0.bb
index 848bf53..4f91b76 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.44.0.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.44.0.bb
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2
 SECTION = libs
 DEPENDS = glib-2.0 intltool-native
 
-GNOME_COMPRESS_TYPE = xz
-
 SRC_URI[archive.md5sum] = 6989b20cf3b26dd5ae272e04a9acb0b3
 SRC_URI[archive.sha256sum] = 
8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346
 
diff --git a/meta/recipes-gnome/gnome/gnome-common_3.14.0.bb 
b/meta/recipes-gnome/gnome/gnome-common_3.14.0.bb
index 1f9fe8b..80b7033 100644
--- a/meta/recipes-gnome/gnome/gnome-common_3.14.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-common_3.14.0.bb
@@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
 SECTION = x11/gnome
 inherit gnomebase allarch
 
-GNOME_COMPRESS_TYPE = xz
-
 SRC_URI[archive.md5sum] = ba58c61d0d81b7c3ff8452c620513a9d
 SRC_URI[archive.sha256sum] = 
4c00242f781bb441289f49dd80ed1d895d84de0c94bfc2c6818a104c9e39262c
 
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb 
b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
index 321eb7f..78cc005 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
@@ -2,8 +2,6 @@ require gnome-doc-utils.inc
 LIC_FILES_CHKSUM = file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343
 
-GNOME_COMPRESS_TYPE = xz
-
 SRC_URI += file://xsltproc_nonet.patch \
 file://use-usr-bin-env-for-python-in-xml2po.patch \
 file://sysrooted-pkg-config.patch \
diff --git a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb 
b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
index 65b79f0..a31eb55 100644
--- a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
@@ -13,6 +13,7 @@ SRC_URI += file://pkgconfig.patch
 
 SRC_URI[archive.md5sum] = 541858188f80090d12a33b5a7c34d42c
 SRC_URI[archive.sha256sum] = 
37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7
+GNOME_COMPRESS_TYPE=bz2
 
 DEPENDS += shared-mime-info intltool-native
 RDEPENDS_${PN} = shared-mime-info
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
index 036aa27..c30454c 100644
--- a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -32,6 +32,7 @@ CFLAGS_prepend = -DHAVE_ANIMATION 
 RDEPENDS_${PN}-dev = 
 
 inherit gnomebase
+GNOME_COMPRESS_TYPE=bz2
 
 python populate_packages_prepend() {
 engines_root = os.path.join(d.getVar('libdir', True), 
gtk-2.0/2.10.0/engines)
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.0.4.bb 
b/meta/recipes-gnome/json-glib/json-glib_1.0.4.bb
index 4d2b613..c57c973 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.0.4.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.0.4.bb
@@ -10,8 +10,6 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34
 
 DEPENDS = glib-2.0
 
-GNOME_COMPRESS_TYPE = xz
-
 SRC_URI[archive.md5sum] = 

[OE-core] [PATCH 02/21] harfbuzz: enable icu feature

2015-07-30 Thread Alexander Kanavin
This is required to build latest webkitgtk

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb
index a199126..87c30be 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb
@@ -22,7 +22,7 @@ BBCLASSEXTEND = native
 
 EXTRA_OECONF = --with-glib --with-freetype --with-cairo --without-graphite2
 
-PACKAGECONFIG ??= 
+PACKAGECONFIG ??= icu
 PACKAGECONFIG[icu] = --with-icu,--without-icu,icu
 
 PACKAGES =+ ${PN}-icu ${PN}-icu-dbg ${PN}-icu-dev
-- 
2.1.4

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


[OE-core] [PATCH 00/21] Update webkitgtk to latest stable upstream; replace midori with epiphany

2015-07-30 Thread Alexander Kanavin
This patch series updates webkitgtk to latest stable upstream release
and replaces midori browser with epiphany.

The following changes since commit eb1c88c13f0490fa42fbe1681ac712ee883061a3:

  distro/maintainers.inc: Fix parsing error due to lack of  at end. 
(2015-07-29 20:27:51 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/webkitgtk-update
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/webkitgtk-update

Alexander Kanavin (21):
  classes/gnomebase: change tarball compression to xz
  harfbuzz: enable icu feature
  classes/cmake: add arch conversion routine
  jpeg: update to version 9a
  libnotify: update to version 0.7.6
  giflib: add a recipe from meta-oe
  libyaml: add a recipe from meta-oe
  ruby: add a recipe from meta-ruby
  libsecret: add a recipe from meta-gnome
  libwebp: add a recipe from meta-oe
  webkitgtk: add a new recipe for latest upstream version
  p11-kit: add a recipe from meta-oe
  gcr: add a recipe from meta-gnome
  iso-codes: add a recipe from meta-oe
  libwnck3: add a recipe from meta-gnome
  gnome-desktop3: add a recipe from meta-gnome
  glib: add a warning suppression patch to glib
  gsettings-desktop-schemas: add a recipe from meta-gnome
  epiphany: add a recipe from meta-gnome
  webkit-gtk: remove the recipe for the obsolete version 1.8.3
  midori: remove the recipe and replace references to midori with
epiphany

 meta/classes/cmake.bbclass |   12 +-
 meta/classes/gnomebase.bbclass |2 +-
 meta/conf/distro/include/security_flags.inc|2 -
 ...warning-about-deprecated-paths-in-schemas.patch |   32 +
 meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb  |1 +
 .../glib-networking/glib-networking_2.44.0.bb  |2 -
 .../jpeg/jpeg-8d/debian-libjpeg7_7-1.diff  | 1070 
 .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch |   44 -
 meta/recipes-core/jpeg/{jpeg_8d.bb = jpeg_9a.bb}  |   28 +-
 .../packagegroups/packagegroup-self-hosted.bb  |   10 +-
 meta/recipes-devtools/giflib/giflib_5.1.1.bb   |   20 +
 meta/recipes-devtools/ruby/ruby.inc|   40 +
 meta/recipes-devtools/ruby/ruby/extmk.patch|   13 +
 meta/recipes-devtools/ruby/ruby_2.2.2.bb   |   42 +
 meta/recipes-gnome/epiphany/epiphany_3.16.3.bb |   24 +
 .../0001-yelp.m4-drop-the-check-for-itstool.patch  |   33 +
 meta/recipes-gnome/gcr/gcr_3.16.0.bb   |   18 +
 .../gnome-desktop/gnome-desktop3_3.16.2.bb |   25 +
 meta/recipes-gnome/gnome/gnome-common_3.14.0.bb|2 -
 .../recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb |2 -
 meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb |1 +
 .../gsettings-desktop-schemas_3.16.1.bb|   13 +
 .../gtk-engines/gtk-engines_2.20.2.bb  |1 +
 meta/recipes-gnome/json-glib/json-glib_1.0.4.bb|2 -
 meta/recipes-gnome/libglade/libglade_2.6.4.bb  |1 +
 meta/recipes-gnome/libnotify/libnotify_0.6.0.bb|   21 -
 meta/recipes-gnome/libnotify/libnotify_0.7.6.bb|   12 +
 meta/recipes-gnome/librsvg/librsvg_2.40.9.bb   |2 -
 meta/recipes-gnome/libsecret/libsecret_0.18.2.bb   |   12 +
 meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb  |   17 +
 .../builder/files/builder_hob_start.sh |8 +-
 meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb   |2 +-
 meta/recipes-graphics/pango/pango_1.36.8.bb|2 -
 meta/recipes-multimedia/webp/libwebp_0.4.3.bb  |   47 +
 meta/recipes-sato/midori/midori/liststore.patch|   29 -
 meta/recipes-sato/midori/midori_0.5.8.bb   |   31 -
 .../packagegroups/packagegroup-core-x11-sato.bb|2 +-
 meta/recipes-sato/webkit/files/bison-2.6.patch |  558 --
 meta/recipes-sato/webkit/files/no-gtkdoc.patch |   20 -
 meta/recipes-sato/webkit/files/nodolt.patch|   19 -
 .../webgit-gtk_fix_build_with_automake_1.12.patch  |   62 --
 ...bkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch |   26 -
 .../0001-Enable-mips64-build.patch |   69 --
 .../webkit/webkit-gtk-1.8.3/aarch64.patch  |   41 -
 .../obsolete_automake_macros.patch |   14 -
 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb   |  116 ---
 meta/recipes-sato/webkit/webkitgtk_2.8.4.bb|   56 +
 meta/recipes-support/atk/atk_2.16.0.bb |2 -
 meta/recipes-support/iso-codes/iso-codes_3.58.bb   |   15 +
 meta/recipes-support/libcroco/libcroco_0.6.8.bb|2 -
 meta/recipes-support/libyaml/libyaml_0.1.6.bb  |   20 +
 meta/recipes-support/p11-kit/p11-kit_0.22.1.bb |   18 +
 meta/recipes-support/vte/vte_0.28.2.bb |4 +-
 53 files changed, 490 insertions(+), 2177 deletions(-)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
 delete mode 100644 meta/recipes-core/jpeg/jpeg-8d/debian-libjpeg7_7-1.diff
 delete mode 100644 

[OE-core] [PATCH 09/21] libsecret: add a recipe from meta-gnome

2015-07-30 Thread Alexander Kanavin
libsecret is a dependency of webkit

Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
---
 meta/recipes-gnome/libsecret/libsecret_0.18.2.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 meta/recipes-gnome/libsecret/libsecret_0.18.2.bb

diff --git a/meta/recipes-gnome/libsecret/libsecret_0.18.2.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.18.2.bb
new file mode 100644
index 000..cebc83b
--- /dev/null
+++ b/meta/recipes-gnome/libsecret/libsecret_0.18.2.bb
@@ -0,0 +1,12 @@
+SUMMARY = libsecret is a library for storing and retrieving passwords and 
other secrets
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6
+
+inherit gnomebase gtk-doc
+
+DEPENDS = glib-2.0 libgcrypt
+
+EXTRA_OECONF += --disable-manpages
+
+SRC_URI[archive.md5sum] = 23cdf8267d11a26f88f0dbec1e2022ad
+SRC_URI[archive.sha256sum] = 
12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443
-- 
2.1.4

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


Re: [OE-core] [PATCH 17/26] tremor: switch SRC_URI from svn to tarballs on debian mirrors

2015-07-30 Thread Martin Jansa
On Thu, Jul 30, 2015 at 04:31:46PM +0300, Alexander Kanavin wrote:
 There is no support for checking svn repositories for new commits, so
 let's use debian tarballs and assume that Debian has a dedicated maintainer
 who would check the upstream now and then.
 
 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com
 ---
  .../{tremor-20120314 = tremor}/obsolete_automake_macros.patch  | 0
  .../tremor/{tremor-20120314 = tremor}/tremor-arm-thumb2.patch  | 0
  .../tremor/{tremor_20120314.bb = tremor_18153.bb}  | 6 
 --
  3 files changed, 4 insertions(+), 2 deletions(-)
  rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
 tremor}/obsolete_automake_macros.patch (100%)
  rename meta/recipes-multimedia/tremor/{tremor-20120314 = 
 tremor}/tremor-arm-thumb2.patch (100%)
  rename meta/recipes-multimedia/tremor/{tremor_20120314.bb = 
 tremor_18153.bb} (66%)
 
 diff --git 
 a/meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch
  b/meta/recipes-multimedia/tremor/tremor/obsolete_automake_macros.patch
 similarity index 100%
 rename from 
 meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch
 rename to meta/recipes-multimedia/tremor/tremor/obsolete_automake_macros.patch
 diff --git 
 a/meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch 
 b/meta/recipes-multimedia/tremor/tremor/tremor-arm-thumb2.patch
 similarity index 100%
 rename from 
 meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch
 rename to meta/recipes-multimedia/tremor/tremor/tremor-arm-thumb2.patch
 diff --git a/meta/recipes-multimedia/tremor/tremor_20120314.bb 
 b/meta/recipes-multimedia/tremor/tremor_18153.bb
 similarity index 66%
 rename from meta/recipes-multimedia/tremor/tremor_20120314.bb
 rename to meta/recipes-multimedia/tremor/tremor_18153.bb
 index afc78ac..c27fe8c 100644
 --- a/meta/recipes-multimedia/tremor/tremor_20120314.bb
 +++ b/meta/recipes-multimedia/tremor/tremor_18153.bb

PV going backwards isn't acceptable for package feeds

 @@ -8,12 +8,14 @@ DEPENDS = libogg
  SRCDATE = ${PV}
  PR = r1
  
 -SRC_URI = svn://svn.xiph.org/trunk;module=Tremor;rev=18221;protocol=http \
 +SRC_URI = 
 ${DEBIAN_MIRROR}/main/libv/libvorbisidec/libvorbisidec_1.0.2+svn${PV}.orig.tar.gz
  \
 file://obsolete_automake_macros.patch;striplevel=0 \
 file://tremor-arm-thumb2.patch \
  
 +SRC_URI[md5sum] = 4190859414c5d6760e316b5cf00fe7c5
 +SRC_URI[sha256sum] = 
 4dc8c224289da3479fc10ce4e49ffbb85c790eb2fe55ef480934a265ee0a6782
  
 -S = ${WORKDIR}/Tremor
 +S = ${WORKDIR}/libvorbisidec-1.0.2+svn${PV}
  
  inherit autotools pkgconfig
  
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


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


[OE-core] [PATCH] adt-installer: use DEPLOY_DIR in ANT_DEPLOY expansion

2015-07-30 Thread Dmitry Eremin-Solenikov
Currently adt-installer uses ${TMPDIR}/deploy/sdk/ as a deployment dir.
This doesn't interact well with DEPLOY_DIR reassignment. So let's use
${DEPLOY_DIR}/sdk/ instead.

Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com
---
 meta/recipes-devtools/installer/adt-installer_1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb 
b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 07070b5..8d31ae5 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -33,7 +33,7 @@ INHIBIT_DEFAULT_DEPS = 1
 
 PR = r11
 
-ADT_DEPLOY = ${TMPDIR}/deploy/sdk/
+ADT_DEPLOY = ${DEPLOY_DIR}/sdk/
 ADT_DIR = ${WORKDIR}/adt-installer/
 S = ${WORKDIR}/opkg-${PV}
 
-- 
2.4.6

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


Re: [OE-core] [PATCH 11/21] webkitgtk: add a new recipe for latest upstream version

2015-07-30 Thread Alexander Kanavin

On 07/30/2015 05:43 PM, Martin Jansa wrote:

On Thu, Jul 30, 2015 at 05:27:34PM +0300, Alexander Kanavin wrote:

Recipe for the obsolete webkit-gtk 1.8.3 is removed in a separate commit


Why is it renamed from webkit-gtk to webkitgtk?


To match the name of the upstream tarball and simplify the recipe.


That will break at least one PACKAGECONFIG:
meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb:PACKAGECONFIG[helpbrowser]
= --with-webkit, --without-webkit, webkit-gtk


I wrote a patch for that, and will send it to meta-oe later.


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


[OE-core] [fido][PATCH v2 1/2] Revert mesa: fix do_install_append

2015-07-30 Thread Tobias Olausson
The commit changed an #ifdef to #if defined(), but the source
code for 10.4 branch of mesa still uses #ifdef.

This reverts commit 12e467f436fbc22f274558c753f0ac9756ce1071.

Signed-off-by: Tobias Olausson tobias.olaus...@pelagicore.com
---
 meta/recipes-graphics/mesa/mesa_10.4.4.bb | 2 +-
 meta/recipes-graphics/mesa/mesa_git.bb| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb 
b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
index 90cccbe..8140411 100644
--- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb
+++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
@@ -11,6 +11,6 @@ S = ${WORKDIR}/Mesa-${PV}
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
 do_install_append() {
 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
-sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if 
${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
+sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if 
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
 fi
 }
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb 
b/meta/recipes-graphics/mesa/mesa_git.bb
index 1598019..cbe8911 100644
--- a/meta/recipes-graphics/mesa/mesa_git.bb
+++ b/meta/recipes-graphics/mesa/mesa_git.bb
@@ -13,6 +13,6 @@ S = ${WORKDIR}/git
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
 do_install_append() {
 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
-sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if 
${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
+sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if 
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
 fi
 }
-- 
2.1.4

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


[OE-core] [fido][PATCH v2 2/2] mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIG

2015-07-30 Thread Tobias Olausson
From: Martin Jansa martin.ja...@gmail.com

* commit a5ebdb6ad8e4f94ac819275d55575230e057e4ae
  Author: Valentin Popa valentin.p...@intel.com
  Date:   Tue Feb 18 13:32:16 2014 +0200
  Subject: mesa: upgrade to 9.2.5

  introduced this do_install_append, but doesn't explain why it doesn't
  respect MESA_EGL_NO_X11_HEADERS flag anymore.

  Not respecting MESA_EGL_NO_X11_HEADERS breaks any build which is using
  qtdeclarative+egl in distribution which has x11 in mesa PACKAGECONFIG
  (e.g. my bitbake world builds).

  The problem is that qtdeclarative is using None symbol in
  QSGTexture::Filtering enum, it's possible to rename it in qtdeclarative,
  but it's quite invasive and changes qtdeclarative public APIs, see:
  
https://github.com/webOS-ports/meta-webos-ports/commit/31aa85787a7513e279165a25f6f06ea72c576314
  so it was rejected by upstream and I don't want to maintain it in
  meta-qt5 - changing public API in OE build is even worse than if upstream
  does it.

* This change returns MESA_EGL_NO_X11_HEADERS flag so it's relatively
  easy to resolve this conflict in such setups by preventing Xlib.h
  inclusion.

Signed-off-by: Martin Jansa martin.ja...@gmail.com
Signed-off-by: Ross Burton ross.bur...@intel.com
Signed-off-by: Tobias Olausson tobias.olaus...@pelagicore.com
---
 meta/recipes-graphics/mesa/mesa_10.4.4.bb | 2 +-
 meta/recipes-graphics/mesa/mesa_git.bb| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb 
b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
index 8140411..077cdbe 100644
--- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb
+++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
@@ -11,6 +11,6 @@ S = ${WORKDIR}/Mesa-${PV}
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
 do_install_append() {
 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
-sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if 
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
+sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS$/#if 
defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 
'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
 fi
 }
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb 
b/meta/recipes-graphics/mesa/mesa_git.bb
index cbe8911..31a2b6d 100644
--- a/meta/recipes-graphics/mesa/mesa_git.bb
+++ b/meta/recipes-graphics/mesa/mesa_git.bb
@@ -13,6 +13,6 @@ S = ${WORKDIR}/git
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
 do_install_append() {
 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
-sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if 
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
+sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS$/#if 
defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 
'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
 fi
 }
-- 
2.1.4

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


Re: [OE-core] [PATCH v2 1/2] Revert mesa: fix do_install_append

2015-07-30 Thread Tobias Olausson
Ok I totally screwed this up. Sorry about flooding. Will add fido line of
course.

On 30 July 2015 at 13:47, Tobias Olausson tobias.olaus...@pelagicore.com
wrote:

 The commit changed an #ifdef to #if defined(), but the source
 code for 10.4 branch of mesa still uses #ifdef.

 This reverts commit 12e467f436fbc22f274558c753f0ac9756ce1071.

 Signed-off-by: Tobias Olausson tobias.olaus...@pelagicore.com
 ---
  meta/recipes-graphics/mesa/mesa_10.4.4.bb | 2 +-
  meta/recipes-graphics/mesa/mesa_git.bb| 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

 diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb
 b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
 index 90cccbe..8140411 100644
 --- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb
 +++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
 @@ -11,6 +11,6 @@ S = ${WORKDIR}/Mesa-${PV}
  #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
  do_install_append() {
  if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)};
 then
 -sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if
 ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/'
 ${D}${includedir}/EGL/eglplatform.h
 +sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if
 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/'
 ${D}${includedir}/EGL/eglplatform.h
  fi
  }
 diff --git a/meta/recipes-graphics/mesa/mesa_git.bb
 b/meta/recipes-graphics/mesa/mesa_git.bb
 index 1598019..cbe8911 100644
 --- a/meta/recipes-graphics/mesa/mesa_git.bb
 +++ b/meta/recipes-graphics/mesa/mesa_git.bb
 @@ -13,6 +13,6 @@ S = ${WORKDIR}/git
  #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
  do_install_append() {
  if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)};
 then
 -sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if
 ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/'
 ${D}${includedir}/EGL/eglplatform.h
 +sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if
 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/'
 ${D}${includedir}/EGL/eglplatform.h
  fi
  }
 --
 2.1.4




-- 
Tobias Olausson
M.Sc
Software Engineer

PELAGICORE | Experience Change
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46(0)735-873444
E-Mail: tobias.olaus...@pelagicore.com
IRC: wto @ FreeNode
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/7] busybox: disable fatattr in defconfig

2015-07-30 Thread Andre McCurdy
The fatattr applet (to display or change file attributes on a fat file
system) doesn't seem to be core functionality, so disable by default.

Signed-off-by: Andre McCurdy armccu...@gmail.com
---
 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox/defconfig 
b/meta/recipes-core/busybox/busybox/defconfig
index 0274123..c5d3275 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -545,7 +545,7 @@ CONFIG_DEFAULT_DEPMOD_FILE=modules.dep
 # Linux System Utilities
 #
 # CONFIG_BLOCKDEV is not set
-CONFIG_FATATTR=y
+# CONFIG_FATATTR is not set
 CONFIG_FSTRIM=y
 # CONFIG_MDEV is not set
 # CONFIG_FEATURE_MDEV_CONF is not set
-- 
1.9.1

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


  1   2   >