Date: Tue, 1 Dec 2020 14:25:38 -0700 From: Adam Weinberger <adamw@adamw.org> To: Matthias Apitz <guru@unixarea.de>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: editors/vim needs devel/llvm90 and devel/llvm10 Message-ID: <CAP7rwchpdBAQZ99D_ixydRzN1gi8xeeft5Zq4dC4Wdvpr97y%2Bg@mail.gmail.com> In-Reply-To: <20201130222755.GA16476@c720-r342378> References: <20201130222755.GA16476@c720-r342378>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 30, 2020 at 3:28 PM Matthias Apitz <guru@unixarea.de> wrote: > > > Hello, > > I'm building ports on HEAD of today and I see that editors/vim pulls in > devel/llvm10 and devel/llvm90: > > [freebsd-r368166-ports-20201130] [2020-11-30_23h11m34s] [parallel_build:] Queued: 63 Built: 15 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 48 Time: 00:04:57 > [01]: x11/libXxf86vm | libXxf86vm-1.1.4_3 configure (00:00:08 / 00:00:13) > [02]: devel/llvm90 | llvm90-9.0.1_3 build (00:00:09 / 00:02:39) > [03]: devel/llvm10 | llvm10-10.0.1_3 build (00:00:03 / 00:04:09) > [04]: x11/libXrandr | libXrandr-1.5.2 configure (00:00:08 / 00:00:14) > > Why is this? > > matthias Jan's answer is completely correct about why both get pulled in and that it's possible to avoid concurrent llvms by setting DEFAULT_VERSIONS. The default vim setup involves the gtk3 frontend. The list of gtk3 requirements is growing without bounds at this point, to the point that I can't even test built vim with its default frontend (it's well over 14 hours of build time just to build the dependencies). While the end-user package burden is significantly lower, I suspect very, very few users actually make use of the gtk3 frontend-specific features. Honestly, the plain x11 frontend is probably sufficient for the vast majority of gvim users (it's what I test with), and if you don't use GUI vim at all then I strongly encourage the vim-console package (or vim with the CONSOLE option enabled). GVim being all things to all people made sense when the build time barely differed, but this is no longer the case. If I could make vim just be the console package and vim-gtk3 be just the gvim binary, I would. Unfortunately, the vim binary itself links with the frontend toolkit. Of course, there's nothing in this rant that answers your question at all, Matthias. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwchpdBAQZ99D_ixydRzN1gi8xeeft5Zq4dC4Wdvpr97y%2Bg>