public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-poppler/files/
Date: Mon, 19 Sep 2016 21:23:58 +0000 (UTC)	[thread overview]
Message-ID: <1474320190.ec68a0d2c8e403843a57fc912e3f37841bca24c0.soap@gentoo> (raw)

commit:     ec68a0d2c8e403843a57fc912e3f37841bca24c0
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 17:41:54 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 21:23:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec68a0d2

dev-python/python-poppler: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/2362

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/python-poppler-0.12.1-76_75.diff         | 66 ----------------------
 1 file changed, 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 94f4543..00000000
--- 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);
-+}
-


                 reply	other threads:[~2016-09-19 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474320190.ec68a0d2c8e403843a57fc912e3f37841bca24c0.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox