xorg-minimal size: large llvm80 and others (needed?)

Lonnie Cumberland lonnie at outstep.com
Sat Jul 25 14:56:44 UTC 2020

Hi All,

I hope that everyone is doing well.

Lately, I have been experimenting with FreeBSD and generating a small
version using the mfsBSD scripts from the FreeBSD 12.1.

To that end, I wanted to take a look at the absolute minimum installation
of Xorg with just an Xterm so I tried a pkg fetch command:

[root at freebsd ~]# pkg fetch   -d -o  /root/off-pac   xorg-minimal

In the /root/off-pac directory I get:

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.

Number of packages to be fetched: 65

The process will require 212 MiB more space.
212 MiB to be downloaded.

And using:

[root at freebsd ~/off-pac/All]# ls -lhS | awk '{print $5, $6, $7, $9}'

(Sorted from largest to smallest)
158M Jul 9 llvm80-8.0.1_3.txz
16M Jul 8 python37-3.7.8.txz
14M Jul 8 perl5-5.30.3.txz
7.1M Jul 9 mesa-dri-19.0.8_8.txz
3.0M Jul 8 glib-2.56.3_8,1.txz
1.6M Jul 8 libX11-1.6.9_1,1.txz
1.4M Jul 22 xorg-server-1.20.8_2,1.txz
1.4M Jul 8 freetype2-2.10.2.txz
1.2M Jul 8 pcre-8.44.txz
1.0M Jul 8 libxcb-1.13.1.txz
828K Jul 8 libxml2-2.9.10.txz
612K Jul 22 xkeyboard-config-2.30.txz
607K Jul 8 libiconv-1.16.txz
512K Jul 8 py37-setuptools-44.0.0.txz
449K Jul 8 libXt-1.2.0,1.txz
404K Jul 9 mesa-libs-19.0.8_2.txz
354K Jul 8 readline-8.0.4.txz
317K Jul 8 pixman-0.40.0.txz
281K Jul 9 libepoxy-1.5.4.txz
238K Jul 8 libdrm-2.4.102,1.txz
217K Jul 8 xorgproto-2020.1.txz
213K Jul 9 libinput-1.15.6.txz
211K Jul 8 pciids-20200529.txz
161K Jul 8 gettext-runtime-0.20.2.txz
161K Jul 8 libXfont2-2.0.4.txz
135K Jul 8 libedit-3.1.20191231,1.txz
127K Jul 8 libunwind-20200331.txz
124K Jul 8 expat-2.2.8.txz
121K Jul 8 libXi-1.7.10,1.txz
119K Jul 9 wayland-1.18.0_3.txz
105K Jul 8 libxkbfile-1.1.0.txz
95K Jul 8 libXmu-1.1.3,1.txz
95K Jul 8 libXext-1.3.4,1.txz
92K Jul 8 libICE-1.0.10,1.txz
81K Jul 8 xkbcomp-1.4.3.txz
69K Jul 9 libwacom-1.3.txz
64K Jul 9 libevdev-1.5.9_1.txz
62K Jul 8 py37-pyudev-0.22.0.txz
42K Jul 8 py37-evdev-0.8.1_1.txz
36K Jul 8 libXv-1.0.11_2,1.txz
34K Jul 8 libffi-3.2.1_3.txz
33K Jul 22 xf86-input-libinput-0.30.0.txz
30K Jul 8 libXrandr-1.5.2.txz
29K Jul 9 libgudev-230_1.txz
29K Jul 8 libXrender-0.9.10_2.txz
26K Jul 8 libXvMC-1.0.12.txz
23K Jul 8 libSM-1.2.3,1.txz
22K Jul 9 xauth-1.1.txz
22K Jul 8 libpciaccess-0.16.txz
20K Jul 8 libmtdev-1.1.5_2.txz
20K Jul 8 libfontenc-1.1.4.txz
19K Jul 8 py37-six-1.14.0.txz
18K Jul 9 libepoll-shim-0.0.20200602.txz
17K Jul 8 libXxf86vm-1.1.4_3.txz
15K Jul 9 xinit-1.4.1,1.txz
15K Jul 8 libXfixes-5.0.3_2.txz
15K Jul 8 libudev-devd-0.4.2.txz
14K Jul 8 libXdmcp-1.1.3.txz
11K Jul 8 libXau-1.0.9.txz
11K Jul 22 xf86-video-vesa-2.4.0_3.txz
6.4K Jul 8 libXdamage-1.1.5.txz
5.7K Jul 8 indexinfo-0.3.1.txz
4.8K Jul 8 libxshmfence-1.3.txz
2.0K Jul 8 libpthread-stubs-0.4.txz
564B Jun 6 xorg-minimal-7.5.2_3.txz

>From these,  I immediately see some HUGE  non-Xserver related files:

158M Jul 9 llvm80-8.0.1_3.txz     (I think that this has to do with Clang
and other compiles ???)
16M Jul 8 python37-3.7.8.txz
14M Jul 8 perl5-5.30.3.txz

And, while still being new here, wonder if they are truly needed and also
of the list of 65 files what can I really eliminate as not being essential
to an "absolute" minimal Xorg installation.

Also, I may not need the "wayland" stuff since I am trying to run just pure
Xorg and an Xterm that is all.

Anyone have any experience or suggestions on things that can be safely
eliminated from this list so that I can try to add them to the mfsBSD build?

Any help would be truly appreciated.
Cheers and have a good weekend,

More information about the freebsd-questions mailing list