1 |
marienz 12/02/28 21:41:58 |
2 |
|
3 |
Added: |
4 |
python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch |
5 |
Log: |
6 |
Add patch from Fedora so we do not wrap nonexistant API, gentoo bug #377063. |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch |
17 |
=================================================================== |
18 |
--- pypoppler-0.12.1/poppler.defs 2011-10-24 11:57:35.000000000 +0200 |
19 |
+++ pypoppler-0.12.1/poppler.defs 2011-10-24 12:01:28.000000000 +0200 |
20 |
@@ -1646,62 +1646,6 @@ |
21 |
(return-type "GType") |
22 |
) |
23 |
|
24 |
-(define-method render_to_pixbuf |
25 |
- (of-object "PopplerPage") |
26 |
- (c-name "poppler_page_render_to_pixbuf") |
27 |
- (return-type "none") |
28 |
- (unblock-threads #t) |
29 |
- (parameters |
30 |
- '("int" "src_x") |
31 |
- '("int" "src_y") |
32 |
- '("int" "src_width") |
33 |
- '("int" "src_height") |
34 |
- '("double" "scale") |
35 |
- '("int" "rotation") |
36 |
- '("GdkPixbuf*" "pixbuf") |
37 |
- ) |
38 |
-) |
39 |
- |
40 |
-(define-method render_to_pixbuf_for_printing |
41 |
- (of-object "PopplerPage") |
42 |
- (c-name "poppler_page_render_to_pixbuf_for_printing") |
43 |
- (return-type "none") |
44 |
- (unblock-threads #t) |
45 |
- (parameters |
46 |
- '("int" "src_x") |
47 |
- '("int" "src_y") |
48 |
- '("int" "src_width") |
49 |
- '("int" "src_height") |
50 |
- '("double" "scale") |
51 |
- '("int" "rotation") |
52 |
- '("GdkPixbuf*" "pixbuf") |
53 |
- ) |
54 |
-) |
55 |
- |
56 |
-(define-method get_thumbnail_pixbuf |
57 |
- (of-object "PopplerPage") |
58 |
- (c-name "poppler_page_get_thumbnail_pixbuf") |
59 |
- (return-type "GdkPixbuf*") |
60 |
- (unblock-threads #t) |
61 |
-) |
62 |
- |
63 |
-(define-method render_selection_to_pixbuf |
64 |
- (of-object "PopplerPage") |
65 |
- (c-name "poppler_page_render_selection_to_pixbuf") |
66 |
- (return-type "none") |
67 |
- (unblock-threads #t) |
68 |
- (parameters |
69 |
- '("gdouble" "scale") |
70 |
- '("int" "rotation") |
71 |
- '("GdkPixbuf*" "pixbuf") |
72 |
- '("PopplerRectangle*" "selection") |
73 |
- '("PopplerRectangle*" "old_selection") |
74 |
- '("PopplerSelectionStyle" "style") |
75 |
- '("GdkColor*" "glyph_color") |
76 |
- '("GdkColor*" "background_color") |
77 |
- ) |
78 |
-) |
79 |
- |
80 |
(define-method render |
81 |
(of-object "PopplerPage") |
82 |
(c-name "poppler_page_render") |