[PATCH 0/1] MR7652: ntdll: Treat XDG_DATA_DIRS as special env variable.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49987 GTK apps seem to use this to find path to schemas, like Meld: https://download.gnome.org/binaries/win32/meld/3.22/Meld-3.22.2-mingw.msi which doesn't start at all without this patch. More info in https://bugs.winehq.org/show_bug.cgi?id=49987. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7652
From: Louis Lenders <xerox.xerox2000x(a)gmail.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49987 GTK apps seem to use this to find path to schemas, like Meld: https://download.gnome.org/binaries/win32/meld/3.22/Meld-3.22.2-mingw.msi which doesn't start at all without this patch. More info in https://bugs.winehq.org/show_bug.cgi?id=49987. --- dlls/ntdll/unix/env.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntdll/unix/env.c b/dlls/ntdll/unix/env.c index 7193cceb87e..24a10ed4c42 100644 --- a/dlls/ntdll/unix/env.c +++ b/dlls/ntdll/unix/env.c @@ -346,6 +346,7 @@ static BOOL is_special_env_var( const char *var ) STARTS_WITH( var, "TMP=" ) || STARTS_WITH( var, "QT_" ) || STARTS_WITH( var, "VK_" ) || + STARTS_WITH( var, "XDG_DATA_DIRS=" ) || STARTS_WITH( var, "XDG_SESSION_TYPE=" )); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7652
XDG_DATA_DIRS is used in winemenubuilder. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7652#note_98868
On Mon Mar 24 17:10:50 2025 +0000, Elizabeth Figura wrote:
XDG_DATA_DIRS is used in winemenubuilder. hmm,yeah, I see now. I see there is a fallback when the env var is not found, but I'm not sure just removing those lines is acceptable. I think I'll need some advice from whoever maintains this?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7652#note_98884
participants (3)
-
Elizabeth Figura (@zfigura) -
Louis Lenders -
Louis Lenders (@xe)