From patchwork Tue Aug 21 07:03:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144685 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4908743ljj; Tue, 21 Aug 2018 00:03:31 -0700 (PDT) X-Google-Smtp-Source: AA+uWPz8VgN53FszRlViM5UMwrcs1XR+wpXlutMf/mantU6H5NvyR6y7UyCZDtNqqn+YoMiiYg0G X-Received: by 2002:a62:cf82:: with SMTP id b124-v6mr51820522pfg.142.1534835011430; Tue, 21 Aug 2018 00:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835011; cv=none; d=google.com; s=arc-20160816; b=RN0hdDv/CmMRO2PUFhjNXFX95Q5/ly+97j8I7tHCk1uBgTUnx8bajToas3zAh6O7g7 IGBHu6MGxEKYroArjTbv8+6NkYbIY4JB541gVcAOYLp+FVyUhx3Im4/KB1ntdoSyQcE9 IWnubUKfC5qhMLXiihX4ixZidpGBMyf9FVctxdYb9HkEohY0qN4nns3O1jjynPn9nesg d6wYKQ7u55W8niJ6srVeIzmKSapRvdsERU2RhuBi5N/Mx/QSRZZ/J8d4UFothBUcrp4+ 3iAZy+6Z6JgaxJKO3fFTxmbHmQrIlkMg46Ay1qhcYuXYdciMz5fLg4r4ZXTl0vVmdAMX S83g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=v77ug5uY2nlHw9r/Id+j18hHqKRJzTjw2A1Ged7P9M4=; b=Ddmj3PljWhhLBzKZusiScdxghUTjaLVnyVdLdrD1xJw+I4IJKpwwhW23EdfXwNu+xG uerFXlNLQ0jnKuI8Tes2Te669ljZjeXsZGfTCFMeTF8NC8bB2QZABHkNST92/EreeJT4 G4+ddt/BewNnZpO6F9Hbd1V+CLCWxFO4MbjXSZvbsXgForEDCEstjAHi4L543wijD2Qe tCTk/G6xTm4xQc05CRNOj5w6r04dCz+ar2KQazB/q55c/IgRtg1yaTXVyFQCKQBFTR9B HOf3pku0eCPZioZgcmxJqKYpNcfR2Df+/TVP+Y2rA9YQJBGkyVZlstmDcOgzKyNb+/zu DTrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=QuGIrmFo; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id i13-v6si10366854pgt.52.2018.08.21.00.03.31; Tue, 21 Aug 2018 00:03:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=QuGIrmFo; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2E5777900C; Tue, 21 Aug 2018 07:03:28 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mail.openembedded.org (Postfix) with ESMTP id 8DBC674586 for ; Tue, 21 Aug 2018 07:03:26 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id f14-v6so8003097pgv.13 for ; Tue, 21 Aug 2018 00:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=l4D+Fe3yIDhuGi2uzLnOb5P01Yt+9AxINCK04MOxEa4=; b=QuGIrmFoAoRo69ppXPxKF8u23zfIsrIfYiqlP4KsyrOIAlQ5b6liOawn22Oagbbf3H FnLzpdAZT62kDVUeZg0RuyVerH+XXoQi61MdU4rtuHQVXKZknMHh8QBeuEZIO3te2uxJ KHvT0dy/w43D/h8QO8rWcZ3w6cyUMyEUn2I81S0Pri+GrmWphMFhFjitbN6EDt1vfSzy QLQ6VS/6j4SvefGBNQodbMLK7OJUiXzcDjlx3dsx+NwxO9Xvw6r3mnwmAwe/MAHjP10/ iSaaYJBO5QJfJp8XHy4GYyp89wTnuBHulB4T44o8KoV1OmtBg7TRTfU5C4lBzaHJuJ4z 8onQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=l4D+Fe3yIDhuGi2uzLnOb5P01Yt+9AxINCK04MOxEa4=; b=JnldUN23zObIhrQSdC2Gg0480Rc/I1V9px1QXsDlz7/FPOZYwLlEXZjZ46ILAUbesT 30/f8gR+xSlqsT562IvxlgLzlwYDpqP6oyNSzsiGtFNfFlatt0dfJV2eUf6vlsqPyUWb +/d00alfCOikyNspRUoy8SlzAVUSJwZCEFBEJv1V6EfYa44g2zSAn2aY5WA1NMDcx5qp CM0AFc89F+DRKUBFQR3wbzaMkttpTm/PPh8X7OYpmV0ObDyH1ICB4W7lCtFYYPET9r6I WTLtrcobPgzY9TzpbMaJBbOUThGwK8p81ksTbSCThm+JgWiXHSG15MBUAvmhEnjtRAMS f9Ng== X-Gm-Message-State: AOUpUlEp7xWDnTGF6GZ/44zigOXd2VKI+SscEJ6AV5bNGbU4/c6AS4Jt 2lYzyzPF+fH0nwxJLxRqFvPBGeT7 X-Received: by 2002:a62:c218:: with SMTP id l24-v6mr51764546pfg.185.1534835007037; Tue, 21 Aug 2018 00:03:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:26 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:15 -0700 Message-Id: <20180821070319.36295-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [oe] [meta-oe][PATCH 1/5] ndctl: Upgrade to v62 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org - Fix build with musl - Package systemd support - Inherit bash-completion bbclass Signed-off-by: Khem Raj --- meta-oe/recipes-core/ndctl/ndctl_git.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb index 36f94ecfd5..b20915f20f 100644 --- a/meta-oe/recipes-core/ndctl/ndctl_git.bb +++ b/meta-oe/recipes-core/ndctl/ndctl_git.bb @@ -8,14 +8,15 @@ HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08" -inherit autotools-brokensep pkgconfig module-base +inherit autotools-brokensep pkgconfig module-base bash-completion systemd -SRCREV = "0d6aeeabec9d271e08c12e4cf679b59946e20156" +# v62 +SRCREV = "11f560f4048c1d38b7011a49566871a1e8a07c94" SRC_URI = "git://github.com/pmem/ndctl.git" DEPENDS = "virtual/kernel kmod udev json-c" -PV = "v61+git${SRCPV}" +PV = "v62+git${SRCPV}" S = "${WORKDIR}/git" EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" @@ -24,6 +25,6 @@ do_configure_prepend() { ${S}/autogen.sh } -COMPATIBLE_HOST='(x86_64).*' +SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service" -FILES_${PN} += "/usr/share/bash-completion/completions/ndctl" +COMPATIBLE_HOST='(x86_64).*' From patchwork Tue Aug 21 07:03:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144686 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4908904ljj; Tue, 21 Aug 2018 00:03:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxuvKwIaV2ueyHwJi+zaKbT1aW82JCTBUIbJxNLEILfu/Ma7A0Ucl/NrqCga2f7Sa/G/9Pi X-Received: by 2002:a63:10c:: with SMTP id 12-v6mr13755836pgb.62.1534835018974; Tue, 21 Aug 2018 00:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835018; cv=none; d=google.com; s=arc-20160816; b=Q0gWsq7fLkX42HVxPIxcpLy2J1Elf/39szCV+DeDRReoDMOxcySbDO7ycd15b7z0fm z/ttVY/ST1TVcN2VMTZPOveVWqAswmzD7bi7kjSOD1n/r7A5kXS3aflMGBX/K0ICVlr3 U+eNeuPbygMCnckoi4YqmDr/cqUJhQu355KIW6joHpQFFS6iPiRdhqv5+o3W8z0VMuWl GbVknjIJpkFQTk4h+LMpwo646M2wMZlfc8+5sr68su1q4csLZCYtQmPYbABMoodYBri0 rFBrdn0NYr7Q7U4xfkCnEUuLuNQvqSlBDdvZMTGk8oXrI7ANv5LeNHdj6GX9oTHOL8qq BqEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=tGc4t+q6HuNHsIRECba/a31W+Pg4ZzHmUxFEcqyfBwM=; b=ZemUyPwCZSWQfrlRJsblx8ViERb49WNRnEZgOMKAEW7UvSnzqzV5oTGeeslI7sWeSI /SwinZi5bPkWZheM0NabuaVxNaVTpwI92NDDCmporFRr6Lu32UkyC0Ur4kw8idNRjz50 nvySPdB9ib+gPbdYGNWJxqK37bJJsVL9ec285WHMVaZ+EeKuWCLyy3nbYRSRhJZFl2Oa FWMta+au7yxoQ8y+gwYOglB8F+76Wt5kqw9VosI4gGKyDl2yIVrurQ7QNt2nD5v0Js2X mXHa1QhMTao9dVgIPIasUZ6pioinfmzFsSmGwUxD9O73ixexLjWhcnec7XVDFz9SJfT/ O4RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lblQ0f7W; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b34-v6si12230070pla.84.2018.08.21.00.03.38; Tue, 21 Aug 2018 00:03:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lblQ0f7W; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5F79479015; Tue, 21 Aug 2018 07:03:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id 0ABC474586 for ; Tue, 21 Aug 2018 07:03:26 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id e13-v6so8030727pff.7 for ; Tue, 21 Aug 2018 00:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0u+LYfnVV10qJYtvYvLHKM2plUKu7HFhvS4BOgQAMtQ=; b=lblQ0f7Wlcb0kIUzmD/wtxIeCgpK7d0PZBsVbez96ucoaHhQ0urmJvBLxeXTpmZrlw 2J9Lz+jZ2JYFGB43Mv5+EhRkefcnBjYw6GXgMGr83/cR8rFIO4VPs38iuCThc8xrdC3u ejOfTaGSu03byDU0xg/QnlV2gTmkRq+YxQHS+PNM04L5OH6B3Y9K42BWkaXv3UYYy5et Q7rl1TZrrkyihUJMLsnEjFGP7D/J4xzckuwov2lCo0boXXvzwjPMeohSQJsKXwO4S+7D c0mzPziqQlZGGvkfiD5RTbLRSFZwBKDo7bOZ1v2Bomm8I57mjsluUYjF2cLy6L5AjHW4 vP6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0u+LYfnVV10qJYtvYvLHKM2plUKu7HFhvS4BOgQAMtQ=; b=LJxHrw4qIqDuis/pRIV1LZB39pXU4nQWXCIdEjHM+YZETRMDIb++clPlHhtkR1nojO dQS7PyorxnfADNMO8awUA4kxja6O1CBAARgrMD+GTC0BJiTlMZWmheGJWJyD6zLu00CD l97Iqr+F6EVsvHE2R3jr5/GsOIKmAnjoQ3Ti7TdKGVgXJf1UC0XPc+i1r5qGYbEPrOn0 rymEJItbQTPoJJFlEjGBLDHtKwbuie/naHf038Qa5HycsXwAc8WD9GELuTih/VKk+yqy xW3IL06PkvD+IwbEt56bHcAUHbxjGly45dMWXaORkgGK94kE7Gm99EbEX92731z2hP0z RXMQ== X-Gm-Message-State: AOUpUlExKVSmBo1TIXO0G6dyTaTCvLqbt+ro2Q4WkUd8ZwFYZUEtNOAz LNJkIkZ3JVoFUM3NOvq0Sx2n4npg X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr19986457pgo.263.1534835007718; Tue, 21 Aug 2018 00:03:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:16 -0700 Message-Id: <20180821070319.36295-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821070319.36295-1-raj.khem@gmail.com> References: <20180821070319.36295-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/5] stress-ng: Fix build on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...-don-t-enable-TARGET_CLONES-for-musl.patch | 30 +++++++++++++++++++ .../stress-ng/stress-ng_0.09.37.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch b/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch new file mode 100644 index 0000000000..cd9131df50 --- /dev/null +++ b/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch @@ -0,0 +1,30 @@ +From 59f5ff72768f228cd530bb18a5fc3e8c4772857a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 20 Aug 2018 21:43:14 -0700 +Subject: [PATCH] stress-ng: don't enable TARGET_CLONES for musl + +musl does not support gnu ifuncs + +Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/27] + +Signed-off-by: Khem Raj +--- + stress-ng.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/stress-ng.h b/stress-ng.h +index b9359a4..f228808 100644 +--- a/stress-ng.h ++++ b/stress-ng.h +@@ -1090,7 +1090,7 @@ extern void pr_fail_dbg__(const args_t *args, const char *msg); + #endif + + /* GCC5.0+ target_clones attribute */ +-#if defined(__GNUC__) && NEED_GNUC(5,5,0) && STRESS_X86 && \ ++#if defined(__GNUC__) && defined(__GLIBC__) && NEED_GNUC(5,5,0) && STRESS_X86 && \ + !defined(__gnu_hurd__) && !defined(__FreeBSD_Kernel__) + #define TARGET_CLONES __attribute__((target_clones("sse","sse2","ssse3", "sse4.1", "sse4a", "avx","avx2","default"))) + #else +-- +2.18.0 + diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb index 19ce641924..a6c327e38e 100644 --- a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb +++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb @@ -7,6 +7,7 @@ DEPENDS = "zlib libaio" SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \ file://0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch \ + file://0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch \ " SRC_URI_append_libc-musl = " \ file://0001-Several-changes-to-fix-musl-build.patch \ From patchwork Tue Aug 21 07:03:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144688 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4909129ljj; Tue, 21 Aug 2018 00:03:53 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwJSoFXqT6ieCwt+BABZOpAvo1qFcpWVu87QMtg3Sv661+3ehflnurj0dTkH/APFPIBrsCA X-Received: by 2002:a17:902:82c9:: with SMTP id u9-v6mr11119369plz.138.1534835033005; Tue, 21 Aug 2018 00:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835032; cv=none; d=google.com; s=arc-20160816; b=kDy6tMXfOWBeEzZ6VzT6RB5+kOb1imTYk3nlly7Sopr75Txa2qBeUOagd6vV1JxRgX YqD8gQjjRnx8Bvgq8UBCbgf8NZeOZBOSVYEPbkt5taNSQ2raKkpMBQUuCIPNaB5/Vxe2 3L3z+RLC3OItph02+97avG2TdkZ6JWO/s1ZAA68zBoYYwSnfm9yNndyVn5kW1PB/3jbw 36hG6O7cK14iJpQpqduiqMRxbKjQmww61DQv7o73xkFNxNGDFpYgg4jmlqnube3aYMeo czqYOavsDhmMYr7qR7W5DhLxtcsM+psLBj3PQDztr/82mmWupW6IcngBhNMNsyp++CNf bgzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=RqZtnUgyWThFtkewT205xpvqzxg6E4bB56COTbSISUo=; b=N68MCSoJAm2t8S3p0zLg650+kHvUVitWeteMPMSC5LEyT/R+xZk9nbJGip2nfWQwK/ VdrFXI0F094fDT35rjt4Q3KwAt6E1xaJx47qPzuGp7yfX5IeaDokzlxp0Z3smoZrtoCm gtrTju/9fY2O8/lV8FCbUpUcqgGhlD6oMT7f2GxtutZ2Icj6wX0E2oxxL3EkiNIP3LEo v6B45ne8tnBpGQxk6t/hwIsntjeTdsuHpGSdjLKzW+6FtHInBWa7HJKQmFGfrZb5sX52 17Gmqo869NJAC9T7tU7qVNivIfSvxNk6gfUhKm+/IONxCz2N1wBKVRihoEPA/aLZ4hky jk4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sJcx2B2A; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v11-v6si11402433plp.33.2018.08.21.00.03.52; Tue, 21 Aug 2018 00:03:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sJcx2B2A; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8FC667909D; Tue, 21 Aug 2018 07:03:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mail.openembedded.org (Postfix) with ESMTP id 2F87E79017 for ; Tue, 21 Aug 2018 07:03:29 +0000 (UTC) Received: by mail-pf1-f169.google.com with SMTP id h69-v6so92049pfd.4 for ; Tue, 21 Aug 2018 00:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=d/uzoOVaVsvsVf9BU/78eETHyJMX/GCHmuzIiU/8yB4=; b=sJcx2B2AAIiNPYNxFG7a8JZ7rkMhkRLVcv6JCNlpUa40bWmq/RUtccgEAZ9wxHNx8u 2zYorJiNxIfowmahl76hTXDFiIluwRQ1fAi9ImUWjiDnjhjmlnZMOmHsJzw/h0mcIvye VpGXtJ0DVyE3RLSM0sYDw5c2n7eFcNnjnC28MRBqcGEygb+9AwpsPUmkSrpQFM5ur9vz 7IanwuEOcSTwHQVmvmj4aZMhAE/cNLK72cx1DdMh/RFsE4b0hbBAzCI/Dx2MspVpThED 5LD61VhzolYR2vQ84rT5t4gYvVTu+xbNgbR7AgahWQXJljlHPoWW9316x5UXYj8fii+Q aEmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=d/uzoOVaVsvsVf9BU/78eETHyJMX/GCHmuzIiU/8yB4=; b=Q47LkupFxGG0GwHsxsZCqn1KGtCSLYQDacD6f31gomrXctqSLJOpYLoCXYG71dw4j8 OVstymrarFnPadYXmKmygW46eWlz9J8VTqDJQnCfQiA0brHxUun7piLlDQ8bNG45YLoB ZNvp5+KJnhcnYxY74LwOoZpdygKiya6qMpCnB2ghfDNwxE3Uo27IxeUPFv+KdcPoMO28 p86IbzjQQWI02YKrLjvzUhd6nkfqTsgfcBJBI6fU7e9E4qcwyA4X+PlH67MnUaXFfBpY Cg4VjbY7saBvW3elvdYaHoBR9lvb0E/YpqjRmDuyBSZvuHYaNBoDD9yS0UX8sTb8inrf WZXA== X-Gm-Message-State: AOUpUlFKGL5Z1pME6ekm+PpNYf/tief3y9A1msN97n07S+EAm8vk0Ygt D8xwmSkIe1l40tLN9k5SNkwfke5Y X-Received: by 2002:a65:4147:: with SMTP id x7-v6mr9415425pgp.220.1534835008734; Tue, 21 Aug 2018 00:03:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:17 -0700 Message-Id: <20180821070319.36295-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821070319.36295-1-raj.khem@gmail.com> References: <20180821070319.36295-1-raj.khem@gmail.com> Subject: [oe] [meta-multimedia][PATCH 3/5] kodi: Remove, use from meta-kodi X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Use more uptodate version from https://github.com/koenkooi/meta-kodi Signed-off-by: Khem Raj --- .../kodi/jsonschemabuilder-native.bb | 24 - .../kodi-17/0001-Fix-file_Emu-on-musl.patch | 496 ------------------ ...der-of-detecting-libegl-and-libgles2.patch | 32 -- .../kodi/kodi-17/0002-Remove-FILEWRAP.patch | 46 -- ...n-t-try-to-run-stuff-to-find-tinyxml.patch | 25 - .../kodi/kodi-17/0004-handle-SIGTERM.patch | 163 ------ ...ead-frequency-output-if-using-intel-.patch | 26 - .../kodi-17/0006-Disable-DVD-support.patch | 35 -- ...0007-Always-compile-libcpluff-as-PIC.patch | 30 -- ...e-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch | 43 -- ...-build-Add-support-for-musl-triplets.patch | 180 ------- ...mpiler-warning-comparing-pointer-to-.patch | 40 -- ...ss-on-unknown-architectures-setting-.patch | 54 -- ...t-droid-fix-builds-with-AML-disabled.patch | 87 --- .../0013-FTPParse.cpp-use-std-string.patch | 96 ---- .../kodi/kodi-startup/kodi.service | 14 - .../recipes-mediacenter/kodi/kodi_17.bb | 216 -------- 17 files changed, 1607 deletions(-) delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-Fix-file_Emu-on-musl.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-change-order-of-detecting-libegl-and-libgles2.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0002-Remove-FILEWRAP.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0004-handle-SIGTERM.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-add-support-to-read-frequency-output-if-using-intel-.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0006-Disable-DVD-support.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0007-Always-compile-libcpluff-as-PIC.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0008-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0009-build-Add-support-for-musl-triplets.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0010-RssReader-Fix-compiler-warning-comparing-pointer-to-.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0011-Let-configure-pass-on-unknown-architectures-setting-.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0012-Revert-droid-fix-builds-with-AML-disabled.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0013-FTPParse.cpp-use-std-string.patch delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service delete mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb deleted file mode 100644 index fdb769943d..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Kodi Media Center" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://JsonSchemaBuilder.cpp;beginline=2;endline=18;md5=1f67721215c03f66545390f6e45b99c7" - -SRCREV = "661dd08d221f5b2bf509a696a6aca5ee7d45bb27" - -PV = "17.1+gitr${SRCPV}" -SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Krypton" - -inherit autotools-brokensep gettext native - -S = "${WORKDIR}/git/tools/depends/native/JsonSchemaBuilder/src" - -do_compile_prepend() { - for i in $(find . -name "Makefile") ; do - sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i - done - - for i in $(find . -name "*.mak*" -o -name "Makefile") ; do - sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' -e 's:-rpath \$(libdir):-rpath ${libdir}:g' $i - done -} - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-Fix-file_Emu-on-musl.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-Fix-file_Emu-on-musl.patch deleted file mode 100644 index 20b6377889..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-Fix-file_Emu-on-musl.patch +++ /dev/null @@ -1,496 +0,0 @@ -From 7ae4fcf290ffb0b76374efafeaee575456ac9023 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 6 Nov 2016 23:08:27 -0800 -Subject: [PATCH 01/10] Fix file_Emu on musl - -Signed-off-by: Khem Raj ---- - xbmc/cores/DllLoader/exports/emu_msvcrt.cpp | 28 ++-- - xbmc/cores/DllLoader/exports/emu_msvcrt.h | 2 +- - .../DllLoader/exports/util/EmuFileWrapper.cpp | 172 +++++++++------------ - xbmc/cores/DllLoader/exports/util/EmuFileWrapper.h | 27 ++-- - xbmc/cores/DllLoader/exports/wrapper.c | 4 +- - 5 files changed, 99 insertions(+), 134 deletions(-) - -diff --git a/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp b/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp -index ab14942..a39014a 100644 ---- a/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp -+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp -@@ -51,6 +51,7 @@ - #include - #include - #include -+#include - #ifdef TARGET_POSIX - #include "PlatformDefs.h" // for __stat64 - #include "XFileUtils.h" -@@ -476,13 +477,10 @@ extern "C" - EmuFileObject* o = g_emuFileWrapper.GetFileObjectByDescriptor(fd); - if (o) - { -- if(!o->used) -- return NULL; -- - int nmode = convert_fmode(mode); - if( (o->mode & nmode) != nmode) - CLog::Log(LOGWARNING, "dll_fdopen - mode 0x%x differs from fd mode 0x%x", nmode, o->mode); -- return &o->file_emu; -+ return g_emuFileWrapper.GetStreamByFileObject(o); - } - else if (!IS_STD_DESCRIPTOR(fd)) - { -@@ -545,7 +543,7 @@ extern "C" - return -1; - } - object->mode = iMode; -- return g_emuFileWrapper.GetDescriptorByStream(&object->file_emu); -+ return g_emuFileWrapper.GetDescriptorByFileObject(object); - } - delete pFile; - return -1; -@@ -1214,8 +1212,8 @@ extern "C" - { - FILE* file = NULL; - #if defined(TARGET_LINUX) && !defined(TARGET_ANDROID) -- if (strcmp(filename, MOUNTED) == 0 -- || strcmp(filename, MNTTAB) == 0) -+ if (strcmp(filename, _PATH_MOUNTED) == 0 -+ || strcmp(filename, _PATH_MNTTAB) == 0) - { - CLog::Log(LOGINFO, "%s - something opened the mount file, let's hope it knows what it's doing", __FUNCTION__); - return fopen(filename, mode); -@@ -1622,7 +1620,7 @@ extern "C" - int ret; - - ret = dll_fgetpos64(stream, &tmpPos); --#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) - *pos = (fpos_t)tmpPos; - #else - pos->__pos = (off_t)tmpPos.__pos; -@@ -1635,8 +1633,9 @@ extern "C" - CFile* pFile = g_emuFileWrapper.GetFileXbmcByStream(stream); - if (pFile != NULL) - { --#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -- *pos = pFile->GetPosition(); -+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+ uint64_t *ppos = (uint64_t *) pos; -+ *ppos = pFile->GetPosition(); - #else - pos->__pos = pFile->GetPosition(); - #endif -@@ -1657,8 +1656,9 @@ extern "C" - int fd = g_emuFileWrapper.GetDescriptorByStream(stream); - if (fd >= 0) - { --#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -- if (dll_lseeki64(fd, *pos, SEEK_SET) >= 0) -+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+ const uint64_t *ppos = (const uint64_t *) pos; -+ if (dll_lseeki64(fd, *ppos, SEEK_SET) >= 0) - #else - if (dll_lseeki64(fd, (__off64_t)pos->__pos, SEEK_SET) >= 0) - #endif -@@ -1674,7 +1674,7 @@ extern "C" - { - // it might be something else than a file, or the file is not emulated - // let the operating system handle it --#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) - return fsetpos(stream, pos); - #else - return fsetpos64(stream, pos); -@@ -1690,7 +1690,7 @@ extern "C" - if (fd >= 0) - { - fpos64_t tmpPos; --#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) - tmpPos= *pos; - #else - tmpPos.__pos = (off64_t)(pos->__pos); -diff --git a/xbmc/cores/DllLoader/exports/emu_msvcrt.h b/xbmc/cores/DllLoader/exports/emu_msvcrt.h -index 3294d9a..c7c483f 100644 ---- a/xbmc/cores/DllLoader/exports/emu_msvcrt.h -+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.h -@@ -24,7 +24,7 @@ - #define _onexit_t void* - #endif - --#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__) - typedef off_t __off_t; - typedef int64_t off64_t; - typedef off64_t __off64_t; -diff --git a/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp b/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp -index 8927d41..e9a2ab0 100644 ---- a/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp -+++ b/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp -@@ -52,16 +52,7 @@ constexpr bool isValidFilePtr(FILE* f) - } - CEmuFileWrapper::CEmuFileWrapper() - { -- // since we always use dlls we might just initialize it directly -- for (int i = 0; i < MAX_EMULATED_FILES; i++) -- { -- memset(&m_files[i], 0, sizeof(EmuFileObject)); -- m_files[i].used = false; --#if defined(TARGET_WINDOWS) && (_MSC_VER >= 1900) -- m_files[i].file_emu._Placeholder = new kodi_iobuf(); --#endif -- FileDescriptor(m_files[i].file_emu)->_file = -1; -- } -+ memset(m_files, 0, sizeof(m_files)); - } - - CEmuFileWrapper::~CEmuFileWrapper() -@@ -73,29 +64,7 @@ void CEmuFileWrapper::CleanUp() - { - CSingleLock lock(m_criticalSection); - for (int i = 0; i < MAX_EMULATED_FILES; i++) -- { -- if (m_files[i].used) -- { -- m_files[i].file_xbmc->Close(); -- delete m_files[i].file_xbmc; -- -- if (m_files[i].file_lock) -- { -- delete m_files[i].file_lock; -- m_files[i].file_lock = nullptr; -- } --#if !defined(TARGET_WINDOWS) -- //Don't memset on Windows as it overwrites our pointer -- memset(&m_files[i], 0, sizeof(EmuFileObject)); --#endif -- m_files[i].used = false; -- FileDescriptor(m_files[i].file_emu)->_file = -1; -- } --#if defined(TARGET_WINDOWS) && (_MSC_VER >= 1900) -- delete static_cast(m_files[i].file_emu._Placeholder); -- m_files[i].file_emu._Placeholder = nullptr; --#endif -- } -+ UnRegisterFileObject(&m_files[i], true); - } - - EmuFileObject* CEmuFileWrapper::RegisterFileObject(XFILE::CFile* pFile) -@@ -106,13 +75,11 @@ EmuFileObject* CEmuFileWrapper::RegisterFileObject(XFILE::CFile* pFile) - - for (int i = 0; i < MAX_EMULATED_FILES; i++) - { -- if (!m_files[i].used) -+ if (!m_files[i].file_xbmc) - { - // found a free location - object = &m_files[i]; -- object->used = true; - object->file_xbmc = pFile; -- FileDescriptor(object->file_emu)->_file = (i + FILE_WRAPPER_OFFSET); - object->file_lock = new CCriticalSection(); - break; - } -@@ -121,82 +88,74 @@ EmuFileObject* CEmuFileWrapper::RegisterFileObject(XFILE::CFile* pFile) - return object; - } - --void CEmuFileWrapper::UnRegisterFileObjectByDescriptor(int fd) -+void CEmuFileWrapper::UnRegisterFileObject(EmuFileObject *object, bool free_file) -+ - { -- int i = fd - FILE_WRAPPER_OFFSET; -- if (! (i >= 0 && i < MAX_EMULATED_FILES)) -- return; -+ if (object && object->file_xbmc) -+ { -+ if (object->file_xbmc && free_file) -+ { -+ object->file_xbmc->Close(); -+ delete object->file_xbmc; -+ } -+ if (object->file_lock) -+ { -+ delete object->file_lock; -+ } - -- if (!m_files[i].used) -- return; -+ memset(object, 0, sizeof(*object)); -+ } -+} - -+void CEmuFileWrapper::UnRegisterFileObjectByDescriptor(int fd) -+{ - CSingleLock lock(m_criticalSection); -- -- // we assume the emulated function alreay deleted the CFile object -- if (m_files[i].file_lock) -- { -- delete m_files[i].file_lock; -- m_files[i].file_lock = nullptr; -- } --#if !defined(TARGET_WINDOWS) -- //Don't memset on Windows as it overwrites our pointer -- memset(&m_files[i], 0, sizeof(EmuFileObject)); --#endif -- m_files[i].used = false; -- FileDescriptor(m_files[i].file_emu)->_file = -1; -+ UnRegisterFileObject(GetFileObjectByDescriptor(fd), false); - } - - void CEmuFileWrapper::UnRegisterFileObjectByStream(FILE* stream) - { - if (isValidFilePtr(stream)) - { -- return UnRegisterFileObjectByDescriptor(FileDescriptor(*stream)->_file); -+ CSingleLock lock(m_criticalSection); -+ UnRegisterFileObject(GetFileObjectByStream(stream), false); - } - } - - void CEmuFileWrapper::LockFileObjectByDescriptor(int fd) - { -- int i = fd - FILE_WRAPPER_OFFSET; -- if (i >= 0 && i < MAX_EMULATED_FILES) -+ EmuFileObject* object = GetFileObjectByDescriptor(fd); -+ if (object && object->file_xbmc) - { -- if (m_files[i].used) -- { -- m_files[i].file_lock->lock(); -- } -+ object->file_lock->lock(); - } - } - - bool CEmuFileWrapper::TryLockFileObjectByDescriptor(int fd) - { -- int i = fd - FILE_WRAPPER_OFFSET; -- if (i >= 0 && i < MAX_EMULATED_FILES) -+ EmuFileObject* object = GetFileObjectByDescriptor(fd); -+ if (object && object->file_xbmc) - { -- if (m_files[i].used) -- { -- return m_files[i].file_lock->try_lock(); -- } -+ return object->file_lock->try_lock(); - } - return false; - } - - void CEmuFileWrapper::UnlockFileObjectByDescriptor(int fd) - { -- int i = fd - FILE_WRAPPER_OFFSET; -- if (i >= 0 && i < MAX_EMULATED_FILES) -+ EmuFileObject* object = GetFileObjectByDescriptor(fd); -+ if (object && object->file_xbmc) - { -- if (m_files[i].used) -- { -- m_files[i].file_lock->unlock(); -- } -+ object->file_lock->unlock(); - } - } - - EmuFileObject* CEmuFileWrapper::GetFileObjectByDescriptor(int fd) - { -- int i = fd - FILE_WRAPPER_OFFSET; -+ int i = fd - 0x7000000; - if (i >= 0 && i < MAX_EMULATED_FILES) - { -- if (m_files[i].used) -+ if (m_files[i].file_xbmc) - { - return &m_files[i]; - } -@@ -204,20 +163,39 @@ EmuFileObject* CEmuFileWrapper::GetFileObjectByDescriptor(int fd) - return nullptr; - } - -+int CEmuFileWrapper::GetDescriptorByFileObject(EmuFileObject *object) -+{ -+ int i = object - m_files; -+ if (i >= 0 && i < MAX_EMULATED_FILES) -+ { -+ return 0x7000000 + i; -+ } -+ -+ return -1; -+} -+ - EmuFileObject* CEmuFileWrapper::GetFileObjectByStream(FILE* stream) - { -- if (isValidFilePtr(stream)) -+ EmuFileObject *object = (EmuFileObject*) stream; -+ if (object >= &m_files[0] || object < &m_files[MAX_EMULATED_FILES]) - { -- return GetFileObjectByDescriptor(FileDescriptor(*stream)->_file); -+ if (object->file_xbmc) -+ { -+ return object; -+ } - } -+ return NULL; -+} - -- return nullptr; -+FILE* CEmuFileWrapper::GetStreamByFileObject(EmuFileObject *object) -+{ -+ return (FILE*) object; - } - - XFILE::CFile* CEmuFileWrapper::GetFileXbmcByDescriptor(int fd) - { - auto object = GetFileObjectByDescriptor(fd); -- if (object != nullptr && object->used) -+ if (object != nullptr) - { - return object->file_xbmc; - } -@@ -228,8 +206,9 @@ XFILE::CFile* CEmuFileWrapper::GetFileXbmcByStream(FILE* stream) - { - if (isValidFilePtr(stream)) - { -- auto object = GetFileObjectByDescriptor(FileDescriptor(*stream)->_file); -- if (object != nullptr && object->used) -+ EmuFileObject* object = GetFileObjectByStream(stream); -+ if (object != NULL) -+ - { - return object->file_xbmc; - } -@@ -239,32 +218,21 @@ XFILE::CFile* CEmuFileWrapper::GetFileXbmcByStream(FILE* stream) - - int CEmuFileWrapper::GetDescriptorByStream(FILE* stream) - { -- if (isValidFilePtr(stream)) -- { -- int i = FileDescriptor(*stream)->_file - FILE_WRAPPER_OFFSET; -- if (i >= 0 && i < MAX_EMULATED_FILES) -- { -- return i + FILE_WRAPPER_OFFSET; -- } -- } -- return -1; -+ return GetDescriptorByFileObject(GetFileObjectByStream(stream)); - } - - FILE* CEmuFileWrapper::GetStreamByDescriptor(int fd) - { -- auto object = GetFileObjectByDescriptor(fd); -- if (object != nullptr && object->used) -- { -- return &object->file_emu; -- } -- return nullptr; -+ return GetStreamByFileObject(GetFileObjectByDescriptor(fd)); -+} -+ -+bool CEmuFileWrapper::DescriptorIsEmulatedFile(int fd) -+{ -+ return GetFileObjectByDescriptor(fd) != NULL; - } - - bool CEmuFileWrapper::StreamIsEmulatedFile(FILE* stream) - { -- if (isValidFilePtr(stream)) -- { -- return DescriptorIsEmulatedFile(FileDescriptor(*stream)->_file); -- } -- return false; -+ return GetFileObjectByStream(stream) != NULL; - } -+ -diff --git a/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.h b/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.h -index 786fa85..311a5cf 100644 ---- a/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.h -+++ b/xbmc/cores/DllLoader/exports/util/EmuFileWrapper.h -@@ -25,14 +25,14 @@ - #include "system.h" - #include "threads/CriticalSection.h" - --#if defined(TARGET_POSIX) && !defined(TARGET_DARWIN) && !defined(TARGET_FREEBSD) && !defined(TARGET_ANDROID) && !defined(__UCLIBC__) --#define _file _fileno --#elif defined(__UCLIBC__) --#define _file __filedes --#endif -+//#if defined(TARGET_POSIX) && !defined(TARGET_DARWIN) && !defined(TARGET_FREEBSD) && !defined(TARGET_ANDROID) && !defined(__UCLIBC__) -+//#define _file _fileno -+//#elif defined(__UCLIBC__) -+//#define _file __filedes -+//#endif - - #define MAX_EMULATED_FILES 50 --#define FILE_WRAPPER_OFFSET 0x00000200 -+//#define FILE_WRAPPER_OFFSET 0x00000200 - - namespace XFILE - { -@@ -47,12 +47,9 @@ struct kodi_iobuf { - - typedef struct stEmuFileObject - { -- FILE file_emu; - XFILE::CFile* file_xbmc; - CCriticalSection *file_lock; - int mode; -- //Stick this last to avoid 3-7 bytes of padding -- bool used; - } EmuFileObject; - - class CEmuFileWrapper -@@ -67,22 +64,22 @@ public: - void CleanUp(); - - EmuFileObject* RegisterFileObject(XFILE::CFile* pFile); -+ void UnRegisterFileObject(EmuFileObject*, bool free_file); - void UnRegisterFileObjectByDescriptor(int fd); - void UnRegisterFileObjectByStream(FILE* stream); - void LockFileObjectByDescriptor(int fd); - bool TryLockFileObjectByDescriptor(int fd); - void UnlockFileObjectByDescriptor(int fd); - EmuFileObject* GetFileObjectByDescriptor(int fd); -+ int GetDescriptorByFileObject(EmuFileObject*); - EmuFileObject* GetFileObjectByStream(FILE* stream); -+ FILE* GetStreamByFileObject(EmuFileObject*); - XFILE::CFile* GetFileXbmcByDescriptor(int fd); - XFILE::CFile* GetFileXbmcByStream(FILE* stream); -- static int GetDescriptorByStream(FILE* stream); -+ int GetDescriptorByStream(FILE* stream); - FILE* GetStreamByDescriptor(int fd); -- static constexpr bool DescriptorIsEmulatedFile(int fd) -- { -- return fd >= FILE_WRAPPER_OFFSET && fd < FILE_WRAPPER_OFFSET + MAX_EMULATED_FILES; -- } -- static bool StreamIsEmulatedFile(FILE* stream); -+ bool DescriptorIsEmulatedFile(int fd); -+ bool StreamIsEmulatedFile(FILE* stream); - private: - EmuFileObject m_files[MAX_EMULATED_FILES]; - CCriticalSection m_criticalSection; -diff --git a/xbmc/cores/DllLoader/exports/wrapper.c b/xbmc/cores/DllLoader/exports/wrapper.c -index e363662..07825f3 100644 ---- a/xbmc/cores/DllLoader/exports/wrapper.c -+++ b/xbmc/cores/DllLoader/exports/wrapper.c -@@ -39,13 +39,13 @@ - #endif - #include - --#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) -+#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__) - typedef off_t __off_t; - typedef int64_t off64_t; - typedef off64_t __off64_t; - typedef fpos_t fpos64_t; - #define stat64 stat --#if defined(TARGET_DARWIN) || defined(TARGET_ANDROID) -+#if defined(TARGET_DARWIN) || defined(TARGET_ANDROID) || !defined(__GLIBC__) - #define _G_va_list va_list - #endif - #endif --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-change-order-of-detecting-libegl-and-libgles2.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-change-order-of-detecting-libegl-and-libgles2.patch deleted file mode 100644 index 12a6c06e82..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0001-change-order-of-detecting-libegl-and-libgles2.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 21524598110e7a55113205dda4bc1a6d5987111c Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 9 May 2017 06:41:33 +0000 -Subject: [PATCH] change order of detecting libegl and libgles2 - -This actually helps building it on rpi/userland -where libEGL depends on few functions from libGLESv2 -see -https://www.raspberrypi.org/forums/viewtopic.php?t=7090 - -Signed-off-by: Khem Raj ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index b9e4240..1ca0297 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -951,8 +951,8 @@ if test "$use_gles" = "yes"; then - AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.) - LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm" - else -- AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library)) - AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library)) -+ AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library)) - fi - fi - else --- -1.9.1 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0002-Remove-FILEWRAP.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0002-Remove-FILEWRAP.patch deleted file mode 100644 index 463a5c4f81..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0002-Remove-FILEWRAP.patch +++ /dev/null @@ -1,46 +0,0 @@ -From ad1977a358319093b305df6d84be6db676ef1e4a Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 6 Nov 2016 22:35:16 -0800 -Subject: [PATCH 02/10] Remove FILEWRAP - -Signed-off-by: Khem Raj ---- - xbmc/utils/posix/PosixInterfaceForCLog.cpp | 6 +----- - xbmc/utils/posix/PosixInterfaceForCLog.h | 4 +--- - 2 files changed, 2 insertions(+), 8 deletions(-) - -Index: git/xbmc/utils/posix/PosixInterfaceForCLog.cpp -=================================================================== ---- git.orig/xbmc/utils/posix/PosixInterfaceForCLog.cpp -+++ git/xbmc/utils/posix/PosixInterfaceForCLog.cpp -@@ -29,10 +29,6 @@ - #include "platform/android/activity/XBMCApp.h" - #endif // TARGET_ANDROID - --struct FILEWRAP : public FILE --{}; -- -- - CPosixInterfaceForCLog::CPosixInterfaceForCLog() : - m_file(NULL) - { } -@@ -52,7 +48,7 @@ bool CPosixInterfaceForCLog::OpenLogFile - (void)remove(backupOldLogToFilename.c_str()); // if it's failed, try to continue - (void)rename(logFilename.c_str(), backupOldLogToFilename.c_str()); // if it's failed, try to continue - -- m_file = (FILEWRAP*)fopen(logFilename.c_str(), "wb"); -+ m_file = fopen(logFilename.c_str(), "wb"); - if (!m_file) - return false; // error, can't open log file - -Index: git/xbmc/utils/posix/PosixInterfaceForCLog.h -=================================================================== ---- git.orig/xbmc/utils/posix/PosixInterfaceForCLog.h -+++ git/xbmc/utils/posix/PosixInterfaceForCLog.h -@@ -34,5 +34,5 @@ public: - void PrintDebugString(const std::string& debugString); - static void GetCurrentLocalTime(int& hour, int& minute, int& second, double& millisecond); - private: -- FILEWRAP* m_file; -+ FILE* m_file; - }; diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch deleted file mode 100644 index 49217a4f7b..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch +++ /dev/null @@ -1,25 +0,0 @@ -From a91a3ba229dc5903935f7dd98dd03bbb4fe5ac1f Mon Sep 17 00:00:00 2001 -From: Koen Kooi -Date: Sat, 6 Feb 2016 15:43:01 +0100 -Subject: [PATCH 03/10] configure: don't try to run stuff to find tinyxml - ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 34fe643..3132dc1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1043,7 +1043,7 @@ fi - AC_LANG_PUSH([C++]) - PKG_CHECK_MODULES([TINYXML], [tinyxml >= 2.6.2], - [INCLUDES="$INCLUDES $TINYXML_CFLAGS"; LIBS="$LIBS $TINYXML_LIBS"], -- [AC_RUN_IFELSE( -+ [AC_COMPILE_IFELSE( - [AC_LANG_SOURCE([[ - #include - #include --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0004-handle-SIGTERM.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0004-handle-SIGTERM.patch deleted file mode 100644 index dc37439353..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0004-handle-SIGTERM.patch +++ /dev/null @@ -1,163 +0,0 @@ -From 49046c1685465a5486fe9e1c04b99c585aab6862 Mon Sep 17 00:00:00 2001 -From: Stefan Saraev -Date: Wed, 2 Nov 2016 11:28:34 -0700 -Subject: [PATCH 04/10] handle SIGTERM - -0. CApplication::Stop cant be trusted. (deadlocks crashes and boo) - -so, when shutdown/reboot is requested: - -1. save an exit code (for CEC...) -2. call CPowerManager::{Reboot,PowerDown} -3. ... then systemd sends TERM and waits xx seconds before sending KILL -4. CApplication::Stop has xx seconds to save guisettings.xml and boo -5. CEC thread has xx seconds to switch off after it received OnQuit -6. addons / pvrmanager / cec / everything else.. are free to deadlock / crash now, we dont care -7. KILL - -Signed-off-by: Stefan Saraev -Signed-off-by: Khem Raj ---- - xbmc/Application.cpp | 17 ++++++++++++----- - xbmc/Application.h | 1 + - xbmc/XBApplicationEx.cpp | 1 + - xbmc/XBApplicationEx.h | 1 + - xbmc/platform/posix/main.cpp | 15 +++++++++++++++ - 5 files changed, 30 insertions(+), 5 deletions(-) - -diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp -index 100a2f2..fda892d 100644 ---- a/xbmc/Application.cpp -+++ b/xbmc/Application.cpp -@@ -2426,12 +2426,12 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg) - switch (pMsg->dwMessage) - { - case TMSG_POWERDOWN: -- Stop(EXITCODE_POWERDOWN); -+ SetExitCode(EXITCODE_POWERDOWN); - g_powerManager.Powerdown(); - break; - - case TMSG_QUIT: -- Stop(EXITCODE_QUIT); -+ SetExitCode(EXITCODE_QUIT); - break; - - case TMSG_SHUTDOWN: -@@ -2452,12 +2452,13 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg) - - case TMSG_RESTART: - case TMSG_RESET: -- Stop(EXITCODE_REBOOT); -+ SetExitCode(EXITCODE_REBOOT); - g_powerManager.Reboot(); - break; - - case TMSG_RESTARTAPP: - #if defined(TARGET_WINDOWS) || defined(TARGET_LINUX) -+ SetExitCode(EXITCODE_RESTARTAPP); - Stop(EXITCODE_RESTARTAPP); - #endif - break; -@@ -2881,6 +2882,13 @@ bool CApplication::Cleanup() - } - } - -+void CApplication::SetExitCode(int exitCode) -+{ -+ // save it for CEC -+ m_ExitCode = exitCode; -+ m_ExitCodeSet = true; -+} -+ - void CApplication::Stop(int exitCode) - { - try -@@ -2888,7 +2896,7 @@ void CApplication::Stop(int exitCode) - m_frameMoveGuard.unlock(); - - CVariant vExitCode(CVariant::VariantTypeObject); -- vExitCode["exitcode"] = exitCode; -+ vExitCode["exitcode"] = m_ExitCode; - CAnnouncementManager::GetInstance().Announce(System, "xbmc", "OnQuit", vExitCode); - - // Abort any active screensaver -@@ -2922,7 +2930,6 @@ void CApplication::Stop(int exitCode) - - m_bStop = true; - m_AppFocused = false; -- m_ExitCode = exitCode; - CLog::Log(LOGNOTICE, "stop all"); - - // cancel any jobs from the jobmanager -diff --git a/xbmc/Application.h b/xbmc/Application.h -index a9d9bf5..e536deb 100644 ---- a/xbmc/Application.h -+++ b/xbmc/Application.h -@@ -159,6 +159,7 @@ public: - void StopPVRManager(); - void ReinitPVRManager(); - bool IsCurrentThread() const; -+ void SetExitCode(int exitCode); - void Stop(int exitCode); - void RestartApp(); - void UnloadSkin(bool forReload = false); -diff --git a/xbmc/XBApplicationEx.cpp b/xbmc/XBApplicationEx.cpp -index 035aed2..34102f5 100644 ---- a/xbmc/XBApplicationEx.cpp -+++ b/xbmc/XBApplicationEx.cpp -@@ -46,6 +46,7 @@ CXBApplicationEx::CXBApplicationEx() - m_bStop = false; - m_AppFocused = true; - m_ExitCode = EXITCODE_QUIT; -+ m_ExitCodeSet = false; - m_renderGUI = false; - } - -diff --git a/xbmc/XBApplicationEx.h b/xbmc/XBApplicationEx.h -index 9bc14fa..f696b89 100644 ---- a/xbmc/XBApplicationEx.h -+++ b/xbmc/XBApplicationEx.h -@@ -42,6 +42,7 @@ public: - // Variables for timing - bool m_bStop; - int m_ExitCode; -+ bool m_ExitCodeSet; - bool m_AppFocused; - bool m_renderGUI; - -diff --git a/xbmc/platform/posix/main.cpp b/xbmc/platform/posix/main.cpp -index a8b64e5..3d80032 100644 ---- a/xbmc/platform/posix/main.cpp -+++ b/xbmc/platform/posix/main.cpp -@@ -41,12 +41,27 @@ - #include "input/linux/LIRC.h" - #endif - #include "platform/XbmcContext.h" -+#include "Application.h" -+ -+void xbmc_term_handler(int signum) -+{ -+ CLog::Log(LOGINFO, "Received SIGTERM..."); -+ if (!g_application.m_ExitCodeSet) -+ g_application.SetExitCode(EXITCODE_RESTARTAPP); -+ g_application.Stop(EXITCODE_RESTARTAPP); -+} - - #ifdef __cplusplus - extern "C" - #endif - int main(int argc, char* argv[]) - { -+ // SIGTERM handler -+ struct sigaction action; -+ memset(&action, 0, sizeof(struct sigaction)); -+ action.sa_handler = xbmc_term_handler; -+ sigaction(SIGTERM, &action, NULL); -+ - // set up some xbmc specific relationships - XBMC::Context context; - --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-add-support-to-read-frequency-output-if-using-intel-.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-add-support-to-read-frequency-output-if-using-intel-.patch deleted file mode 100644 index ee10c40ac1..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-add-support-to-read-frequency-output-if-using-intel-.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4d1368d20f04216aec9551d9845b305f96a21015 Mon Sep 17 00:00:00 2001 -From: Stephan Raue -Date: Mon, 1 Sep 2014 03:16:37 +0200 -Subject: [PATCH 05/10] add support to read frequency output if using intel's - pstate driver - ---- - xbmc/utils/CPUInfo.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/xbmc/utils/CPUInfo.cpp b/xbmc/utils/CPUInfo.cpp -index 5e2ebbd..fd04d5a 100644 ---- a/xbmc/utils/CPUInfo.cpp -+++ b/xbmc/utils/CPUInfo.cpp -@@ -274,6 +274,8 @@ CCPUInfo::CCPUInfo(void) - m_fProcTemperature = fopen("/sys/class/thermal/thermal_zone0/temp", "r"); // On Raspberry PIs - - m_fCPUFreq = fopen ("/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", "r"); -+ if (m_fCPUFreq == NULL) -+ m_fCPUFreq = fopen ("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq", "r"); - if (!m_fCPUFreq) - { - m_cpuInfoForFreq = true; --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0006-Disable-DVD-support.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0006-Disable-DVD-support.patch deleted file mode 100644 index 08dfac3240..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0006-Disable-DVD-support.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 3d3ec391038c6ee73897a7fab753b11b589de1ed Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 2 Nov 2016 12:39:20 -0700 -Subject: [PATCH 06/10] Disable DVD support - -Signed-off-by: Khem Raj ---- - Makefile.in | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 0d70e9b..050c7ca 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -10,8 +10,7 @@ EC_DIRS= \ - tools/EventClients - - DVDPCODECS_DIRS= \ -- lib \ -- lib/libdvd -+ lib - - VideoPlayer_ARCHIVES=xbmc/cores/VideoPlayer/VideoPlayer.a \ - xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecs.a \ -@@ -347,7 +346,6 @@ libaddon: exports - $(MAKE) -C lib/addons/library.xbmc.pvr - $(MAKE) -C lib/addons/library.kodi.inputstream - dvdpcodecs: dllloader -- $(MAKE) -C lib/libdvd - - dvdpextcodecs: - --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0007-Always-compile-libcpluff-as-PIC.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0007-Always-compile-libcpluff-as-PIC.patch deleted file mode 100644 index 8fd7ece054..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0007-Always-compile-libcpluff-as-PIC.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d989cbdb7686c3b95dc749967f89b93e47f955a6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 3 Nov 2016 13:10:00 -0700 -Subject: [PATCH 07/10] Always compile libcpluff as PIC - -Fixes errors e.g. - -ld: lib/cpluff/libcpluff/.libs/libcpluff.a(pcontrol.o): relocation R_X86_64_PC32 against symbol `cp_stop_plugins' can not be used when making a shared object; recompile with -fPIC - -Signed-off-by: Khem Raj ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 3132dc1..ab4eea3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2385,7 +2385,7 @@ XB_CONFIG_MODULE([lib/cpluff], [ - --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ - --host=$host_alias \ - --build=$build_alias \ -- --target=$target_alias CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" -+ --target=$target_alias --with-pic=yes CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" - #LDFLAGS="$LDFLAGS -Wl,-read_only_relocs,suppress" - ], [0]) - --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0008-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0008-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch deleted file mode 100644 index 9390144ceb..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0008-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 51cd8d5f084013360b29fe497193288ebde2f4f9 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 29 Jul 2015 23:13:33 +0200 -Subject: [PATCH 08/10] kodi-config.cmake: use CMAKE_FIND_ROOT_PATH to fix - cross-compilation - -When cross-compiling, the location at build time of the libraries is -not the same as the one at run-time. The CMAKE_FIND_ROOT_PATH variable -is here to handle this difference, so use it in kodi-config.cmake. - -Signed-off-by: Thomas Petazzoni ---- - project/cmake/KodiConfig.cmake.in | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/project/cmake/KodiConfig.cmake.in b/project/cmake/KodiConfig.cmake.in -index c02a680..9d6a566 100644 ---- a/project/cmake/KodiConfig.cmake.in -+++ b/project/cmake/KodiConfig.cmake.in -@@ -7,10 +7,10 @@ if(NOT @APP_NAME_UC@_PREFIX) - set(@APP_NAME_UC@_PREFIX @APP_PREFIX@) - endif() - if(NOT @APP_NAME_UC@_INCLUDE_DIR) -- set(@APP_NAME_UC@_INCLUDE_DIR @APP_INCLUDE_DIR@) -+ set(@APP_NAME_UC@_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_INCLUDE_DIR@) - endif() - if(NOT @APP_NAME_UC@_LIB_DIR) -- set(@APP_NAME_UC@_LIB_DIR @APP_LIB_DIR@) -+ set(@APP_NAME_UC@_LIB_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@) - endif() - if(NOT @APP_NAME_UC@_DATA_DIR) - set(@APP_NAME_UC@_DATA_DIR @APP_DATA_DIR@) -@@ -19,6 +19,7 @@ if(NOT WIN32) - set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@") - endif() - list(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@ @APP_DATA_DIR@/cmake) -+list(APPEND CMAKE_MODULE_PATH ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@ ${CMAKE_FIND_ROOT_PATH}/@APP_DATA_DIR@/cmake) - - string(REPLACE ";" " " ARCH_DEFINES "@ARCH_DEFINES@") - add_definitions(${ARCH_DEFINES} -DBUILD_KODI_ADDON) --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0009-build-Add-support-for-musl-triplets.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0009-build-Add-support-for-musl-triplets.patch deleted file mode 100644 index f3e739aedb..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0009-build-Add-support-for-musl-triplets.patch +++ /dev/null @@ -1,180 +0,0 @@ -From 8b2bad58585af0f829fb06e19c9bd2b6caf30808 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 6 Nov 2016 11:54:41 -0800 -Subject: [PATCH 09/10] build: Add support for musl triplets - -Signed-off-by: Khem Raj ---- - configure.ac | 12 ++++++------ - m4/xbmc_arch.m4 | 22 +++++++++++----------- - tools/depends/configure.ac | 12 ++++++------ - 3 files changed, 23 insertions(+), 23 deletions(-) - -diff --git a/configure.ac b/configure.ac -index ab4eea3..925466a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -526,7 +526,7 @@ case $host in - use_x11=no - build_shared_lib=yes - ;; -- i*86*-linux-gnu*|i*86*-*-linux-uclibc*) -+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-*-linux-musl*) - target_platform=target_linux - CORE_SYSTEM_NAME=linux - ARCH="i486-linux" -@@ -549,7 +549,7 @@ case $host in - fi - fi - ;; -- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*) -+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*) - target_platform=target_linux - CORE_SYSTEM_NAME=linux - ARCH="x86_64-linux" -@@ -601,17 +601,17 @@ case $host in - DEPENDS_ROOT_FOR_XCODE=$(echo ${prefix%/*}) - AC_SUBST([DEPENDS_ROOT_FOR_XCODE]) - ;; -- powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*) -+ powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*|powerpc-*-linux-musl*) - target_platform=target_linux - CORE_SYSTEM_NAME=linux - ARCH="powerpc-linux" - ;; -- powerpc64*-*-linux-gnu*|powerpc64*-*-linux-uclibc*) -+ powerpc64*-*-linux-gnu*|powerpc64*-*-linux-uclibc*|powerpc64*-*-linux-musl*) - target_platform=target_linux - CORE_SYSTEM_NAME=linux - ARCH="powerpc64-linux" - ;; -- arm*-*-linux-gnu*|arm*-*-linux-uclibc*) -+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*) - target_platform=target_linux - CORE_SYSTEM_NAME=linux - ARCH="arm" -@@ -621,7 +621,7 @@ case $host in - use_gl=no - USE_STATIC_FFMPEG=1 - ;; -- aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*) -+ aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*|aarch64*-*-linux-musl*) - target_platform=target_linux - ARCH="aarch64" - use_arch="aarch64" -diff --git a/m4/xbmc_arch.m4 b/m4/xbmc_arch.m4 -index d28f263..ff5dc20 100644 ---- a/m4/xbmc_arch.m4 -+++ b/m4/xbmc_arch.m4 -@@ -2,10 +2,10 @@ AC_DEFUN([XBMC_SETUP_ARCH_DEFINES],[ - - # build detection and setup - this is the native arch - case $build in -- i*86*-linux-gnu*|i*86*-*-linux-uclibc*) -+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-*-linux-musl*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; -- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*) -+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; - i386-*-freebsd*) -@@ -17,13 +17,13 @@ case $build in - *86*-apple-darwin*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX") - ;; -- powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*) -+ powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*|powerpc-*-linux-musl*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC") - ;; -- powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*) -+ powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*|powerpc64-*-linux-musl*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64") - ;; -- arm*-*-linux-gnu*|arm*-*-linux-uclibc*) -+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*) - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; - *) -@@ -33,10 +33,10 @@ esac - - # host detection and setup - this is the target arch - case $host in -- i*86*-linux-gnu*|i*86*-*-linux-uclibc*) -+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; -- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*) -+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; - i386-*-freebsd*) -@@ -54,16 +54,16 @@ case $host in - powerpc-apple-darwin*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX") - ;; -- powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*) -+ powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*|powerpc-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC") - ;; -- powerpc64*-*-linux-gnu*|powerpc64*-*-linux-uclibc*) -+ powerpc64*-*-linux-gnu*|powerpc64*-*-linux-uclibc*|powerpc64*-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64") - ;; -- arm*-*-linux-gnu*|arm*-*-linux-uclibc*|aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*) -+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*|aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*|aarch64*-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; -- mips*-*-linux-gnu*|mips*-*-linux-uclibc*) -+ mips*-*-linux-gnu*|mips*-*-linux-uclibc*|mips*-*-linux-musl*) - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; - *-*linux-android*) -diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac -index f438e5d..409f4d7 100644 ---- a/tools/depends/configure.ac -+++ b/tools/depends/configure.ac -@@ -120,13 +120,13 @@ platform_cc=gcc - platform_cxx=g++ - - case $build in -- arm*-*-linux-gnu*|arm*-*-linux-uclibc*) -+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*) - build_os="linux" - ;; -- *i686*-linux-gnu*|i*86*-*-linux-uclibc*) -+ *i686*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-*-linux-musl*) - build_os="linux" - ;; -- x86_64*-linux-gnu*|x86_64-*-linux-uclibc*) -+ x86_64*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*) - build_os="linux" - ;; - *darwin*) -@@ -186,7 +186,7 @@ case $host in - #android builds are always cross - cross_compiling="yes" - ;; -- arm*-*-linux-gnu*|arm*-*-linux-uclibc*) -+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*) - if test "$use_platform" = "auto"; then - if test "x$use_cpu" = "xauto"; then - use_cpu=$host_cpu -@@ -210,12 +210,12 @@ case $host in - platform_os="linux" - fi - ;; -- *i686*-linux-gnu*|i*86*-*-linux-uclibc*) -+ *i686*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-*-linux-musl*) - use_cpu=$host_cpu - use_toolchain="${use_toolchain:-/usr}" - platform_os="linux" - ;; -- x86_64*-linux-gnu*|x86_64-*-linux-uclibc*) -+ x86_64*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*) - use_cpu=$host_cpu - use_toolchain="${use_toolchain:-/usr}" - platform_cflags="-fPIC -DPIC" --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0010-RssReader-Fix-compiler-warning-comparing-pointer-to-.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0010-RssReader-Fix-compiler-warning-comparing-pointer-to-.patch deleted file mode 100644 index e34a5b71e4..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0010-RssReader-Fix-compiler-warning-comparing-pointer-to-.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 55233024648b5673dbf223586968e71cc4c70711 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 16 Nov 2016 18:49:36 -0800 -Subject: [PATCH 10/10] RssReader: Fix compiler warning comparing pointer to - zero - -Clang finds this warning -RssReader.cpp:272:19: error: ordered comparison between pointer and zero ('TiXmlElement *' and 'int') - while (itemNode > 0) - ~~~~~~~~ ^ ~ -RssReader.cpp:276:22: error: ordered comparison between pointer and zero ('TiXmlNode *' and 'int') - while (childNode > 0) - ~~~~~~~~~ ^ ~ - -Signed-off-by: Khem Raj ---- - xbmc/utils/RssReader.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/xbmc/utils/RssReader.cpp b/xbmc/utils/RssReader.cpp -index 9186f56..2494dc8 100644 ---- a/xbmc/utils/RssReader.cpp -+++ b/xbmc/utils/RssReader.cpp -@@ -269,11 +269,11 @@ void CRssReader::GetNewsItems(TiXmlElement* channelXmlNode, int iFeed) - if (m_tagSet.empty()) - AddTag("title"); - -- while (itemNode > 0) -+ while (itemNode != NULL) - { - TiXmlNode* childNode = itemNode->FirstChild(); - mTagElements.clear(); -- while (childNode > 0) -+ while (childNode != NULL) - { - std::string strName = childNode->ValueStr(); - --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0011-Let-configure-pass-on-unknown-architectures-setting-.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0011-Let-configure-pass-on-unknown-architectures-setting-.patch deleted file mode 100644 index 7ee44f1c4e..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0011-Let-configure-pass-on-unknown-architectures-setting-.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 19a1ffc1450bd3ecfb7419d74c733b2e16bf47f3 Mon Sep 17 00:00:00 2001 -From: Balint Reczey -Date: Wed, 26 Aug 2015 08:14:41 +0200 -Subject: [PATCH 11/12] Let configure pass on unknown architectures setting - sane defaults - -This helps porting Kodi to new architectures while emitting warnings about -entering uncharted territory. ---- - configure.ac | 3 ++- - m4/xbmc_arch.m4 | 6 ++++-- - 2 files changed, 6 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 925466a..8369615 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -658,7 +658,8 @@ case $host in - USE_STATIC_FFMPEG=1 - ;; - *) -- AC_MSG_ERROR(unsupported host ($host)) -+ ARCH=$host_cpu"-"$host_os -+ AC_MSG_WARN([unsupported host ($host), guessing ARCH as $ARCH.]) - esac - AC_SUBST([ARCH]) - -diff --git a/m4/xbmc_arch.m4 b/m4/xbmc_arch.m4 -index ff5dc20..dfb45fd 100644 ---- a/m4/xbmc_arch.m4 -+++ b/m4/xbmc_arch.m4 -@@ -27,7 +27,8 @@ case $build in - AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - ;; - *) -- AC_MSG_ERROR(unsupported native build platform: $build) -+ AC_MSG_WARN([unsupported native build platform: $build]) -+ AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - esac - - -@@ -70,7 +71,8 @@ case $host in - AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -DTARGET_ANDROID") - ;; - *) -- AC_MSG_ERROR(unsupported build target: $host) -+ AC_MSG_WARN([unsupported native build platform: $build]) -+ AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") - esac - - if test "$target_platform" = "target_android" ; then --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0012-Revert-droid-fix-builds-with-AML-disabled.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0012-Revert-droid-fix-builds-with-AML-disabled.patch deleted file mode 100644 index 8d70b3f8f3..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0012-Revert-droid-fix-builds-with-AML-disabled.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 9e88aa086083b80c05b2bf057b92682186c4e6dc Mon Sep 17 00:00:00 2001 -From: Balint Reczey -Date: Thu, 6 Oct 2016 18:12:18 +0200 -Subject: [PATCH 12/12] Revert "[droid] fix builds with AML disabled" - -This reverts commit 4733383b8f1c1dd0b95e9e5358425d8a0b7ba8fc. ---- - xbmc/utils/SystemInfo.cpp | 4 ---- - xbmc/windowing/egl/EGLWrapper.cpp | 16 ++++++---------- - 2 files changed, 6 insertions(+), 14 deletions(-) - -diff --git a/xbmc/utils/SystemInfo.cpp b/xbmc/utils/SystemInfo.cpp -index fcc6733..52e7fa3 100644 ---- a/xbmc/utils/SystemInfo.cpp -+++ b/xbmc/utils/SystemInfo.cpp -@@ -57,10 +57,8 @@ - #include "utils/XMLUtils.h" - #if defined(TARGET_ANDROID) - #include "platform/android/jni/Build.h" --#if defined(HAS_LIBAMCODEC) - #include "utils/AMLUtils.h" - #endif --#endif - - /* Platform identification */ - #if defined(TARGET_DARWIN) -@@ -873,11 +871,9 @@ bool CSysInfo::IsAeroDisabled() - bool CSysInfo::HasHW3DInterlaced() - { - #if defined(TARGET_ANDROID) --#if defined(HAS_LIBAMCODEC) - if (aml_hw3d_present()) - return true; - #endif --#endif - return false; - } - -diff --git a/xbmc/windowing/egl/EGLWrapper.cpp b/xbmc/windowing/egl/EGLWrapper.cpp -index 30f5757..583d43a 100644 ---- a/xbmc/windowing/egl/EGLWrapper.cpp -+++ b/xbmc/windowing/egl/EGLWrapper.cpp -@@ -24,19 +24,15 @@ - #include - #if defined(TARGET_ANDROID) - #include "EGLNativeTypeAndroid.h" --#if defined(HAS_LIBAMCODEC) - #include "EGLNativeTypeAmlAndroid.h" - #endif --#endif - #if defined(TARGET_RASPBERRY_PI) - #include "EGLNativeTypeRaspberryPI.h" - #endif - #if defined(HAS_IMXVPU) - #include "EGLNativeTypeIMX.h" - #endif --#if defined(TARGET_LINUX) && defined(HAS_LIBAMCODEC) - #include "EGLNativeTypeAmlogic.h" --#endif - #include "EGLWrapper.h" - - #define CheckError() m_result = eglGetError(); if(m_result != EGL_SUCCESS) CLog::Log(LOGERROR, "EGL error in %s: %x",__FUNCTION__, m_result); -@@ -91,15 +87,15 @@ bool CEGLWrapper::Initialize(const std::string &implementation) - // Try to create each backend in sequence and go with the first one - // that we know will work - if ( --#if defined(TARGET_ANDROID) && defined(HAS_LIBAMCODEC) -- (nativeGuess = CreateEGLNativeType(implementation)) --#elif defined(TARGET_ANDROID) -- (nativeGuess = CreateEGLNativeType(implementation)) --#elif defined(TARGET_RASPBERRY_PI) -+#if defined(TARGET_ANDROID) -+ (nativeGuess = CreateEGLNativeType(implementation)) || -+ (nativeGuess = CreateEGLNativeType(implementation)) || -+#endif -+#if defined(TARGET_RASPBERRY_PI) - (nativeGuess = CreateEGLNativeType(implementation)) - #elif defined(HAS_IMXVPU) - (nativeGuess = CreateEGLNativeType(implementation)) --#elif defined(TARGET_LINUX) && defined(HAS_LIBAMCODEC) -+#else - (nativeGuess = CreateEGLNativeType(implementation)) - #endif - ) --- -2.10.2 - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0013-FTPParse.cpp-use-std-string.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0013-FTPParse.cpp-use-std-string.patch deleted file mode 100644 index c9c9066449..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0013-FTPParse.cpp-use-std-string.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 5fa10ff6b1b60abee172296d9c1dec8dfc10615c Mon Sep 17 00:00:00 2001 -From: Stefan Saraev -Date: Sun, 7 May 2017 17:30:47 +0300 -Subject: [PATCH] FTPParse.cpp: use std::string - -Fixes build with newer gcc versions. - -Taken from [1] - -Upstream-Status: Backport [2] - -[1] https://git.busybox.net/buildroot/plain/package/kodi/0003-FTPParse.cpp-use-std-string.patch?id=e2f03a6bde19766a1ac047c5ccfb049b5c4f61ca -[2] https://github.com/xbmc/xbmc/commit/5fa10ff6b1b60abee172296d9c1dec8dfc10615c - -Signed-off-by: Bernd Kuhls ---- - xbmc/filesystem/FTPParse.cpp | 44 ++++++++++++++++++++++---------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -diff --git a/xbmc/filesystem/FTPParse.cpp b/xbmc/filesystem/FTPParse.cpp -index cfcc7c64ed..b0f676ae1a 100644 ---- a/xbmc/filesystem/FTPParse.cpp -+++ b/xbmc/filesystem/FTPParse.cpp -@@ -34,7 +34,7 @@ CFTPParse::CFTPParse() - m_time = 0; - } - --string CFTPParse::getName() -+std::string CFTPParse::getName() - { - return m_name; - } -@@ -59,16 +59,16 @@ time_t CFTPParse::getTime() - return m_time; - } - --void CFTPParse::setTime(string str) -+void CFTPParse::setTime(std::string str) - { - /* Variables used to capture patterns via the regexes */ -- string month; -- string day; -- string year; -- string hour; -- string minute; -- string second; -- string am_or_pm; -+ std::string month; -+ std::string day; -+ std::string year; -+ std::string hour; -+ std::string minute; -+ std::string second; -+ std::string am_or_pm; - - /* time struct used to set the time_t variable */ - struct tm time_struct = {}; -@@ -338,21 +338,21 @@ int CFTPParse::getDayOfWeek(int month, int date, int year) - return day_of_week; - } - --int CFTPParse::FTPParse(string str) -+int CFTPParse::FTPParse(std::string str) - { - /* Various variable to capture patterns via the regexes */ -- string permissions; -- string link_count; -- string owner; -- string group; -- string size; -- string date; -- string name; -- string type; -- string stuff; -- string facts; -- string version; -- string file_id; -+ std::string permissions; -+ std::string link_count; -+ std::string owner; -+ std::string group; -+ std::string size; -+ std::string date; -+ std::string name; -+ std::string type; -+ std::string stuff; -+ std::string facts; -+ std::string version; -+ std::string file_id; - - /* Regex for standard Unix listing formats */ - pcrecpp::RE unix_re("^([-bcdlps])" // type --- -2.11.0 - - diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service b/meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service deleted file mode 100644 index 29d0394e42..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Kodi media thing - -[Service] -User=root -Type=simple -SuccessExitStatus=0 1 -IOSchedulingClass=realtime -IOSchedulingPriority=0 - -ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- /usr/bin/X :0 - -[Install] -WantedBy=basic.target diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb deleted file mode 100644 index 295618914b..0000000000 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb +++ /dev/null @@ -1,216 +0,0 @@ -SUMMARY = "Kodi Media Center" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=930e2a5f63425d8dd72dbd7391c43c46" - -FILESPATH =. "${FILE_DIRNAME}/kodi-17:" - -DEPENDS = " \ - cmake-native \ - curl-native \ - gperf-native \ - jsonschemabuilder-native \ - nasm-native \ - swig-native \ - unzip-native \ - yasm-native \ - zip-native \ - avahi \ - boost \ - bzip2 \ - crossguid \ - curl \ - dcadec \ - enca \ - expat \ - faad2 \ - ffmpeg \ - fontconfig \ - fribidi \ - giflib \ - jasper \ - libass \ - libcdio \ - libcec \ - libmad \ - libmicrohttpd \ - libmms \ - libmms \ - libmodplug \ - libpcre \ - libplist \ - libsamplerate0 \ - libsdl-image \ - libsdl-mixer \ - libsquish \ - libssh \ - libtinyxml \ - libusb1 \ - libxslt \ - lzo \ - mpeg2dec \ - python \ - sqlite3 \ - taglib \ - virtual/egl \ - virtual/libsdl \ - wavpack \ - yajl \ - zlib \ - ${@enable_glew(bb, d)} \ -" - -PROVIDES = "xbmc" - -SRCREV = "6abeebd5ba371547c8f04272296433f5e4e28e86" -PV = "17.3+gitr${SRCPV}" -ADDONSPV = "17.1" -SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Krypton \ - https://repo.voidlinux.eu/distfiles/${BPN}-${ADDONSPV}-generated-addons.tar.xz;name=addons;unpack=0 \ - file://0003-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch \ - file://0004-handle-SIGTERM.patch \ - file://0005-add-support-to-read-frequency-output-if-using-intel-.patch \ - file://0006-Disable-DVD-support.patch \ - file://0007-Always-compile-libcpluff-as-PIC.patch \ - file://0008-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch \ - file://0009-build-Add-support-for-musl-triplets.patch \ - file://0010-RssReader-Fix-compiler-warning-comparing-pointer-to-.patch \ - file://0011-Let-configure-pass-on-unknown-architectures-setting-.patch \ - file://0012-Revert-droid-fix-builds-with-AML-disabled.patch \ - file://0001-change-order-of-detecting-libegl-and-libgles2.patch \ - file://0013-FTPParse.cpp-use-std-string.patch \ -" - -SRC_URI_append_libc-musl = " \ - file://0001-Fix-file_Emu-on-musl.patch \ - file://0002-Remove-FILEWRAP.patch \ -" -SRC_URI[addons.md5sum] = "719614fa764011a18665d08af5c8c92f" -SRC_URI[addons.sha256sum] = "350da57408c27473eaf40e7f544bc94841bf101dc4346085260c5c4af0adac97" - -inherit autotools-brokensep gettext pythonnative distro_features_check - -REQUIRED_DISTRO_FEATURES += "opengl" - -S = "${WORKDIR}/git" - -# breaks compilation -ASNEEDED = "" - -ACCEL ?= "" -ACCEL_x86 = "vaapi vdpau" -ACCEL_x86-64 = "vaapi vdpau" - -PACKAGECONFIG ??= "${ACCEL} opengl \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'openglesv2', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'samba', '', d)} \ -" - -PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles," -PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl,virtual/egl" -PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" -PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau" -PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5" -PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxinerama libxmu libxrandr libxtst" -PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" -PACKAGECONFIG[lcms] = "--enable-lcms2,--disable-lcms2,lcms" -PACKAGECONFIG[samba] = "--enable-samba,--disable-samba,samba" - -EXTRA_OECONF = " \ - --disable-debug \ - --disable-libcap \ - --disable-ccache \ - --disable-mid \ - --enable-libusb \ - --enable-alsa \ - --enable-airplay \ - --disable-optical-drive \ - --with-ffmpeg=shared \ - --enable-texturepacker=no \ - ac_cv_path_JAVA_EXE=/bin/true \ -" - -FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O3 -ffast-math" -FULL_OPTIMIZATION_armv7ve = "-fexpensive-optimizations -fomit-frame-pointer -O3 -ffast-math" -BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" - -LDFLAGS_append_mips = " -latomic" -LDFLAGS_append_mipsel = " -latomic" -LDFLAGS_append_powerpc = " -latomic" -LDFLAGS_append_arm = " -latomic" - -EXTRA_OECONF_append = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" - -# for python modules -export HOST_SYS -export BUILD_SYS -export STAGING_LIBDIR -export STAGING_INCDIR -export PYTHON_DIR - -def enable_glew(bb, d): - if bb.utils.contains('PACKAGECONFIG', 'x11', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'opengl', True, False, d): - return "glew" - return "" - -do_configure() { - tar xf ${WORKDIR}/${BPN}-${ADDONSPV}-generated-addons.tar.xz -C ${S}/ - - ( for i in $(find ${S} -name configure.ac -or -name configure.in|grep -v ".pc") ; do - cd $(dirname $i) && gnu-configize --force || true - done ) - ( for f in ${S}/xbmc/interfaces/python/generated/*.cpp; do - touch `echo $f|sed -e 's/.cpp$/.xml/g'` - done ) - - BOOTSTRAP_STANDALONE=1 make -f bootstrap.mk JSON_BUILDER="${STAGING_BINDIR_NATIVE}/JsonSchemaBuilder" - BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true -f codegenerator.mk JSON_BUILDER="${STAGING_BINDIR_NATIVE}/JsonSchemaBuilder" - oe_runconf -} - -do_compile_prepend() { - for i in $(find . -name "Makefile") ; do - sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i - done - - for i in $(find . -name "*.mak*" -o -name "Makefile") ; do - sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' -e 's:-rpath \$(libdir):-rpath ${libdir}:g' $i - done -} - -INSANE_SKIP_${PN} = "rpaths" - -FILES_${PN} += "${datadir}/xsessions ${datadir}/icons ${libdir}/xbmc ${datadir}/xbmc" -FILES_${PN}-dbg += "${libdir}/kodi/.debug ${libdir}/kodi/*/.debug ${libdir}/kodi/*/*/.debug ${libdir}/kodi/*/*/*/.debug" - -# kodi uses some kind of dlopen() method for libcec so we need to add it manually -# OpenGL builds need glxinfo, that's in mesa-demos -RRECOMMENDS_${PN}_append = " \ - libcec \ - python \ - python-ctypes \ - python-lang \ - python-re \ - python-netclient \ - python-html \ - python-difflib \ - python-json \ - python-zlib \ - python-shell \ - python-sqlite3 \ - python-compression \ - libcurl \ - ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'xrandr xdpyinfo', '', d)} \ -" -RRECOMMENDS_${PN}_append_libc-glibc = " \ - glibc-charmap-ibm850 \ - glibc-gconv-ibm850 \ - glibc-gconv-unicode \ - glibc-gconv-utf-32 \ - glibc-charmap-utf-8 \ - glibc-localedata-en-us \ -" - -RPROVIDES_${PN} += "xbmc" - -TOOLCHAIN = "gcc" From patchwork Tue Aug 21 07:03:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144687 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4909031ljj; Tue, 21 Aug 2018 00:03:45 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwZfI8heMKGOn7n+LfOR+caOgF5aFcxVTbKlc+kJhZhdHZJYBa9sNj29GkvKsMPOAzGvjlt X-Received: by 2002:a63:6054:: with SMTP id u81-v6mr20087243pgb.433.1534835025859; Tue, 21 Aug 2018 00:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835025; cv=none; d=google.com; s=arc-20160816; b=Rg4h3ud30PYn5azyh5IFuM4LZ0WSMdSthkmrzG6tNvOm0Jk8Enk9itdBbbRHpopaCB WI7LsXvNBrmh7U3IRsPONyxmvhSbLeN5HQ5YEV0U4k976v7v2+L+lH26EcPh0CQ2tTwg WHn46aul+YgXaMXv6QwXo71m0VSG/XbiQIzHDNgqjKfEMa29IPyWqSCrTw38L+cHqJY0 mmwniQLEyo2Grb/pBDLjRJFLXnoY8L+d4UG+xWNnEW2UC4y4HvGrOcuM1HGsebGngWZA x+a925yVIMh39DZcp4IiFq8EGngVkpvxeGFEqIoy+wTfERyZaMseRGt0HZJCP5Nhkv12 /CNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=6WbZEfjfa02t0+Qc+w43kdua6weTaPj5AOHFlk10oYU=; b=oLOIvgYcH90YtPQ5S8MDc3QmuUPAWCRnttyWx+J4XA1Q6uRYvKJY695DxSjs06fr9w Jf0lBLYBHTQem+GZoVFnB2Gmaie5otnKUBKkLvXaiIljFcco24x6mtIWpKun8jRPcbsr 6/LDG4bueigDbPMmNwy8tdFsl1Oqf/qW/No5V4fngtHimHADiivtIyOD62Ah6c6RJH7K /5Mog5F/WHhEJvvLi5ES8nhHO4oyIzC2ICTAWasjuHmQVPvXQ+9C9sin/vhVX8DYSnQO M13Ce+lqqdldAamaKQrkSOZFw0jMNztuHznok4Rbm5A1xurnb5z9M+3QQBg0WwaNsV2F X2LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UEZriGOp; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id q16-v6si12481948pll.1.2018.08.21.00.03.45; Tue, 21 Aug 2018 00:03:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UEZriGOp; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 72D0479079; Tue, 21 Aug 2018 07:03:36 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mail.openembedded.org (Postfix) with ESMTP id D7C1B79017 for ; Tue, 21 Aug 2018 07:03:28 +0000 (UTC) Received: by mail-pg1-f181.google.com with SMTP id k8-v6so3974452pgq.5 for ; Tue, 21 Aug 2018 00:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yPvoYWh7X/tX87wBjuRHgLYkjh+PImin+lISBtTNkUU=; b=UEZriGOpUtEBl24nd/0idHh+VLkTTZ/ZT6XNbbEIorscwkLogbD27d4NEUeetZ5Scj Mkla+hBwsgF3WYt28tL5dfcUHldhb7VCqNtxLALj4/Ne6KvXpO2uonN7elSDV8Vj04ph ZgReek7zT/QQvXmUZAfDl0Mj6G3QLJzUPs2TKv24SilonzEpOll3cC48Rl/FZEE1kMzN fuhqD7Kn/chi6E06+fwdHCNoWGLdKvv5qt5mPDnVduSHCZbvM9m79EliF5Xm0mLa3efD FAOThVi35+a5v4cjIQR34Dell5w4Q0BrPwfq7Yvi4a+PM5tj5X78P0YcY9cbZeHfUNRn jC9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yPvoYWh7X/tX87wBjuRHgLYkjh+PImin+lISBtTNkUU=; b=H5gRGgE6XzAt4RGgpLpBnBpAIa5hz6RbfVr5wNdkjAYv28ug00jdqHQHpHY2Jeo8b/ QNbtpBnXAzTRLeMZeTuUMRcG0UgyxGk1ZWmk3R2hqIHfkw4+KGRJ3X5pYHnRlqCfWr3U mntOQEKpID72yTyFtOsnE6P8ulH1oM2LiUTnwDL8KipkkyXJDsf2VuMpEPuoJMwfKt5W sTDIhl8telZ6WbSI2T6A8tRHMLUt+gztLI8N7Y4qhie3VC/ENft0fnMo+eBzJv7wDXz8 pwGmokufDzr6WtruEcrPCERyZjhLRO6IQefDtIMu4Eu3cl7wNEMnjjzz7E3X7CCJPwSQ vaoQ== X-Gm-Message-State: AOUpUlGFWTYTGHfEIVZDhuZ94vAILk8yOXDh79aMeu7VcKg+lcNDnh5n RMwSiVRDb0YVmBMhe1UgAXLbQ1TU X-Received: by 2002:a63:ae02:: with SMTP id q2-v6mr46362496pgf.189.1534835009575; Tue, 21 Aug 2018 00:03:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:18 -0700 Message-Id: <20180821070319.36295-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821070319.36295-1-raj.khem@gmail.com> References: <20180821070319.36295-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/5] alsa-oss: Upgrade to 1.1.6 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org License-Update: FSF Address updated in COPYING file Signed-off-by: Khem Raj --- .../alsa/alsa-oss_1.0.28.bb | 20 --------- .../recipes-multimedia/alsa/alsa-oss_1.1.6.bb | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.28.bb create mode 100644 meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.28.bb b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.28.bb deleted file mode 100644 index 0c4a9f5456..0000000000 --- a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.28.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Alsa OSS Compatibility Package" -SECTION = "libs/multimedia" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -DEPENDS = "alsa-lib" - -SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \ - file://libio.patch \ -" -SRC_URI[md5sum] = "91f57e8cee1ad4cc956caa8b62ac5d43" -SRC_URI[sha256sum] = "3ae62caa88a0bc7b30ed836dcb794dc6ef4d3650439e2260db54cace7d5c6ad5" - -inherit autotools - -LEAD_SONAME = "libaoss.so.0" - -do_configure_prepend () { - touch NEWS README AUTHORS ChangeLog - sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in -} diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb new file mode 100644 index 0000000000..efc56fe8c4 --- /dev/null +++ b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb @@ -0,0 +1,43 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- COPYING +# +++ COPYING +# @@ -2,7 +2,8 @@ +# Version 2, June 1991 +# +# Copyright (C) 1989, 1991 Free Software Foundation, Inc. +# - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# + +# Everyone is permitted to copy and distribute verbatim copies +# of this license document, but changing it is not allowed. +# +# +# + +SUMMARY = "Alsa OSS Compatibility Package" +SECTION = "libs/multimedia" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ed055b4eff93da784176a01582e6ec1a" +DEPENDS = "alsa-lib" + +SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \ + file://libio.patch \ +" +SRC_URI[md5sum] = "fc845cafc4444193510ab1865c7350b8" +SRC_URI[sha256sum] = "c3d3f743e61f05ff95c5cba3b06bc9c91ff86c37495f1d19dab844e6b90845ea" + +inherit autotools + +LEAD_SONAME = "libaoss.so.0" + +do_configure_prepend () { + touch NEWS README AUTHORS ChangeLog + sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in +} From patchwork Tue Aug 21 07:03:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144689 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4909274ljj; Tue, 21 Aug 2018 00:04:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy6WD8fZxVb5TFFlgXwXKbkR5kfpUHEnpJo7/qexYaJ4EuYjJNyqvgz5Rb3JR1hFkgbO/8g X-Received: by 2002:a62:8acd:: with SMTP id o74-v6mr51793181pfk.12.1534835042723; Tue, 21 Aug 2018 00:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835042; cv=none; d=google.com; s=arc-20160816; b=L9fxE9ZKy20rNTqx/5WbijO6RJRR8r4t+BCsiyL6EIqR/BeZoHCcHdxVHWGgTP07kH L8Bm4YH0Yxlo/GVFkzWkNx4Hg2j70Y80nmI8wTEwDJWJArBgKQ9kISxJkC6gCcGimKNg 4F+e2uTJqeLRz1fVXC7bx30Xxgt19x5YCHIOTZ5dQnPcnxI33greS06CN9SfqLLJ2lO9 ol4KUDkodRHvhw5Jl4f1k1PkG3M+AvTHFxWeOw6u8KUeTEuUbOHuMTCw9ti10kHRn0OQ 7KEWXfyM6cyQIlR9P/HngrQ7k732I1kT34gzG6IvVpd9uHywi+sopW97DVWY1JmNDmMw ypog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ryk+eHIoplsGjQU6U160uIRc+XELpjzZPvIXVuNcSFY=; b=xoTHJtn8bZT4dSxiUaBJdfzbn0F/ebezONdlEagl8SaAhAQT0FomyGx5bLns6mm4bO qilzZXYVpUXbgj3ssX4bgFz4ZsxAIkyUd0CerNZfnOX6cN2w6QXZt2nL6lzsesW1rP+r R0jH2RKPvGbgdvKl4v4euiwXls6VwwTvcIzSvCo1I6Gj6jVBn6q51k4HEsSQ37YoTtGM Qa/aTIoDq5Pwq3UEniWx5cHfdDyrNb67d+A6Pg2PanDr6VMp0GEiPFiv7lLz4hA0+xgJ kyN4rMeG3CDqhreACS1+rx3HxkSy5X07000lMDzXXWu9KSGiiqd4UbCreQ0oTvbqvHtQ bedA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=S2P7Z2WC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a1-v6si12931932pfd.273.2018.08.21.00.04.02; Tue, 21 Aug 2018 00:04:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=S2P7Z2WC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B15F9790B1; Tue, 21 Aug 2018 07:03:38 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 40DF47900B for ; Tue, 21 Aug 2018 07:03:30 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id k19-v6so8047280pfi.1 for ; Tue, 21 Aug 2018 00:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bOeRWG5tkM+nT4CQW/crkqEzf7OCq2FIzbs0TV7QfAo=; b=S2P7Z2WCGEEH3h9uNjBKE23w1uV79FSe74S9fAUsaa1z50Rbf23xehmthhcN1yuHrs f71oQUKiHaNOrsFTmgmF2HE1LwvgRw0IeWXq5lRLTuwhahfeokkyFAhNgsXcKs3JvB1D 7BBoRESpGJx1MrJr+KFX+/OWPPpJldphpBx33qi/1Y4W54tWVHNsC+cG4n3a9MJIt0yK VEdPiWqFgy/dpu2RLpt33ZBaZCpS338TW79lwGh+MnSYisykNqyKOJoLRAMK1OPxFmbL nJNYS9UUFS2+EfowBai+SzScAxj1q1ycT4ufy0E2eroZnVyDNIUn3d8s/2K3TKTTQ17K aLfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bOeRWG5tkM+nT4CQW/crkqEzf7OCq2FIzbs0TV7QfAo=; b=Nscez5ApjWc0XDbUn8qJgG2z/vkNxFqRLb2IOe3FROBEkCKuUaunfa1IYUEi8HKQaN J6xRKdgs+c7PcDyGUSiPkVGP9pl48Yg13zvJk0n4YpKb0zaI2PcRM6GMn/lx4ZGHC/q7 urn/twjEKLhrHH2NJqfVVXFcPy+X3UpK5wdzNTcx2rT4Zy0m6UO+PRc9j84I240CVUNo J2XDnuP3iXenJI7ZzaEczWdjMEBJy+MxSUxnW+rJq867aJEBllIawk8QhuJROBg38QZr h51JcNQJOlSbfcbKpBXxUaSBLaIYyXZnJcPUQ4kZSYbUvuyZrL5xWZr8qXAvJWNSBtAq 6uCw== X-Gm-Message-State: AOUpUlEfMsP4/SMwlyfTbuk7ySOAnPrh0hHgafTxHsBIulIWKwGOFRMU TRWf3qN/oiPZwUDDioupAfb0Ta90 X-Received: by 2002:a65:62cd:: with SMTP id m13-v6mr46214477pgv.280.1534835010936; Tue, 21 Aug 2018 00:03:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:19 -0700 Message-Id: <20180821070319.36295-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821070319.36295-1-raj.khem@gmail.com> References: <20180821070319.36295-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][meta-networking][PATCH 5/5] recipes: Exclude non-buildable recipes from world for musl build X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org These recipes need to be fixed for musl, until they are needed on musl lets remove them from world builds Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 3 +++ meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb | 2 ++ meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb | 3 +++ .../recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb | 3 +++ .../recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 3 +++ meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb | 2 ++ meta-oe/recipes-kernel/crash/crash_7.2.3.bb | 3 +++ meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb | 3 +++ meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb | 3 +++ meta-oe/recipes-test/pm-qa/pm-qa_git.bb | 3 +++ 10 files changed, 28 insertions(+) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb b/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb index 0c97960f8b..4fe6893fac 100644 --- a/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +++ b/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb @@ -38,3 +38,6 @@ DEPENDS = "bison-native" inherit autotools-brokensep EXTRA_OEMAKE = "BIN_GROUP=root MAN_GROUP=root RDIST_MODE=755 RDISTD_MODE=755 MAN_MODE=644" + +# http://errors.yoctoproject.org/Errors/Details/186972/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb index effe956999..c534c6206b 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb +++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb @@ -70,3 +70,5 @@ INSANE_SKIP_${PN} = "dev-so" RDEPENDS_${PN} += "bash python" +# http://errors.yoctoproject.org/Errors/Details/186970/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb index f08256d31e..03dd96338a 100644 --- a/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb @@ -100,3 +100,6 @@ RPROVIDES_${PN}-server = "rshd" RDEPENDS_${PN}-server = "xinetd" RDEPENDS_${PN}-server += "tcp-wrappers" + +# http://errors.yoctoproject.org/Errors/Details/186963/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb index 113f89b7f5..9b8af27f88 100644 --- a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb @@ -73,3 +73,6 @@ FILES_${PN}-dbg = "${prefix}/src/debug \ ${bindir}/.debug ${sbindir}/.debug" RDEPENDS_${PN}-server = "tcp-wrappers xinetd rpcbind" + +# http://errors.yoctoproject.org/Errors/Details/186962/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb index 9fe3d6e51c..2fadf0334e 100644 --- a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb @@ -59,3 +59,6 @@ ALTERNATIVE_LINK_NAME[telnet] = "${bindir}/telnet" SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36" SRC_URI[sha256sum] = "9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00" FILES_${PN} += "${sbindir}/in.* ${libdir}/* ${sysconfdir}/xinetd.d/*" + +# http://errors.yoctoproject.org/Errors/Details/186954/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb index 3a71fb9790..5154208175 100644 --- a/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb +++ b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb @@ -30,3 +30,5 @@ do_configure() { do_install() { oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install } +# http://errors.yoctoproject.org/Errors/Details/186959/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-kernel/crash/crash_7.2.3.bb b/meta-oe/recipes-kernel/crash/crash_7.2.3.bb index 66d740af93..45a26545d9 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.2.3.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.2.3.bb @@ -115,3 +115,6 @@ RDEPENDS_${PN}_class-cross = "" # Causes gcc to get stuck and eat all available memory in qemuarm builds # jenkins 15161 100 12.5 10389596 10321284 ? R 11:40 28:17 /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I ./../opcodes/.. -I ./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I ../libdecnumber -I ./../libdecnumber -I ./gnulib/import -I build-gnulib/import -isysroot /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD eval.d -MF .deps/eval.Tpo -MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" -D CRASH_MERGE -D HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c -march=armv5te -mthumb -mthumb-interwork -mtls-dialect=gnu -auxbase-strip eval.o -g -O2 -Wall -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -feliminate-unused-debug-types -o - ARM_INSTRUCTION_SET = "arm" + +# http://errors.yoctoproject.org/Errors/Details/186964/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb index 27348f750c..bae5cf4f9f 100644 --- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb +++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb @@ -42,3 +42,6 @@ do_install_append() { sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${systemd_system_unitdir}/minicoredumper.service } + +# http://errors.yoctoproject.org/Errors/Details/186966/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb index efc56fe8c4..6c2176f79c 100644 --- a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb +++ b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb @@ -41,3 +41,6 @@ do_configure_prepend () { touch NEWS README AUTHORS ChangeLog sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in } + +# http://errors.yoctoproject.org/Errors/Details/186961/ +EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb index 1ee6573bdb..09290909d6 100644 --- a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb +++ b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb @@ -63,3 +63,6 @@ do_install () { done } RDEPENDS_${PN} +="bash" + +# http://errors.yoctoproject.org/Errors/Details/186956/ +EXCLUDE_FROM_WORLD_libc-musl = "1"