From 4bf90844dbddf85399b2ff3a14987b785c0b6f39 Mon Sep 17 00:00:00 2001 From: fossdd Date: Wed, 2 Apr 2025 11:49:37 +0200 Subject: [PATCH] main/postmarketos-ui-gnome-mobile: remove firefox-wayland.sh firefox, firefox-esr and thunderbird already default to Wayland. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372 --- main/postmarketos-ui-gnome-mobile/APKBUILD | 8 +------- main/postmarketos-ui-gnome-mobile/firefox-wayland.sh | 8 -------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 main/postmarketos-ui-gnome-mobile/firefox-wayland.sh diff --git a/main/postmarketos-ui-gnome-mobile/APKBUILD b/main/postmarketos-ui-gnome-mobile/APKBUILD index 07e313d6a..f2fbb0c7a 100644 --- a/main/postmarketos-ui-gnome-mobile/APKBUILD +++ b/main/postmarketos-ui-gnome-mobile/APKBUILD @@ -35,13 +35,10 @@ _pmb_recommends=" gnome-mobile-extensions-app " subpackages="$pkgname-openrc" -source="firefox-wayland.sh" options="!check pmb:systemd" package() { - install -Dm755 \ - "$srcdir"/firefox-wayland.sh \ - -t "$pkgdir"/etc/profile.d/ + mkdir -p "$pkgdir" } openrc() { @@ -52,6 +49,3 @@ openrc() { mkdir -p "$subpkgdir" } -sha512sums=" -0d9ec58be7dc354e181989c7f08e7d4dd93fefd06a99e784b87fe898479dd47a40dfa9689c6a63ebdc04bf87883a270686aec27f7cc34cb21ec0f370a4afe2d8 firefox-wayland.sh -" diff --git a/main/postmarketos-ui-gnome-mobile/firefox-wayland.sh b/main/postmarketos-ui-gnome-mobile/firefox-wayland.sh deleted file mode 100644 index dac15fb90..000000000 --- a/main/postmarketos-ui-gnome-mobile/firefox-wayland.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# Firefox does run with xwayland by default on Gnome, this setting -# makes it pick the wayland backend without setting GDK_BACKEND=wayland -# which causes more issues in the Gnome stack -if [ "$XDG_SESSION_TYPE" = "wayland" ]; then - export MOZ_ENABLE_WAYLAND=1 -fi