Advertisement
ponce

pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch

Aug 28th, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. derived from here:
  2. http://pkgs.fedoraproject.org/cgit/pypoppler.git/commit/?id=f7475801b5176fd8523cc1ff354ab954f3cd44b4
  3.  
  4. diff -Naur pypoppler-0.12.1.orig/poppler.defs pypoppler-0.12.1/poppler.defs
  5. --- pypoppler-0.12.1.orig/poppler.defs 2012-08-28 19:30:12.804472077 +0200
  6. +++ pypoppler-0.12.1/poppler.defs 2012-08-28 19:31:28.035467000 +0200
  7. @@ -1646,62 +1646,6 @@
  8. (return-type "GType")
  9. )
  10.  
  11. -(define-method render_to_pixbuf
  12. - (of-object "PopplerPage")
  13. - (c-name "poppler_page_render_to_pixbuf")
  14. - (return-type "none")
  15. - (unblock-threads #t)
  16. - (parameters
  17. - '("int" "src_x")
  18. - '("int" "src_y")
  19. - '("int" "src_width")
  20. - '("int" "src_height")
  21. - '("double" "scale")
  22. - '("int" "rotation")
  23. - '("GdkPixbuf*" "pixbuf")
  24. - )
  25. -)
  26. -
  27. -(define-method render_to_pixbuf_for_printing
  28. - (of-object "PopplerPage")
  29. - (c-name "poppler_page_render_to_pixbuf_for_printing")
  30. - (return-type "none")
  31. - (unblock-threads #t)
  32. - (parameters
  33. - '("int" "src_x")
  34. - '("int" "src_y")
  35. - '("int" "src_width")
  36. - '("int" "src_height")
  37. - '("double" "scale")
  38. - '("int" "rotation")
  39. - '("GdkPixbuf*" "pixbuf")
  40. - )
  41. -)
  42. -
  43. -(define-method get_thumbnail_pixbuf
  44. - (of-object "PopplerPage")
  45. - (c-name "poppler_page_get_thumbnail_pixbuf")
  46. - (return-type "GdkPixbuf*")
  47. - (unblock-threads #t)
  48. -)
  49. -
  50. -(define-method render_selection_to_pixbuf
  51. - (of-object "PopplerPage")
  52. - (c-name "poppler_page_render_selection_to_pixbuf")
  53. - (return-type "none")
  54. - (unblock-threads #t)
  55. - (parameters
  56. - '("gdouble" "scale")
  57. - '("int" "rotation")
  58. - '("GdkPixbuf*" "pixbuf")
  59. - '("PopplerRectangle*" "selection")
  60. - '("PopplerRectangle*" "old_selection")
  61. - '("PopplerSelectionStyle" "style")
  62. - '("GdkColor*" "glyph_color")
  63. - '("GdkColor*" "background_color")
  64. - )
  65. -)
  66. -
  67. (define-method render
  68. (of-object "PopplerPage")
  69. (c-name "poppler_page_render")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement