Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68205 - imagemagick-6.0.7.1 Ghostscript fonts
Summary: imagemagick-6.0.7.1 Ghostscript fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 14:19 UTC by Philippe Weibel
Modified: 2005-01-18 06:13 UTC (History)
2 users (show)

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


Attachments
Patch for imagemagick-6.1.3.4.ebuild (imagemagick-6.1.3.4.ebuild.patch,308 bytes, patch)
2005-01-14 00:43 UTC, Eng-Wee Yeo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Weibel 2004-10-19 14:19:40 UTC
imagemagick-6.0.7.1 fonts defaults to /usr/share/ghostscript/fonts and this directory isn't here any more with app-text/ghostscript-7.07.1-r7.

They are located in /usr/share/fonts/default/ghostscript with media-fonts/gnu-gs-fonts-std-8.11.

I workaround this problem by doing a symlink by hand.
Comment 1 Philippe Weibel 2004-10-19 14:21:51 UTC
# emerge info

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/src/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode f77 foomaticdb gdbm gif gtk gtk2 guile imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sse ssl tcpd tiff truetype usb x86 xml2 xmms xprint xv zlib"
Comment 2 Sascha Silbe 2004-11-07 05:23:24 UTC
Because of this bug ImageMagick installation fails if FEATURES=maketest is enabled:  [...] PASS: Magick++/demo/analyze.sh Caught exception: lt-button: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/button.sh Read images ... Creating thumbnails...   add noise ...   annotate ... Caught exception: lt-demo: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/demo.sh PASS: Magick++/demo/flip.sh angle 0 Caught exception: lt-gravity: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/gravity.sh Caught exception: lt-piddle: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/piddle.sh Caught exception: lt-shapes: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/shapes.sh PASS: Magick++/demo/zoom_bessel.sh [...] 5 of 594 tests failed ===================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/tmp/portage/portage/imagemagick-6.1.3.2/work/ImageMagick-6.1.3' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/tmp/portage/portage/imagemagick-6.1.3.2/work/ImageMagick-6.1.3' make: *** [check] Error 2  !!! ERROR: media-gfx/imagemagick-6.1.3.2 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message.   
Comment 3 Mark Clegg 2004-12-04 09:29:35 UTC
Same in 6.1.3.4
Comment 4 Eng-Wee Yeo 2005-01-14 00:14:00 UTC
The problem lies (still present as of version 6.1.3) in /usr/lib/ImageMagick-6.x.x/config/type-ghostscript.xml

As stated below, substitute all instances of /usr/share/ghostscript/fonts with /usr/share/fonts/default/ghostscript.
Comment 5 Eng-Wee Yeo 2005-01-14 00:43:22 UTC
Created attachment 48441 [details, diff]
Patch for imagemagick-6.1.3.4.ebuild

Added --with-gs-font-dir=/usr/share/fonts/default/ghostscript to the
src_compile() section.
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2005-01-18 06:13:44 UTC
Fixed in CVS.