[94032] trunk/dports/graphics/pdf2svg

ryandesign at macports.org ryandesign at macports.org
Wed Jun 6 22:30:38 PDT 2012


Revision: 94032
          https://trac.macports.org/changeset/94032
Author:   ryandesign at macports.org
Date:     2012-06-06 22:30:35 -0700 (Wed, 06 Jun 2012)
Log Message:
-----------
pdf2svg: fix line thickness (#32270)

Modified Paths:
--------------
    trunk/dports/graphics/pdf2svg/Portfile

Added Paths:
-----------
    trunk/dports/graphics/pdf2svg/files/
    trunk/dports/graphics/pdf2svg/files/patch-pdf2svg.c.diff

Modified: trunk/dports/graphics/pdf2svg/Portfile
===================================================================
--- trunk/dports/graphics/pdf2svg/Portfile	2012-06-07 05:14:02 UTC (rev 94031)
+++ trunk/dports/graphics/pdf2svg/Portfile	2012-06-07 05:30:35 UTC (rev 94032)
@@ -5,7 +5,7 @@
 
 name                pdf2svg
 version             0.2.1
-revision            9
+revision            10
 license             GPL-2
 categories          graphics
 maintainers         nomaintainer
@@ -23,6 +23,8 @@
 depends_lib         port:gtk2 \
                     port:poppler
 
+patchfiles          patch-pdf2svg.c.diff
+
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     ">${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}<"

Added: trunk/dports/graphics/pdf2svg/files/patch-pdf2svg.c.diff
===================================================================
--- trunk/dports/graphics/pdf2svg/files/patch-pdf2svg.c.diff	                        (rev 0)
+++ trunk/dports/graphics/pdf2svg/files/patch-pdf2svg.c.diff	2012-06-07 05:30:35 UTC (rev 94032)
@@ -0,0 +1,11 @@
+--- pdf2svg.c.orig      2008-02-01 10:28:35.000000000 -0800
++++ pdf2svg.c   2011-11-26 03:56:15.000000000 -0800
+@@ -65,7 +65,7 @@
+     drawcontext = cairo_create(surface);
+ 
+     // Render the PDF file into the SVG file
+-    poppler_page_render(page, drawcontext);
++    poppler_page_render_for_printing(page, drawcontext);
+     cairo_show_page(drawcontext);
+ 
+     // Close the SVG file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120606/671e8dc6/attachment.html>


More information about the macports-changes mailing list