Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2022 20:09:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263209] cad/kicad: should provide an option to be built without EGL
Message-ID:  <bug-263209-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263209

            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: cmt@freebsd.org
          Reporter: fuz@fuz.su
                CC: cmt@freebsd.org
          Assignee: cmt@freebsd.org
             Flags: maintainer-feedback?(cmt@freebsd.org)
 Attachment #233135 maintainer-approval?(cmt@freebsd.org)
             Flags:
                CC: cmt@freebsd.org

Created attachment 233135
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233135&action=
=3Dedit
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 k=
icad
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263209-7788>