Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

191.7. libXcursor-1.2.3

X11 cursor management library

1.2.3-1 · HPND-sell-variant · 0.1 SBU · 102.6 KiB, 66 files · 42_graphics, 18 of 189 · ports/core/x11/libXcursor

Homepage: https://gitlab.freedesktop.org/xorg/lib/libXcursor

Why it is in KDOS. The comment above the 19 ports from libXext to libXres in script/phases/42_graphics/packages.d/x11.txt:

The client side of X: what a program running on Xwayland links, and what the X11 backends of mesa, GTK, Qt and mpv are built against beside their Wayland ones.

libXcursor loads cursor themes for X clients: it finds a named cursor in the Xcursor theme directories (such as ~/.icons and /usr/share/icons), reads its images at the size asked for, and uploads them as a RENDER cursor, an animated one when the cursor has several frames. A program running on Xwayland gets the same named cursors as the rest of the desktop through it. See No Xorg server, and one carve-out.

Depends on: libX11, libXrender, libXfixes, xorgproto.

Required by (16): firefox-esr, fltk, gimp, glfw, gmsh, gtk3, gtk4, kio-extras, librewolf, motif, plasma-integration, plasma-workspace, qt6-qtwebengine, thunderbird, vtk, wine.

Sources: libXcursor-1.2.3.tar.xz (285.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install libXcursor'

build.sh:

./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libdir=/usr/lib \
	--disable-static
make
make DESTDIR=$PKG install

Libraries: libXcursor.so.

Directories: /usr/include/X11/Xcursor, /usr/share/licenses/libXcursor.