Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105107 - poppler-0.4.2 (bump + deps fix)
Summary: poppler-0.4.2 (bump + deps fix)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 21:56 UTC by TGL
Modified: 2005-09-28 08:15 UTC (History)
1 user (show)

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


Attachments
poppler-0.4.1_to_0.4.2.patch (poppler-0.4.1_to_0.4.2.patch,1.63 KB, patch)
2005-09-06 21:57 UTC, TGL
Details | Diff
poppler-0.4.2.ebuild (poppler-0.4.2.ebuild,1.31 KB, text/plain)
2005-09-06 21:57 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
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.