diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-03 00:35:38 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:04 +0700 |
commit | 8ed75267bf739324063313f28724e7f096819921 (patch) | |
tree | 7a10e68418a4d49efe6f0cc6b6c6e9951b848bfc /python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch | |
parent | 7da6b0287b4ead4d263a74e0816e92df4e89c3d5 (diff) | |
download | slackbuilds-8ed75267bf739324063313f28724e7f096819921.tar.gz slackbuilds-8ed75267bf739324063313f28724e7f096819921.tar.xz |
python/pypoppler: Remove carriage returns from patch.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r-- | python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch b/python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch index 00d668b5be..3f786439cc 100644 --- a/python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch +++ b/python/pypoppler/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch @@ -1,69 +1,69 @@ -derived from here:
-http://pkgs.fedoraproject.org/cgit/pypoppler.git/commit/?id=f7475801b5176fd8523cc1ff354ab954f3cd44b4
-
-diff -Naur pypoppler-0.12.1.orig/poppler.defs pypoppler-0.12.1/poppler.defs
---- pypoppler-0.12.1.orig/poppler.defs 2012-08-28 19:30:12.804472077 +0200
-+++ pypoppler-0.12.1/poppler.defs 2012-08-28 19:31:28.035467000 +0200
-@@ -1646,62 +1646,6 @@
- (return-type "GType")
- )
-
--(define-method render_to_pixbuf
-- (of-object "PopplerPage")
-- (c-name "poppler_page_render_to_pixbuf")
-- (return-type "none")
-- (unblock-threads #t)
-- (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")
-- (unblock-threads #t)
-- (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*")
-- (unblock-threads #t)
--)
--
--(define-method render_selection_to_pixbuf
-- (of-object "PopplerPage")
-- (c-name "poppler_page_render_selection_to_pixbuf")
-- (return-type "none")
-- (unblock-threads #t)
-- (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")
\ No newline at end of file +derived from here: +http://pkgs.fedoraproject.org/cgit/pypoppler.git/commit/?id=f7475801b5176fd8523cc1ff354ab954f3cd44b4 + +diff -Naur pypoppler-0.12.1.orig/poppler.defs pypoppler-0.12.1/poppler.defs +--- pypoppler-0.12.1.orig/poppler.defs 2012-08-28 19:30:12.804472077 +0200 ++++ pypoppler-0.12.1/poppler.defs 2012-08-28 19:31:28.035467000 +0200 +@@ -1646,62 +1646,6 @@ + (return-type "GType") + ) + +-(define-method render_to_pixbuf +- (of-object "PopplerPage") +- (c-name "poppler_page_render_to_pixbuf") +- (return-type "none") +- (unblock-threads #t) +- (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") +- (unblock-threads #t) +- (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*") +- (unblock-threads #t) +-) +- +-(define-method render_selection_to_pixbuf +- (of-object "PopplerPage") +- (c-name "poppler_page_render_selection_to_pixbuf") +- (return-type "none") +- (unblock-threads #t) +- (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") |