From nobody Sun Apr 10 20:09:04 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C65231A84B2E for ; Sun, 10 Apr 2022 20:09:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kc33N4TC3z3HCw for ; Sun, 10 Apr 2022 20:09:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7620E1515C for ; Sun, 10 Apr 2022 20:09:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23AK94ja087920 for ; Sun, 10 Apr 2022 20:09:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23AK9474087919 for ports-bugs@FreeBSD.org; Sun, 10 Apr 2022 20:09:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263209] cad/kicad: should provide an option to be built without EGL Date: Sun, 10 Apr 2022 20:09:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cmt@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649621344; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D3EmaBY58+LOTHAsxRPGfE3iRbxTeIdzxla8VqQRByc=; b=UWIEa5CFsgLiVFlweqXnwurv6AQluO3nBZm247raYx5vJ6MW/v+cVNxjhRhA4YXC7RTRCJ CaaJ7/CNqH2jEQNgUKaUQR2cEmH1AroxgK6XyLYRhDvJrfgLz68Wcw8x5NXOQA/oEja+A9 EkhqvuR92jV5VTQHoOhT+FH/pRrmaIxr7YBgc8iLSaN6orH5I88EtNn8VV5KdXsRJAj6nY x24/eur2DRIZezVnA3dMrK9g/Yo/1oSyOHjACalxe2hMhk6KPf9DnxNwGlxn3p83amA5ip K4F0rJz9CKbT3u9Q39Cvhyi/wx1Hr40PYqZnqGY2VVG2KZxIpa7ZP0H1jnZBTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649621344; a=rsa-sha256; cv=none; b=H9kb3B1edN9snv670lyCB3sO6jI5AWrwnAfmRUH147IzJf9Y1wnVWpUnG3C3EV6v4lb42V hBilnD2ikQ4JmhWZVhnPeSpn47RZ394u7/nwIbiMRDctsW/jZGfv9ZUWpJrWL7JTh6cF5T hhond3rVUcUTaAp4CZhsq5JeTt2F/5Hft+8Zu5/7E0yw7oM+ljJWRJf6LBeiAZtoBcBDlc SXTxfXesWW267FNay9O8N6F02Keecp1YwGuVE2ipz9mNsgD3biYOuYPvy4vg7qF5EYPuGj nTAXo2OyRIPkorON8uRwbfERm9Pjk3ap60CvCt/2vWVA+8zourCdCjoB57JeGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=