[MacPorts] #17540: poppler conflicts with xpdf
MacPorts
noreply at macports.org
Mon Feb 16 22:32:47 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 jeremyhu@…):
I think the with_poppler variant should be default since not enabling it
causes this conflict. I propose:
{{{
Index: Portfile
===================================================================
--- Portfile (revision 46844)
+++ Portfile (working copy)
@@ -45,7 +45,7 @@
depends_lib port:xorg-libs lib:libfreetype.6:freetype \
port:libpaper port:openmotif port:t1lib
-depends_run path:share/ghostscript/fonts:ghostscript
+depends_run path:share/ghostscript/fonts:ghostscript port:poppler
patchfiles xpdf-3.02-salvage-your-eye.patch \
patch-xpdf-NameToUnicodeTable.h.diff \
@@ -89,16 +89,6 @@
configure.args-append --enable-a4-paper
}
-variant with_poppler description {Add Poppler support} {
- depends_run-append 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
- }
- }
-}
-
platform puredarwin {
depends_lib-delete port:openmotif
depends_lib-append port:lesstif
@@ -115,6 +105,13 @@
patchfiles-delete xpdf-3.02-salvage-your-eye.patch
}
+post-destroot {
+ foreach i { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext
} {
+ delete ${destroot}${prefix}/bin/${i}
+ delete ${destroot}${prefix}/share/man/man1/${i}.1
+ }
+}
+
post-install {
ui_msg " \
Xpdf language support packages are also available at \
}}}
--
Ticket URL: <http://trac.macports.org/ticket/17540#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list