[MacPorts] #17540: poppler conflicts with xpdf
MacPorts
noreply at macports.org
Tue Feb 17 03:48:54 PST 2009
#17540: poppler conflicts with xpdf
----------------------------+-----------------------------------------------
Reporter: gale@… | Owner: ricci@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: conflict | Port: poppler xpdf
----------------------------+-----------------------------------------------
Comment(by gale@…):
Replying to [comment:5 jeremyhu@…]:
> I think the with_poppler variant should be default since
> not enabling it causes this conflict. I propose...
>
> +depends_run ... port:poppler
...
> +post-destroot {
> + foreach i { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext
} {
> + delete ${destroot}${prefix}/bin/${i}
> + delete ${destroot}${prefix}/share/man/man1/${i}.1
> + }
I strongly object to this proposal.
1. This adds many more gratuitous dependencies to xpdf
2. The xpdf binaries are silently replaced by poppler binaries.
That is a dangerous hack.
Personally, I only really need xpdf, and I require binary
compatibility of the utilities. I don't want poppler; it's
deep inside some dependency tree and will hopefully
disappear from my system someday. If poppler silently
replaces my xpdf utilities with the wrong version,
I'm hosed. The resulting critical failures would be very
difficult to diagnose by someone who doesn't realize
that the xpdf package is using the proposed hack.
Note that Debian does something similar to what I
suggested in my original bug post - xpdf-utils
is a separate package, also provided by poppler-utils.
They each provide the utilities and their man pages.
You can choose either one, independently of whether
xpdf and/or libpoppler-dev are installed.
For MacPorts, perhaps the right thing to do is to have
xpdf-utils and poppler-utils conflict with each other,
and xpdf and poppler with no further dependency/conflict
relationships. Or perhaps there is some way to achieve the
same thing using variants, I don't know how.
It would be nice if the *-utils packages could be
built without all of the X dependencies. I have checked
that this is possible with xpdf - use
"./configure --without-x"
I know nothing about poppler.
Thanks,
Yitz
--
Ticket URL: <http://trac.macports.org/ticket/17540#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list