[Bug 263209] cad/kicad: should provide an option to be built without EGL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Apr 2022 20:09:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263209 Bug ID: 263209 Summary: cad/kicad: should provide an option to be built without EGL Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: email@example.com Reporter: firstname.lastname@example.org CC: email@example.com Assignee: firstname.lastname@example.org Flags: maintainer-feedback?(email@example.com) Attachment #233135 maintainer-approval?(firstname.lastname@example.org) Flags: CC: email@example.com Created attachment 233135 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233135&action=edit cad/kicad: add option EGL I'm running FreeBSD 13 on a Dell Precision M4800 laptop. This laptop has a graphics card that requires the old nvidia-driver-340 to work; more recent drivers lead to surprises when waking up from suspend-to-RAM. Unfortunately this driver is too old to support EGL, so when starting the kicad circuit editor, I get an undefined symbol error (for eglGetPlatformDisplay used by wx31-gtk3 libraries) due to the missing EGL support. While there is no fix, this can be worked around by compiling kicad without EGL support. This requires toggling the KICAD_USE_EGL cmake option which is currently hard wired to "on". The attached patch adds an option to kicad (it probably also applies to kicad-devel), permitting EGL to be turned off. Tested on amd64 FreeBSD 13. -- You are receiving this mail because: You are the assignee for the bug.