diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-09-05 10:00:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-05 18:05:42 +0100 |
commit | a5ee5fe90a0e417e38a0d90639f655b28378fe3c (patch) | |
tree | 75948755ee7848f8d75a2142927fcf975d54440e /meta | |
parent | 1d4861923db9674ff5b83fcd0755423bb1ccfd22 (diff) | |
download | poky-a5ee5fe90a0e417e38a0d90639f655b28378fe3c.tar.gz |
python-pygtk: Upgrade to 2.24
This is needed for the build appliance and Hob also
(From OE-Core rev: e177b0dcf9b39130d4a2a4dd1ea5af72b3cc87a3)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch | 14 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk_2.24.0.bb (renamed from meta/recipes-devtools/python/python-pygtk_2.17.0.bb) | 8 |
2 files changed, 12 insertions, 10 deletions
diff --git a/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch b/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch index 6d2f64b414..16c0e8e770 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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | 1 | Upstream-Status: Inappropriate [configuration] |
2 | 2 | ||
3 | Index: pygtk-2.10.0/gtk/gtkunixprint.override | 3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
4 | |||
5 | Index: pygtk-2.24.0/gtk/gtkunixprint.override | ||
4 | =================================================================== | 6 | =================================================================== |
5 | --- pygtk-2.10.0.orig/gtk/gtkunixprint.override | 7 | --- pygtk-2.24.0.orig/gtk/gtkunixprint.override |
6 | +++ pygtk-2.10.0/gtk/gtkunixprint.override | 8 | +++ pygtk-2.24.0/gtk/gtkunixprint.override |
7 | @@ -105,11 +105,7 @@ _wrap_gtk_print_job_get_surface(PyGObjec | 9 | @@ -102,11 +102,6 @@ _wrap_gtk_print_job_get_surface(PyGObjec |
8 | if (pyg_error_check(&error)) | 10 | if (pyg_error_check(&error)) |
9 | return NULL; | 11 | return NULL; |
10 | 12 | ||
11 | -#if PYCAIRO_VERSION_HEX >= 0x1010600 | 13 | -#if PYCAIRO_VERSION_HEX >= 0x1010600 |
12 | return PycairoSurface_FromSurface(surface, NULL); | 14 | - return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL); |
13 | -#else | 15 | -#else |
14 | - return PycairoSurface_FromSurface(surface, NULL, NULL); | 16 | - return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL, NULL); |
15 | -#endif | 17 | -#endif |
16 | } | 18 | } |
17 | %% | 19 | %% |
diff --git a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb index 603ec5b6fe..20d54a33e1 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" | |||
7 | SRCNAME = "pygtk" | 7 | SRCNAME = "pygtk" |
8 | LICENSE = "LGPLv2.1" | 8 | LICENSE = "LGPLv2.1" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" |
10 | PR = "ml10" | ||
11 | 10 | ||
12 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \ | 11 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.24/${SRCNAME}-${PV}.tar.bz2 \ |
13 | file://fix-gtkunixprint.patch \ | 12 | file://fix-gtkunixprint.patch \ |
14 | file://prevent_to_get_display_during_import.patch \ | 13 | file://prevent_to_get_display_during_import.patch \ |
15 | file://nodocs.patch \ | 14 | file://nodocs.patch \ |
16 | file://acinclude.m4" | 15 | file://acinclude.m4" |
17 | 16 | ||
18 | SRC_URI[md5sum] = "43d704343d7ca04a6e4ddd4fa73a3c55" | 17 | SRC_URI[md5sum] = "a1051d5794fd7696d3c1af6422d17a49" |
19 | SRC_URI[sha256sum] = "6a61817a2e765c6209c72ecdf44389ec134c1ebed1d842408bf001c9321f1400" | 18 | SRC_URI[sha256sum] = "cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912" |
19 | |||
20 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 20 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
21 | 21 | ||
22 | EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" | 22 | EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" |