From patchwork Mon Jul 11 08:33:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 10044 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61FE7C43334 for ; Mon, 11 Jul 2022 08:33:29 +0000 (UTC) Received: from first.geanix.com (first.geanix.com [116.203.34.67]) by mx.groups.io with SMTP id smtpd.web12.26087.1657528404967606460 for ; Mon, 11 Jul 2022 01:33:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@geanix.com header.s=first header.b=Qj29a4pW; spf=pass (domain: geanix.com, ip: 116.203.34.67, mailfrom: sean@geanix.com) Received: from zen.. (unknown [185.17.218.86]) by first.geanix.com (Postfix) with ESMTPSA id 09EF9E6BB7; Mon, 11 Jul 2022 08:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1657528402; bh=tADF9lxpFCyNhEhfAQG70Oa0lJWZxibz1GWCxTYIauc=; h=From:To:Cc:Subject:Date; b=Qj29a4pWal1UOClKtG/BjV5/7qZnYCTZTXm9v6PDt/U74NqO+LxUUp63BqRTvGn3v lGneTUdyJfyXSNMJKT7+p844YlLN+DXK5kfdssEtm8vkN6KIY8E10NnfW0IB+hayNt 6m/ePMY5SBihAz9vciwirzGCimU26JMuqHaQMRZuaqeKvxUY3yF8ndkbs1lHlotvxi Xo0jfEkAdA8TsSDTpiRSZi3kbr3COFUS+jeiar5cbjjQozw6PLj2cGTd2P5uQ4qwGw 0rDSpTTPBSS2GaQf//7NMOaY1rOqiO+sNvDv6+F+DyA69ljqupLb9TTaFcLZ8202Ev fKxFdv+4Pkl3w== From: Sean Nyekjaer To: openembedded-core@lists.openembedded.org Cc: Sean Nyekjaer Subject: [OE-core] [PATCH 1/2] zlib: split src_uri into inc file Date: Mon, 11 Jul 2022 10:33:08 +0200 Message-Id: <20220711083309.1749253-1-sean@geanix.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 11 Jul 2022 08:33:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167861 Signed-off-by: Sean Nyekjaer --- meta/recipes-core/zlib/zlib.inc | 4 ++++ meta/recipes-core/zlib/zlib_1.2.12.bb | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 meta/recipes-core/zlib/zlib.inc diff --git a/meta/recipes-core/zlib/zlib.inc b/meta/recipes-core/zlib/zlib.inc new file mode 100644 index 0000000000..2bcc32071a --- /dev/null +++ b/meta/recipes-core/zlib/zlib.inc @@ -0,0 +1,4 @@ +SRC_URI = "https://zlib.net/${BP}.tar.xz" +UPSTREAM_CHECK_URI = "http://zlib.net/" + +SRC_URI[sha256sum] = "7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18" diff --git a/meta/recipes-core/zlib/zlib_1.2.12.bb b/meta/recipes-core/zlib/zlib_1.2.12.bb index e921703137..ba986d8cf2 100644 --- a/meta/recipes-core/zlib/zlib_1.2.12.bb +++ b/meta/recipes-core/zlib/zlib_1.2.12.bb @@ -6,16 +6,16 @@ SECTION = "libs" LICENSE = "Zlib" LIC_FILES_CHKSUM = "file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7aa6c0" -SRC_URI = "https://zlib.net/${BP}.tar.xz \ - file://cc.patch \ - file://ldflags-tests.patch \ - file://0001-configure-Pass-LDFLAGS-to-link-tests.patch \ - file://run-ptest \ - file://0001-Correct-incorrect-inputs-provided-to-the-CRC-functio.patch \ - " -UPSTREAM_CHECK_URI = "http://zlib.net/" +include zlib.inc + +SRC_URI += "file://cc.patch \ + file://ldflags-tests.patch \ + file://0001-configure-Pass-LDFLAGS-to-link-tests.patch \ + file://run-ptest \ + file://0001-Correct-incorrect-inputs-provided-to-the-CRC-functio.patch \ +" -SRC_URI[sha256sum] = "7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18" +UPSTREAM_CHECK_URI = "http://zlib.net/" CFLAGS += "-D_REENTRANT" From patchwork Mon Jul 11 08:33:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 10043 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6201DCCA47B for ; Mon, 11 Jul 2022 08:33:29 +0000 (UTC) Received: from first.geanix.com (first.geanix.com [116.203.34.67]) by mx.groups.io with SMTP id smtpd.web11.26196.1657528406540034823 for ; Mon, 11 Jul 2022 01:33:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@geanix.com header.s=first header.b=NoizP80y; spf=pass (domain: geanix.com, ip: 116.203.34.67, mailfrom: sean@geanix.com) Received: from zen.. (unknown [185.17.218.86]) by first.geanix.com (Postfix) with ESMTPSA id 6394AE786B; Mon, 11 Jul 2022 08:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1657528403; bh=QSvv3DBjMdFREaC39Os0KFwAw8Ah7/+rH+Ookk2tD9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NoizP80yCKtabmnCUunCclWEMKpKlvyWonpG5qTh35vb0NcIOxv5LemZA6EBL7lX2 YsS2h1xoq9f5gxD1LtetXDIYNFSvGOOhVdTFnEKeXPApKxsZ+JNhMIfOTJRuQrtIJT 1PeINVeRYZ44HV9hNodzG28rnvNNDSBYwXUhEnEgXDOCk0JXvRn59LqkkNIYiF2kbS gid9itTnDfOC57U44qOyMO6Y5zdhwpD2D0+JY0eu4PUSIDofGu95uqiFK7T3IUez4r jkaEtXr6awAKXBvKQkxj5W8sMD7BabHGDBfrvmtdC09jhCp03D41TVJbAasf81/fMZ 4/ENBaLXbKDWw== From: Sean Nyekjaer To: openembedded-core@lists.openembedded.org Cc: Sean Nyekjaer Subject: [OE-core] [PATCH 2/2] zlib: minizip: add recipe Date: Mon, 11 Jul 2022 10:33:09 +0200 Message-Id: <20220711083309.1749253-2-sean@geanix.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220711083309.1749253-1-sean@geanix.com> References: <20220711083309.1749253-1-sean@geanix.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 11 Jul 2022 08:33:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167862 Signed-off-by: Sean Nyekjaer --- meta/recipes-core/zlib/minizip_1.2.12.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-core/zlib/minizip_1.2.12.bb diff --git a/meta/recipes-core/zlib/minizip_1.2.12.bb b/meta/recipes-core/zlib/minizip_1.2.12.bb new file mode 100644 index 0000000000..548bb8c62b --- /dev/null +++ b/meta/recipes-core/zlib/minizip_1.2.12.bb @@ -0,0 +1,15 @@ +SUMMARY = "Minimal zip library using deflate from zlib" +HOMEPAGE = "http://zlib.net/" +SECTION = "libs" +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://MiniZip64_info.txt;beginline=53;endline=73;md5=02090b3a3511ed8a910b77dae6906cea" + +include zlib.inc + +inherit autotools + +DEPENDS = "zlib" + +S = "${WORKDIR}/zlib-${PV}/contrib/minizip" + +BBCLASSEXTEND = "native nativesdk"