[oe] [meta-qt5][PATCH 1/2] qtbase: Use sched_yield instead of pthread_yield
Makes it portable across glibc and musl Signed-off-by: Khem Raj--- ...11-Replace-pthread_yield-with-sched_yield.patch | 63 ++ recipes-qt/qt5/qtbase_git.bb | 1 + 2 files changed, 64 insertions(+) create mode 100644 recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch diff --git a/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch b/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch new file mode 100644 index 000..ed0d4bc --- /dev/null +++ b/recipes-qt/qt5/qtbase/0011-Replace-pthread_yield-with-sched_yield.patch @@ -0,0 +1,63 @@ +From d1d4b520e29b58e427fc7bd336d34b82d0d2b1f3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 27 Jul 2017 08:02:51 -0700 +Subject: [PATCH] Replace pthread_yield with sched_yield + +On Linux pthead_yield is same as sched_yield implementation wise +and sched_yield is available on all libc +implementations on Linux + +Signed-off-by: Khem Raj +--- + tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 4 ++-- + tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 5 +++-- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp +index 7d9f56ef38..bc115ef61d 100644 +--- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp +@@ -34,7 +34,7 @@ + #include "tst_qvariant_common.h" + + #ifdef Q_OS_LINUX +-# include ++# include + #endif + + #include +@@ -197,7 +197,7 @@ protected: + const char *nm = name.constData(); + int tp = qRegisterMetaType(nm); + #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) +-pthread_yield(); ++sched_yield(); + #endif + QMetaType info(tp); + if (!info.isValid()) { +diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp +index fe1057bdde..e23e97b259 100644 +--- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp +@@ -75,6 +75,7 @@ + #include + #include + #include ++#include + #endif + + #include "private/qhostinfo_p.h" +@@ -2129,8 +2130,8 @@ public slots: + + #if defined(Q_OS_MAC) + pthread_yield_np(); +-#elif defined Q_OS_LINUX && !defined Q_OS_ANDROID +-pthread_yield(); ++#elif defined Q_OS_LINUX ++sched_yield(); + #endif + if (!sock->waitForConnected()) { + networkTimeout = true; +-- +2.13.3 + diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index c26a93b..9e652c3 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -24,6 +24,7 @@ SRC_URI += "\ file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ file://0010-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch \ +file://0011-Replace-pthread_yield-with-sched_yield.patch \ " # only for target qtbase -- 2.13.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-qt5][PATCH 2/2] qtwebkit: Backport a patch to fix build with icu-59
Signed-off-by: Khem Raj--- .../0004-Fix-compilation-with-ICU-59.patch | 92 ++ recipes-qt/qt5/qtwebkit_git.bb | 1 + 2 files changed, 93 insertions(+) create mode 100644 recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch diff --git a/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch b/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch new file mode 100644 index 000..e4a108e --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0004-Fix-compilation-with-ICU-59.patch @@ -0,0 +1,92 @@ +From d8d9b1eb468f5e5d5d9f0b196fc0acb641998c8b Mon Sep 17 00:00:00 2001 +From: Konstantin Tokarev +Date: Thu, 4 May 2017 15:12:37 +0300 +Subject: [PATCH] Fix compilation with ICU 59 + +Upstream fix: https://bugs.webkit.org/show_bug.cgi?id=171612 + +Task-number: QTBUG-60532 +Change-Id: I6014feea213aa70ebe40b09d9d1a03fd1ed3c843 +Reviewed-by: Allan Sandfeld Jensen +--- + Source/JavaScriptCore/API/JSStringRef.cpp| 6 +++--- + Source/JavaScriptCore/runtime/DateConversion.cpp | 3 ++- + Source/WTF/wtf/TypeTraits.h | 3 +++ + Source/WebKit2/Shared/API/c/WKString.cpp | 2 +- + 4 files changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Source/JavaScriptCore/API/JSStringRef.cpp b/Source/JavaScriptCore/API/JSStringRef.cpp +index 812f3d413..77a3fd0f4 100644 +--- a/Source/JavaScriptCore/API/JSStringRef.cpp b/Source/JavaScriptCore/API/JSStringRef.cpp +@@ -37,7 +37,7 @@ using namespace WTF::Unicode; + JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) + { + initializeThreading(); +-return OpaqueJSString::create(chars, numChars).leakRef(); ++return OpaqueJSString::create(reinterpret_cast(chars), numChars).leakRef(); + } + + JSStringRef JSStringCreateWithUTF8CString(const char* string) +@@ -62,7 +62,7 @@ JSStringRef JSStringCreateWithUTF8CString(const char* string) + JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars) + { + initializeThreading(); +-return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef(); ++return OpaqueJSString::create(StringImpl::createWithoutCopying(reinterpret_cast(chars), numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef(); + } + + JSStringRef JSStringRetain(JSStringRef string) +@@ -83,7 +83,7 @@ size_t JSStringGetLength(JSStringRef string) + + const JSChar* JSStringGetCharactersPtr(JSStringRef string) + { +-return string->characters(); ++return reinterpret_cast(string->characters()); + } + + size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string) +diff --git a/Source/JavaScriptCore/runtime/DateConversion.cpp b/Source/JavaScriptCore/runtime/DateConversion.cpp +index 0b57f012d..05e27338b 100644 +--- a/Source/JavaScriptCore/runtime/DateConversion.cpp b/Source/JavaScriptCore/runtime/DateConversion.cpp +@@ -107,7 +107,8 @@ String formatDateTime(const GregorianDateTime& t, DateTimeFormat format, bool as + #if OS(WINDOWS) + TIME_ZONE_INFORMATION timeZoneInformation; + GetTimeZoneInformation(); +-const WCHAR* timeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; ++const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; ++String timeZoneName(reinterpret_cast(winTimeZoneName)); + #else + struct tm gtm = t; + char timeZoneName[70]; +diff --git a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h +index 9df2c95cf..f5d6121fd 100644 +--- a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h +@@ -72,6 +72,9 @@ namespace WTF { + template<> struct IsInteger { static const bool value = true; }; + template<> struct IsInteger { static const bool value = true; }; + template<> struct IsInteger { static const bool value = true; }; ++#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(_HAS_CHAR16_T_LANGUAGE_SUPPORT) && _HAS_CHAR16_T_LANGUAGE_SUPPORT) ++template<> struct IsInteger { static const bool value = true; }; ++#endif + #if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED) + template<> struct IsInteger{ static const bool value = true; }; + #endif +diff --git a/Source/WebKit2/Shared/API/c/WKString.cpp b/Source/WebKit2/Shared/API/c/WKString.cpp +index cbac67dd8..23400a64e 100644 +--- a/Source/WebKit2/Shared/API/c/WKString.cpp b/Source/WebKit2/Shared/API/c/WKString.cpp +@@ -55,7 +55,7 @@ size_t WKStringGetLength(WKStringRef stringRef) + size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) + { + COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar); +-return
Re: [oe] [PATCH] uninative: Allow a local own-mirror to work with uninative
On Tue, Aug 1, 2017 at 3:31 AM, Richard Purdiewrote: > The games we play with path manipulation of DL_DIR in uninative mean standard > PREMIRRORS don't work and we can't easily put 'chksum' into the url path from > a url parameter with the current fetcher url handling to make a generic > remapping. We therefore add to PREMIRRORS when we know the chksum to > create a premirror mapping which can work. Wrong list? > [YOCTO #9888] > Signed-off-by: Richard Purdie > --- > meta/classes/uninative.bbclass | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass > index 8f34483..a410647 100644 > --- a/meta/classes/uninative.bbclass > +++ b/meta/classes/uninative.bbclass > @@ -49,6 +49,12 @@ python uninative_event_fetchloader() { > localdata = bb.data.createCopy(d) > localdata.setVar('FILESPATH', "") > localdata.setVar('DL_DIR', tarballdir) > +# Our games with path manipulation of DL_DIR mean standard > PREMIRRORS don't work > +# and we can't easily put 'chksum' into the url path from a url > parameter with > +# the current fetcher url handling > +ownmirror = d.getVar('SOURCE_MIRROR_URL') > +if ownmirror: > +localdata.appendVar("PREMIRRORS", " > ${UNINATIVE_URL}${UNINATIVE_TARBALL} > ${SOURCE_MIRROR_URL}/uninative/%s/${UNINATIVE_TARBALL}" % chksum) > > srcuri = > d.expand("${UNINATIVE_URL}${UNINATIVE_TARBALL};sha256sum=%s" % chksum) > bb.note("Fetching uninative binary shim from %s" % srcuri) > -- > 2.7.4 > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][morty][PATCH 0/6] merge devmem2 and gitver fixes from master
On 07/27/2017 09:44 AM, Alejandro Mery wrote: On 13/07/17 18:03, Alejandro Mery wrote: On 26/06/17 19:38, akuster808 wrote: On 06/23/2017 01:37 PM, Denys Dmytriyenko wrote: Wasn't there already a submission for devmem2 backport on the list? yes. running a bit behind. pulling in today. ping :) Hi Armin, if you don't have time at the moment to take care of morty/pyro maybe you could appoint someone to temporarily take over... or no? I believe they are in pyro: http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/devmem2?h=pyro=fc801961457fe2fbb24973bb43b302ad46044cb8 http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/devmem2?h=pyro=6c584374a599f6f8d3607f20ecfc13a67ccf1da1 so what is missing from Pyro? Morty pull request sent. - armin Cheers, Alejandro Mery -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 00/19] Morty-next: pull request
Please concider the follow for Morty. The following changes since commit a44baf37d8bec492f00c08a3eb8b6a295ee80260: libdnet: update SRC_URI (2017-02-24 19:33:29 +) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib akuster/morty-next http://cgit.openembedded.org/meta-openembedded/log/?h=akuster/morty-next Alejandro Mery (4): gitver: fix try/except syntax for python3 support gitver: extend class to use EXTERNALSRC if set gitver: fix broken ${GITSHA} and recursion in S when PV="${GITVER}" gitver: skip packages instead of panic()ing if ${GITVER} fails to expand Andreas Müller (1): lmsensors: fix fetch and unblacklist Armin Kuster (4): python-sqlalchemy: fix SRC_URI lm_sensors: update SRC_URI exfat-utils: update SRC_URI libdnet: Update SRC_URI to fix checksum errors Denys Dmytriyenko (1): devmem2: use different filename to avoid checksum conflicts Derek Straka (1): apache2: always use the archive.apache.org to ensure older releases are always available Joe Slater (1): chrony: fix build failure for arma9 Khem Raj (1): alsa-equal: Update SRC_URI to something valid Martin Jansa (5): mailcap: use pagure.org instead of retired fedorahosted.org libqb: use github.com instead of retired fedorahosted.org libqb: inherit autotools-brokensep ttf-liberation-sans-narrow: use pagure.org instead of retired fedorahosted.org hwdata: use github instead of fedorahosted.org Nicolas Ferre (1): devmem2: Change source URL to regain access to it .../recipes-utils/exfat-utils/exfat-utils_1.2.3.bb | 5 +- .../alsa-equal/alsa-equal_0.6.bb | 4 +- .../recipes-connectivity/libdnet/libdnet_1.12.bb | 2 +- .../recipes-support/chrony/chrony/arm_eabi.patch | 57 ++ .../recipes-support/chrony/chrony_2.4.bb | 5 +- meta-oe/classes/gitver.bbclass | 49 +++ meta-oe/recipes-extended/libqb/libqb_0.17.2.bb | 15 +++--- .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 2 +- meta-oe/recipes-support/devmem2/devmem2.bb | 12 +++-- .../hwdata/{hwdata_0.291.bb => hwdata_git.bb} | 10 ++-- .../recipes-support/lm_sensors/lmsensors_3.4.0.bb | 8 +-- meta-oe/recipes-support/mailcap/mailcap_2.1.46.bb | 10 ++-- .../python/python-sqlalchemy_0.7.9.bb | 5 +- .../recipes-httpd/apache2/apache2-native_2.4.23.bb | 2 +- .../recipes-httpd/apache2/apache2_2.4.23.bb| 2 +- 15 files changed, 133 insertions(+), 55 deletions(-) create mode 100644 meta-networking/recipes-support/chrony/chrony/arm_eabi.patch rename meta-oe/recipes-support/hwdata/{hwdata_0.291.bb => hwdata_git.bb} (57%) -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] imagemagick: upgrade from 7.0.5 to 7.0.6p4
Op 01-08-17 om 19:01 schreef Randy MacLeod: > Signed-off-by: Randy MacLeodDoes python-wand work with this version? > --- .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} | 6 > +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename > meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => > imagemagick_7.0.6.bb} (96%) > > diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb > b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb similarity index > 96% rename from > meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb rename to > meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb index > b8ee6e7be..6f967c3a1 100644 --- > a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +++ > b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb @@ -8,11 +8,11 @@ > DEPENDS = "lcms bzip2 jpeg libpng > librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets > within a version are deleted when # a new pachset is created. To avoid > multiple patches for each > patchset, try to # update to the last pachset of a version -PATCHSET = "6" > +PATCHSET = "4" SRC_URI = > "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz > \ " -SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f" > -SRC_URI[sha256sum] = > "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab" > +SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a" +SRC_URI[sha256sum] = > "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b" > > S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" > > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] imagemagick: upgrade from 7.0.5 to 7.0.6p4
Signed-off-by: Randy MacLeod--- .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} (96%) diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb similarity index 96% rename from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb rename to meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb index b8ee6e7be..6f967c3a1 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb @@ -8,11 +8,11 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "6" +PATCHSET = "4" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f" -SRC_URI[sha256sum] = "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab" +SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a" +SRC_URI[sha256sum] = "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b" S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 4/4] memcached: Update to 1.5.0
Signed-off-by: Khem Raj--- .../memcached/{memcached_1.4.36.bb => memcached_1.5.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-support/memcached/{memcached_1.4.36.bb => memcached_1.5.0.bb} (92%) diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.36.bb b/meta-networking/recipes-support/memcached/memcached_1.5.0.bb similarity index 92% rename from meta-networking/recipes-support/memcached/memcached_1.4.36.bb rename to meta-networking/recipes-support/memcached/memcached_1.5.0.bb index 48c3c9ee2..fd3d171f0 100644 --- a/meta-networking/recipes-support/memcached/memcached_1.4.36.bb +++ b/meta-networking/recipes-support/memcached/memcached_1.5.0.bb @@ -22,8 +22,8 @@ RDEPENDS_${PN} += "perl perl-module-posix perl-module-autoloader \ SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz \ file://memcached-add-hugetlbfs-check.patch \ " -SRC_URI[md5sum] = "1e028fbab7288911fcaa5ed2a21817fe" -SRC_URI[sha256sum] = "773b6bb20bf80223ca6a15d75f570fbab346ad11ec98595e5af5e33f54bd82d8" +SRC_URI[md5sum] = "81326513f60d7ba482f8131975cd55ae" +SRC_URI[sha256sum] = "c001f812024bb461b5e4d7d0506daab63dff9614eea26f46536c3b7e1e601c32" # set the same COMPATIBLE_HOST as libhugetlbfs COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64|arm).*-linux' -- 2.13.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 3/4] ndisc6: Upgrade to 1.0.3
Signed-off-by: Khem Raj--- .../recipes-support/ndisc6/{ndisc6_1.0.2.bb => ndisc6_1.0.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-support/ndisc6/{ndisc6_1.0.2.bb => ndisc6_1.0.3.bb} (94%) diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb similarity index 94% rename from meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb rename to meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb index bea5e13f5..0b5c9e467 100644 --- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb +++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb @@ -12,8 +12,8 @@ RDEPENDS_${PN}-misc += "perl" SRC_URI = "http://www.remlab.net/files/ndisc6/ndisc6-${PV}.tar.bz2 \ " -SRC_URI[md5sum] = "50cb4c19606cf6ff2b7388e71832f579" -SRC_URI[sha256sum] = "6acec8a0cb9efa3ac98456f46c3016aeec0598b0c7557c95242b5228ad62ca7a" +SRC_URI[md5sum] = "21afdaa3a5a5c1ce50eb7f2b7d795989" +SRC_URI[sha256sum] = "0f41d6caf5f2edc1a12924956ae8b1d372e3b426bd7b11eed7d38bc974eec821" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -- 2.13.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-initramfs][PATCH 1/4] klibc: Fix build with clang
Remove gcc specific options use common one instead Signed-off-by: Khem Raj--- ...c-Use-print-libgcc-file-name-instead-of-p.patch | 30 ++ meta-initramfs/recipes-devtools/klibc/klibc.inc| 5 2 files changed, 35 insertions(+) create mode 100644 meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch new file mode 100644 index 0..41cc14275 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch @@ -0,0 +1,30 @@ +From f66edde8a704131d98e8783ea8d4c848e8119b20 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 26 Jul 2017 16:13:16 -0700 +Subject: [PATCH 1/3] Kbuild.klibc: Use -print-libgcc-file-name instead of + --print-libgcc + +-print-libgcc-file-name works with clang and gcc unlike --print-libgcc +which is gcc specific + +Signed-off-by: Khem Raj +--- + scripts/Kbuild.klibc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc +index f500d535..101f86f5 100644 +--- a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc +@@ -128,7 +128,7 @@ KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ + KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) + KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note + +-KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) ++KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) -print-libgcc-file-name) + KLIBCLIBGCC?= $(KLIBCLIBGCC_DEF) + KLIBCCRT0:= $(KLIBCOBJ)/arch/$(KLIBCARCHDIR)/crt0.o + KLIBCLIBC:= $(KLIBCOBJ)/libc.a +-- +2.13.3 + diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index cd3f39808..45dc6baef 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc @@ -17,6 +17,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git \ file://0001-include-linux-sysinfo.h-directly.patch \ file://0001-mkfifo-Implement-mkfifo.patch \ file://0001-always-use-bfd-linker.patch \ + file://0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch \ " ARMPATCHES ?= "" @@ -48,6 +49,10 @@ do_configure () { ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux } +do_configure_prepend_toolchain-clang() { +sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile +} + INHIBIT_PACKAGE_STRIP = "1" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INSANE_SKIP_${PN} = "already-stripped" -- 2.13.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/4] ninja,re2c: Remove
Moved to OE-Core Signed-off-by: Khem Raj--- meta-oe/recipes-devtools/ninja/ninja_1.7.2.bb | 30 --- meta-oe/recipes-support/re2c/re2c/configure.patch | 18 -- meta-oe/recipes-support/re2c/re2c_0.13.5.bb | 15 3 files changed, 63 deletions(-) delete mode 100644 meta-oe/recipes-devtools/ninja/ninja_1.7.2.bb delete mode 100644 meta-oe/recipes-support/re2c/re2c/configure.patch delete mode 100644 meta-oe/recipes-support/re2c/re2c_0.13.5.bb diff --git a/meta-oe/recipes-devtools/ninja/ninja_1.7.2.bb b/meta-oe/recipes-devtools/ninja/ninja_1.7.2.bb deleted file mode 100644 index 932e3a6ed..0 --- a/meta-oe/recipes-devtools/ninja/ninja_1.7.2.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Ninja is a small build system with a focus on speed." -HOMEPAGE = "http://martine.github.com/ninja/; -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" - -DEPENDS = "re2c-native ninja-native" - -SRCREV = "717b7b4a31db6027207588c0fb89c3ead384747b" - -SRC_URI = "git://github.com/martine/ninja.git;branch=release" - -S = "${WORKDIR}/git" - -do_configure[noexec] = "1" - -do_compile_class-native() { -./configure.py --bootstrap -} - -do_compile() { -./configure.py -ninja -} - -do_install() { -install -d ${D}${bindir} -install -m 0755 ${S}/ninja ${D}${bindir}/ -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/re2c/re2c/configure.patch b/meta-oe/recipes-support/re2c/re2c/configure.patch deleted file mode 100644 index 8ca0969ad..0 --- a/meta-oe/recipes-support/re2c/re2c/configure.patch +++ /dev/null @@ -1,18 +0,0 @@ -Modernise configure to work with modern automake. - -RP 2014/7/14 - -Upstream-Status: Pending - -Index: re2c-0.13.5/configure.in -=== re2c-0.13.5.orig/configure.in 2008-05-25 14:42:34.0 + -+++ re2c-0.13.5/configure.in 2014-07-17 14:10:40.595821292 + -@@ -1,6 +1,6 @@ - AC_PREREQ([2.57]) - AC_INIT(re2c, 0.13.5, re2c-gene...@lists.sourceforge.net) --AM_INIT_AUTOMAKE(re2c, $PACKAGE_VERSION) -+AM_INIT_AUTOMAKE([foreign]) - AC_CONFIG_SRCDIR(actions.cc) - AM_CONFIG_HEADER(config.h) - diff --git a/meta-oe/recipes-support/re2c/re2c_0.13.5.bb b/meta-oe/recipes-support/re2c/re2c_0.13.5.bb deleted file mode 100644 index dcac940f8..0 --- a/meta-oe/recipes-support/re2c/re2c_0.13.5.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Tool for writing very fast and very flexible scanners" -HOMEPAGE = "http://re2c.sourceforge.net/; -AUTHOR = "Marcus Börger " -SECTION = "devel" -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://README;beginline=180;md5=822830a2204aef353f2c489f62e02089" - -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ - file://configure.patch" -SRC_URI[md5sum] = "4a97d8f77ed6d2c76c8bd840a43f5633" -SRC_URI[sha256sum] = "f3a995139af475e80a30207d02728b1e0065b0caade7375e974cb1b14861668c" - -BBCLASSEXTEND = "native" - -inherit autotools -- 2.13.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] glmark2: Upgrade to 2017.07 release
Upstream added new dependency on udev in a7ae55d NativeStateDRM: Probe the DRM node path to use with udev Patch removed since it was merged upstream in 5fcdba1 wayland: Fix destruction order of surface-related objects Signed-off-by: Nicolas Dechesne--- ...ace-should-be-destoryed-after-the-wl_wind.patch | 34 -- meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 7 ++--- 2 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch diff --git a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch b/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch deleted file mode 100644 index 439508102..0 --- a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9c74ec83e2929b1d5ab65d5137b6ba42edeb332d Mon Sep 17 00:00:00 2001 -From: Yong Gan -Date: Tue, 27 Oct 2015 18:15:20 +0800 -Subject: [PATCH] Fix: wl_surface should be destoryed after the wl_window - destroyed. - -Upstream-Status: Submitted [https://github.com/glmark2/glmark2/issues/12] - -Signed-off-by: Yong Gan - - src/native-state-wayland.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/native-state-wayland.cpp b/src/native-state-wayland.cpp -index 41fc743..cdcdf34 100644 a/src/native-state-wayland.cpp -+++ b/src/native-state-wayland.cpp -@@ -56,10 +56,10 @@ NativeStateWayland::~NativeStateWayland() - wl_shell_surface_destroy(window_->shell_surface); - if (window_->opaque_reqion) - wl_region_destroy(window_->opaque_reqion); --if (window_->surface) --wl_surface_destroy(window_->surface); - if (window_->native) - wl_egl_window_destroy(window_->native); -+if (window_->surface) -+wl_surface_destroy(window_->surface); - delete window_; - } - --- -1.9.1 - diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 85d7bf16e..4c5e0567b 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb @@ -8,18 +8,17 @@ LICENSE = "GPLv3+ & SGIv1" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.SGI;beginline=5;md5=269cdab4af6748677acce51d9aa13552" -DEPENDS = "libpng jpeg" +DEPENDS = "libpng jpeg udev" -PV = "2014.03+${SRCPV}" +PV = "2017.07+${SRCPV}" COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \ -file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch \ file://Fix-configure-for-sqrt-check.patch \ " -SRCREV = "9b1070fe9c5cf908f323909d3c8cbed08022abe8" +SRCREV = "182dcbffe5c8483eadff025b429ee1aacc69c6c2" S = "${WORKDIR}/git" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] uninative: Allow a local own-mirror to work with uninative
The games we play with path manipulation of DL_DIR in uninative mean standard PREMIRRORS don't work and we can't easily put 'chksum' into the url path from a url parameter with the current fetcher url handling to make a generic remapping. We therefore add to PREMIRRORS when we know the chksum to create a premirror mapping which can work. [YOCTO #9888] Signed-off-by: Richard Purdie--- meta/classes/uninative.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index 8f34483..a410647 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass @@ -49,6 +49,12 @@ python uninative_event_fetchloader() { localdata = bb.data.createCopy(d) localdata.setVar('FILESPATH', "") localdata.setVar('DL_DIR', tarballdir) +# Our games with path manipulation of DL_DIR mean standard PREMIRRORS don't work +# and we can't easily put 'chksum' into the url path from a url parameter with +# the current fetcher url handling +ownmirror = d.getVar('SOURCE_MIRROR_URL') +if ownmirror: +localdata.appendVar("PREMIRRORS", " ${UNINATIVE_URL}${UNINATIVE_TARBALL} ${SOURCE_MIRROR_URL}/uninative/%s/${UNINATIVE_TARBALL}" % chksum) srcuri = d.expand("${UNINATIVE_URL}${UNINATIVE_TARBALL};sha256sum=%s" % chksum) bb.note("Fetching uninative binary shim from %s" % srcuri) -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel