From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E8D715ACFB for ; Tue, 11 Apr 2023 11:44:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AED63E08D9; Tue, 11 Apr 2023 11:44:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F0DCE08D9 for ; Tue, 11 Apr 2023 11:44:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7FF6E340D2B for ; Tue, 11 Apr 2023 11:44:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 463789F7 for ; Tue, 11 Apr 2023 11:43:59 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1681213397.92459213cc61a389bea58f400db82395dd91db90.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/egl-wayland/, gui-libs/egl-wayland/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202-r1.ebuild gui-libs/egl-wayland/files/egl-wayland-1.1.11_p20230202-destruction-order.patch X-VCS-Directories: gui-libs/egl-wayland/files/ gui-libs/egl-wayland/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 92459213cc61a389bea58f400db82395dd91db90 X-VCS-Branch: master Date: Tue, 11 Apr 2023 11:43:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dafa17c5-f45c-43ad-8972-d6b94d26b619 X-Archives-Hash: 69af483347e0e481caf353e1909a6b51 commit: 92459213cc61a389bea58f400db82395dd91db90 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Apr 11 11:22:18 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Apr 11 11:43:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92459213 gui-libs/egl-wayland: fix warning w/ wayland-1.22 Hardly tested, but patch is very simple and will likely get merged. Unsure if it'd be also necessary for non-GBM egl-wayland-1.1.7, but realistically nvidia:0/470 will lose its USE=wayland in time as it's barely usable anymore (afaik still can't use 1.1.11 due to GBM changes, and just keeps getting worse, e.g. gnome flickers). Bug: https://bugs.gentoo.org/904072 Signed-off-by: Ionen Wolkens gentoo.org> .../egl-wayland-1.1.11_p20230202-r1.ebuild | 47 ++++++++++++++++++++++ ...ayland-1.1.11_p20230202-destruction-order.patch | 25 ++++++++++++ 2 files changed, 72 insertions(+) diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202-r1.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202-r1.ebuild new file mode 100644 index 000000000000..a45f4637f69d --- /dev/null +++ b/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +HASH_EGLWAYLAND=30c5a951a849f835acc9f11ea4ca4e1d3380b7eb + +DESCRIPTION="EGLStream-based Wayland external platform" +HOMEPAGE="https://github.com/NVIDIA/egl-wayland" +SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${HASH_EGLWAYLAND}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-libs/wayland + ! +Date: Fri, 7 Apr 2023 18:08:03 +0800 +Subject: [PATCH] Fix wrong destruction order for event queue +--- a/src/wayland-egldisplay.c ++++ b/src/wayland-egldisplay.c +@@ -704,12 +704,12 @@ static void getServerProtocolsInfo(struct wl_display *nativeDpy, + } + } + ++ if (wlRegistry) { ++ wl_registry_destroy(wlRegistry); ++ } + if (queue) { + wl_event_queue_destroy(queue); + } +- if (wlRegistry) { +- wl_registry_destroy(wlRegistry); +- } + } + + EGLDisplay wlEglGetPlatformDisplayExport(void *data,