FS#75614 - [wxwidgets-gtk3] pcbnew Printing Dialog broken

Attached to Project: Arch Linux
Opened by Greg (Lucky Luke) - Monday, 15 August 2022, 16:56 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 27 August 2022, 18:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
by kicad 6.0.7-1
i have a problem with kicad,pcbnew and the printing options.
Please see bugreport  FS#75429 
with
Comment by Kai Lindholm (Megant) - Friday, 12 August 2022, 18:41 GMT
I got annoyed by this issue too. After doing some debugging I found that the issue stems from the missing support for GTK print in the wxWidgets build
causing wxWidgets to fall back on its wxPostScriptPrinter.
The Arch build uses cmake nowadays and there's apparently no support for enabling GTK print in the wxWidgets cmake builds.
The cmake scripts don't use pkg-config to look up gtk+-unix-print-3.0 etc.

So the solution is to rebuild wxWidgets with GTK print support enabled.
A quick and dirty way to do this is by adding
set(wxUSE_GTKPRINT ON)
list(APPEND wxTOOLKIT_INCLUDE_DIRS "/usr/include/gtk-3.0/unix-print")
to build/cmake/toolkit.cmake

Additional info:
* 3.2.0-4
* link to bug report:
 FS#75429 
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 27 August 2022, 18:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  wxwidgets 3.2.0-5

Loading...