From 8a977098d7796f5f7c7f7761e257a50a68f1ffed Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Sat, 10 Jan 2026 23:49:16 +0100 Subject: [PATCH] docs: remove references to the xorg namespace --- .../special/fhs-environments.section.md | 8 ++--- doc/packages/index.md | 1 - doc/packages/xorg.section.md | 34 ------------------- doc/redirects.json | 22 ++++-------- doc/release-notes/rl-2605.section.md | 2 ++ .../manual/configuration/x-windows.chapter.md | 6 ++-- 6 files changed, 14 insertions(+), 59 deletions(-) delete mode 100644 doc/packages/xorg.section.md diff --git a/doc/build-helpers/special/fhs-environments.section.md b/doc/build-helpers/special/fhs-environments.section.md index 91c0931e0e4e..69d830a32313 100644 --- a/doc/build-helpers/special/fhs-environments.section.md +++ b/doc/build-helpers/special/fhs-environments.section.md @@ -47,11 +47,9 @@ You can create a simple environment using a `shell.nix` like this: (with pkgs; [ udev alsa-lib - ]) - ++ (with pkgs.xorg; [ - libX11 - libXcursor - libXrandr + libx11 + libxcursor + libxrandr ]); multiPkgs = pkgs: diff --git a/doc/packages/index.md b/doc/packages/index.md index dbfe60ca3227..553b3d800193 100644 --- a/doc/packages/index.md +++ b/doc/packages/index.md @@ -32,7 +32,6 @@ cataclysm-dda.section.md urxvt.section.md vcpkg.section.md weechat.section.md -xorg.section.md uv.section.md build-support.md ``` diff --git a/doc/packages/xorg.section.md b/doc/packages/xorg.section.md deleted file mode 100644 index 958c5d7fb306..000000000000 --- a/doc/packages/xorg.section.md +++ /dev/null @@ -1,34 +0,0 @@ -# X.org {#sec-xorg} - -The Nix expressions for the X.org packages reside in `pkgs/servers/x11/xorg/default.nix`. This file is automatically generated from lists of tarballs in an X.org release. As such, it should not be modified directly; rather, you should modify the lists, the generator script, or the file `pkgs/servers/x11/xorg/overrides.nix`, in which you can override or add to the derivations produced by the generator. - -## Katamari Tarballs {#katamari-tarballs} - -X.org upstream releases used to include [katamari](https://en.wiktionary.org/wiki/%E3%81%8B%E3%81%9F%E3%81%BE%E3%82%8A) releases, which included a holistic recommended version for each tarball, up until 7.7. To create a list of tarballs in a katamari release: - -```ShellSession -export release="X11R7.7" -export url="mirror://xorg/$release/src/everything/" -cat $(PRINT_PATH=1 nix-prefetch-url $url | tail -n 1) \ - | perl -e 'while (<>) { if (/(href|HREF)="([^"]*.bz2)"/) { print "$ENV{'url'}$2\n"; }; }' \ - | sort > "tarballs-$release.list" -``` - -## Individual Tarballs {#individual-tarballs} - -The upstream release process for [X11R7.8](https://x.org/wiki/Releases/7.8/) does not include a planned katamari. Instead, each component of X.org is released as its own tarball. We maintain `pkgs/servers/x11/xorg/tarballs.list` as a list of tarballs for each individual package. This list includes X.org core libraries and protocol descriptions, extra newer X11 interface libraries, like `xorg.libxcb`, and classic utilities which are largely unused but still available if needed, like `xorg.imake`. - -## Generating Nix Expressions {#generating-nix-expressions} - -The generator is invoked as follows: - -```ShellSession -cd pkgs/servers/x11/xorg -' -A xorg.xkeyboardconfig)/etc/X11/xkb/" +$ echo "$(nix-build --no-out-link '' -A xkeyboard-config)/etc/X11/xkb/" ``` Once the configuration is applied, and you did a logout/login cycle, the @@ -328,7 +328,7 @@ A layout can have several other components besides `xkb_symbols`, for example we will define new keycodes for some multimedia key and bind these to some symbol. -Use the *xev* utility from `pkgs.xorg.xev` to find the codes of the keys +Use the *xev* utility from `pkgs.xev` to find the codes of the keys of interest, then create a `media-key` file to hold the keycodes definitions