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 */ it.d?id=37ef7683de5f3f93c1dbbb15f78e02d4c6831089'>treecommitdiff
AgeCommit message (Expand)Author
2024-06-26etc: Add explicit ‘--substitute-urls’ in guix-daemon service files....Having substitute URLs explicitly listed in the service startup file makes it clearer what should be modified to permanently change the list of substitute URLs. * config-daemon.ac: Rename ‘guix_substitute_urls’ to ‘GUIX_SUBSTITUTE_URLS’ and substitute it. * nix/local.mk (etc/guix-%.service, etc/init.d/guix-daemon) (etc/guix-%.conf): Substitute it. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/init.d/guix-daemon.in: Add an explicit ‘--substitute-urls’ option. Change-Id: Ie491b7fab5c42e54dca582801c03805a85de2bf9 Ludovic Courtès
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer