Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34963 - media-libs/pdflib ebuild does not install fonts resources
Summary: media-libs/pdflib ebuild does not install fonts resources
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 03:44 UTC by JF Burdet
Modified: 2004-08-20 14:04 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 JF Burdet 2003-12-03 03:44:02 UTC
Hi,

I'm using  media-libs/pdflib-4.0.3-r1 ebuild with apache and PHP. 

Some fonts ressources for pdflib to work well were not installed, here is what I
had to do :
- emerge pdflib (lib get installed, but not the fonts ressources)
- emerge pdflib, but hitting ctrl-c after unpack stage
- cp -R /var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/fonts/
/usr/share/pdflib/lib/
- editing /usr/share/pdflib/lib/pdflib.upr and setting directory prefix to
//usr/share/pdflib/lib/fonts

Then, in my PDF producing PHP scripts adding pdf_set_parameter($pdf,
"resourcefile", "/usr/share/pdflib/lib/fonts/pdflib.upr");

After doing that everything works well : I'm able to produce PDF.

I think you'll get the point. Email me for more information if needed.

Reproducible: Always
Steps to Reproduce:
see details above
Actual Results:  
see details above.



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
I put this bug "Major", because it prevents using PDFLib with the most popular
web scripting language.

PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad
mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga
truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql postgres gpm
tcpd pam libwww ssl perl python qt opengl gd -gtk -kde -gnome -X java pdflib"
Comment 1 EwS 2004-01-09 15:56:45 UTC
Hi there, 

An additional problem with pdflib is that it tries to install a *wrong* version, non existing in this moment, could anyone give it an eye plz?

tx a lot in advance.
Comment 2 JF Burdet 2004-01-12 00:55:14 UTC
This is a bit off topic, but there are free and pure php way of building pdf document from php : 

http://www.ros.co.nz/pdf/
http://www.fpdf.org/
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-10 23:09:50 UTC
is this still an issue?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-20 14:04:20 UTC
closing due to no feedback.  Please reopen if you still experience this.