Bug 452505

Summary: libextractor-plugins-pdf: use default pdf plugin instead of one based on xpdf
Product: [Fedora] Fedora Reporter: Tomas Hoger <thoger>
Component: libextractorAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: bashton
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-13 11:29:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Hoger 2008-06-23 13:41:47 UTC
Description of problem:
libextractor sources contain two pdf reader plugins - one based on embedded copy
of xpdf code (plugins/pdf/pdfextractor.cc) and (as of 0.5.12) own minimal pdf
extractor sufficient to read meta-data out or the pdf (plugins/pdfextractor.c).
 pdfextractor.c seems to be a default pdf extractor in current libextractor
versions, unless overridden at compile time by --enable-xpdf as is done in
Fedora packages.

As xpdf code is frequently patched for security issues that may (or may not)
affect libextractor.  Please consider using default pdf extractor unless there
is a well-known reason why xpdf-based version should be used.

As a side effects, using minimal pdfextractor.c may allow you to merge -pdf
subpackage to -base, as it is written in C and hence does not require extra libs
(C++ libs) needed by xpdf-based version (which is probably a reason for separate
subpackage).

Version-Release number of selected component (if applicable):
libextractor-0.5.20b-1

Comment 1 Enrico Scholz 2009-09-13 11:29:20 UTC
should be solved since 0.5.22-1

Comment 2 Tomas Hoger 2009-09-17 08:21:36 UTC
Thank you.

Anyway, configure log related to xpdf support is rather amusing:

with --disable-xpdf:
  configure: NOTICE: xpdf disabled (result: limited PDF support)

with --enable-xpdf:
  configure: NOTICE: xpdf enabled (xpdf has a bad security record)

Enrico, have you considered -pdf sub-package to -base as proposed above?  -pdf no longer has any extra dependencies compared to -base, which, I guess, was the main reason for separate -pdf sub-package.

Comment 3 Tomas Hoger 2009-10-28 11:14:00 UTC
Needinfo on the -pdf sub-package merge.

Comment 4 Red Hat Bugzilla 2023-09-14 01:13:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days