From patchwork Sat Nov 23 19:35:27 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: 53058 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 085BBE6919E for ; Sat, 23 Nov 2024 19:38:25 +0000 (UTC) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) by mx.groups.io with SMTP id smtpd.web10.53815.1732390704129399892 for ; Sat, 23 Nov 2024 11:38:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OEeMhLKa; spf=pass (domain: gmail.com, ip: 209.85.221.173, mailfrom: hiagofranco@gmail.com) Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-514589ac56dso1212974e0c.0 for ; Sat, 23 Nov 2024 11:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732390702; x=1732995502; 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=cBkxH9ZspGHlXp0IABuuEkG0zagXQx+E//E/zmPVZsY=; b=OEeMhLKaHOdovGxePPSlstfDyLe2f9GSO8iJ8op0e5fhxRQtH/MuHgfY7OUP7UZVHG ims6wW+almwuMHgJqAgaWfh9SpD47qzkvSs44+s9fJ9KjJ7MiSVeu2Dw3FMQr4D6Vtpy moPELiG7ygeyhQeyDGRib5jFbq2zDwktAVeHTDYSaRLar7ZZ9UA+c/05Qa/a4OpgNXd/ rSUhNy8c9jfexCSSUu6DMKiN6NYUbYdhRbGOSAoHwX/ZumlV359g44s6Uyv5U8OEPfox lkxCdhn31ZEK28WCWc/iBoOxzfrLaCWjwEJRfurKex6P38Y+Lea4S9cQZsU8zkdvovoT TQbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732390702; x=1732995502; 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=cBkxH9ZspGHlXp0IABuuEkG0zagXQx+E//E/zmPVZsY=; b=LtjxlrvvHqCBCFvY1aU0faBDdhPcFt/I97WkLA1KxqVVTzZXy4wf2YbfmTmKJmGLI5 v2SoEhL4IMrUFBARWa8x65zrGFVX+uaQ10A3SORQbF2qp6MrV1FRjyg9zxZNS4omzrhR zfgwqu9jm2yfINqlSv7Bzptw6A52qHwY7OSdcCivAenUsYGO0kVKhWNsO8t4ZzCz6HB/ 2loc1rdr3L39FD6WuTvCSVKzFD0w7lga5MTjvA2HMQq9kBZHBET/wmf5j9odosQ3pF4G ecpjqjiDfN6E2FAJaFDeOeb927ytKFVQ++SBN4X7ol/NBDTZCdgNGCdCSJURXkQTKGTA w4zg== X-Gm-Message-State: AOJu0Yz08uqwlZliDOy3DHRk9kaAb3JO19Rp5Rm4rtaqyc84PNDAWu5J HcuQbvP+wY1+/nr7xl7u2X7HYK9eABeVLvbr0LpQmMZ9ZVCwUs0NsLi8IA== X-Gm-Gg: ASbGnctRiaWFk/h75E7oAiMfEhsoYv/rvgwlAij6Orp2qh4Qs9Xzml6+kzL9Ahjpmvc YhmuVCxhYt2XwzRScnpktU3Cky1grpTM6qLYvFnS3LMRZbd7Lj1+H57tht5NBLSGVe7J86RAR8K jdVYZvrqREzn79XaU0y4ZkXP6KKWnXveiwlFrASSsMXbdVNyqxR+0V52Ar9knaTq4o+N1Y78J// sWJ2xHTXuIwb84syFi9SV7vWZbwkeN6KiDMfBmGFambsnRoWuw= X-Google-Smtp-Source: AGHT+IE3GfiMtMDZfY4rSjbR3sv7EBTQrYh94wPXn9wxq7nNZuhHTJE27xcRP3OJmoJvWcCjaeim2g== X-Received: by 2002:a05:6122:1815:b0:50d:160e:de73 with SMTP id 71dfb90a1353d-515004caf21mr8246076e0c.6.1732390702604; Sat, 23 Nov 2024 11:38:22 -0800 (PST) Received: from hiagof-nb.. ([146.70.98.177]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-514faf3a95fsm508162e0c.15.2024.11.23.11.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 11:38:21 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Hiago De Franco Subject: [PATCH v2 1/3] hwdata: add recipe from meta-openembedded Date: Sat, 23 Nov 2024 16:35:27 -0300 Message-Id: <20241123193527.1435268-2-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241123193527.1435268-1-hiagofranco@gmail.com> References: <20241123193527.1435268-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 ; Sat, 23 Nov 2024 19:38:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207691 From: Hiago De Franco Add 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, add hwdata in order to be able to upgrade Weston, so oe-core has no dependency on meta-oe. 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 Sat Nov 23 19:35:28 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: 53060 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 E17E1E66883 for ; Sat, 23 Nov 2024 19:38:34 +0000 (UTC) Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) by mx.groups.io with SMTP id smtpd.web11.54203.1732390706795137412 for ; Sat, 23 Nov 2024 11:38:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RtNz+41h; spf=pass (domain: gmail.com, ip: 209.85.221.182, mailfrom: hiagofranco@gmail.com) Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-5151e429d53so91707e0c.3 for ; Sat, 23 Nov 2024 11:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732390705; x=1732995505; 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=atb25WKL44/D7zlQkVjtAM4s/z/QxPUmc3bFsUIrqx8=; b=RtNz+41hMw3GJHCvXv/HFHMVYfMBZqFrUmJ7viTQLBqdQdHMaVNyuxhNwvHPIDjmNZ eSo7LCzjhyXhWiOsDLuKvmLbzwRsYyFjSYuE6i2BQD0tPbvwyRMBgxQM/W6p7CCr+A9b Zf7xwq5K87izRfvGBJ46cHaHcXpDgGYBc/ha5SMB3nYJT41V+wpAX74X0PKHqFcWITm5 ZmblmlbRMzEHyt6rxVU6tf7Rz6YTS3bbpCzYBFPsngTEsM7tWNyNpZ8Ctw2fs1WufrNv 8ovlXkLnYEAIh6dtqk9WCjiqmFrxhMWgeHnf4Yg46A/UU8AuTyfR4SnIs7y7DR4fOgqJ jNmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732390705; x=1732995505; 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=atb25WKL44/D7zlQkVjtAM4s/z/QxPUmc3bFsUIrqx8=; b=O5ptvBYoU1grKvVTfd8ffuNvvyOh0S6F3kJzuliobi/sXEPYMY95kjjNmjpI4EbkA2 YKA2HXkpGgxg6P8EbL1/nuEJKyYKxH4xbrZl/3r1cGKNGzPqq3chdEMYAK/P+x4wHuuv YJxpdqDdLL8z0HIVr3SVwFH7hHlWPSb8f79jor+zSdXU5C8tHVYA8hFgPE463WoFarll U+QIB7qXbKTsuotLWLM9Yg96U3ZcrvvqHuw1OT9eUpCrzJ2tu+7vvGjSMMLpYPw/OTnW x58R3UAnHWTOkmVb4HWj4FG9fgruDn+R9xJfIPJY4XQZLaorNGEB3Am/TBOTDrF/bmAk I9iw== X-Gm-Message-State: AOJu0YwPHE7lRIRDK8oAvmU3Goh59wkmaffOeLqTZ0hg/ACBYW5mAvf9 7QLiWlTZd657UJAdFd0UwV7l5ZgPoX8euTOM5OEJCrRAY7E0M2Fx9WpK8g== X-Gm-Gg: ASbGnctCnmkQCpJF7djzXqrWoG6VTkRs1E193jIIfsXZxiMxW6Ap81coExTlk+e9QdC Kkn9q60zvBxR+TeZUXc6NlPv1AkyL3s1WlFEnWLG7LCBhUcKHoKotPJP+rEu9/DtU5Oo7xGyGjS /R6i9NJ50MTMh7Kxneh+ogsoaxsasG0QRumghPAiK94gXLE2fKL4sUDgdK0YSWptOJ+YP5FHrXj IrOgYxjOdzlQuGT3q3cDpXJC9I42BsqRXMKjxTW8mH6jzJrIwI= X-Google-Smtp-Source: AGHT+IHWLagF59z7HZFoIquKsIncCC+N17WnUj8JMJeoea7KsEDOsj/LWii4oVMRdTvo+lWJsXYNkA== X-Received: by 2002:a05:6122:4d8d:b0:50d:83e1:94fb with SMTP id 71dfb90a1353d-51500ad9579mr7816108e0c.12.1732390705318; Sat, 23 Nov 2024 11:38:25 -0800 (PST) Received: from hiagof-nb.. ([146.70.98.177]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-514faf3a95fsm508162e0c.15.2024.11.23.11.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 11:38:24 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Hiago De Franco Subject: [PATCH v2 2/3] libdisplay-info: add recipe Date: Sat, 23 Nov 2024 16:35:28 -0300 Message-Id: <20241123193527.1435268-3-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241123193527.1435268-1-hiagofranco@gmail.com> References: <20241123193527.1435268-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 ; Sat, 23 Nov 2024 19:38:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207692 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..629f0d420fee --- /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 From patchwork Sat Nov 23 19:35:29 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: 53059 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 E0A5BE66882 for ; Sat, 23 Nov 2024 19:38:34 +0000 (UTC) Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) by mx.groups.io with SMTP id smtpd.web11.54204.1732390709210466854 for ; Sat, 23 Nov 2024 11:38:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KhM3hTYz; spf=pass (domain: gmail.com, ip: 209.85.221.174, mailfrom: hiagofranco@gmail.com) Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-514668ec665so2607774e0c.0 for ; Sat, 23 Nov 2024 11:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732390708; x=1732995508; 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=KhM3hTYziuXca4Yomm4OQ8ov3niiv7yljFxzTg+DCxyceFlBgTa1T49wgsP2gmAeOJ /VLn8PXSJ3l88pRBzFSZKi13ZkEmHTefK7j6X+JjTDI6CqSMFAutN7LXMFXJlv/11YAs Sr4vupPYpJ7Djo+vUlEvFi6UQfHUbIl2A3tJ4iiILsu/34rUw/EXmaq4W4fato/DdMsk gqtYiAO/ra5J5QNYgUm2N80lqnbtCT+JcoCPklIzdF7EeQuBykB2XrpOj6KhN8RHdOLK 7Dqcv3vQcgHm+6OLEPlCTinXyOwmHOfghwTkbMGY82JTnHw7elhxQjk3sDPdkU5EdHpj 74Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732390708; x=1732995508; 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=uRZC11GUKZmXZUyz1tPXgQ6yUwQsq3KxfM1k2a4FuqEVHkWRKNeaToWW4YF2qfLRdP NCTIziPLgdPVRBFIbRy83O74fhDCe3btJ+B/Rq0djToSZ+ivOM5TJptY+29EOjoW1Vm9 tA0v49cQB9uQGld2fVzWzWU2Zzg4KhlwgQh3EYyOqL2J6vKTHoeL/yNgw3qd5VsGHEXE uAg8HZ/fRoN1k4EkFF9ptL+zXDCSr8tlM/x1Bi+7Vu0DCBTT8DRX+JYztu4ahuXYH4lN erwPdpL0JCb8BESiYfPPa/l8UGgTZyMt7FaHT8JIXgKozGQe7CK2YH3M7MJcEeEbCYL4 CYKQ== X-Gm-Message-State: AOJu0YzQvPtLTXrbMEG2X7QDWYum70vMGPpL0xD2ac9HioDpQzYEtVhb nRenksj9Sn0J72Stc05H7nMsRy1pqQbXFINTrOju693OS6uCAJjH4Zialw== X-Gm-Gg: ASbGncvoJ+7jU4E9QS5BkEC8jxFjouv993qyf0zq9h+MKef49jdj6JX8LT0SukNFRZA eZIisPwN1Uv7hUHCQwjmC5e7NHfA0FRzvZm6Gg7BzJUArJ1ajx5NDzU/isWPyFYspKLLSM+gib7 egsKQjZggA7Ap9BEPqICLXxRFHT4Ni0yESGapXz9rfbGrHkwXN/obbKLL4jAoEHeWLrBAxhpXJW Z2T+SM7rcyeULzvaz9UBmvi4Uojkek4bUmaXst1GxaLqkhyBTw= X-Google-Smtp-Source: AGHT+IGClMafPV3/96gvaDvmJ2FzypJWIKS1olVplBN6gN0Ox6uIK/HBxJ0yjApCjwsLFNLWkGcndQ== X-Received: by 2002:a05:6122:4b0c:b0:50d:34fe:fef0 with SMTP id 71dfb90a1353d-514fe63f74bmr6665218e0c.6.1732390707737; Sat, 23 Nov 2024 11:38:27 -0800 (PST) Received: from hiagof-nb.. ([146.70.98.177]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-514faf3a95fsm508162e0c.15.2024.11.23.11.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 11:38:26 -0800 (PST) From: Hiago De Franco To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko , Hiago De Franco Subject: [PATCH v2 3/3] weston: upgrade 13.0.3 -> 14.0.1 Date: Sat, 23 Nov 2024 16:35:29 -0300 Message-Id: <20241123193527.1435268-4-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241123193527.1435268-1-hiagofranco@gmail.com> References: <20241123193527.1435268-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 ; Sat, 23 Nov 2024 19:38:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207693 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