From patchwork Wed Jun 1 12:25:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8699 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 000E1C433EF for ; Wed, 1 Jun 2022 12:26:25 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web12.6753.1654086381130564077 for ; Wed, 01 Jun 2022 05:26:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LO01Y6+F; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so6084338pju.1 for ; Wed, 01 Jun 2022 05:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=b2xXVtpx0FN6/tl2mQRk9x2zuy81GdHskCIjOaVhYXo=; b=LO01Y6+FqJbjQNLPwB6Mlh+D4dwSltPkI/SPaCl4ETGZJLEVf68GNT1Ipm7I+e42Zb zPS7fBgwwMwZCqH1kEVXavrG9NuYenK9QuoVYJzqOEYw0pOdpf2EkknFi5EUdOyK/rOm ioMsq7t7/yV6rhcCPPqjEzW3JJWKUquJh/6+Ldt2ejwPo4/oGEdUSYEKgfFoqXnAqlUm edSPYXXtLOmmJoh07o0YhPMZS0CWcCx1nxqzUYR9BKeCZCahsUlfIWkmIps+QM5WpnUb +M2FV1L47L/LOoYTzitcWuDBNBojwcshcHFt7qy12njBf9bWQNU3LQ54OSaL7ExYLqet va3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=b2xXVtpx0FN6/tl2mQRk9x2zuy81GdHskCIjOaVhYXo=; b=fM2BSA+4saTlAJU57/ORmvoLbfzTxYxsOofNjEeRAo7zW7Xbw7sQAwqybVdNVycnA/ kgHMdbhYcY9cMXGqRWNIJTsVuqjRUz4HjQ/coFKebeVPP4UwHAdM8xA44MV+g/fhZwlq H3RIm5ePICLNzisOH/NCFKuaBsWIMHUNrv71gGnuYHn7jQTjn+Te4aKhfsfkYB+4rnqr h4H+CwtugGOm/RvaTbyoGE+BBuhSAWoOzGoNzgZKriGss/f85B+abXwbKV1ppWjKGeL/ Wzwd0edKHbeQ2FAHX6LZaPahcrJMrlHkvhqQf38hNUae+y7KGi3VYYJz4NLi9GTnH2Qg nWHg== X-Gm-Message-State: AOAM5337mnyPd2BLGoOvmrczIA5qJ9f4Sl4NAFgLsBCLykkOZt54h/O5 /LK7/yyXy5XpqKD4Zm686i9ZC2jUDe8QIg== X-Google-Smtp-Source: ABdhPJy0/JnpkR+vo12FRdUNCckBgEKCHM7P8/7RO+8H+5xppxCKvKt1yYx0zGpqOdSQb3Bqta+ZIw== X-Received: by 2002:a17:90b:1211:b0:1e2:cb44:c68 with SMTP id gl17-20020a17090b121100b001e2cb440c68mr20876760pjb.146.1654086380186; Wed, 01 Jun 2022 05:26:20 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:19 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Leon Anavi , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 1/9] python3-pillow: Upgrade 6.2.1 -> 7.2.0 Date: Wed, 1 Jun 2022 17:55:19 +0530 Message-Id: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 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 ; Wed, 01 Jun 2022 12:26:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97359 From: Leon Anavi Upgrade to release 7.2.0: - Do not convert I;16 images when showing PNGs - Fixed ICNS file pointer saving - Fixed loading non-RGBA mode APNGs with dispose background - Deprecated _showxv - Deprecate Image.show(command="...") - Updated JPEG magic number - Change STRIPBYTECOUNTS to LONG if necessary when saving - Write JFIF header when saving JPEG - Replaced tiff_jpeg with jpeg compression when saving TIFF images - Writing TIFF tags: improved BYTE, added UNDEFINED - Consider transparency when pasting text on an RGBA image - Added method argument to single frame WebP saving - Use ImageFileDirectory_v2 in Image.Exif - Corrected reading EXIF metadata without prefix - Fixed drawing a jointed line with a sequence of numeric values - Added support for 1-D NumPy arrays - Parse orientation from XMP tags - Speed up text layout by not rendering glyphs - Fixed ZeroDivisionError in Image.thumbnail - Replaced TiffImagePlugin DEBUG with logging - Fix repeatedly loading .gbr - JPEG: Truncate icclist instead of setting to None - Fixes default offset for Exif - Fixed bug when unpickling TIFF images - Fix pickling WebP - Replace IOError and WindowsError aliases with OSError License-Update: Word wrap and updated copyright year. Conflicts: meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb Conflicts due to extra parameter protocol=https in SRC_URI Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj (cherry picked from commit 995fc86b298d5b09fdd6288b9e9f4211feea3b18) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../0001-explicitly-set-compile-options.patch | 19 +++++++++++-------- ...illow_6.2.1.bb => python3-pillow_7.2.0.bb} | 6 +++--- 2 files changed, 14 insertions(+), 11 deletions(-) rename meta-python/recipes-devtools/python/{python3-pillow_6.2.1.bb => python3-pillow_7.2.0.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch index 35aee42145..005fea5c66 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch +++ b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch @@ -1,6 +1,6 @@ -From 862a981ce462cd83a99e3db9faeeda1f8c64983f Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Mon, 18 Mar 2019 23:23:55 -0400 +From 27bfa4028453dc79a72569823e97da8fd1994ffc Mon Sep 17 00:00:00 2001 +From: Leon Anavi +Date: Tue, 1 Sep 2020 11:53:53 +0000 Subject: [PATCH] explicitly set compile options OE does not support to install egg package, so @@ -10,19 +10,19 @@ explicitly set build_ext options for oe-core's Upstream-Status: Inappropriate [oe specific] Signed-off-by: Hongxu Jia - +Signed-off-by: Leon Anavi --- setup.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/setup.cfg b/setup.cfg -index 1c6ebc84..1ccc3d69 100644 +index 19979cf7..ed27dfe1 100644 --- a/setup.cfg +++ b/setup.cfg -@@ -13,3 +13,15 @@ multi_line_output = 3 - +@@ -11,3 +11,15 @@ multi_line_output = 3 [tool:pytest] - addopts = -rs + addopts = -ra --color=yes + testpaths = Tests + +[build_ext] +disable-platform-guessing = 1 @@ -35,3 +35,6 @@ index 1c6ebc84..1ccc3d69 100644 +disable-webp = 1 +disable-webpmux = 1 +disable-imagequant = 1 +-- +2.17.1 + diff --git a/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb b/meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb rename to meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb index 80b7e941ae..28aaff8060 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb @@ -3,13 +3,13 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ Contributors." HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=55c0f320370091249c1755c0d2b48e89" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea2dc3f5611e69058503d4b940049d03" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=6.2.x;protocol=https \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=7.2.x;protocol=https \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "6e0f07bbe38def22d36ee176b2efd9ea74b453a6" +SRCREV ?= "2bd74943fb9f320def6c066e732b701d1c15f677" inherit setuptools3 From patchwork Wed Jun 1 12:25:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8701 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 C7BFBC433F5 for ; Wed, 1 Jun 2022 12:26:35 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.web09.6816.1654086388941838212 for ; Wed, 01 Jun 2022 05:26:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e9btPeOm; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id v5-20020a17090a7c0500b001df84fa82f8so1902765pjf.5 for ; Wed, 01 Jun 2022 05:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vybIPYEnGl1aHwtqrgfd6p8xv/EFMdrFns/4Io89QL0=; b=e9btPeOmAIGosyhomlTvWd/Cd9bla2HQCsfhOOVPJCBxkZVksahz9qIu9+DFuNSUp9 7YlyeJ/K0FAKB5/F2jR2UDxEHDom3lt5eXdqnU5xCsplxbXOtHRaogkgt6W2bFlqRd/s jWK7qMNfLAdenq2Qu2C8OqbbBlNncNIRFZBs0TRx78i8HjGlzNXw4se56LN5XXkZTS68 Htq3h5Hmb0iilQvJEbEVHTag+c2t2Ij3qxkPxtSQZRH00KtC7DxFQLsRX3WOZkD67GQU QaCHw9YyQEjEThlxZ/AO/3trMWXFBKCq0LoaqaTgiaaYx1D0e7bFA24mU40y3fftGMJW vXHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vybIPYEnGl1aHwtqrgfd6p8xv/EFMdrFns/4Io89QL0=; b=VnnrvLEZknsaOglTt1Qh+aA570y2YC4YLQ0TLkH8dFyS3XLW9HuNwQ+M8Tv5fFYeoU u2jRieNQRcZm/h/yoJqXKS4MebnxQnfSecW+ZDmSI1crz8AocKcIBfSkMe8nlcmCj3Gb 4YeItAq0nndjOZckpGZwdZXPWOirvnokvvoU7nxtcmqZZWtTQGqprvdxMd67GLo///6/ vY6VP+ExUIHOSK7vTKG+8pSsgqNqBrLMWBzoTSXyWwT9kQCRx6pzZ++9CeJ5LWFmJSMr sEehBQg/vrJYxA6L8XhR0wtSc7gkC8OMG7prTLMzBv2Qb9xbvdCEzOJG1eQXlDYtumM8 od2Q== X-Gm-Message-State: AOAM531zsJ0gDLYEan7jP92mULRPhtEc3PufQHaZt78+5PzNqWu5Irl9 Qua2DwgdyQ250+u1lq9GFTTv1ZKQvAKp9A== X-Google-Smtp-Source: ABdhPJyKg7cgcwr1azrd2yLHgkvdAkpkPgMfbSoxb8FpFfaXk6KxN4kD6mYmhC2wW8i+HSESMTJwmA== X-Received: by 2002:a17:903:2304:b0:162:ed1:ed9c with SMTP id d4-20020a170903230400b001620ed1ed9cmr51262926plh.122.1654086388041; Wed, 01 Jun 2022 05:26:28 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:27 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Leon Anavi , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 2/9] python3-pillow: Upgrade 7.2.0 -> 8.1.0 Date: Wed, 1 Jun 2022 17:55:20 +0530 Message-Id: <20220601122527.19987-2-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:26:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97360 From: Leon Anavi Upgrade to release 8.1.0: - Fix TIFF OOB Write error - Fix for Buffer Read Overrun in PCX Decoding - Fix for SGI Decode buffer overrun - Fix OOB Read when saving GIF of xsize=1 - Add support for PySide6 - Moved QApplication into one test - Use disposal settings from previous frame in APNG - Revert "skip wheels on 3.10-dev due to wheel#354" - Better _binary module use - Added exception explaining that repr_png saves to PNG - Use previous disposal method in GIF load_end - Do not catch a ValueError only to raise another - Allow putpalette to accept 1024 integers to include alpha values - Fix OOB Read when writing TIFF with custom Metadata - Removed unused variable - Fix dereferencing of potential null pointers - Fixed warnings assigning to "unsigned char *" from "char *" - Add append_images support for ICO - Fixed comparison warnings - Block TIFFTAG_SUBIFD - Fix dereferencing potential null pointer - Replaced PyErr_NoMemory with ImagingError_MemoryError - Remove duplicate code - Moved warning to end of execution - Removed unused fromstring and tostring C methods - init() if one of the formats is unrecognised License-Update: Updated copyright year Conflicts: meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb Conflicts due to extra parameter protocol=https in SRC_URI Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj (cherry picked from commit ae76da9210b51485da995b51f7ed41e89471dea9) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../0001-support-cross-compiling.patch | 43 ++++++------------- ...illow_7.2.0.bb => python3-pillow_8.1.0.bb} | 7 ++- 2 files changed, 16 insertions(+), 34 deletions(-) rename meta-python/recipes-devtools/python/{python3-pillow_7.2.0.bb => python3-pillow_8.1.0.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch index 6de19ad87a..e4ba35b886 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +++ b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch @@ -1,20 +1,21 @@ -From ae7c8d0336381dd4c10e809e9c8926f9deeafeb8 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Thu, 14 Mar 2019 03:48:10 -0400 +From cd09b6f68aa49c72e9a9bb0765e8c666238a7b7e Mon Sep 17 00:00:00 2001 +From: Leon Anavi +Date: Mon, 11 Jan 2021 13:25:12 +0000 Subject: [PATCH] support cross compiling Upstream-Status: Inappropriate [oe specific] -Signed-off-by: Hongxu Jia +Suggested-by: Hongxu Jia +Signed-off-by: Leon Anavi --- - setup.py | 13 +++---------- - 1 file changed, 3 insertions(+), 10 deletions(-) + setup.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py -index 5ceae344..07863340 100755 +index cbc2641c..302bc6e7 100755 --- a/setup.py +++ b/setup.py -@@ -105,7 +105,7 @@ _LIB_IMAGING = ( +@@ -123,7 +123,7 @@ _LIB_IMAGING = ( "codec_fd", ) @@ -23,39 +24,21 @@ index 5ceae344..07863340 100755 class DependencyException(Exception): -@@ -396,21 +396,16 @@ class pil_build_ext(build_ext): +@@ -408,12 +408,12 @@ class pil_build_ext(build_ext): _add_directory(library_dirs, match.group(1)) # include, rpath, if set as environment variables: - for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE"): -+ for k in ('C_INCLUDE_PATH', 'CPATH', 'INCLUDE', 'STAGING_INCDIR'): ++ for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE", "STAGING_INCDIR"): if k in os.environ: for d in os.environ[k].split(os.path.pathsep): _add_directory(include_dirs, d) - for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB"): -+ for k in ('LD_RUN_PATH', 'LIBRARY_PATH', 'LIB', 'STAGING_LIBDIR'): ++ for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB", "STAGING_LIBDIR"): if k in os.environ: for d in os.environ[k].split(os.path.pathsep): _add_directory(library_dirs, d) - -- prefix = sysconfig.get_config_var("prefix") -- if prefix: -- _add_directory(library_dirs, os.path.join(prefix, "lib")) -- _add_directory(include_dirs, os.path.join(prefix, "include")) -- - # - # add platform directories - -@@ -469,8 +464,6 @@ class pil_build_ext(build_ext): - or sys.platform.startswith("gnu") - or sys.platform.startswith("freebsd") - ): -- for dirname in _find_library_dirs_ldconfig(): -- _add_directory(library_dirs, dirname) - if sys.platform.startswith("linux") and os.environ.get( - "ANDROID_ROOT", None - ): -- -2.20.1 +2.17.1 diff --git a/meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb index 28aaff8060..adbf639b39 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb @@ -3,14 +3,13 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ Contributors." HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ea2dc3f5611e69058503d4b940049d03" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=7.2.x;protocol=https \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.1.x;protocol=https \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "2bd74943fb9f320def6c066e732b701d1c15f677" - +SRCREV ?= "fcc42e0d344146ee9d265d1f43c094ce5a0ec4cf" inherit setuptools3 From patchwork Wed Jun 1 12:25:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8700 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 C8D57C433FE for ; Wed, 1 Jun 2022 12:26:35 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web12.6753.1654086381130564077 for ; Wed, 01 Jun 2022 05:26:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dDw33b+m; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so6084338pju.1 for ; Wed, 01 Jun 2022 05:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RSXBM1NnZNnpA5GBJ6myH5qVu+8IMV0bP/95uvUfo5k=; b=dDw33b+mTuUaztAMaZh7sQTZ5VQlBusMeekxfkQNKvGyPiO4wUc1kcFvhN6ZcVjXgj NG81h2jbjO5o4XtTttTC4bFaGi25j6pvkzsIc4wDK4GRyoWbcobauINQN9x3VhF5x/iq oWO8rlOQgVQuVJMdqXxi4u9g/eYY+XX6GFwCa2kEPB1rtV1bkWjzn5ebmnwR3gJ8+IeM AXGxjNpSs8Ve6Z8BJCAVwyqDwg+kpOO3INVWbibztCuF2Cxto7RIq8fB8uxcHjXExIrv caI25D0iG+JabD3zqyp/jHKrtgB3oy1CJfbSTIxgKX+p7N7UqiW2VDVHdvXUvp5xsqYA /iKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RSXBM1NnZNnpA5GBJ6myH5qVu+8IMV0bP/95uvUfo5k=; b=7YGGqmPGd1t+rwgfdalcMxuJQ6ERexGcoF4pbZVyZSyZONyTs3lOwD417YHh9oyZL4 HJMFMw4QTVN94LrN2i92WTAxot5QPtS2DlOwEXkdqajixVdDp+0keyvM1aIPIVw6iWHJ Dcke9qkSIB04jmx1pGnIa9reEIfQTztK1SpcMXBmnA6kmFIvybrLezxdxn9KwP178l81 Fey3Yz87exk8eddJrvlQJuH3hoei8AZY6PNAxOrI2QlBRqnZ57LsnOdkCu6SMaiCIgK3 ODv/uJRvKyQQO91a9eI6U12shVrsgYmYh/Hs/+KqPdfC1L888PPYNuCgXVkZyYlQiUDo crGg== X-Gm-Message-State: AOAM5301Gzb9YlXM0UPLsoxI3VIwE7OzBvwBdh8vT3qAdJYSjwihISeb zXOJv8ZJLC7WLTKIwBnyuvVqYg3470dh8A== X-Google-Smtp-Source: ABdhPJz/N8QPxSj6eR1hzo95bjOAwZo+nsGY6SPZco37ilNf2gz/6bJJ4Jd4gpJlN5Peg0mHG4nECQ== X-Received: by 2002:a17:90b:1b01:b0:1e3:421c:90f with SMTP id nu1-20020a17090b1b0100b001e3421c090fmr7814692pjb.59.1654086392140; Wed, 01 Jun 2022 05:26:32 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:31 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Kai Kang , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 3/9] python3-pillow: 8.1.0 -> 8.1.2 Date: Wed, 1 Jun 2022 17:55:21 +0530 Message-Id: <20220601122527.19987-3-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:26:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97361 From: Kai Kang 8.1.2 fixes: * CVE-2021-27921 * CVE-2021-27922 * CVE-2021-27923 8.1.1 fixes: * CVE-2021-25289 * CVE-2021-25290 * CVE-2021-25291 * CVE-2021-25292 * CVE-2021-25293 Signed-off-by: Kai Kang Signed-off-by: Khem Raj (cherry picked from commit bb0789998e8fc5d916808421aa88764a1463228d) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../python/{python3-pillow_8.1.0.bb => python3-pillow_8.1.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pillow_8.1.0.bb => python3-pillow_8.1.2.bb} (94%) diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb similarity index 94% rename from meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb index adbf639b39..de234b01fe 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb @@ -9,7 +9,7 @@ SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.1.x;protocol=https file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "fcc42e0d344146ee9d265d1f43c094ce5a0ec4cf" +SRCREV ?= "88bd672dafad68b419ea29bef941dfa17f941038" inherit setuptools3 From patchwork Wed Jun 1 12:25:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8703 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 C8B83C433F5 for ; Wed, 1 Jun 2022 12:26:45 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web10.6775.1654086397683949531 for ; Wed, 01 Jun 2022 05:26:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jja18I8a; spf=pass (domain: gmail.com, ip: 209.85.214.171, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pl1-f171.google.com with SMTP id q18so1628680pln.12 for ; Wed, 01 Jun 2022 05:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9G2VSx2Hlww+37Qb9Cn8gnGhBMBI2QSdC/7QAFK6qeQ=; b=jja18I8aEkORvHFx/Uv3OmzGTBP8stmo5LRniPvgn1hPzSO6Rd0BSuOh4j+Yhi24ll WlYHg4ampu6U2l2vkwljv/Fh5cMFcMBjM7gy2KwNM8O2HjXx0+yJOLt+zMbWbTF0MC+I O7xh7ZagI6ngNX+BpWP6tOmESzLbNHM6DxXqhsQn420BVeqZKaZqPyk/ag9Q6NdypsmF zqXU14VQNQ0lLLFOBCZadRxBiIyRjcsMXUSsZ/TXoMUCDYlOS/P37FbcTguVDybQpvoq T2O8bnMlnIO6VdZSeedP6MltzmGD6Dc4rs89k7WcwYuKsvm3eqzSolA8JOywsRcTrKIc CJXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9G2VSx2Hlww+37Qb9Cn8gnGhBMBI2QSdC/7QAFK6qeQ=; b=v4EZApkIbtLr4PeKMJu3OFg+x9YDTtG1fuKv87hA9WSgwxwGWKRzk8O9wb93hF/eu3 17TjeBJp9NDZg+IgLHq63Hq+htwuYVp1vLN9uaxi4CZhcBaJW1LHLuuXfXc9P7v1Q/DI joigN5fr+gjrmFjNIJaOFs1UVA3QFp64jIQdgnVyn7vf3RPJrDYC1psweP1ovLxLCKsJ BchgVqLoMy0o4DJcZHFYOCkXjtwoEMJxkP2DEw9B0P/AD24DmntFQMAjP1dlyvSwlRch EOZJFa8CcRRqyb3T62gOprGmAtYU5vEjlqjXzGM/0gFkuqx7/ron3/Gr3ZHdvgk4ysO8 v4zw== X-Gm-Message-State: AOAM532C6Wbwa+I0ij28DviajuALSPABrzr8B19PjlBI2hydvl7p64oJ GRO3/gf9IVVX6ah4nIcJsQWBINU35aQ4OQ== X-Google-Smtp-Source: ABdhPJxQVa76yZ17G/2qnmQKNMeyjKXT57qcFJsgRMUwAFLizVejBSXzGQTyk2sxBhJhPI62m3RUxA== X-Received: by 2002:a17:90b:17c6:b0:1e2:ab17:a8f9 with SMTP id me6-20020a17090b17c600b001e2ab17a8f9mr23029860pjb.68.1654086396833; Wed, 01 Jun 2022 05:26:36 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:36 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Leon Anavi , Trevor Gamblin , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 4/9] python3-pillow: Upgrade 8.1.2 -> 8.2.0 Date: Wed, 1 Jun 2022 17:55:22 +0530 Message-Id: <20220601122527.19987-4-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:26:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97362 From: Leon Anavi Upgrade to release 8.2.0: - Added getxmp() method - Add ImageShow support for GraphicsMagick - Do not load transparent pixels from subsequent GIF frames - Use LZW encoding when saving GIF images - Set all transparent colors to be equal in quantize() - Allow PixelAccess to use Python __int__ when parsing x and y - Removed Image._MODEINFO - Add preserve_tone option to autocontrast - Fixed linear_gradient and radial_gradient I and F modes - Add support for reading TIFFs with PlanarConfiguration=2 - Deprecated categories - Do not premultiply alpha when resizing with Image.NEAREST resampling - Dynamically link FriBiDi instead of Raqm - Allow fewer PNG palette entries than the bit depth maximum when saving - Use duration from info dictionary when saving WebP - Stop flattening EXIF IFD into getexif() - Replaced tiff_deflate with tiff_adobe_deflate compression when saving TIFF images - Save ICC profile from TIFF encoderinfo - Moved RGB fix inside ImageQt class - Allow alpha_composite destination to be negative - Ensure file is closed if it is opened by ImageQt.ImageQt - Added ImageDraw rounded_rectangle method - Added IPythonViewer - Only draw each rectangle outline pixel once - Use mmap instead of built-in Win32 mapper - Handle PCX images with an odd stride - Only read different sizes for "Large Thumbnail" MPO frames - Added PyQt6 support - Changed Image.open formats parameter to be case-insensitive - Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02) - Added tk version to pilinfo - Support for ignoring tests when running valgrind - OSS-Fuzz support Conflicts: meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb Conflicts due to extra parameter protocol=https in SRC_URI Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit 0fc9235bbb8f4df0ac7b33f0b875e1fc36e1e563) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../{python3-pillow_8.1.2.bb => python3-pillow_8.2.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pillow_8.1.2.bb => python3-pillow_8.2.0.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb b/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb index de234b01fe..9a9a843b48 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_8.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb @@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.1.x;protocol=https \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x;protocol=https \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "88bd672dafad68b419ea29bef941dfa17f941038" +SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" inherit setuptools3 From patchwork Wed Jun 1 12:25:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8702 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 C8B62C433EF for ; Wed, 1 Jun 2022 12:26:45 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web12.6760.1654086402450778016 for ; Wed, 01 Jun 2022 05:26:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iudkRwDO; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id v11-20020a17090a4ecb00b001e2c5b837ccso6060226pjl.3 for ; Wed, 01 Jun 2022 05:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TFEk81y/O/dxo4DP88DNUresQYgiWwuvYQq5g+JqdBk=; b=iudkRwDOtF38YouZpxeik9WgLwvhBZ/KR+ts2S8qwwyiZ8mHuZRNRZ/WQFZ4VS3Hqs QBclKmHmQBajd075IitoUoGeaZqLdYqk2jrTyCrTxITSi7yyNvrzGwYusaCBrpehn2bt pSjHSyyLQzjqyBoNEC2NzIjNIfo4jC9lmptbocxaw7V7BSzlYbAr0xfenWvDhqxDksqj OhqzNeKwCZip8UL9RGP9wB16KtsqX7kLLaUskdhlvSh8uSSSUeAXUzZdLnzcXNAGOc5n vmapIrWy2KlPhFLonIl3SJUO+BTLWCQ9JTdsIdJpY0uXd9qszMv8SZu3V4cnJXDWKVeD xJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TFEk81y/O/dxo4DP88DNUresQYgiWwuvYQq5g+JqdBk=; b=5AUo+QCsHr81Ju32US6GhB/5YkmXwS/skqrZRURUfnMl+/LE4Luy12vgmnQoOi6x99 MLMShO1W9JtPhlo0pAtqeLEwbp4yD9itFCrGognwj/z3nyfCyWzTwmZfUahpRQbaSiy/ bl8JK/xvzOk0LDCZyFp4zxLsiSKFYRE4uNq4U8iy3kN/LHeWJO32GW3SGyIUK8UTDxKT PRH70v0MmcMtAlYIjOnqWISxXJaQYpMUF1MXLI0CuHTHktJSqOrEhSOwceyKGYAUD10W 5VzKjlB/QkM9zCbKjfGG/9qjabYq2K6Y1Csvc8yGaYTG0YPVsK/92oZf7xTyZx8lcaZf i45g== X-Gm-Message-State: AOAM532cloKQdfWpk7DgbcaYWWfrYN5ml6OYVbnMnBIgGUlk4vxQmRgb RpDOMkPvp/mAskbwVdB0u3w7gEmMtyR76w== X-Google-Smtp-Source: ABdhPJwsqBtJFIZsvdO3QYgo4E+0hofJVEjCxx91sg1e3DmWbBvfrLVzNiTRSlLLwaql8eIga0NrTw== X-Received: by 2002:a17:902:e54e:b0:162:4b8b:f2be with SMTP id n14-20020a170902e54e00b001624b8bf2bemr40331686plf.5.1654086401669; Wed, 01 Jun 2022 05:26:41 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:41 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Leon Anavi , Trevor Gamblin , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 5/9] python3-pillow: Upgrade 8.2.0 -> 8.3.1 Date: Wed, 1 Jun 2022 17:55:23 +0530 Message-Id: <20220601122527.19987-5-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:26:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97363 From: Leon Anavi Upgrade to release 8.3.1: - Catch OSError when checking if fp is sys.stdout - Handle removing orientation from alternate types of EXIF data - Make Image.__array__ take optional dtype argument Conflicts: meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb Conflicts due to extra parameter protocol=https in SRC_URI Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit a5fc60071f0a0a16096792c4e1970d31f5964539) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb index 9a9a843b48..1e954fcfa1 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb @@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x;protocol=https \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x;protocol=https \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" +SRCREV ?= "92933b86574b9c80764bf52c357ed29e1ef53382" inherit setuptools3 From patchwork Wed Jun 1 12:25:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8704 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 C93BBC433EF for ; Wed, 1 Jun 2022 12:26:55 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web11.6890.1654086411788368831 for ; Wed, 01 Jun 2022 05:26:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Mnvmjih3; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id u18so1666721plb.3 for ; Wed, 01 Jun 2022 05:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MeAXy4jOVAu+97z3MbNzo9f+U3AqD1J/av4Bt8rVk6U=; b=Mnvmjih3ApvQ1r+OwM9Jrg5bdwRQPwdOq74Bg8rP0hpGprM2Jlm9OFkAFJNvFjTCr7 LDPdVEsVThufhe+muWaqa9heZqQynaT+RB/G02shIbmLzqL0DQ2Cw3qK/dDhxvgRQfm5 kAtUhPi6XtZoyusmTQj+lADrnUovvxEJIS8Mjl1Gk8vytRAjBlBu8jPu5AtaG4TXufim kZJcnqxrwjObyYXgWueZS/nmDCwblTeLDpGZEh0eh/BAY8uLMDTVTvG2ani65Hr3KyOH Mxin9swGPUdw8bNZJqDI0SPswZBG1ItkVpyKkc6J8/QCPBVONgQw/IKZ7rmKlHJ84Acy JC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MeAXy4jOVAu+97z3MbNzo9f+U3AqD1J/av4Bt8rVk6U=; b=v/mS1iASoT0H3EBNnne69R2IJUuvfoboxSmCpdftXnSuqQw2jg3/5qwAyD+MCLXDZ1 6NxBbx+E3oHELzlLp6jvCVtf//hTI06zMco/oU06iiTI/GcBSfBYvbEkN66r82YEuACH Co+5gT1fYxczo9Jy2EQIOsvGKkRIPcAE/FOsZP1mIMjW9fbyhrvA1eLeA0axNx979SGh HBz66+OCRkMiq7Rw2yCoi3mpSmZ16EepcijICsDxGj/Xy3z4Bq71JMKEorTKW+Sq1Tko nTeEIe9uLF6+CYxmNcRuJtvcnHiKAUVjMkd+GWH3Vu6qnVOdQSHsLQARxRhP06ou5J2B G8qA== X-Gm-Message-State: AOAM5312IAzPB+HNNMdOp/74a8a0Ul9+dUay05bORHyLm3y6+o08gmcL USkzPq3JvO4VRjIDjfM5zCPB5/kaUKl0AQ== X-Google-Smtp-Source: ABdhPJzl/Ghb/djoZZiUW0RcRoy/czSyxeNDJedVfVt/RMRtb/RL0EuX1ZNQTGIxtPxguS2vxIH3Bg== X-Received: by 2002:a17:903:228c:b0:163:baf6:582a with SMTP id b12-20020a170903228c00b00163baf6582amr19842412plh.43.1654086410958; Wed, 01 Jun 2022 05:26:50 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:50 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Leon Anavi , Trevor Gamblin , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 7/9] python3-pillow: Upgrade 8.3.2 -> 9.0.0 Date: Wed, 1 Jun 2022 17:55:25 +0530 Message-Id: <20220601122527.19987-7-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:26:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97365 From: Leon Anavi Upgrade to release 9.0.0: - Restrict builtins for ImageMath.eval() - Ensure JpegImagePlugin stops at the end of a truncated file - Fixed ImagePath.Path array handling - Remove consecutive duplicate tiles that only differ by their offset - Removed redundant part of condition - Explicitly enable strip chopping for large uncompressed TIFFs - Use the Windows method to get TCL functions on Cygwin - Changed error type to allow for incremental WebP parsing - Improved I;16 operations on big endian - Ensure that BMP pixel data offset does not ignore palette - Limit quantized palette to number of colors - Use latin1 encoding to decode bytes - Fixed palette index for zeroed color in FASTOCTREE quantize - When saving RGBA to GIF, make use of first transparent palette entry - Pass SAMPLEFORMAT to libtiff - Added rounding when converting P and PA - Improved putdata() documentation and data handling - Exclude carriage return in PDF regex to help prevent ReDoS - Image.NONE is only used for resampling and dithers - Fixed freeing pointer in ImageDraw.Outline.transform - Add Tidelift alignment action and badge - Replaced further direct invocations of setup.py - Added ImageShow support for xdg-open - Switched from deprecated "setup.py install" to "pip install ." - Support 16-bit grayscale ImageQt conversion - Fixed raising OSError in _safe_read when size is greater than SAFEBLOCK - Convert subsequent GIF frames to RGB or RGBA - WebP: Fix memory leak during decoding on failure - Do not prematurely return in ImageFile when saving to stdout - Added support for top right and bottom right TGA orientations - Corrected ICNS file length in header - Block tile TIFF tags when saving - Added line width argument to ImageDraw polygon - Do not redeclare class each time when converting to NumPy - Only prevent repeated polygon pixels when drawing with transparency - Fix pushes_fd method signature - Add support for pickling TrueType fonts - Only prefer command line tools SDK on macOS over default MacOSX SDK - Fix compilation on 64-bit Termux - Replace 'setup.py sdist' with '-m build --sdist' - Use declarative package configuration - Use title for display in ImageShow - Fix for PyQt6 - Rename master to main Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit f41b3757dddfc1b950f0d21de3af6b81167cd3ba) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../{python3-pillow_8.3.2.bb => python3-pillow_9.0.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python3-pillow_8.3.2.bb => python3-pillow_9.0.0.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb rename to meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb index 3e3214f142..e522269927 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb @@ -3,13 +3,13 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ Contributors." HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x;protocol=https \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.0.x;protocol=https \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "8013f130a5077b238a4346b73e149432b180a8ea" +SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" inherit setuptools3 From patchwork Wed Jun 1 12:25:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8705 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 C3BEDC433F5 for ; Wed, 1 Jun 2022 12:27:05 +0000 (UTC) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.web12.6762.1654086416976810081 for ; Wed, 01 Jun 2022 05:26:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UXktiyhK; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id i185so1772611pge.4 for ; Wed, 01 Jun 2022 05:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j40NStAKf6hVoguXeP1YcXYd2F25Dhg/biLZShiJim4=; b=UXktiyhKxlWbWsozI797TeOJ2/HTQadenktAS0Z7UAYAmSH2s126CQc+B5YNmcVQje ew3UgPUXzZ4Ks/+k1mCzr+xl3M64Nc4pbn1w4hWgeKKAfiwJhYlXJvaKSlC7wrRxgbyd ck5Ppxxjvpyg9WuwYK4yRKNxDeCDxa0w84TUa9tnp5jsFYNr9TNF6YLNycmyI8wcxIi1 wa+9dcaMISpKDZvgpcyLERdckfFlETV9O5UwKgkqwegq2Ej6KqcL4jUwTIQyJMcPp/iW vv/n2b56tnbOevgzEFqJlOhtX5biUBi1LmQgtAdUHUNt3Nyv2ypd/U+4EjySKyZoIz0U TpAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j40NStAKf6hVoguXeP1YcXYd2F25Dhg/biLZShiJim4=; b=c/2/HBllIkBDmBxmidVnne40ga6bUIE7Fpn3FgNNseQtMi6D7mrwaxomjXpZ6cF+RW 0Ck1LGADBXcUeG82XVCyEsa6tr29luYWh+jpcqrleCxyTNRRws0WPpBlTkekRlpVoU25 cx+jwBNkwvDrlMQ7U1mMpTM3oImOcZxnOOGvgEeIAJA51o/7cxFSgR/0G/11mGtqBSIC wgJthaiVYMjSZS8EAaDiZ29+1KU/1jr/zlUbyHjT4UMxaD2Ey6SdYU7F114+qCppHLxN arQX8ZwEq7oOH4dgsUJ9tGT2PpPwMFjL8U/wN2o6hvVjuHcPOjkwsTV0E14vBfHiiz8P /OQg== X-Gm-Message-State: AOAM532rl4vPqT2ENvKVLcGNgvwCyqHKKeabWV07NCK/PDauAi0wmG8o Q9EGFZCJ1D4A1jNyHbRBNil+T6bebCM3ZQ== X-Google-Smtp-Source: ABdhPJwMTM8eCHkqnP6Ax+G58y+Kn6ZPEmeNXl/1FGXQBRPBwdj/XKuoyTfnNfBfan1asR70v/AMCQ== X-Received: by 2002:a63:5843:0:b0:3fc:34b5:8278 with SMTP id i3-20020a635843000000b003fc34b58278mr9868206pgm.249.1654086416161; Wed, 01 Jun 2022 05:26:56 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:26:55 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Tim Orling , Tim Orling , Trevor Gamblin , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 8/9] python3-pillow: fix wheel build Date: Wed, 1 Jun 2022 17:55:26 +0530 Message-Id: <20220601122527.19987-8-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:27:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97366 From: Tim Orling Recipe does not inherit pypi nor would PN resolve to the name of the wheel so we must set PIP_INSTALL_PACKAGE appropriately. The recipe also builds its wheel in ${S}/dist so we must set PIP_INSTALL_DIST_PATH appropriately. Signed-off-by: Tim Orling Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit b56940049dfa1968d5e0325ea3b2fe024a3aa34b) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod Nacked-by: Tim Orling --- meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb index e522269927..346071d1ca 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb @@ -13,6 +13,9 @@ SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" inherit setuptools3 +PIP_INSTALL_PACKAGE = "Pillow" +PIP_INSTALL_DIST_PATH = "${S}/dist" + DEPENDS += " \ zlib \ jpeg \ From patchwork Wed Jun 1 12:25:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjitsinh Rathod X-Patchwork-Id: 8706 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 C84C8C433EF for ; Wed, 1 Jun 2022 12:27:05 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web08.6746.1654086421941112790 for ; Wed, 01 Jun 2022 05:27:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=V5Aj+Bis; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: ranjitsinhrathod1991@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id o6-20020a17090a0a0600b001e2c6566046so6102720pjo.0 for ; Wed, 01 Jun 2022 05:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pZZ/tjVMMkWNLhjYEWHGqrK8WDoJ643XrMdRLon3w70=; b=V5Aj+BisNrYexemWykAJg9mK2ZRacjEe6d1BVFYd5tLagOUoaI0YsbAW7deA+dU8Hc PIKWZfO3YdcjGxlROqmFgRTg+gAkQdGDd1LoamO2tQpReA3emcfysbk46IfKpkYtCGFg UkxZ4/cWM1lJAdlJxXiPTkt9ELXyyTGmApwS08draLLzdqChfSoK2eHF52w3CveQvA2v CA2bqhnWliQznqvlkwc6nrQMGsA89QwEa/4HY9XNFpXgcLgGVamjGnWfb8skFj36wjZc QTpcjvWsWmkI+sy2ROxTj3hAr8hWM2auMLx06rncajbUQiuVeuy82qZ1dWEh1/p6Zawa epIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pZZ/tjVMMkWNLhjYEWHGqrK8WDoJ643XrMdRLon3w70=; b=MC163hM4Wa5sZ1nyN+gyG/CuutHW7kz+D3YWeiwAYGAeKnCGoMCm6PnjD80czeAWyA 94zius3pd0Eg9wJokMK3OrJs+omNMcL6KEtPJJIuTXsSdQZS8waN8uP6locf8roEVxWF Dc3EW/3tBidMSQRN+CMz9dR/5JEpmN7+YuJ+p+nZQBLMOvkRCWW0cqC44LswRG/nzazS eF/gj4wMXYBrL65fUGE/IaWyWpEhcqMATBhXJRYdawkJJ0r2BD6iTQeTv2UhgHs8s5eP mx80YryqYfSwT1K1HhBAff9fTwHJNlPl4g5P8ap4gSi4Gvt0yhraGNjjoC0WqaWfB5Bj luhA== X-Gm-Message-State: AOAM532RspPGNhs49J9RtyC/Zug1LNFxTdhFGgEegsztgsIUYXOcCt3r NpFcDVGIrQJTWzynubI1vJ5jRzWyi6JSTg== X-Google-Smtp-Source: ABdhPJyueLN4RcxVKlp0ILH6KkPmwF8xhCqqvBzGGIq3nzgtRPLfNHNdek1n4ECYTcELyqNCUOSp+g== X-Received: by 2002:a17:902:d5d6:b0:162:64b:96b9 with SMTP id g22-20020a170902d5d600b00162064b96b9mr54682331plh.94.1654086421155; Wed, 01 Jun 2022 05:27:01 -0700 (PDT) Received: from localhost.localdomain ([103.85.9.215]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015ea3a491a1sm1401006plm.191.2022.06.01.05.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 05:27:00 -0700 (PDT) From: Ranjitsinh Rathod To: openembedded-devel@lists.openembedded.org Cc: akuster808@gmail.com, raj.khem@gmail.com, Xu Huan , Trevor Gamblin , Ranjitsinh Rathod Subject: [meta-python][dunfell][PATCH 9/9] python3-pillow: upgrade 9.0.0 -> 9.0.1 Date: Wed, 1 Jun 2022 17:55:27 +0530 Message-Id: <20220601122527.19987-9-ranjitsinhrathod1991@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> References: <20220601122527.19987-1-ranjitsinhrathod1991@gmail.com> 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 ; Wed, 01 Jun 2022 12:27:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97367 From: Xu Huan changelog: In show_file, use os.remove to remove temporary images. CVE-2022-24303 Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817 Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit 91e1461a2844e7d82287b7b9b3212678bcf67408) Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../python/{python3-pillow_9.0.0.bb => python3-pillow_9.0.1.bb} | 2 ++ 1 file changed, 2 insertions(+) rename meta-python/recipes-devtools/python/{python3-pillow_9.0.0.bb => python3-pillow_9.0.1.bb} (94%) diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb similarity index 94% rename from meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb index 346071d1ca..1f0fdfa349 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb @@ -38,3 +38,5 @@ S = "${WORKDIR}/git" RPROVIDES_${PN} += "python3-imaging" BBCLASSEXTEND = "native" + +SRCREV = "6deac9e3a23caffbfdd75c00d3f0a1cd36cdbd5d"