Summary: | xprint environment not initialized by Xsession | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timothy Stotts <devel> |
Component: | [OLD] Library | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | trivial | CC: | ed |
Priority: | Lowest | Keywords: | Inclusion |
Version: | 2006.0 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
proposed patch for Gentoo systems
fix scripts, patch against unpacked ebuild |
Description
Timothy Stotts
2006-05-30 11:30:40 UTC
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. |