Using mate as an example:
It can be as simple as:
1. Boot with no 003-DE module (eg. cheatcode: noload=003-lxde)
2. As root from the tty or the minimal openbox enviroment :
Code: Select all
setup-pman (if you haven't already)
Code: Select all
pacman -Sg | grep mate (to find if there are package groups for it)
Code: Select all
mate-extra
mate
Code: Select all
pmod mate mate-extra (if you want the lot)
Rather than going into that, I'll now skip to the 'build scripts' method:
Build script method
1. Download this archive: mbs.tar.gz
2. Extract it to a Posix filesystem with plenty of space as root (or at least do chown -R root:root mbs/TREE)
3. Read mbs/docs/instructions:
Code: Select all
All operations must be done as root user from the 'build' directory.
In particular, the TREE directory must be owned by root (chown -R root:root ../TREE)
0. Adjust the docs/mate-short.txt for the packages you want.
1. Download or Update the packages (in the 'pkg' directory):
# sh ../scripts/update-pkgs mate
2. Build the module:
# sh ../scripts/build mate
3. Boot with the new desktop module that is present in the 'module' directory.
Use the cheatcode '3' to boot to text mode, then run:
# cache-module
Which will produce a folder ad optionally a module containg the updated caches.
Merge these files with your 003 module. (Extract and copy the files to it.)
You can also keep the caches in the 'cache' directory for reuse in later builds.
Also: configure your desktop to your liking and copy /home/guest/.config/dconf/user to your module and also to your TREE for later use.
How do i "Adjust the docs/mate-short.txt for the packages you want."?

eg. pacman -Si atril | grep Depends or sometimes using Artix's or Archlinux' s web package database is easier eg. https://archlinux.org/packages/extra/x86_64/webkit2gtk/ ..see the 'required by' section.
So I don't want zenity pulling in gtk4 and all it's deps(that get's used by nothing) ...

This a good example of where a functional package management system can work against creating a 'lean' system.
I will edit this post with more when i think of it and arising from further discussion..