Categories: Development
TODO list for CRUX 3.7
General
- consider to replace /var/run with a symlink to /run. Note: rc-script modification might be necessary if the daemon needs special directories below /run and these directories must exist at daemon start. (Done)
- To do: handle run dir /run/user (Done)
- adjust ports to use /run instead of /var/run and create directories as needed
- consider wayland support - a lot of ports already support it, a few crucial ports would still need changes. (Done)
- this is a two sided blade, thinking one step further x11 might also be an optional dependency for mesa, as people might want to run pure wayland session without X11 support
- basic wayland support landed 21/09/19 in 3.6 repo, defaulting to X11 and wayland as an option
- this can be regarded as done. We default to X11, but it's easy to install wayland. A pure wayland desktop is possible, but harder to archive as of now, let's keep this in mind for future releases.
- consider exchanging sudo with opendoas
- consider moving iptables to opt, nftables can translate iptable rules with just a few edge cases
Ports
core
- move cmake, meson, ninja and python3-setuptools to core (Done, including system libs)
- replace pkg-config by pkgconf (Done)
- move libpcre2 to core, try to build at least all core ports with it, libpcre is EOL (Done)
- postponed updates because of changed API/ABI:
- libffi (Done)
- openssl (Done)
- problematic with curl, wget, rust and probably a few more; needs more testing
- these issues seem resolved, moving on…
- Adjust glibc to call a user configurable script to generate locales for a system via post-install (Done, base script from archlinux, feedback welcome)
- the script will generate and store locales in /usr/lib/locale/locale-archive, while the C.UTF-8 locale will be stored as /usr/lib/locale/C.UTF-8
opt
xorg
- use meson/cmake wherever possible
Pkgutils
- consider a patch for renaming distfiles after pulling, git services like sourcehut do not offer named distfiles (Done)
- consider a function to disallow pkgmk to unpack source files, and to handle them in a neater way. Currently the go to solution is to rewrite unpack_source()
- consider the possibility to handle git sources natively
- pkgmk currently defines
LC_ALL=POSIX
, we should change this to LC_ALL=C.UTF-8
to avoid errors like: bsdtar: Pathname can't be converted from UTF-8 to current locale (done)
- we have to install C.UTF-8 with localedef within glibc and probably in rc.fix too if not already installed
- a pre/post-install for pkgutils with
'localedef -i POSIX -f UTF-8 C.UTF-8'
should work as well (Done, included in glibc footprint)
- use curl to download files as default instead of wget. Latest wget version (2.0) doesn't work reliable (done)
prt-get
Iso
- add to packages.opt
- inih (done)
- itstool (done)
- libpcap (done)
- python3-libxml2 (done)
- nettle (done)
- dracut (done)
- liburcu (done)
wget
- glslang, spirv-headers, spirv-tools (done)
- remove from packages.opt
- add to packages.xorg
- setup-helper
- rename packages
- remove packages
- atk, at-spi2-atk -> replaced by at-spi2-core (done)
- pkg-config (done)
- inject packages
- pkgconf (done)
- cmake, meson, ninja -> moved from opt to core (done)
- inih, liburcu -> xfsprogs (done)
- libpcap -> ppp (done)
- itstool, python3-libxml2 -> shared-mime-info (done)
- nettle, xorg-libxcvt -> xorg-server (done)
- jsoncpp, libnghttp2, libuv, lzlib, rhash -> cmake (done)
- nftables, libedit, jansson, libnftnl -> iptables (done)
- glslang, spirv-headers, spirv-tools -> mesa (done)
Documentation
- documentation of new locale generation
- /etc/locale.gen to define locale and charset combinations, the script will run in post-install and is available to elevated users under /usr/sbin/locale-gen
- lilo is dropped, docs should reflect that