Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105107

Summary: poppler-0.4.2 (bump + deps fix)
Product: Gentoo Linux Reporter: TGL <tom.gl>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: enhancement CC: ghepeu
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: poppler-0.4.1_to_0.4.2.patch
poppler-0.4.2.ebuild

Description TGL 2005-09-06 21:56:11 UTC
Here is an ebuild for poppler-0.4.2. Changelog says:
 - Fix a rotation bug.
 - Fix freetype pkg-config check
 - Default to built-in decompression.

I've added and modified some deps and configure options to make the ebuild
behavior a bit more deterministic (imho, too much things are left to ./configure
autodetection in the current ebuild, which make it hard to track the real deps
of the package). This is more a bunch of suggestions, feel free to enforce what
you think should not be optionnal, etc.:
 - added a cairo USE flag and optionnal dep (sure, that should wait it's
unmasked). I would suggest that "cairo" becomes a global flag btw, 'cause it
would be the fifth package to have it localy.
 - added jpeg USE flag and optionnal dep (maybe that could be forced on,
everybody loves jpeg)
 - added zlib USE flag and optionnal dep (this is to override the internal code.
Maybe it could be forced off, since that's upstream defaults)
 - gtk+ dep is >=2.4 because of some glib API functions
 - added --enable/--disable option for gtk+ (to make the USE flag actually work)
 - moved dev-util/pkgconfig from RDEPEND to DEPEND
 - removed t1lib dep (dead code only, and the lib is never linked)
 - made explicit that qt4 wrappers won't be built (it should imho wait that the
lib is keyworded, get its official USE flag, etc., so i think it's better to not
link against it at all, even for the braves who already have it installed)
 - added --enable-opi, without a USE flag (the option to disable it will
disappear in next version anyway)

One thing i was not sure about is the rdep on ghostscript. Are these fonts still
really required now that poppler uses fontconfig et al.?

Thanks,
TGL.
Comment 1 TGL 2005-09-06 21:57:13 UTC
Created attachment 67798 [details, diff]
poppler-0.4.1_to_0.4.2.patch

Changes beetween 0.4.1 and this ebuild.
Comment 2 TGL 2005-09-06 21:57:52 UTC
Created attachment 67799 [details]
poppler-0.4.2.ebuild
Comment 3 Giacomo Perale 2005-09-28 04:07:43 UTC
is there any hope to see this in portage? I've got a few PDFs that poppler 0.4.1
can't display (the rotation bug, I suppose) while 0.4.2 has no problems, and the
work on dependencies is remarkable
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-28 08:15:04 UTC
I've added 0.4.2.  I had to take out the cairo use flag and dep, because cairo
is masked, so I can't depend on it until it comes out of mask.  In addition,
I've disabled the cairo backend by default, per bug #104830.  If people care
enough, I can re-enable it, but I think correct operation is more important than
whiz-bang new features.

As soon as cairo is out of package.mask, I'll put the use flag back and revbump.