FS#74260 - [yabridge] package gets compiled without the -mwindows linker flag

Attached to Project: Community Packages
Opened by Robbert van der Helm (robbert-vdh) - Monday, 28 March 2022, 16:40 GMT
Last edited by David Runge (dvzrv) - Monday, 04 April 2022, 17:06 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Arch's yabridge package sets the -Dcpp_link_args Meson option here: https://github.com/archlinux/svntogit-community/blob/packages/yabridge/trunk/PKGBUILD#L43
Yabridge normally sets cpp_link_args to "-mwindows" by default in cross-wine.conf, but the -Dcpp_link_args option overrides that default. Without -mwindows the application will be linked as a console application, which means that starting the application will cause a Wine terminal emulator window to appear. This behavior was actually broken under Wine for a couple releases, but the recent Wine 7.5 release fixed this again (https://bugs.winehq.org/show_bug.cgi?id=52048). This means that with Wine 7.5 the Arch yabridge package will cause a terminal window to appear for every plugin you open. To fix this, -mwindows needs to be added to the PKGBUILD line I linked above.
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 04 April 2022, 17:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with yabridge 3.8.1-3
Comment by David Runge (dvzrv) - Monday, 04 April 2022, 16:09 GMT
@robbert-vdh: Thanks for the report!

Will fix this in a pkgrel bump

Loading...