Nothing strange in logs but after installation /usr/lib/misc/xprint has lines #ifdef OS_SOLARIS #elif defined(OS_LINUX) #endif they are supposed to be handled by cpp preprocessor before actual install, right ? And it does not try to look for encodings.dir file in /usr/share/fonts/encodings ... Unfortunatelly I'm not familiar enough with modular X build to fix this bug...
Ed, any interest in fixing xprint?
Created attachment 84604 [details, diff] xorg-server-1.0.2-r3.patch Ebuild patch. The upstream bug for Xprint is https://bugs.freedesktop.org/show_bug.cgi?id=5525 This ebuild uses a modified version of the patch at that bug, and an patch to run the xprint.cpp file through the preprocessor in the way it should be. Patches need autoreconf, so this ebuild sets SNAPSHOT. x11-apps/xplsprinters is added to DEPEND to ensure the profile scripts etc. work.
Created attachment 84605 [details, diff] xorg-server-1.0.2-Xprt-build.patch Upstream patch to build Xprt properly
Created attachment 84606 [details, diff] xorg-server-1.0.2-xprint-init.patch Patch to build init script
Created attachment 84607 [details] xorg-server-1.0.2-r3.ebuild Ebuild (for testing).
(In reply to comment #2) > This ebuild uses a modified version of the patch at that bug, and an patch to > run the xprint.cpp file through the preprocessor in the way it should be. How is it modified?
*** Bug 84261 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > (In reply to comment #2) > > This ebuild uses a modified version of the patch at that bug, and an patch to > > run the xprint.cpp file through the preprocessor in the way it should be. > > How is it modified? Pr
(In reply to comment #6) > (In reply to comment #2) > > This ebuild uses a modified version of the patch at that bug, and an patch to > > run the xprint.cpp file through the preprocessor in the way it should be. > > How is it modified? Précis of differences: 1. Xprint/Makefile.am: XPRINTDIR is defined to $(prefix)/lib/X11/xserver instead of $(prefix)/X11/xserver. Upstream has the latter, so this will need considering when next xorg-server release happens. 2. cfb/Makefile.am.inc: cfb8bit.c depends on compiler.h, not cfbmskbits.h. This is as upstream of 20060107. (Upstream now has cfb8bit.o instead for non-GNU make; see http://webcvs.freedesktop.org/xorg/xserver/xorg/cfb/Makefile.am.inc?r1=1.5&r2=1.6 ) 3. Create Xprint/pcl-mono/Makefile.am and Xprint/pcl/Makefile.am.inc; evidently the patch submitter didn't know how to generate a file-creating diff.
Ed, how much of this stuff is necessary for 1.0.99?
Arch teams, please keyword x11-apps/xplsprinters.
Please keyword.
Already taken care of for bsd if it's just xplsprinters.
Created attachment 85108 [details, diff] xorg-server-1.0.99.901-Xprint-xprintdir.patch (In reply to comment #9) > Ed, how much of this stuff is necessary for 1.0.99? xorg-server-1.0.2-xprint-init.patch is still needed; it gets the xprint init script built correctly. xorg-server-1.0.2-Xprt-build.patch is not needed. This attached patch is needed; it fixes a mismatch between configure.ac and Xprint/Makefile.am (configure has xpconfigdir=$libdir/X11/xserver).
Great, thanks. I've changed that patch a bit to use libdir instead, to work properly with multilib systems.
I've committed everything except the xplsprinters add to RDEPEND, since it's not keyworded everywhere yet.
Done on hppa.
*** Bug 130936 has been marked as a duplicate of this bug. ***
Ping alpha, amd64, ia64, xprint is broken on your archs.
amd64 done
Alpha, waiting on you ...
(In reply to comment #20) > Alpha, waiting on you ... > Still..
Alpha team, ping.
added ~alpha.
Fixed, finally.