aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-01 22:28:20 -0700
committerAdam Vandenberg2013-11-02 07:37:56 -0700
commit51fc7cb8c7f7f6bbfcce3b7378b6451f035945b2 (patch)
treeccff003d3301cccaeedf8ba2d110534777d93591 /Library/Formula
parent6e7b999238e9f6b9357d45f4ff9834c34b277fae (diff)
downloadhomebrew-51fc7cb8c7f7f6bbfcce3b7378b6451f035945b2.tar.bz2
pdf2svg 0.2.2
Closes #23884.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pdf2svg.rb24
1 files changed, 3 insertions, 21 deletions
diff --git a/Library/Formula/pdf2svg.rb b/Library/Formula/pdf2svg.rb
index 60a5e2e7f..0bbadf305 100644
--- a/Library/Formula/pdf2svg.rb
+++ b/Library/Formula/pdf2svg.rb
@@ -2,20 +2,15 @@ require 'formula'
class Pdf2svg < Formula
homepage 'http://www.cityinthesky.co.uk/opensource/pdf2svg'
- url 'http://www.cityinthesky.co.uk/_media/opensource/pdf2svg-0.2.1.tar.gz'
- sha1 '12f9d1bde6aa2e396eb7f196b6d8e29ade3cafe6'
+ url 'http://www.cityinthesky.co.uk/wp-content/uploads/2013/10/pdf2svg-0.2.2.tar.gz'
+ sha1 'e8d3332565f40705fbad5bd4eda9a001e563da1b'
depends_on "pkg-config" => :build
depends_on :x11
depends_on "poppler" => "with-glib"
depends_on "gtk+"
- depends_on "cairo" # Poppler-glib needs a newer cairo than provided by OS X 10.6.x
- # and pdf2svg needs it to be on PKG_CONFIG_PATH during the build
- def patches
- # fix call to poppler to render normal thickness lines in firefox
- DATA
- end
+ depends_on "cairo"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
@@ -23,16 +18,3 @@ class Pdf2svg < Formula
system "make install"
end
end
-
-__END__
---- pdf2svg-0.2.1/pdf2svg.c.ORIG 2008-02-01 10:28:35.000000000 -0800
-+++ pdf2svg-0.2.1/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