Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121341 - Make gentoo kpdf use poppler
Summary: Make gentoo kpdf use poppler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 12:11 UTC by Stefan Schweizer (RETIRED)
Modified: 2006-02-03 01:10 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 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-02 12:11:06 UTC
Kpdf should use poppler to reduce security load on the kde team

A patch to do that is already used by ubuntu for some time and available at:
http://kubuntu.org/~jriddell/kubuntu_05_poppler.diff
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-02 12:14:27 UTC
I'm working on this right now, autofoo needs cleanup, going to test soon...
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-02 12:44:55 UTC
Modified patch with sane autofoo ready and seems to work, testing now with kpdf-3.5.1-r1.

I'm all for pushing this, it means that at least we have not to think for kpdf 3.5.x about security stuff... yet 3.3 and 3.4 will still need to be took care of.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-02 13:22:15 UTC
Seems like both with and without the patch KPDF 3.5.1 doesn't crash with the PDF it should crash with.

But interesting enough:

flame@enterprise ~ $ qsize kpdf
kde-base/kpdf-3.5.1: 28 files, 45 non-files, 8865.458 KB
flame@enterprise ~ $ qsize kpdf
kde-base/kpdf-3.5.1-r1: 28 files, 45 non-files, 5058.488 KB

Both compiled with the same settings and CFLAGS, the first without the patch and the first with. I'm all for merging this patch, but I'm going to wait for genstef's testcase first.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-02 16:02:08 UTC
The testcase works for me.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-02 17:07:48 UTC
(In reply to comment #2)
> I'm all for pushing this, it means that at least we have not to think for kpdf
> 3.5.x about security stuff... yet 3.3 and 3.4 will still need to be took care
> of.

KDE 3.3 is not supported anymore security wise. Time to remove the ebuilds from the tree, imho. I'm all for using poppler, too. Preferably, kde.org would do this finally.


Stefan: Have the Kubuntu guys KOffice patched as well?

Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-03 00:53:44 UTC
I actually had kpdf ebuild ready, but with the conflict I have to cancel the commit :|
Now I'm waiting for python to complete rebuilding then I'll add kpdf 3.5.1-r2 and kdegraphics 3.5.1-r2 with the poppler patch.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-03 01:10:30 UTC
Okay both in tree...