Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2021 14:35:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254035] x11/alacritty: support backend options
Message-ID:  <bug-254035-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 254035
           Summary: x11/alacritty: support backend options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: 2khramtsov@gmail.com
          Assignee: mikael@FreeBSD.org
             Flags: maintainer-feedback?(mikael@FreeBSD.org)

Created attachment 223001
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223001&action=
=3Dedit
patch

Upstream supports backend selection:
https://github.com/alacritty/alacritty/issues/3340

An obvious way to support backend selection is to only add CARGO_FEATURES to
the port, but it would fail due to:
https://github.com/rust-lang/cargo/issues/7727

One OS that supports disabling backends (e.g. Gentoo) does this by applying
cargo options not to the root, but to the alacritty subdir:
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-terms/alacritty/alacritt=
y-9999.ebuild

Do the same and add backend options. This is needed for {Wayland,X11}-only
builds.

portlint -A && poudriere testport: OK.

--=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-254035-7788>