commit:     5a174dace63876bbcb6948257e2737d45a2a65d3
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 21:14:52 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed May 17 21:54:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a174dac

sys-apps/xdg-desktop-portal-gnome: Drop old versions

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 sys-apps/xdg-desktop-portal-gnome/Manifest         |  2 -
 .../xdg-desktop-portal-gnome-44.0-x11-only.patch   | 36 ----------------
 .../xdg-desktop-portal-gnome-43.1.ebuild           | 39 -----------------
 .../xdg-desktop-portal-gnome-44.0.ebuild           | 49 ----------------------
 4 files changed, 126 deletions(-)

diff --git a/sys-apps/xdg-desktop-portal-gnome/Manifest 
b/sys-apps/xdg-desktop-portal-gnome/Manifest
index 8c8d12e4cf92..db98a7bfdd58 100644
--- a/sys-apps/xdg-desktop-portal-gnome/Manifest
+++ b/sys-apps/xdg-desktop-portal-gnome/Manifest
@@ -1,3 +1 @@
-DIST xdg-desktop-portal-gnome-43.1.tar.xz 125248 BLAKE2B 
5290041b3b0d24c6d62c1433c492fa5b04af80493d192392d6b89839356c1a4f2c74aba5509476bd5df5383375889d50636216b52e2448de1b3c8360501cb16b
 SHA512 
fc9b2a0bf5483194326308099be0cb76245644bfc26546a4e63679eb695400cf254aa9e85de1b168e07ba7f05eb4f9fe4fde31853bcee4bd8bfb94063933ebc3
-DIST xdg-desktop-portal-gnome-44.0.tar.xz 127076 BLAKE2B 
e8775fe8017b5112bba995cea830a64b5f77222e40f09bf5318bed720274a7516cd2178b6d132b71b9608aae2885b9f9cab679a5abce25cd099591633a8a51e7
 SHA512 
1aa8eae420f4bf00ea34b3ad665edad89f9444bd2d5baa84d1f96b303ab072c66c139eb760cfbfd796691bda745f3eb5455f8d805fb042c8037eb786a730eb95
 DIST xdg-desktop-portal-gnome-44.1.tar.xz 127504 BLAKE2B 
ceae17bc5aea4c3c6a8420af56439698cbb57fbb35f7ba671a8469778aa87843314db6f021c92a8c69859d5943cf4d568069b94050fa89e27f08a0c0bd398366
 SHA512 
58e165b06a7b8dd8dd87cd2874db87e1e6e608e9752334f6c1ae341acd28857dca2d02ef1659b174dd4041897e898455ee99cde1cdf4b28f9e3a88d4dba73989

diff --git 
a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch
 
b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch
deleted file mode 100644
index 0c7af9253bae..000000000000
--- 
a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d19e5a66fbba22274a774ac603d2ecb3ff528779 Mon Sep 17 00:00:00 2001
-From: David Seifert <[email protected]>
-Date: Tue, 28 Mar 2023 20:42:32 +0200
-Subject: [PATCH] Do not reference wayland routines without wayland support
-
-* If GTK4 is built without Wayland support, there will be no
-  `init_external_window_wayland_display` symbol.
-
-Bug: https://bugs.gentoo.org/903189
----
- src/externalwindow.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/externalwindow.c b/src/externalwindow.c
-index c3ea3d7..f7372bb 100644
---- a/src/externalwindow.c
-+++ b/src/externalwindow.c
-@@ -90,10 +90,14 @@ init_external_window_display (GError **error)
-   const char *session_type;
- 
-   session_type = getenv ("XDG_SESSION_TYPE");
-+#ifdef HAVE_GTK_WAYLAND
-   if (g_strcmp0 (session_type, "wayland") == 0)
-     return init_external_window_wayland_display (error);
--  else if (g_strcmp0 (session_type, "x11") == 0)
-+#endif
-+#ifdef HAVE_GTK_X11
-+  if (g_strcmp0 (session_type, "x11") == 0)
-     return init_external_window_x11_display (error);
-+#endif
- 
-   g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                "Unsupported or missing session type '%s'",
--- 
-GitLab
-

diff --git 
a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-43.1.ebuild 
b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-43.1.ebuild
deleted file mode 100644
index 02621eb069b4..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-43.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
-IUSE="wayland X"
-
-BDEPEND="
-       dev-util/gdbus-codegen
-       sys-devel/gettext
-       virtual/pkgconfig
-"
-DEPEND="
-       dev-libs/glib:2
-       gnome-base/gnome-desktop:4=
-       gui-libs/libadwaita:1
-       media-libs/fontconfig
-       sys-apps/dbus
-       >=sys-apps/xdg-desktop-portal-1.15.0
-       >=sys-apps/xdg-desktop-portal-gtk-1.14.0
-       gui-libs/gtk:4[wayland?,X?]
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-       local emesonargs=(
-               -Dsystemduserunitdir="$(systemd_get_userunitdir)"
-       )
-
-       meson_src_configure
-}

diff --git 
a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild 
b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild
deleted file mode 100644
index e902e5b3a415..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="wayland X"
-
-DEPEND="
-       dev-libs/glib:2
-       gnome-base/gnome-desktop:4=
-       gui-libs/libadwaita:1
-       media-libs/fontconfig
-       sys-apps/dbus
-       >=sys-apps/xdg-desktop-portal-1.15.0
-       >=sys-apps/xdg-desktop-portal-gtk-1.14.0
-       gui-libs/gtk:4[wayland?,X?]
-       X? ( x11-libs/libX11 )
-       wayland? ( dev-libs/wayland )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-       dev-util/gdbus-codegen
-       sys-devel/gettext
-       virtual/pkgconfig
-
-       wayland? ( dev-util/wayland-scanner )
-"
-
-PATCHES=(
-       # backport
-       # 
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/83
-       "${FILESDIR}"/${P}-x11-only.patch
-)
-
-src_configure() {
-       local emesonargs=(
-               -Dsystemduserunitdir="$(systemd_get_userunitdir)"
-       )
-
-       meson_src_configure
-}

Reply via email to