From eugen@grosbein.net Tue Jan 16 10:26:49 2024 X-Original-To: dev-commits-ports-all@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 4TDlYf5Bh1z57MBv; Tue, 16 Jan 2024 10:27:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (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 (2048 bits) client-digest SHA256) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TDlYd6K9fz4hcw; Tue, 16 Jan 2024 10:27:01 +0000 (UTC) (envelope-from eugen@grosbein.net) Authentication-Results: mx1.freebsd.org; none Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.17.1/8.17.1) with ESMTPS id 40GAQvsG075261 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 10:26:58 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: bapt@freebsd.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.17.1/8.17.1) with ESMTPS id 40GAQujw040592 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 16 Jan 2024 17:26:56 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: git: a5ade24bb0d7 - main - misc/mc: drop needless run-time dependencies on Aspell and Xlib To: Baptiste Daroussin References: <202401151039.40FAdAJM021552@gitrepo.freebsd.org> <4dd7ec4b-a9eb-08a4-fa51-5ed37067c519@grosbein.net> Cc: Alexey Dokuchaev , Gleb Popov , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org From: Eugene Grosbein Message-ID: Date: Tue, 16 Jan 2024 17:26:49 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.6 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hz.grosbein.net X-Rspamd-Queue-Id: 4TDlYd6K9fz4hcw X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] 16.01.2024 15:31, Baptiste Daroussin wrote: > On Tue, Jan 16, 2024 at 03:19:27PM +0700, Eugene Grosbein 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? I am. > 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. Not always. There are cases when I need to include misc/mc into nanobsd-based FreeBSD system installed and upgraded via r/o image that needs to be as small as possible to fit two code partitions (A/B) into small flash storage (CompactFlash etc.) So I need only essential dependencies. Decrease this bloat as much as possible. No python, too. Sometimes I'm forced to hack ports Makefiles to drop non-essential dependencies like python out of misc/mc port that disables some its "VFS" support I never use anyway. And I am happy that I do not need to hack it much more to get rid of all that X stuff.