From patchwork Tue Nov 26 00:08:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiago De Franco X-Patchwork-Id: 53170 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 CC458D59D80 for ; Tue, 26 Nov 2024 00:10:47 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.34493.1732579837677753646 for ; Mon, 25 Nov 2024 16:10:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gC1AGRSK; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: hiagofranco@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-212776d6449so54896995ad.1 for ; Mon, 25 Nov 2024 16:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732579837; x=1733184637; 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=E1SGqR8ym3+IsE8YlDHblHuafQ8sr3QkPUX0plgLebE=; b=gC1AGRSKqS3KNtuaWrKUsZ7xyMjjJz8qqPEAkCUurhnud/imZ5RbPGLNd3dzYzLwdo /S0KKbHIIpkrWWTvDRg3BGNfEv4oqj0KxaC9/RKtGwqyITc40c6PDVm4R12XUKHBxMmk /S3MGkT49h2LeOy6Y7sw9mz8YPKfUoHa3mXsuVMQ1aDL5wns8fg7C5/5O5p2rInTgYOI g6m/006ABE2CkqnUP5ZA0B3fpQ6lSwa7jssT2jrJGBZVcnBcAI3Bl4ojdw5lv3mKyxS7 ZdWUiBPhv1oIqurBGbGlapnAaRYp7tRKoI6Lc6dOvfNwEGfkuTl9/ufxdZO2Jkz6KJy4 aEbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732579837; x=1733184637; 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=E1SGqR8ym3+IsE8YlDHblHuafQ8sr3QkPUX0plgLebE=; b=Kyvk1ZpiJuNs9l76i57/g6CijxnODtIEAuAPJZyvH8w7lJkH3fG2tSLk52RGjHoEDq y8mNDOdv8EqdpiGpHG3a02pvGS9QNSj3A1nw7CyXt23/FFyQQMSV9KR9A8Obf9W/ErVH 2Y/6fhy9Spn8ZXXluC2h+x2FeqcmMZs3BPZjqZm0UB3OxL1dHxBQHsFgysTBGYk5D0Mm imB/QOy35AbcWR2z/baTENXFNW7IGWEMSfBJFCvCE4uCg5e2wD4mtuDSVUjAzizZstpo lTXgHgHf1P9pOTYGEMRQPjEJNQJxp2pm3hTI3ka57XEmKaLMJMxjeKD7tMjuzClgRm9U x5zg== X-Gm-Message-State: AOJu0YzwKjvc1EbQdqD9Qhi5JfFJpfYgY/vvjvQonBfOMAlb/GRXVrem F9Biczt0r9G7iJFFKanYjyvyiAsUSuxzOKF1NSR5NVNbssLfdnR1lU7Y2A== X-Gm-Gg: ASbGncsejoxaoGNBUWN8cYYvZ/4NRSbxDw3UQEaN56FXI6pqsZ7nlUjk8+2nmMPLMPV RUOB4mHQy+zOtLu/Png5mKqJFpiB0qFJalmdjQM5n/oOdRfbcAbnyXA6JVhxtt59xSEHjtkCIYQ EuJhXj9NbweYL4jWH84FNPU3tOkwIRurBdVbfcE7BVgKD3DUqeVwFlhpZ7FMFF7Ap7otd7vl2Ux tGu/Se7x2nTybBKqHIWwvbz06QQD7kB8Us4RH1Cfthx87MTopv9XwcQSoE7qDFl X-Google-Smtp-Source: AGHT+IFLh3+eUh7wzKjDGZaxMmMiBjzWcz7peweyGCxxlaOZxkkpdRQZf1axieSB8P3e8fBLabJ9mw== X-Received: by 2002:a17:902:d2c9:b0:212:5814:8916 with SMTP id d9443c01a7336-2129f5e7691mr197294025ad.45.1732579836699; Mon, 25 Nov 2024 16:10:36 -0800 (PST) Received: from localhost.localdomain ([2804:1b3:a7c1:5c7a:1bbe:c924:2a5:636]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dba1b40sm71383655ad.87.2024.11.25.16.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 16:10:36 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Ross Burton , Hiago De Franco Subject: [PATCH v3 1/3] hwdata: add recipe from meta-openembedded Date: Mon, 25 Nov 2024 21:08:34 -0300 Message-Id: <20241126000836.6901-2-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241126000836.6901-1-hiagofranco@gmail.com> References: <20241126000836.6901-1-hiagofranco@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, 26 Nov 2024 00:10:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207804 From: Hiago De Franco Move hwdata recipe from meta-openembedded to openembedded-core. libdisplay-info is now a requirement for Weston, since commit a16598b038b2 ("backend-drm: make libdisplay-info mandatory"). However, in order to build libdisplay-info, hwdata is required. Since Weston is built inside openembedded-core, move hwdata in order to be able to upgrade Weston, so oe-core has no dependency on meta-oe. hwdata contains various hardware identification and configuration data. Signed-off-by: Hiago De Franco --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-support/hwdata/hwdata_0.389.bb | 30 +++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-support/hwdata/hwdata_0.389.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index d61b88f7de6c..04208ebbf22b 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -262,6 +262,7 @@ RECIPE_MAINTAINER:pn-harfbuzz = "Anuj Mittal " RECIPE_MAINTAINER:pn-hdparm = "Denys Dmytriyenko " RECIPE_MAINTAINER:pn-help2man = "Hongxu Jia " RECIPE_MAINTAINER:pn-hicolor-icon-theme = "Anuj Mittal " +RECIPE_MAINTAINER:pn-hwdata = "Hiago De Franco " RECIPE_MAINTAINER:pn-hwlatdetect = "Alexander Kanavin " RECIPE_MAINTAINER:pn-i2c-tools = "Anuj Mittal " RECIPE_MAINTAINER:pn-icecc-create-env = "Joshua Watt " diff --git a/meta/recipes-support/hwdata/hwdata_0.389.bb b/meta/recipes-support/hwdata/hwdata_0.389.bb new file mode 100644 index 000000000000..8ab455cd2e99 --- /dev/null +++ b/meta/recipes-support/hwdata/hwdata_0.389.bb @@ -0,0 +1,30 @@ +SUMMARY = "Hardware identification and configuration data" +DESCRIPTION = "hwdata contains various hardware identification and \ +configuration data, such as the pci.ids and usb.ids databases." +HOMEPAGE = "https://github.com/vcrhonek/hwdata" +SECTION = "System/Base" + +LICENSE = "GPL-2.0-or-later | XFree86-1.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57" + +SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https" +SRCREV = "5313a12eb992a354c17fc895c1d69c8c42b09a06" + +S = "${WORKDIR}/git" + +inherit allarch + +do_configure() { + ${S}/configure --datadir=${datadir} --libdir=${libdir} +} + +do_compile[noexec] = "1" + +do_install() { + oe_runmake install DESTDIR=${D} +} + +FILES:${PN} = "${libdir}/* \ + ${datadir}/* " + +BBCLASSEXTEND += "native" From patchwork Tue Nov 26 00:08:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiago De Franco X-Patchwork-Id: 53168 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 CAC95D59D85 for ; Tue, 26 Nov 2024 00:10:47 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.34495.1732579840419800203 for ; Mon, 25 Nov 2024 16:10:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i/saoL2g; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: hiagofranco@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-724d57a9f7cso4028614b3a.3 for ; Mon, 25 Nov 2024 16:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732579840; x=1733184640; 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=7yVhrd5QeFr4f/y9EHGCKMy97ANOQhGO61RtYLi44M0=; b=i/saoL2gt8j2OzW+HJKsXGyAgPbSw6H/kpz48Kua7iLfAzVJlqjOKr6RXVAgdOwNa7 Z+gsD/hhss1Gjt9aAqlp9y2hbF3XSIfTrfWJXvBWIcchpeQ4CwybStAOwv+1rpbMls+n bUHR5aP6jB/p9iAhrxnzPtom6BMEyctRzmKpQTMngIUo/vsLg2nifdOFq4jTfB2osJiS 8ZyIuPj/RJz5hCBwT2bhzTmVZHzBruYSNC9nS3ocX/sn95DFw46Usvqu3FYXH3hldh2Y 7n6LWDHv2ltaN8a6xD2xvfDsoS8SiiEFuD9jdyHFy5RD773JMzkBlGUu1xXvBD77VTE7 +V4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732579840; x=1733184640; 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=7yVhrd5QeFr4f/y9EHGCKMy97ANOQhGO61RtYLi44M0=; b=A9THzadbz4zKsD4xFf6qLcsQiVTQKgj/EZRnPLlki+s01P0krF1ph+rV1ITB7qnciJ MvWO8JaX72FmRIItXiaE9zfe+4jajKsI6gNBTShwLT+CJTAaoqzo4kZZ0aMwPelGu0nI 4XnHRb0DIbmVlcQELzJY4jqzC7pH1KIersZlJA5mWxpcO3QDX18oIzIzknBsICVFOhiK mSQc+WESiIeLyL8krerNdsryQTf+ecTWppo+vPv/Wz/ohc7ajkNWKnRsf8tLPaEWAXUT zGViQiW4W7C2oVGaFtpSk7LCcG9p/wsBdjTwh837zsszD8lHZuxFEgDRQytXTre0YW4u kLow== X-Gm-Message-State: AOJu0YywV7CpnlbCKatHDzNOpgmc2+SmVF2SZm1yhVYvM6p0vIbkm3ae P6NhRjThxT4rA2HfYSeov/jxpD2GHE95kO+/T2RYQFQqdelguLFibxI8dw== X-Gm-Gg: ASbGncuWjc9iu+HnkJU0LE+eME8i895LQDtop2AwQ7sIkhjtTljb3ggrzP8jDWnZtgD 1Hp7m+ElufXwR5wmH2Ue9woVDzAF2iIsb87q1ukebFEkPt3o8962aEnzzUYs7PSPCDv/kBgCTqY YRJf43/JgX7QCcofRI+sp/rmuqhpWBm0sSo95uGxcINmMcnrgxg8ZBVi3QHOVbm70gHqDrO5cVt Is2qPhmULxPPy5vz4JUscb738Rx+PKF1G50DraW26jkALnEeAcibt++MkMCAKCL X-Google-Smtp-Source: AGHT+IES9DyM0uEuGepTaxTG3o6pda/UCl6cW+ZSNFj4wuLknL4cUg3Hnz+SegzVE/1LfCv57gr7zg== X-Received: by 2002:a17:903:18b:b0:212:37e:3fcd with SMTP id d9443c01a7336-2129f290e12mr179376905ad.56.1732579839596; Mon, 25 Nov 2024 16:10:39 -0800 (PST) Received: from localhost.localdomain ([2804:1b3:a7c1:5c7a:1bbe:c924:2a5:636]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dba1b40sm71383655ad.87.2024.11.25.16.10.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 16:10:39 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Ross Burton , Hiago De Franco Subject: [PATCH v3 2/3] libdisplay-info: add recipe Date: Mon, 25 Nov 2024 21:08:35 -0300 Message-Id: <20241126000836.6901-3-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241126000836.6901-1-hiagofranco@gmail.com> References: <20241126000836.6901-1-hiagofranco@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, 26 Nov 2024 00:10:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207805 From: Hiago De Franco libdisplay-info is a EDID and DisplayID library. Goals: - Provide a set of high-level, easy-to-use, opinionated functions as well as low-level functions to access detailed information. - Simplicity and correctness over performance and resource usage. - Well-tested and fuzzed. Since commit a16598b038b2 ("backend-drm: make libdisplay-info mandatory") from Weston, this library is now mandatory in order to build weston 14.0.1 and newer. Signed-off-by: Hiago De Franco --- meta/conf/distro/include/maintainers.inc | 1 + .../libdisplay-info/libdisplay-info_0.2.0.bb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 meta/recipes-support/libdisplay-info/libdisplay-info_0.2.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 04208ebbf22b..53bb9d024e8a 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -325,6 +325,7 @@ RECIPE_MAINTAINER:pn-libcomps = "Alexander Kanavin " RECIPE_MAINTAINER:pn-libconvert-asn1-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libdaemon = "Alexander Kanavin " RECIPE_MAINTAINER:pn-libdazzle = "Alexander Kanavin " +RECIPE_MAINTAINER:pn-libdisplay-info = "Hiago De Franco " RECIPE_MAINTAINER:pn-libdnf = "Alexander Kanavin " RECIPE_MAINTAINER:pn-libdrm = "Otavio Salvador " RECIPE_MAINTAINER:pn-libedit = "Khem Raj " diff --git a/meta/recipes-support/libdisplay-info/libdisplay-info_0.2.0.bb b/meta/recipes-support/libdisplay-info/libdisplay-info_0.2.0.bb new file mode 100644 index 000000000000..f5156cc9f736 --- /dev/null +++ b/meta/recipes-support/libdisplay-info/libdisplay-info_0.2.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "EDID and DisplayID library" +DESCRIPTION = "The goal of this library is to provide a set of high-level, \ +easy-to-use, and opinionated functions, as well as low-level functions for \ +accessing detailed information, prioritizing simplicity and correctness over \ +performance and resource usage, while being well-tested and fuzzed." +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/libdisplay-info" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e4426409957080ee0352128354cea2de" +DEPENDS = "hwdata-native" + +SRC_URI = "git://gitlab.freedesktop.org/emersion/libdisplay-info.git;branch=main;protocol=https" +SRCREV = "66b802d05b374cd8f388dc6ad1e7ae4f08cb3300" + +S = "${WORKDIR}/git" + +inherit meson pkgconfig lib_package From patchwork Tue Nov 26 00:08:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiago De Franco X-Patchwork-Id: 53169 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 CD936D59D87 for ; Tue, 26 Nov 2024 00:10:47 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web10.34225.1732579843497654491 for ; Mon, 25 Nov 2024 16:10:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hvI5zikr; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: hiagofranco@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-724e113c821so3129997b3a.3 for ; Mon, 25 Nov 2024 16:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732579842; x=1733184642; 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=205xEtK5EIaiAtdQgmJPmtnmPhrfii3BwvrPWL6KpIg=; b=hvI5zikrjnMAIWySYjfRNVb+dvH8hIX+ibfpfFFH9vy/wJJHn20vxJMeRTBIE44jWg W/+K1XwmgJ8Pkg6aBJ2WhadRT3LJ9q+7Uld2G/4JesNStN1z8BRVGbizDzu72EX2pKAL TjOvy0M9a32FWrPYx4TZHY32xc5VfzOAd/vnDDdPJyDp/JVjk3Lfgh8Ljt6FOAj7FJlG Ma+wkULfSBJQANk/qoEmXNkDyMskqhd9lEeqscQzrm8Zqz0Yj9rowF/O4NAfZMyLdT/h 3d3Yacbesf2SFIMPA125ZmpbPM8vW1HtcbNReWa1Kx7pYWAJv7e6EQOiSWI4Wl+4h2Qw sKAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732579842; x=1733184642; 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=205xEtK5EIaiAtdQgmJPmtnmPhrfii3BwvrPWL6KpIg=; b=WirwuY0NmB77cMi/plk5jIxIApwPwkOdwaqbbidhfIZgyWdHBlVijDc4UcTC5HGxVy FyQUWgjsWxvJzfAElaQ5uy4XKU6pkAF6ZYnrkyXbYXsKGbIYmRthp8WpU7CBJT+sUI0v YFL2U7M9kKJ9t7Io7QLkPZThv6JhyXdiXEUzig8kidYQztsZpUaeBM3P+3AKXxXLP63f uJmItpri8Qn/g6oeWuSwPCtdcDdONOJqTJete7nyWWf17/4h8AMSSE5/ZGP2FOzQE8Iu 2BaOIyTu7xEFwbRsrMdHwdyK/43yxlSJTTglDMQ/AvDKFZajHFFguC53O0DqcUk9CxhU WTVQ== X-Gm-Message-State: AOJu0YzKYFjO64CyDH7KjZl54nn+WJuB1bG2tkEmsmmpElRNl2vYuIh/ 4INvhI669Izj0zlBGKJJohmXgXnAZeP45NaH3m58ZG2eev1yi7hoXl6AjQ== X-Gm-Gg: ASbGncu2WYdZXJACzjKpty4fPILsl9tsDGQrl4mMUloBrY63XizBiQ55jV4e2qf9NPx Rd31gjTTH0aNvq6TqE5b/+9QJbfOG/ZEuu7Q52Fp2yTI3VRLQoeQtu+9SXDuZQwiRa6Qo3Yp4jA ypZy4Z5EZWjwRZHvRmNVtOCmzo1k7QIuvps3uRyURukdQt3QdpNuRsrpL5YcITSgFssKVSeP+Lf gbSlpi6xJ/YY/TKjn553pbfsC4kPt01DwL9pQ9qJ1yiQjC24WQmconioMCw0GFx X-Google-Smtp-Source: AGHT+IFdCxAcSI8phQSP+lQezslRFVY4rwKMisvbUq4VEqBNbFpEgjQyNek8WLjBxVRtXTkM8n8o7Q== X-Received: by 2002:a17:902:dac8:b0:211:e686:760 with SMTP id d9443c01a7336-2129f2a53a6mr233736625ad.53.1732579842360; Mon, 25 Nov 2024 16:10:42 -0800 (PST) Received: from localhost.localdomain ([2804:1b3:a7c1:5c7a:1bbe:c924:2a5:636]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dba1b40sm71383655ad.87.2024.11.25.16.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 16:10:41 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Ross Burton , Hiago De Franco Subject: [PATCH v3 3/3] weston: upgrade 13.0.3 -> 14.0.1 Date: Mon, 25 Nov 2024 21:08:36 -0300 Message-Id: <20241126000836.6901-4-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241126000836.6901-1-hiagofranco@gmail.com> References: <20241126000836.6901-1-hiagofranco@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, 26 Nov 2024 00:10:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207806 From: Hiago De Franco Key changes are: - Patches have been removed since they were merged upstream and are no longer needed on 14.0.1. - Since commit a16598b038b2 ("backend-drm: make libdisplay-info mandatory") from Weston, libdisplay-info is now a build dependency. - Since commit f271dd34b617 ("compositor: delete cms-static and cms-colord plugins") from Weston, "deprecated-color-management-colord" has been removed, therefore remove the "colord" PACKAGECONFIG. Signed-off-by: Hiago De Franco --- ...Include-libgen.h-for-basename-signat.patch | 45 ------------------- ...1-vnc-Allow-neatvnc-in-version-0.8.0.patch | 27 ----------- .../{weston_13.0.3.bb => weston_14.0.1.bb} | 8 +--- 3 files changed, 2 insertions(+), 78 deletions(-) delete mode 100644 meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch delete mode 100644 meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch rename meta/recipes-graphics/wayland/{weston_13.0.3.bb => weston_14.0.1.bb} (94%) diff --git a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch b/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch deleted file mode 100644 index 2a833ee973c6..000000000000 --- a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 1a2a87013eb6af8e5267ecaf61e17b65a31dc662 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 14 Dec 2023 09:13:54 -0800 -Subject: [PATCH] libweston,tools: Include libgen.h for basename signature - -Latest musl has removed the declaration from string.h [1] as it only -implements POSIX version alone and string.h in glibc implements GNU -version of basename. This now results in compile errors on musl. - -This might be a warning with older compilers but it is error with -Clang-17+ as it treats -Wimplicit-function-declaration as error - -[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1420] -Signed-off-by: Khem Raj ---- - libweston/backend-drm/libbacklight.c | 1 + - tools/zunitc/src/zunitc_impl.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c -index ca7f2d6..74690fa 100644 ---- a/libweston/backend-drm/libbacklight.c -+++ b/libweston/backend-drm/libbacklight.c -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - #include - #include - -diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c -index 18f0301..9b460fa 100644 ---- a/tools/zunitc/src/zunitc_impl.c -+++ b/tools/zunitc/src/zunitc_impl.c -@@ -27,6 +27,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch b/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch deleted file mode 100644 index 4ac1c075fdce..000000000000 --- a/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 534cfa08ea0a0c2646b4aec20b16bf95f6d0aae6 Mon Sep 17 00:00:00 2001 -From: Lukasz Czechowski -Date: Mon, 3 Jun 2024 13:39:27 +0200 -Subject: [PATCH] vnc: Allow neatvnc in version 0.8.0 - -Neat VNC 0.8.0 does not introduce any changes that breaks API used -by VNC backend, so it is safe to extend compatibility. - -Upstream-Status: Backport [05e5405651054c580b248c4ab2791ed8d66369e3] -Signed-off-by: Lukasz Czechowski ---- - libweston/backend-vnc/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libweston/backend-vnc/meson.build b/libweston/backend-vnc/meson.build -index b7b6916..39b15cf 100644 ---- a/libweston/backend-vnc/meson.build -+++ b/libweston/backend-vnc/meson.build -@@ -3,7 +3,7 @@ if not get_option('backend-vnc') - endif - - config_h.set('BUILD_VNC_COMPOSITOR', '1') --dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.8.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep']) -+dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.9.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep']) - if not dep_neatvnc.found() - error('VNC backend requires neatvnc which was not found. Or, you can use \'-Dbackend-vnc=false\'.') - endif diff --git a/meta/recipes-graphics/wayland/weston_13.0.3.bb b/meta/recipes-graphics/wayland/weston_14.0.1.bb similarity index 94% rename from meta/recipes-graphics/wayland/weston_13.0.3.bb rename to meta/recipes-graphics/wayland/weston_14.0.1.bb index 471dc52bb361..50749d7d153c 100644 --- a/meta/recipes-graphics/wayland/weston_13.0.3.bb +++ b/meta/recipes-graphics/wayland/weston_14.0.1.bb @@ -7,15 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ " SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ - file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ - file://0001-vnc-Allow-neatvnc-in-version-0.8.0.patch \ file://weston.png \ file://weston.desktop \ file://xwayland.weston-start \ file://systemd-notify.weston-start \ " -SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" +SRC_URI[sha256sum] = "a8150505b126a59df781fe8c30c8e6f87da7013e179039eb844a5bbbcc7c79b3" UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" UPSTREAM_CHECK_REGEX = "releases/(?P\d+\.\d+\.(?!9\d+)\d+)" @@ -27,7 +25,7 @@ inherit meson pkgconfig useradd require ${THISDIR}/required-distro-features.inc DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" -DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" +DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" @@ -75,8 +73,6 @@ PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" # Weston with Xwayland support (requires X11 and Wayland) PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xcb-util-cursor xwayland" -# colord CMS support -PACKAGECONFIG[colord] = "-Ddeprecated-color-management-colord=true,-Ddeprecated-color-management-colord=false,colord" # Clients support PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" # Virtual remote output with GStreamer on DRM backend