head 1.4; access; symbols pkgsrc-2019Q2:1.3.0.30 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.28 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.26 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.24 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.22 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.20 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.18 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.16 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.12 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.10 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.18 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.16 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.14 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.12 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.10 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.8 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.6 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2; locks; strict; comment @# @; 1.4 date 2019.08.26.14.41.53; author adam; state dead; branches; next 1.3; commitid oAIhWY2fpc7iZxAB; 1.3 date 2016.03.29.21.19.56; author khorben; state Exp; branches; next 1.2; commitid bWKbjS2DNh9QcA0z; 1.2 date 2013.10.09.09.48.22; author wiz; state Exp; branches; next 1.1; commitid saHY4jXThilinB8x; 1.1 date 2013.10.09.09.21.15; author wiz; state Exp; branches; next ; commitid xZWCwUasc4i3eB8x; desc @@ 1.4 log @Removed print/py-poppler, print/pdfshuffler @ text @$NetBSD: patch-poppler.defs,v 1.3 2016/03/29 21:19:56 khorben Exp $ Removed functions in poppler-0.16. API change in poppler-0.15, see http://cgit.freedesktop.org/poppler/poppler/commit/?id=b257428150e2c13dcc24fd8f75e4ee2c679ab414 Add fixes for poppler-0.39.0, see https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbcb03b918df48f33d24326640209de3d031074 --- poppler.defs.orig 2009-09-27 09:07:59.000000000 +0000 +++ poppler.defs @@@@ -578,18 +578,6 @@@@ ) ) -(define-enum Orientation - (in-module "Poppler") - (c-name "PopplerOrientation") - (gtype-id "POPPLER_TYPE_ORIENTATION") - (values - '("portrait" "POPPLER_ORIENTATION_PORTRAIT") - '("landscape" "POPPLER_ORIENTATION_LANDSCAPE") - '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN") - '("seascape" "POPPLER_ORIENTATION_SEASCAPE") - ) -) - (define-enum PageTransitionType (in-module "Poppler") (c-name "PopplerPageTransitionType") @@@@ -1646,58 +1634,6 @@@@ (return-type "GType") ) -(define-method render_to_pixbuf - (of-object "PopplerPage") - (c-name "poppler_page_render_to_pixbuf") - (return-type "none") - (parameters - '("int" "src_x") - '("int" "src_y") - '("int" "src_width") - '("int" "src_height") - '("double" "scale") - '("int" "rotation") - '("GdkPixbuf*" "pixbuf") - ) -) - -(define-method render_to_pixbuf_for_printing - (of-object "PopplerPage") - (c-name "poppler_page_render_to_pixbuf_for_printing") - (return-type "none") - (parameters - '("int" "src_x") - '("int" "src_y") - '("int" "src_width") - '("int" "src_height") - '("double" "scale") - '("int" "rotation") - '("GdkPixbuf*" "pixbuf") - ) -) - -(define-method get_thumbnail_pixbuf - (of-object "PopplerPage") - (c-name "poppler_page_get_thumbnail_pixbuf") - (return-type "GdkPixbuf*") -) - -(define-method render_selection_to_pixbuf - (of-object "PopplerPage") - (c-name "poppler_page_render_selection_to_pixbuf") - (return-type "none") - (parameters - '("gdouble" "scale") - '("int" "rotation") - '("GdkPixbuf*" "pixbuf") - '("PopplerRectangle*" "selection") - '("PopplerRectangle*" "old_selection") - '("PopplerSelectionStyle" "style") - '("GdkColor*" "glyph_color") - '("GdkColor*" "background_color") - ) -) - (define-method render (of-object "PopplerPage") (c-name "poppler_page_render") @@@@ -1796,6 +1732,12 @@@@ (of-object "PopplerPage") (c-name "poppler_page_get_text") (return-type "char*") +) + +(define-method get_selected_text + (of-object "PopplerPage") + (c-name "poppler_page_get_selected_text") + (return-type "char*") (parameters '("PopplerSelectionStyle" "style") '("PopplerRectangle*" "rect") @ 1.3 log @Add fixes for poppler-0.39.0 (from Gentoo) This fixes building this package. @ text @d1 1 a1 1 $NetBSD: patch-poppler.defs,v 1.2 2013/10/09 09:48:22 wiz Exp $ @ 1.2 log @Update to match 0.16 better. Ride import. @ text @d1 1 a1 1 $NetBSD: patch-poppler.defs,v 1.1 2013/10/09 09:21:15 wiz Exp $ d8 3 d13 20 a32 1 @@@@ -1646,58 +1646,6 @@@@ d91 1 a91 1 @@@@ -1796,6 +1744,12 @@@@ @ 1.1 log @Import py27-poppler-0.12.1 as print/py-poppler. Poppler is a PDF rendering library based on the xpdf-3.0 code base. PyPoppler is a wrapper which exposes the poppler API to the python world. It is fairly complete, most of the API are covered. The documentation is actually missing, help wanted :) @ text @d1 3 a3 1 $NetBSD$ d10 3 a12 1 @@@@ -1794,7 +1794,7 @@@@ d14 56 a69 1 (define-method get_text d71 6 a76 1 - (c-name "poppler_page_get_text") d78 1 a78 1 (return-type "char*") d81 1 @