Having the useflag cjk prevents acroread from being able to print. At the same time gv, lp or lpr an print without problems. Reproducible: Always Steps to Reproduce: 1. Set global useflag cjk 2. Emerge -uDN world 3. Emerge acroread 4. Start acroread 5. View any pdf document 6. Try to print Actual Results: Printing fails Expected Results: Printing as normal After removing cjk useflag and "emerge -uDN world" acroread does print as expected.
Did some tests and found out that with cjk in my global use flags and app-text/ghostscript -cjk in /etc/portage/package.use it works. Now I'm having x11-base/xorg-x11 and net-print/cups with cjk enabled and app-text/ghostscript with cjk disabled.
Does the same happen with ghostscript-gnu or ghostscript-afpl?
No idea about ghostscript-gnu or ghostscript-afpl. Cups requires poppler-0.4.3-r4 and poppler requires ghostscript-esp-7.01.1-r8. How could I make cups use other ghostscript instead?
eeeh, we have a ghostscript virtual, you can try out every ghostscript by just unmerging the other one. I would also like you to try out gs-esp-8 which is currently in p.mask
Both ghostscript-afpl-8.15 and ghostscript-gnu-8.16 fail, but ghostscript-esp-8.15.1 works, even with +cjk useflag enabled.
In contrary to ghostscript-esp 7.x the new ebuild seems to depend on gtk. Is this by design? I get this error: /bin/sh: gtk-config: command not found /bin/sh: gtk-config: command not found src/dxmain.c:36:21: gtk/gtk.h: No such file or directory src/dxmain.c:44: error: syntax error before "data" src/dxmain.c:45: warning: function declaration isn't a prototype src/dxmain.c:83: error: syntax error before "data" src/dxmain.c:84: warning: function declaration isn't a prototype src/dxmain.c: In function `read_stdin_handler': src/dxmain.c:85: error: `data' undeclared (first use in this function) src/dxmain.c:85: error: (Each undeclared identifier is reported only once src/dxmain.c:85: error: for each function it appears in.) src/dxmain.c:87: error: `condition' undeclared (first use in this function) src/dxmain.c:87: error: `GDK_INPUT_EXCEPTION' undeclared (first use in this function) src/dxmain.c:88: warning: implicit declaration of function `g_print' src/dxmain.c:91: error: `GDK_INPUT_READ' undeclared (first use in this function) src/dxmain.c:93: error: `fd' undeclared (first use in this function) src/dxmain.c: In function `gsdll_stdin': src/dxmain.c:108: error: `gint' undeclared (first use in this function) src/dxmain.c:108: error: syntax error before "input_tag" src/dxmain.c:114: error: `input_tag' undeclared (first use in this function) src/dxmain.c:114: warning: implicit declaration of function `gdk_input_add' src/dxmain.c:115: error: `GdkInputCondition' undeclared (first use in this function) src/dxmain.c:115: error: `GDK_INPUT_READ' undeclared (first use in this function) src/dxmain.c:115: error: `GDK_INPUT_EXCEPTION' undeclared (first use in this function) (Hundrets of messages deleted) src/dxmain.c:332: warning: `cmyk_cyan' defined but not used src/dxmain.c:337: warning: `cmyk_magenta' defined but not used src/dxmain.c:342: warning: `cmyk_yellow' defined but not used src/dxmain.c:347: warning: `cmyk_black' defined but not used make[1]: *** [bin/../sobin/gsx] Error 1 make[1]: Leaving directory `/var/tmp/portage/ghostscript-esp-8.15.1/work/espgs-8.15.1' make: *** [so] Error 2 I'm using ghostscript for a server, no X, no Gnome or other graphical stuff installed. I would really like to go on that way... Thanks.
ok, gs-esp-8.16 is in ~arch now. Use that please Please reopen here, if you find a patch for me to apply on the other ghostscripts.