From: Danny Milosavljevic Date: Thu, 2 Apr 2022 12:10:00 +0200 Subject: Make xterm use libxcursor directly Fixes . This patch makes xterm use libxcursor directly. Without it, libx11 would try to dlopen("libXcursor.so.1") and fail. --- xterm-370/misc.c.orig 2022-04-02 11:52:26.225131854 +0200 +++ xterm-370/misc.c 2022-04-02 12:06:13.091482385 +0200 @@ -79,6 +79,9 @@ #ifdef HAVE_LIBXPM #include #endif +#ifdef HAVE_LIB_XCURSOR +#include +#endif #ifdef HAVE_LANGINFO_CODESET #include @@ -866,7 +869,14 @@ * 0, 2 a shape, 3 a mask for 2, etc. * contains defined names for each shape. */ - c = XCreateGlyphCursor(dpy, + c = XcursorTryShapeCursor(dpy, + myFont.fs->fid, /* source_font */ + myFont.fs->fid, /* mask_font */ + c_index + 0, /* source_char */ + c_index + 1, /* mask_char */ + &foreground, + &background); + if (c == None) c = XCreateGlyphCursor(dpy, myFont.fs->fid, /* source_font */ myFont.fs->fid, /* mask_font */ c_index + 0, /* source_char */ treecommitdiff
AgeCommit message (Expand)Author
2022-07-07gnu: radicale: Update to 3.1.7....* gnu/packages/dav.scm (radicale): Update to 3.1.7. Efraim Flashner
2022-06-26gnu: python-setuptools-scm: Move to (gnu packages python-build)....* gnu/packages/python-xyz.scm (python-setuptools-scm): Move from here... * gnu/packages/python-build.scm (python-setuptools-scm): ... to here. Maxim Cournoyer
2022-04-03gnu: radicale: Update to 3.1.5....* gnu/packages/dav.scm (radicale): Update to 3.1.5. [source]: tags have a leading "v" now. [arguments]: disable tests temporarily. Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de> Jonathan Brielmaier
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-25gnu: vdirsyncer: Update to 0.18.0....* gnu/packages/dav.scm (vdirsyncer): Update to 0.18.0. Signed-off-by: Leo Famulari <leo@famulari.name> Tanguy Le Carrour