From patchwork Tue Jan 7 21:30:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 55170 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 6060FE77197 for ; Tue, 7 Jan 2025 21:30:16 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web10.3959.1736285406464638112 for ; Tue, 07 Jan 2025 13:30:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CpatFaLP; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-2ee86a1a92dso18980363a91.1 for ; Tue, 07 Jan 2025 13:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736285405; x=1736890205; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6AHe4/G6nwHMSZdMnz+k/FGEpANPvOP8eUPkFlr0N3o=; b=CpatFaLPXE9onhiXYo4mICapS79jLG9PuxsbO/chbgSo+klFYpUKnxYRH8L2dBzH2r Z7bjRkW8vcMyHbrgx+xQhlnaK5W7Tpi7YTltsD4tqFSytfiUgBt5rVTaIZVpLwlkzoQa Ge7Oob1higaS3/vF28CO8hd631XTe8NVSeHwygi08mursyBfE0radWSCcShH9NPhHMvq hTNedbHvoxVjFDsYPHjFOyQDNl/Z8nQV0jeMFaoD1Z38rd+xMa54iSYivCG59py+xE9r Xd6q0kqJlLpykaZ3inet2tyv9FMj5ErIl781NgS6BIzuk3kJUpJ/M0QFiYEq0XQYnwLR p8Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736285405; x=1736890205; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6AHe4/G6nwHMSZdMnz+k/FGEpANPvOP8eUPkFlr0N3o=; b=R3A9SwFdgyhqaZTSDdWV6aKrqjrWsgVC9DkacbD9IGYzKQ+QwdD5/gJWfkJHa5RuP7 2QQjHk9cYwzyK1KqVq+/LqHPC4dx7SNoSBePqcWFd/4MyyCuzboz1ylWqW4k9J0hkc4W E8p2MK711nlXQdvLHnMu2W2CN3aw9R01GCWl1jbYGrVWunSQawKvwI5INyNDp52wNwx0 frekJ5oKLOfzR4A5exi6aD575f0nyRD490NQCoprnnR7x3lnd+kccqgnVpLVsvyJ7vbH 88kBh9/UPMBZm6mUyHNvx84NlrrAcOksuDIIkLTGKpfmo70DrlwS2jIFQ53AQoIDzv1z +f/g== X-Gm-Message-State: AOJu0YyCgvTpyylqMyv/EOrat8DBJqNB9X1+THY8T0boiDwPKZ3d3qB7 bKjLkSC+X/acnhdNXdMdPrykWlwV+xihcQd837Hi4yZWmfv/UgzYNk80xg== X-Gm-Gg: ASbGncv3WV7yGQCNNbaYOZbLBWHpPoutgI5lYtwL4pn9bj35cAI5Y1c5uYVOz5HFjLK rx2QXPCQANpSMUZtDK5QF+5/DSYKYBrbowjo3lJ0r47hNZ5LZDMQHN4v8yEpLeFMl79awK1t83g mm8azRp2dygRnjjN2mO9z1TAPTgR8NiDC9rJrBJSNcbWARu3qHUuazX6+YpJ3blIY07VbKCShq+ m8Cqv4UnGgK5JjapwYXUBvY0cami7tem5IYln99qvDkiD06 X-Google-Smtp-Source: AGHT+IHr6nqLrwO/gLnMICwMk5HvErvvYrgRvSLCbaL2bf+pVkh7OmONJgBNtN7DzTd0ES4p5/w6bw== X-Received: by 2002:a05:6a00:4485:b0:71e:16b3:e5dc with SMTP id d2e1a72fcca58-72d21fd8b84mr654349b3a.19.1736285405220; Tue, 07 Jan 2025 13:30:05 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::5bc2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8157e3sm25877847b3a.26.2025.01.07.13.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 13:30:04 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 1/3] x265: Re-add -DENABLE_PIC=ON Date: Tue, 7 Jan 2025 13:30:00 -0800 Message-ID: <20250107213002.1443331-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.47.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 ; Tue, 07 Jan 2025 21:30:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114728 Its needed on architectures like aarch64 and riscv Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/x265/x265_4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb index 176774e359..268ccec167 100644 --- a/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb +++ b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb @@ -14,7 +14,7 @@ S = "${WORKDIR}/x265_${PV}/source" inherit lib_package cmake pkgconfig -EXTRA_OECMAKE += "-DENABLE_SHARED=ON -DENABLE_CLI=ON" +EXTRA_OECMAKE += "-DENABLE_PIC=ON -DENABLE_SHARED=ON -DENABLE_CLI=ON" do_generate_toolchain_file:append() { echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake From patchwork Tue Jan 7 21:30:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 55169 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 5EB4AE77199 for ; Tue, 7 Jan 2025 21:30:16 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web10.3960.1736285407321234439 for ; Tue, 07 Jan 2025 13:30:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Nrvv8UVn; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2f441791e40so19068878a91.3 for ; Tue, 07 Jan 2025 13:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736285406; x=1736890206; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AmHp3XGIrb+qDKE1FkL7utStm0D1nnzeZGomBiVV5rA=; b=Nrvv8UVn0xqZMuH5w3uLBkLf/1CM1MxtQ9/EkGPk0HiB4fNaNyqEKL5+OsAZzd9CG/ wd59Ssd3J0/uDk0PsKDMrpGifp32+rE8zYHfUtyx6HDNkP6M2gfpspKODjLzq6yDUCCL igpuqaWh3VHvgLYbcjMzrlOpPlcvVciatO72lmLdo7E6IAO6HzAbQsb0mfxCiwMeq6tc n/4R8UHOJ9td1QsEAZnnUoa2UmLRFgpEwkrCC4WspXsxPsjcf1jwfmWsX/JtRyUvGBYo 6MWwyPJBFzRY1C6v2VK4ONOzo3t1TUvYOgKdtzqi3be1ZQIehmOE6JiZcRYPFLJ/CSRI BguQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736285406; x=1736890206; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AmHp3XGIrb+qDKE1FkL7utStm0D1nnzeZGomBiVV5rA=; b=ZtxaQmw21xWScJpa5G3beDikoN7ryalrAR0cBdv+E1LUCMRX1onMt/iz4ryvbjXRuW dB4cvEKNkAj8wmpNVErLm+067lcBatfppJX6JBvmomRO8kF4KjatiUFeKwUNMdWvn91O sEo0dJs+mA+sg9b1UzI9rACEb9+BV4FigNkYNkGCAsnf8uJy8ECAdGn08vo+kiZPoBVM FqFucKB1bpVeKxJBKlD4iw8R3wcvLIXipxyZdY3ddBmV+jvLmrGrAfBOtU54NBejeg39 K0z0o489Wuf8pJYZDLf6Ai53box9hW7bJqS2hRneYLZCfkDUNElJIsgeMue2lTmBOmeQ 60cg== X-Gm-Message-State: AOJu0Yy0KBq92b3th8/IDnw0Nn5imgtOFZY+qy6mMsRVoDLnpqY6qSpK wImMpg6awEAKZCNILhxg8w5jk409Seu9fB2lUq7sr/CPBFZaBDzKfdqKow== X-Gm-Gg: ASbGncvU5kjpHYdLUP35guVcgs9fQJJFZc1m3dn+dcDp8li5aNyHFl8NyDs0wj4UiAr nyf0KUjGx1tczzRhORhqitJLUDzZMupRzh91YFre/+Vv3++aIKCmXlTnpTqCoex2sWQVgeJrRVl aJAcVSQUfLjB3J3Og5yC3AKZ4oyHdM9xM31dy4+Y0Pm8atLOsK9yNgIBlEktbL6FTpqbAOKCwx0 oiwMRTko+uuhKAh43rZpgf9HuA1oq+Ke/G6YpsH5FqsjlB/ X-Google-Smtp-Source: AGHT+IEo5pXOvUpUN0PxdywjTxWc0JCwi2Mcq8rY4942+dHGtMrh4e4/YnOvx9/p1TN5sNxxkU0bmw== X-Received: by 2002:a05:6a00:32cb:b0:725:df1a:288 with SMTP id d2e1a72fcca58-72d2201c96dmr788925b3a.24.1736285406391; Tue, 07 Jan 2025 13:30:06 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::5bc2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8157e3sm25877847b3a.26.2025.01.07.13.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 13:30:05 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 2/3] openh264: Disable build on riscv32 Date: Tue, 7 Jan 2025 13:30:01 -0800 Message-ID: <20250107213002.1443331-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250107213002.1443331-1-raj.khem@gmail.com> References: <20250107213002.1443331-1-raj.khem@gmail.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 ; Tue, 07 Jan 2025 21:30:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114729 Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/openh264/openh264_2.5.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-multimedia/recipes-multimedia/openh264/openh264_2.5.0.bb b/meta-multimedia/recipes-multimedia/openh264/openh264_2.5.0.bb index 04e93ce790..5ea7825fa0 100644 --- a/meta-multimedia/recipes-multimedia/openh264/openh264_2.5.0.bb +++ b/meta-multimedia/recipes-multimedia/openh264/openh264_2.5.0.bb @@ -17,4 +17,5 @@ BRANCH = "openh264v${PV}" SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=${BRANCH}" COMPATIBLE_MACHINE:powerpc64le = "null" +COMPATIBLE_MACHINE:riscv32 = "null" From patchwork Tue Jan 7 21:30:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 55171 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 5CAE2E77198 for ; Tue, 7 Jan 2025 21:30:16 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web10.3961.1736285408199470800 for ; Tue, 07 Jan 2025 13:30:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=d5an56lo; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2f13acbe29bso321855a91.1 for ; Tue, 07 Jan 2025 13:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736285407; x=1736890207; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4HsRY2gkt+gXDR9PvGW6W+i7WLmNcDS4va03lcG22os=; b=d5an56loD3VHQ+E4K6ysAoWA7cOEf2Fo4+CM3BP0Hz/dt8jdem2VODeSZ1tXd9WkoZ Z83VWsj90UKaYWifsBSytTqFr2WSOr5/rCQG/PEtws9/hZyK06vZ0i0Y7pqBbHo4wJkv ScYQFqq7pHXoEu4YCiwpFfy9xJT8kcORShgT9J0NLR56yRdn6gvZVwESUJq3jybtGHqv e8igExFemEvLCGqNi9ceZDSJYIaEbYhY/1vL86pn7iYRayM+7qYKtjwqa0Ob+ynvz1Uk t7NZ+hpMs29e+8aNccCdTTaC7as56xXc02jye+4wpAbhwi1VVFKW+Wl2Fb+Yi61Dm9qN q8Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736285407; x=1736890207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4HsRY2gkt+gXDR9PvGW6W+i7WLmNcDS4va03lcG22os=; b=shvFqPP7PYpO1LrFxd6b2RAUmIai3JjaxsiwCDU27NjD2IHMS/37/Vn+9PBoTIzczT NG7bSlxj4AdxlWaNmiwyZ6J7TEDhOQHdq8W+IjNuix4Q5dPCKLsNhDjbk3Fwh1AmNWkp iupB6RTQXsTy5BzEWV26cTX3TsxDBmQau8uH4ujIAGxIOd++yGEml4Rq+mTKKktvZpxv NH15BZmC23uVsfPOLr+XX2bc20GWpaYTQq11zT62c+fAwKAjr7ERR/H/BUOj/687g/72 /2vg/TdFb5sg2U4gx3tLPjHsDxMv9y5Z3XMuWmCATdHBs9IcM/GmjJxz37+g0AgqlNoa 9D5w== X-Gm-Message-State: AOJu0YxZfgFCSX/iBQMeA89tHQrwP1YWkAuK/ImyC6RWd140uEmhDxvt eYW37UJrD1e3cZ9oM3Ihbq55q68PyvQtDujXk6UQuGMvubCH9+SH9WBbOg== X-Gm-Gg: ASbGncvy8WJLx7tDifjN8bkJ8EDh0G5Bsfxb+W2L55slDKo2wLFZyi9bvjsrYX8UtVb PYd2eAJDvKHObKgvAzPq3xw+BBKSj0mz2rS53C7LOpT1nrGIHN31RVxWESP28KyTvZQlgAy3aOS bZAAlNn+PbhYWd8idZm31rbmZKoDOSZfA1+xKBcbYJk53P7/tH/NOEk8ksyCRkEZbTPDyddaoTN Dxq84WdibxMx/muGfLKckHVi7dzCKsTCUCeFVJLmovhUCa0 X-Google-Smtp-Source: AGHT+IGJVwZcizn/52ejeD0sW9yC4h4eyvYStR3XCWwFqzatse40zwUv2Ghu2Baxvg3WWYky7ixtiA== X-Received: by 2002:a05:6a00:aa05:b0:724:db17:f975 with SMTP id d2e1a72fcca58-72d2174e8a3mr1273914b3a.12.1736285407347; Tue, 07 Jan 2025 13:30:07 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::5bc2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8157e3sm25877847b3a.26.2025.01.07.13.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 13:30:06 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 3/3] libheif: Make openh264 as packageconfig Date: Tue, 7 Jan 2025 13:30:02 -0800 Message-ID: <20250107213002.1443331-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250107213002.1443331-1-raj.khem@gmail.com> References: <20250107213002.1443331-1-raj.khem@gmail.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 ; Tue, 07 Jan 2025 21:30:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114730 openh264 is an optional dependency so its good to make it a configurable option since the build says that its an optional dependency, this helps in building libheif for architectures like riscv32 Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/libheif/libheif_1.19.5.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libheif/libheif_1.19.5.bb b/meta-multimedia/recipes-multimedia/libheif/libheif_1.19.5.bb index 4610a60392..b0f09d113c 100644 --- a/meta-multimedia/recipes-multimedia/libheif/libheif_1.19.5.bb +++ b/meta-multimedia/recipes-multimedia/libheif/libheif_1.19.5.bb @@ -14,13 +14,14 @@ SRCREV = "cd95b113d78d0696105a9e678cbd19487ee13d6c" inherit cmake pkgconfig DEPENDS += "gdk-pixbuf openh264 x265 libde265 tiff zlib libpng libwebp" - -PACKAGECONFIG += "dav1d jpeg jpeg2000 ffmpeg aom" +PACKAGECONFIG += "dav1d jpeg jpeg2000 ffmpeg aom openh264" +PACKAGECONFIG:remove:riscv32 = "openh264" PACKAGECONFIG[aom] = "-DWITH_AOM_ENCODER=ON -DWITH_AOM_DECODER=ON,-DWITH_AOM_ENCODER=OFF -DWITH_AOM_DECODER=OFF,aom" PACKAGECONFIG[dav1d] = "-DWITH_DAV1D=ON, -DWITH_DAV1D=OFF,dav1d" PACKAGECONFIG[svt-av1] = "-DWITH_SvtEnc=ON,-DWITH_SvtEnc=OFF,svt-av1" PACKAGECONFIG[jpeg] = "-DWITH_JPEG_DECODER=ON -DWITH_JPEG_ENCODER=ON,-DWITH_JPEG_ENCODER=OFF -DWITH_JPEG_DECODER=OFF,jpeg" PACKAGECONFIG[ffmpeg] = "-DWITH_FFMPEG_DECODER=ON,-DWITH_FFMPEG_DECODER=OFF,ffmpeg" PACKAGECONFIG[jpeg2000] = "-DWITH_OpenJPEG_ENCODER=ON -DWITH_OpenJPEG_DECODER=ON,-DWITH_OpenJPEG_ENCODER=OFF -DWITH_OpenJPEG_DECODER=OFF,openjpeg" +PACKAGECONFIG[openh264] = ",,openh264" FILES:${PN} += "${libdir}/libheif ${datadir}/thumbnailers ${libdir}/gdk-pixbuf*"