https://bugs.winehq.org/show_bug.cgi?id=50677
Bug ID: 50677 Summary: uxtheme-GTK3_Theming broken, or is it? Product: Wine-staging Version: 5.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: arek_koz@o2.pl CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Regression SHA1: 5b5a6de9b8dcc400dab62f4cc105f7108fda7517 Distribution: ---
uxtheme-GTK3_Theming was removed from patchinstall.sh, since it probably did not build / apply cleanly from 5.20 onwards. And it got `Disabled: true` in its definition.
https://github.com/wine-staging/wine-staging/commit/5b5a6de9b8dcc400dab62f4c...
But it does apply cleanly (at least on newest 6.2):
git clone --depth=1 --branch=wine-6.2 git://source.winehq.org/git/wine.git git clone --depth=1 --branch=v6.2 git://github.com/wine-staging/wine-staging cd wine git am ../wine-staging/patches/winecfg-Staging/*.patch # to enable the checkbox git am ../wine-staging/patches/uxtheme-CloseThemeClass/*.patch # prereq from definition git am ../wine-staging/patches/uxtheme-GTK_Theming/*.patch ./configure make -j
it does not build, but it turns out you can make it build by adding -fshort-wchar to GCC flags in dlls/uxtheme/Makefile.in, and despite spamming a lot of Gtk-CRITICAL messages it works just fine (if this change is adopted, I believe the correct patch to get this change would be the one reverting MSCVRT support).
Another solution would be not to disable MSVCRT for uxtheme, and shift some code to a "host call gate" DLL, enabling calling subroutines from host ABI .so libraries (e.g. libgtk-3.so.0), but I did not explore it.
https://bugs.winehq.org/show_bug.cgi?id=50677
Alex Folland lexlexlex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lexlexlex@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=50677
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bdard.antoine@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- *** Bug 52293 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50677
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|uxtheme-GTK3_Theming |uxtheme-GTK3_Theming is |broken, or is it? |disabled
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- It needs to be rewritten with a Unix/PE split, like other DLLs.