Summary: | net-print/cups move from xpdf to poppler, meaning use pdftops with poppler binding | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Steinel <Florian.Steinel> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ghepeu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
test.ps.bz2
BendAusbvert.pdf.bz2 pdftops.cc poppler-0.3.3-r2.ebuild poppler-0.3.3-utils.patch.bz2 |
Description
Florian Steinel
2005-12-17 09:42:17 UTC
Created attachment 74950 [details]
test.ps.bz2
testoutput from
./pdftops -paper A4 -expand BendAusbvert.pdf
Created attachment 74951 [details]
BendAusbvert.pdf.bz2
Created attachment 74952 [details]
pdftops.cc
modified pdftops.cc V1.1 from poppler CVS:
- removed include config.h
- replaced include parseargs with sourcecode from parseargs.c
build it with
g++ -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/poppler -I. -lglib -lpoppler pdftops.cc -o pdftops
Once there is a version of poppler with pdftops in it, we'll make the change. just some additional info ubuntu has a package for poppler-utils: http://packages.ubuntu.com/breezy/text/poppler-utils based on poppler 0.4.2 Why does upstream not release a separate package "poppler-utils". DO you maybe have some links? I am interested in this, because it will solve the regular "cups-always-needs-X" bugs from people who do not have USE=-motif set. Fixing Fixed in cups-1.1.23-r7 dang, thanks for the fast help :-) Please don't get me wrong, but isn't the patch a little to big to stick it unpacked into ebuild file dir? Also, another thing to note: poppler 0.3.3 (0.3.0 in tree) is the last one which was usable from kde 3.5 / gnome 2.12, because of api change in 0.4.x. To fix this just add an poppler-0.3.0-r2 ebuild with poppler-utils patch applied. (In reply to comment #9) > Also, another thing to note: poppler 0.3.3 (0.3.0 in tree) is the last one > which was usable from kde 3.5 / gnome 2.12, because of api change in 0.4.x. > To fix this just add an poppler-0.3.0-r2 ebuild with poppler-utils patch > applied. > I've been using poppler 0.4.x with gnome 2.12 (evince 0.4.0) since the release The patch is indeed too big, I missed that. I'm fixing it. I personally have no interest in mainting poppler 0.3.x. If someone else in printing (or who wants to join printing) wants to maintain it, go right ahead. (In reply to comment #10) > I've been using poppler 0.4.x with gnome 2.12 (evince 0.4.0) since the release right. I ment last stable gnome 2.10. Created attachment 75983 [details]
poppler-0.3.3-r2.ebuild
poppler ebuild with poppler utils patch
Created attachment 75984 [details]
poppler-0.3.3-utils.patch.bz2
The only change needed in the patch set is the deletion of the reference to qt4 in Makefile.am , otherwise the same patch as poppler-0.4.3-utils.patch.gz .
I left that on purpose, so that once we start enabling qt4, it will still work. Hhm, but poppler-0.3.x dons't support qt4 only poppler-0.4.x does. |