[MacPorts] #41989: gnuplot +pangocairo does not need pdflib
MacPorts
noreply at macports.org
Wed Jan 1 01:11:46 PST 2014
#41989: gnuplot +pangocairo does not need pdflib
---------------------------+--------------------------------
Reporter: kingcrimson@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: gnuplot
---------------------------+--------------------------------
Hi,
It appears from the gnuplot readme:
{{{
IMPORTANT NOTE ON PDF SUPPORT
===========================================
Direct PDF support in gnuplot is provided by an external library.
Two options are currently possible. It is possible to have both
PDF terminal drivers in the same gnuplot executable.
The newer "pdfcairo" terminal uses the pango and cairo libraries.
This driver will be built if the configure script detects suitable
versions of cairo and pango on your machine.
}}}
that, if pango and cairo are available, pdflib is not strictly needed.
I therefore suggest the following change to the gnuplot Portfile:
{{{
@@ -103,6 +103,7 @@
variant pangocairo description "Enable cairo-based terminals" {
depends_lib-append path:lib/pkgconfig/pango.pc:pango
+ depends_lib-delete port:pdflib
configure.args-delete --without-cairo
}
}}}
this is particularly important to me as pdflib has a restrictive
license, while pango and cairo are free software.
Alternatively, as both options are allowed at the same time, one could
ad a new separate variant 'pdflib' but I don't think it is very useful
to have two pdf terminals available ...
thanks,
c.
--
Ticket URL: <https://trac.macports.org/ticket/41989>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list