Considering 'xorg-x11-6.9.0-r1', the following session script does not work correctly on Gentoo systems: /etc/X11/xinit/xinitrc.d/92xprint-xpserverlist.sh It assumes that /etc/init.d/ services are processed by /bin/sh, and thus fails to setup the environment for xprint.
Created attachment 87896 [details, diff] proposed patch for Gentoo systems
Also, I think that this script is only installed when xorg-x11 is merged with USE="xprint".
Could you provide a patch against the unpacked source, please?
Created attachment 87906 [details, diff] fix scripts, patch against unpacked ebuild Fixes three (3) session scripts to properly use /etc/init.d/xprint to set XPSERVERLIST. Tested both the /bin/sh and /bin/csh scripts. Source were extracted with: # sudo -u portage ebuild /usr/portage/x11-base/xorg-x11/xorg-x11-6.9.0-r1.ebuild unpack
Xprint guru, your opinion?
"Guru". Heh. That'll work, yeah; it might be simpler to use `/usr/lib/misc/xprint get_xpserverlist` (which is what xorg-server has).
Is there a final patch here?
This is done with a sed stanza: # Patch profile scripts sed -e "s:/bin/sh.*get_xpserverlist:/usr/$(get_libdir)/misc/xprint \ get_xpserverlist:g" -i ${D}/etc/profile.d/xprint* \ ${D}/etc/X11/xinit/xinitrc.d/92xprint-xpserverlist.sh
6.9 is no longer in the tree and, as Ed says, this is already taken care of in xorg-server.