Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] python-pygtk: Upgrade to 2.24
Date: Wed,  5 Sep 2012 10:00:17 -0700	[thread overview]
Message-ID: <1346864417-23511-1-git-send-email-sgw@linux.intel.com> (raw)

This is needed for the build appliance and Hob also

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../python/python-pygtk/fix-gtkunixprint.patch     |   14 ++++++++------
 ...thon-pygtk_2.17.0.bb => python-pygtk_2.24.0.bb} |    8 ++++----
 2 files changed, 12 insertions(+), 10 deletions(-)
 rename meta/recipes-devtools/python/{python-pygtk_2.17.0.bb => python-pygtk_2.24.0.bb} (89%)

diff --git a/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch b/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
index 6d2f64b..16c0e8e 100644
--- a/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
+++ b/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
@@ -1,17 +1,19 @@
 Upstream-Status: Inappropriate [configuration]
 
-Index: pygtk-2.10.0/gtk/gtkunixprint.override
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: pygtk-2.24.0/gtk/gtkunixprint.override
 ===================================================================
---- pygtk-2.10.0.orig/gtk/gtkunixprint.override
-+++ pygtk-2.10.0/gtk/gtkunixprint.override
-@@ -105,11 +105,7 @@ _wrap_gtk_print_job_get_surface(PyGObjec
+--- pygtk-2.24.0.orig/gtk/gtkunixprint.override
++++ pygtk-2.24.0/gtk/gtkunixprint.override
+@@ -102,11 +102,6 @@ _wrap_gtk_print_job_get_surface(PyGObjec
      if (pyg_error_check(&error))
          return NULL;
  
 -#if PYCAIRO_VERSION_HEX >= 0x1010600
-     return PycairoSurface_FromSurface(surface, NULL);
+-    return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL);
 -#else
--    return PycairoSurface_FromSurface(surface, NULL, NULL);
+-    return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL, NULL);
 -#endif
  }
  %%
diff --git a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
similarity index 89%
rename from meta/recipes-devtools/python/python-pygtk_2.17.0.bb
rename to meta/recipes-devtools/python/python-pygtk_2.24.0.bb
index 603ec5b..20d54a3 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
@@ -7,16 +7,16 @@ PROVIDES = "python-pygtk2"
 SRCNAME = "pygtk"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-PR = "ml10"
 
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \
+SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.24/${SRCNAME}-${PV}.tar.bz2 \
            file://fix-gtkunixprint.patch \
            file://prevent_to_get_display_during_import.patch \
            file://nodocs.patch \
            file://acinclude.m4"
 
-SRC_URI[md5sum] = "43d704343d7ca04a6e4ddd4fa73a3c55"
-SRC_URI[sha256sum] = "6a61817a2e765c6209c72ecdf44389ec134c1ebed1d842408bf001c9321f1400"
+SRC_URI[md5sum] = "a1051d5794fd7696d3c1af6422d17a49"
+SRC_URI[sha256sum] = "cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912"
+
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../"
-- 
1.7.7.6




                 reply	other threads:[~2012-09-05 17:12 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=1346864417-23511-1-git-send-email-sgw@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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