Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 09:31:17 +0100
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, Gleb Popov <arrowd@freebsd.org>,  ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: Re: git: a5ade24bb0d7 - main - misc/mc: drop needless run-time dependencies on Aspell and Xlib
Message-ID:  <zcwge5xaah4avcqcn6efhb6j3eqsiaqxw5hbcmosalg7rfwi3b@vos5rhgllezf>
In-Reply-To: <4dd7ec4b-a9eb-08a4-fa51-5ed37067c519@grosbein.net>
References:  <202401151039.40FAdAJM021552@gitrepo.freebsd.org> <CALH631=Ty1%2B=YTo4R_BAC6XiOcAHjg%2BQEM8qqWEDiB-_rye4Cw@mail.gmail.com> <ZaX_7f_9KaiMAckf@FreeBSD.org> <4dd7ec4b-a9eb-08a4-fa51-5ed37067c519@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 16, 2024 at 03:19:27PM +0700, Eugene Grosbein wrote:
> 16.01.2024 11:02, Alexey Dokuchaev wrote:
> 
> > On Mon, Jan 15, 2024 at 03:23:34PM +0300, Gleb Popov wrote:
> >> On Mon, Jan 15, 2024 at 1:39???PM Alexey Dokuchaev <danfe@freebsd.org> wrote:
> >>> The branch main has been updated by danfe:
> >>>
> >>> +X11_BUILD_DEPENDS=     ${LOCALBASE}/include/X11/Xlib.h:x11/libX11
> >>
> >> There is a little sense to have optionalized BUILD_DEPENDS on such a
> >> tiny dependency as libX11.
> > 
> > There is also `post-install-X11-on' target at the bottom of the Makefile.
> > I believe that there still is demand to be able to build the port without
> > any X11 support whatsoever.
> 
> Yes, there is.
> 
You are aware that xorg has been modulariszed around 20 years ago ~10+ years ago for freebsd
because as usual we were late to the battle, since that libx11 does not bring in
the whole xorg anymore?

Now libx11 only depends on libxcb, libXdmcp libXau and xorgproto
libbX11-1.8.7,1                 5.57MiB
libxcb-1.15_1                  4.94MiB
libXdmcp-1.1.3                 63.1KiB
libXau-1.0.9                   37.7KiB
xorgproto-2023.2               1.38MiB

Note that if someone looks closedly enough he can probably shave off xorgproto
as a dependency.

if you look at the build dependency, you will add xtrans and xorg-macros and
xcb-proto and python39 the only big thing being python3.9 which you probably
have anyway for other reasons.

while the x11 option did make sense 20 years ago, it does not really make sense
in 2023 except if it brings in a giant gui toolkit.

Best regards,
Bapt



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