summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-19 19:41:54 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-19 23:23:10 +0200
commitec68a0d2c8e403843a57fc912e3f37841bca24c0 (patch)
tree97102500e508f5b5f7c9441949e907d844a417c8 /dev-python
parentdev-python/python-dateutil: remove unused patch (diff)
downloadgentoo-ec68a0d2c8e403843a57fc912e3f37841bca24c0.tar.gz
gentoo-ec68a0d2c8e403843a57fc912e3f37841bca24c0.tar.bz2
gentoo-ec68a0d2c8e403843a57fc912e3f37841bca24c0.zip
dev-python/python-poppler: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2362 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-poppler/files/python-poppler-0.12.1-76_75.diff66
1 files changed, 0 insertions, 66 deletions
diff --git a/dev-python/python-poppler/files/python-poppler-0.12.1-76_75.diff b/dev-python/python-poppler/files/python-poppler-0.12.1-76_75.diff
deleted file mode 100644
index 94f4543e87ec..000000000000
--- a/dev-python/python-poppler/files/python-poppler-0.12.1-76_75.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- poppler.override
-+++ poppler.override
-@@ -600,3 +600,62 @@
- return PycairoSurface_FromSurface(surface, NULL, NULL);
- #endif
- }
-+%%
-+override poppler_page_render_to_pixbuf kwargs
-+static PyObject *
-+_wrap_poppler_page_render_to_pixbuf(PyGObject *self,
-+ PyObject *args,
-+ PyObject *kwargs)
-+{
-+ static char *kwlist[] = { "src_x", "src_y", "src_width",
-+ "src_height", "scale", "rotation", NULL };
-+ int src_x, src_y, src_width, src_height, rotation;
-+ double scale;
-+ GdkPixbuf *pixbuf = NULL;
-+
-+ if (!PyArg_ParseTupleAndKeywords(args, kwargs,
-+ "iiiidi:Poppler.Page.render_to_pixbuf",
-+ kwlist, &src_x, &src_y, &src_width,
-+ &src_height, &scale, &rotation))
-+ return NULL;
-+
-+ pyg_begin_allow_threads;
-+
-+ poppler_page_render_to_pixbuf(POPPLER_PAGE(self->obj), src_x, src_y,
-+ src_width, src_height, scale,
-+ rotation, pixbuf);
-+
-+ pyg_end_allow_threads;
-+
-+ return pygobject_new((GObject *)pixbuf);
-+}
-+%%
-+override poppler_page_render_to_pixbuf_for_printing kwargs
-+static PyObject *
-+_wrap_poppler_page_render_to_pixbuf_for_printing(PyGObject *self,
-+ PyObject *args,
-+ PyObject *kwargs)
-+{
-+ static char *kwlist[] = { "src_x", "src_y", "src_width",
-+ "src_height", "scale", "rotation", NULL };
-+ int src_x, src_y, src_width, src_height, rotation;
-+ double scale;
-+ GdkPixbuf *pixbuf = NULL;
-+
-+ if (!PyArg_ParseTupleAndKeywords(args, kwargs,
-+ "iiiidi:Poppler.Page.render_to_pixbuf_for_printing",
-+ kwlist, &src_x, &src_y, &src_width,
-+ &src_height, &scale, &rotation))
-+ return NULL;
-+
-+ pyg_begin_allow_threads;
-+
-+ poppler_page_render_to_pixbuf_for_printing(POPPLER_PAGE(self->obj),
-+ src_x, src_y, src_width,
-+ src_height, scale,
-+ rotation, pixbuf);
-+
-+ pyg_end_allow_threads;
-+
-+ return pygobject_new((GObject *)pixbuf);
-+}
-