diff options
Diffstat (limited to 'meta/packages/python')
-rw-r--r-- | meta/packages/python/python-pygtk/nodocs.patch | 10 | ||||
-rw-r--r-- | meta/packages/python/python-pygtk_2.17.0.bb (renamed from meta/packages/python/python-pygtk_2.10.4.bb) | 27 |
2 files changed, 14 insertions, 23 deletions
diff --git a/meta/packages/python/python-pygtk/nodocs.patch b/meta/packages/python/python-pygtk/nodocs.patch index 9b2387e959..c3581043c3 100644 --- a/meta/packages/python/python-pygtk/nodocs.patch +++ b/meta/packages/python/python-pygtk/nodocs.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | Index: pygtk-2.10.4/Makefile.am | 1 | Index: pygtk-2.17.0/Makefile.am |
2 | =================================================================== | 2 | =================================================================== |
3 | --- pygtk-2.10.4.orig/Makefile.am | 3 | --- pygtk-2.17.0.orig/Makefile.am |
4 | +++ pygtk-2.10.4/Makefile.am | 4 | +++ pygtk-2.17.0/Makefile.am |
5 | @@ -4,7 +4,7 @@ if BUILD_GTK | 5 | @@ -4,7 +4,7 @@ if BUILD_GTK |
6 | GTK_SUBDIR = gtk | 6 | GTK_SUBDIR = gtk |
7 | endif | 7 | endif |
8 | 8 | ||
9 | -SUBDIRS = codegen . $(GTK_SUBDIR) examples tests docs | 9 | -SUBDIRS = . $(GTK_SUBDIR) examples tests docs |
10 | +SUBDIRS = codegen . $(GTK_SUBDIR) examples tests | 10 | +SUBDIRS = . $(GTK_SUBDIR) examples tests |
11 | 11 | ||
12 | PLATFORM_VERSION = 2.0 | 12 | PLATFORM_VERSION = 2.0 |
13 | 13 | ||
diff --git a/meta/packages/python/python-pygtk_2.10.4.bb b/meta/packages/python/python-pygtk_2.17.0.bb index 00abd048e2..ef63b51038 100644 --- a/meta/packages/python/python-pygtk_2.10.4.bb +++ b/meta/packages/python/python-pygtk_2.17.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | DESCRIPTION = "Python GTK+ 2.10.x Bindings" | 1 | DESCRIPTION = "Python GTK+ 2.17.x Bindings" |
2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
3 | # needs gtk+ 2.10.x | 3 | # needs gtk+ 2.17.x |
4 | DEPENDS = "gtk+ libglade python-pycairo python-pygobject" | 4 | DEPENDS = "gtk+ libglade python-pycairo python-pygobject" |
5 | RDEPENDS = "python-shell python-pycairo python-pygobject" | 5 | RDEPENDS = "python-shell python-pycairo python-pygobject" |
6 | PROVIDES = "python-pygtk2" | 6 | PROVIDES = "python-pygtk2" |
@@ -8,17 +8,14 @@ SRCNAME = "pygtk" | |||
8 | LICENSE = "LGPL" | 8 | LICENSE = "LGPL" |
9 | PR = "ml8.2" | 9 | PR = "ml8.2" |
10 | 10 | ||
11 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \ | 11 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \ |
12 | file://fix-gtkunixprint.patch;patch=1 \ | 12 | file://fix-gtkunixprint.patch \ |
13 | file://prevent_to_get_display_during_import.patch;patch=1 \ | 13 | file://prevent_to_get_display_during_import.patch \ |
14 | file://nodocs.patch;patch=1 \ | 14 | file://nodocs.patch \ |
15 | file://acinclude.m4" | 15 | file://acinclude.m4" |
16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
17 | 17 | ||
18 | EXTRA_OECONF = "\ | 18 | EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" |
19 | --disable-docs \ | ||
20 | --with-python-includes=${STAGING_INCDIR}/../ \ | ||
21 | " | ||
22 | 19 | ||
23 | inherit autotools pkgconfig distutils-base | 20 | inherit autotools pkgconfig distutils-base |
24 | 21 | ||
@@ -37,15 +34,9 @@ do_install_append() { | |||
37 | require fix-path.inc | 34 | require fix-path.inc |
38 | 35 | ||
39 | PACKAGES =+ "${PN}-demo" | 36 | PACKAGES =+ "${PN}-demo" |
40 | FILES_${PN}-demo = "\ | 37 | FILES_${PN}-demo = " ${bindir}/pygtk-demo ${libdir}/pygtk " |
41 | ${bindir}/pygtk-demo \ | ||
42 | ${libdir}/pygtk \ | ||
43 | " | ||
44 | RDEPENDS_${PN}-demo = "python-pygtk python-stringold python-lang" | 38 | RDEPENDS_${PN}-demo = "python-pygtk python-stringold python-lang" |
45 | 39 | ||
46 | # todo: revamp packaging, package demo seperatly | 40 | # todo: revamp packaging, package demo seperatly |
47 | FILES_${PN}-dev += "\ | 41 | FILES_${PN}-dev += " ${libdir}/pygtk/2.0 ${bindir}/pygtk-* ${datadir}/pygtk/2.0" |
48 | ${libdir}/pygtk/2.0 \ | ||
49 | ${bindir}/pygtk-* \ | ||
50 | ${datadir}/pygtk/2.0" | ||
51 | 42 | ||