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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0224C6FA82 for ; Sat, 17 Sep 2022 21:53:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7C27440333; Sat, 17 Sep 2022 21:53:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7C27440333 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wm350WjNSx8C; Sat, 17 Sep 2022 21:53:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id D88A240010; Sat, 17 Sep 2022 21:53:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org D88A240010 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D11BD1BF3CE for ; Sat, 17 Sep 2022 21:53:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A181241964 for ; Sat, 17 Sep 2022 21:53:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A181241964 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xpBE8OdZNTQS for ; Sat, 17 Sep 2022 21:53:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org E1DA841959 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by smtp4.osuosl.org (Postfix) with ESMTPS id E1DA841959 for ; Sat, 17 Sep 2022 21:53:04 +0000 (UTC) Received: by mail-ot1-x32f.google.com with SMTP id l7-20020a056830154700b0065563d564dfso17276463otp.0 for ; Sat, 17 Sep 2022 14:53:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=i8Q+Hf2eCX1LFGcD0RZuW+7oT1Y4FcRqK7B7/Ad89GY=; b=k3nGT79prlStl5z/GchzJHLkAiYcHQxuBh8AxGDSABfOZ21xvH+h1aAPDw0ypENf9f +0NKR2edhWeStH0dYWWongj3euXB0Bi1UKp1gheCKxBQf8A5SqH9xdBRTFeOFNQFrpsA f3q0vKp282wRHHINZzFMZOzwcxcRSqjgkVbIx4BrpKseVglIvc+MZuNVkeoAvXJgNzBB k4afkY7ef7MzbkTlErzr5O4GoWuKREAyvz8IGE0I+lZoCQ91IZfreKgTjZlQd27hdIWr 7HuuhOYWmdqh2e9F+5nm+D1zA2sd2ikMwYvBR+rayelmDiIDZ2FKEhE72VaMWSare4sw UzmA== X-Gm-Message-State: ACrzQf1mJbQ9xQtJfQtpS7IYKJ4ggJ+Lw55RuxOallk7IQ2yCJ0JYa0V mUHBfu9Sr7K49GmtV0u0HjzQzdpXOms= X-Google-Smtp-Source: AMsMyM5HOAmlOvssaQ9EYUJX0/hgmOZaHIhJ9hggn+s8pt+v0CFLNlJDpckC3RbrS7xW0GOyiWPikA== X-Received: by 2002:a9d:58c6:0:b0:63b:3018:bfc3 with SMTP id s6-20020a9d58c6000000b0063b3018bfc3mr4847940oth.259.1663451583542; Sat, 17 Sep 2022 14:53:03 -0700 (PDT) Received: from james-x399.localdomain (71-33-138-207.hlrn.qwest.net. [71.33.138.207]) by smtp.gmail.com with ESMTPSA id v15-20020a056870424f00b001274d5999c2sm5280215oac.31.2022.09.17.14.53.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 14:53:02 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 17 Sep 2022 15:53:00 -0600 Message-Id: <20220917215300.1330070-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=i8Q+Hf2eCX1LFGcD0RZuW+7oT1Y4FcRqK7B7/Ad89GY=; b=pABKsIIL9wVoHrGX2+zVfbfcs6RsBWXCM9NLmD815IzVW9NioSlEZpEpba2PmLS+JJ IqWw/+K+wFIVEvXwAOhVc0db8zqdkyjoXBrdBFRj6xWa/9A08NNPW6KT6zK8SSYSv2z3 d7Qx2qzm2EjBkl1xvI4qWPpvKb9wggBowwAUEJkRHNiBh/PXDTHuTbfv/8yrQCkkRQtc TptWqki9RpRxIAyjMs1koiE9DvciFwU/v7Eiuz6ZnrQQZ4UWjQMcJhMqlwj1VGewDhx0 hOOekCsa7WOmogS5NdO40dKBUhRT0naZSWbIs29ZxcsmiuqzU8ufzYyjXHqMuMqRGpGA IRHw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=pABKsIIL Subject: [Buildroot] [PATCH 1/1] package/wayland: bump to version 1.21.0 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard , "Yann E . MORIN" , Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Drop patches which are now upstream. Signed-off-by: James Hilliard --- .../wayland/0001-build-set-c_std-c99.patch | 34 ------ ...on-t-rely-on-implicit-GNU-extensions.patch | 108 ------------------ package/wayland/wayland.hash | 6 +- package/wayland/wayland.mk | 4 +- 4 files changed, 5 insertions(+), 147 deletions(-) delete mode 100644 package/wayland/0001-build-set-c_std-c99.patch delete mode 100644 package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch diff --git a/package/wayland/0001-build-set-c_std-c99.patch b/package/wayland/0001-build-set-c_std-c99.patch deleted file mode 100644 index 69f728aa11..0000000000 --- a/package/wayland/0001-build-set-c_std-c99.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 40c275f642e3895aeb748403fcdfd92d7d875d65 Mon Sep 17 00:00:00 2001 -From: Simon Ser -Date: Mon, 10 Jan 2022 14:54:02 +0100 -Subject: [PATCH] build: set c_std=c99 - -Set explicitly the C standard to use to make sure we don't use -features not available on our target platforms. - -Signed-off-by: Simon Ser - -[Retrieved from: -https://gitlab.freedesktop.org/wayland/wayland/-/commit/40c275f642e3895aeb748403fcdfd92d7d875d65] -Signed-off-by: Fabrice Fontaine ---- - meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index cab267e9..e9691ffe 100644 ---- a/meson.build -+++ b/meson.build -@@ -5,7 +5,8 @@ project( - meson_version: '>= 0.52.1', - default_options: [ - 'warning_level=2', -- 'buildtype=debugoptimized' -+ 'buildtype=debugoptimized', -+ 'c_std=c99', - ] - ) - wayland_version = meson.project_version().split('.') --- -GitLab - diff --git a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch b/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch deleted file mode 100644 index fcafa98f46..0000000000 --- a/package/wayland/0002-build-don-t-rely-on-implicit-GNU-extensions.patch +++ /dev/null @@ -1,108 +0,0 @@ -From 0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9 Mon Sep 17 00:00:00 2001 -From: Simon Ser -Date: Mon, 10 Jan 2022 14:51:55 +0100 -Subject: [PATCH] build: don't rely on implicit GNU extensions - -Currently libwayland assumes GNU extensions will be available, but -doesn't define the C standard to use. Instead, let's unconditionally -enable POSIX extensions, and enable GNU extensions on a case-by-case -basis as needed. - -Signed-off-by: Simon Ser -Signed-off-by: James Hilliard -[james.hilliard1@gmail.com: backport from upstream commit -0d314c4a04ef1b86a1ea66107b2d1a8d1bcd93b9] ---- - cursor/xcursor.c | 1 + - meson.build | 10 ++++++++-- - tests/display-test.c | 1 + - tests/event-loop-test.c | 1 + - tests/fixed-test.c | 1 + - 5 files changed, 12 insertions(+), 2 deletions(-) - -diff --git a/cursor/xcursor.c b/cursor/xcursor.c -index 0506680..188be7c 100644 ---- a/cursor/xcursor.c -+++ b/cursor/xcursor.c -@@ -23,6 +23,7 @@ - * SOFTWARE. - */ - -+#define _GNU_SOURCE - #include "xcursor.h" - #include - #include -diff --git a/meson.build b/meson.build -index 07bbd29..cab267e 100644 ---- a/meson.build -+++ b/meson.build -@@ -14,6 +14,12 @@ config_h = configuration_data() - config_h.set_quoted('PACKAGE', meson.project_name()) - config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) - -+cc_args = [] -+if host_machine.system() != 'freebsd' -+ cc_args += ['-D_POSIX_C_SOURCE=200809L'] -+endif -+add_project_arguments(cc_args, language: 'c') -+ - compiler_flags = [ - '-Wno-unused-parameter', - '-Wstrict-prototypes', -@@ -79,7 +85,7 @@ if get_option('libraries') - ] - - foreach d: decls -- if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep) -+ if not cc.has_header_symbol(d['header'], d['symbol'], dependencies: epoll_dep, args: cc_args) - error('@0@ is needed to compile Wayland libraries'.format(d['symbol'])) - endif - endforeach -@@ -87,7 +93,7 @@ if get_option('libraries') - rt_dep = [] - if not cc.has_function('clock_gettime', prefix: '#include ') - rt_dep = cc.find_library('rt') -- if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep) -+ if not cc.has_function('clock_gettime', prefix: '#include ', dependencies: rt_dep, args: cc_args) - error('clock_gettime not found') - endif - endif -diff --git a/tests/display-test.c b/tests/display-test.c -index 763adc9..a6f410d 100644 ---- a/tests/display-test.c -+++ b/tests/display-test.c -@@ -24,6 +24,7 @@ - * SOFTWARE. - */ - -+#define _GNU_SOURCE - #include - #include - #include -diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c -index 9d43c91..a51ba8f 100644 ---- a/tests/event-loop-test.c -+++ b/tests/event-loop-test.c -@@ -24,6 +24,7 @@ - * SOFTWARE. - */ - -+#define _GNU_SOURCE - #include - #include - #include -diff --git a/tests/fixed-test.c b/tests/fixed-test.c -index 47a4dae..0b58797 100644 ---- a/tests/fixed-test.c -+++ b/tests/fixed-test.c -@@ -23,6 +23,7 @@ - * SOFTWARE. - */ - -+#define _GNU_SOURCE - #include - #include - #include --- -2.25.1 - diff --git a/package/wayland/wayland.hash b/package/wayland/wayland.hash index cd4cb1a474..1c7fe705e1 100644 --- a/package/wayland/wayland.hash +++ b/package/wayland/wayland.hash @@ -1,6 +1,6 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2021-December/042064.html -sha256 b8a034154c7059772e0fdbd27dbfcda6c732df29cae56a82274f6ec5d7cd8725 wayland-1.20.0.tar.xz -sha512 e8a1f410994b947f850799bdd0d95a2429d8467f853e62a0ab3915a4e9fe130f8aa977e03715114ab740c6ec546edea63d275ce7f927d4f3029ea126e6a7d215 wayland-1.20.0.tar.xz +# From https://lists.freedesktop.org/archives/wayland-devel/2022-June/042268.html +sha256 6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac wayland-1.21.0.tar.xz +sha512 5575216d30fdf5c63caa6bcad071e15f2a4f3acb12df776806073f65db37a50b5b5b3cc7957c5497636f4ac01893e2eaab26e453ded44b287acde01762f5fdc3 wayland-1.21.0.tar.xz # Locally calculated sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk index 4c19875bba..0a6e5e9ec7 100644 --- a/package/wayland/wayland.mk +++ b/package/wayland/wayland.mk @@ -4,8 +4,8 @@ # ################################################################################ -WAYLAND_VERSION = 1.20.0 -WAYLAND_SITE = https://wayland.freedesktop.org/releases +WAYLAND_VERSION = 1.21.0 +WAYLAND_SITE = https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(WAYLAND_VERSION)/downloads WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz WAYLAND_LICENSE = MIT WAYLAND_LICENSE_FILES = COPYING -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot