Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] python-pygtk: add gtk-types.defs into gdk.c dependence
@ 2012-11-19 10:11 jackie.huang
  2012-11-19 10:11 ` [PATCH 1/1] " jackie.huang
  0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2012-11-19 10:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jackie.Huang, Zhenfeng.Zhao

From: Jackie Huang <jackie.huang@windriver.com>

* Test info:
1) MACHINE=qemux86-64/qemuppc/qemumips
   PARALLEL_MAKE = "-j 5" (and -j24)
$ bitbake core-image-sato 
$ bitbake python-pygtk

The following changes since commit d109b24ad354382cd40b28e86211e53929a0910f:

  pulseaudio: explicitly disable xen, rather than letting it detect (2012-11-18 16:39:43 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib jhuang0/d_python-pygtk_1119_1
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/d_python-pygtk_1119_1

Jackie Huang (1):
  python-pygtk: add gtk-types.defs into gdk.c dependence

 .../add-gtk-types.defs-into-gdk.c-dependence.patch |   32 ++++++++++++++++++++
 .../recipes-devtools/python/python-pygtk_2.24.0.bb |    1 +
 2 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python-pygtk/add-gtk-types.defs-into-gdk.c-dependence.patch

-- 
1.7.4




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] python-pygtk: add gtk-types.defs into gdk.c dependence
  2012-11-19 10:11 [PATCH 0/1] python-pygtk: add gtk-types.defs into gdk.c dependence jackie.huang
@ 2012-11-19 10:11 ` jackie.huang
  0 siblings, 0 replies; 2+ messages in thread
From: jackie.huang @ 2012-11-19 10:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jackie.Huang, Zhenfeng.Zhao

From: Jackie Huang <jackie.huang@windriver.com>

gdk.c depends on gtk-types.defs but
gdk/Makefile.am miss this. This will cause
build error sometimes when built
with multi-jobbing, so add gtk-types.defs into
gdk.c dependence.

[YOCTO #3460]

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../add-gtk-types.defs-into-gdk.c-dependence.patch |   32 ++++++++++++++++++++
 .../recipes-devtools/python/python-pygtk_2.24.0.bb |    1 +
 2 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python-pygtk/add-gtk-types.defs-into-gdk.c-dependence.patch

diff --git a/meta/recipes-devtools/python/python-pygtk/add-gtk-types.defs-into-gdk.c-dependence.patch b/meta/recipes-devtools/python/python-pygtk/add-gtk-types.defs-into-gdk.c-dependence.patch
new file mode 100644
index 0000000..df0f9cd
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pygtk/add-gtk-types.defs-into-gdk.c-dependence.patch
@@ -0,0 +1,32 @@
+Upstream-Status: Submitted
+
+add gtk-types.defs into gdk.c dependence
+
+gdk.c depends on gtk-types.defs but
+gdk/Makefile.am miss this. This will cause
+build error sometimes when built
+with multi-jobbing, so add gtk-types.defs into
+gdk.c dependence.
+
+Signed-off-by: Song.Li <Song.Li@windriver.com>
+Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
+---
+ gtk/Makefile.am |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/gtk/Makefile.am b/gtk/Makefile.am
+index 7bb5d0c..4a88351 100644
+--- a/gtk/Makefile.am
++++ b/gtk/Makefile.am
+@@ -214,7 +214,7 @@ gtkunixprint.defs: $(GTKUNIXPRINT_DEFS) Makefile
+ gtkunixprint-types.defs: $(GTKUNIXPRINT_TYPES_DEFS) Makefile
+ 	$(CREATEDEFS) $@ $(GTKUNIXPRINT_TYPES_DEFS)
+ 
+-gdk.c: gdk-types.defs gdk.defs $(GDK_OVERRIDES)
++gdk.c: gdk-types.defs gtk-types.defs gdk.defs $(GDK_OVERRIDES)
+ gtk.c: gdk-types.defs gtk-types.defs gtk.defs gdk-types.defs $(GTK_OVERRIDES)
+ _gtk_la_CFLAGS = $(PYCAIRO_CFLAGS) $(GTK_CFLAGS)
+ _gtk_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gtk
+-- 
+1.7.4
+
diff --git a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
index 4747d98..624d924 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 PR = "r1"
 
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.24/${SRCNAME}-${PV}.tar.bz2 \
+           file://add-gtk-types.defs-into-gdk.c-dependence.patch \
            file://fix-gtkunixprint.patch \
            file://prevent_to_get_display_during_import.patch \
            file://nodocs.patch \
-- 
1.7.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-19 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 10:11 [PATCH 0/1] python-pygtk: add gtk-types.defs into gdk.c dependence jackie.huang
2012-11-19 10:11 ` [PATCH 1/1] " jackie.huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox