xdg-desktop-portal-xapp: Fix crashes on non-Cinnamon desktops (#457570)

This commit is contained in:
Bobby Rong
2025-11-02 01:54:01 +00:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -96,6 +96,10 @@ stdenv.mkDerivation rec {
# Fix gtk3 module target dir. Proper upstream solution should be using define_variable.
env.PKG_CONFIG_GTK__3_0_LIBDIR = "${placeholder "out"}/lib";
preFixup = ''
wrapGApp $out/lib/xapps/xapp-sn-watcher
'';
meta = with lib; {
homepage = "https://github.com/linuxmint/xapp";
description = "Cross-desktop libraries and common resources";

View File

@@ -11,8 +11,8 @@
gtk3,
gsettings-desktop-schemas,
mate,
xdg-desktop-portal,
xapp,
xdg-desktop-portal,
}:
stdenv.mkDerivation rec {
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
gtk3
gsettings-desktop-schemas # org.gnome.system.location
mate.mate-desktop # org.mate.background
xapp # org.x.apps.portal
xdg-desktop-portal
];