Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115308 - Emerging ghostscript-esp with cjk useflag turns acrored unable to print
Summary: Emerging ghostscript-esp with cjk useflag turns acrored unable to print
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 07:26 UTC by plsdontreply
Modified: 2006-02-06 04:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description plsdontreply 2005-12-12 07:26:39 UTC
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.
Comment 1 plsdontreply 2005-12-19 03:23:55 UTC
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.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-04 15:46:45 UTC
Does the same happen with ghostscript-gnu or ghostscript-afpl?
Comment 3 plsdontreply 2006-01-13 01:08:10 UTC
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?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 11:14:03 UTC
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
Comment 5 plsdontreply 2006-01-16 00:25:35 UTC
Both ghostscript-afpl-8.15 and ghostscript-gnu-8.16 fail, 
but ghostscript-esp-8.15.1 works, even with +cjk useflag enabled.
Comment 6 Christoph Peus 2006-01-23 14:39:31 UTC
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.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-06 04:31:28 UTC
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.