* [PATCH 0/1][PULL] libglade: python environment fix
@ 2011-09-22 2:51 Dongxiao Xu
2011-09-22 2:51 ` [PATCH 1/1] libglade: fix the python environment settings Dongxiao Xu
0 siblings, 1 reply; 4+ messages in thread
From: Dongxiao Xu @ 2011-09-22 2:51 UTC (permalink / raw)
To: openembedded-core
Hi Saul,
This pull request is to change the python environment setting in
libglade, which should fix the issue of sato-sdk rootfs error,
please help to review and pull.
Thanks,
Dongxiao
The following changes since commit 80650bf4bce83e4e8d785e9a69eac0abbcdc6844:
procps 3.2.8: remove initscript (2011-09-22 03:11:30 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix
Dongxiao Xu (1):
libglade: fix the python environment settings
.../libglade-2.6.4/python_environment.patch | 9 +++++++++
meta/recipes-gnome/libglade/libglade_2.6.4.bb | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] libglade: fix the python environment settings
2011-09-22 2:51 [PATCH 0/1][PULL] libglade: python environment fix Dongxiao Xu
@ 2011-09-22 2:51 ` Dongxiao Xu
2011-09-22 3:05 ` Saul Wold
2011-09-22 3:54 ` Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Dongxiao Xu @ 2011-09-22 2:51 UTC (permalink / raw)
To: openembedded-core
@PYTHON@ will points to the abstract path in sysroot, which should be
replaced by "#!/usr/bin/env python".
This should fix the sato-sdk rootfs error.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
.../libglade-2.6.4/python_environment.patch | 9 +++++++++
meta/recipes-gnome/libglade/libglade_2.6.4.bb | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
diff --git a/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
new file mode 100644
index 0000000..6f2cc36
--- /dev/null
+++ b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
@@ -0,0 +1,9 @@
+diff -ruN libglade-2.6.4-orig//libglade-convert.in libglade-2.6.4/libglade-convert.in
+--- libglade-2.6.4-orig//libglade-convert.in 2011-09-22 10:18:28.991164003 +0800
++++ libglade-2.6.4/libglade-convert.in 2011-09-22 10:18:55.431164003 +0800
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env python
+ # -*- mode: python -*-
+
+ # yes, this requires python 2.x and an XML parser module (eg. PyExpat)
diff --git a/meta/recipes-gnome/libglade/libglade_2.6.4.bb b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
index d5b41f2..b0e0339 100644
--- a/meta/recipes-gnome/libglade/libglade_2.6.4.bb
+++ b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
@@ -8,12 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
file://glade/glade-gtk.c;endline=22;md5=766f993433e2642fec87936d319990ff"
SECTION = "libs"
-PR = "r0"
+PR = "r1"
DEPENDS = "gtk+ gtk-doc-native"
inherit autotools pkgconfig gnome
-SRC_URI += "file://glade-cruft.patch file://no-xml2.patch"
+SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch"
SRC_URI[archive.md5sum] = "d1776b40f4e166b5e9c107f1c8fe4139"
SRC_URI[archive.sha256sum] = "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libglade: fix the python environment settings
2011-09-22 2:51 ` [PATCH 1/1] libglade: fix the python environment settings Dongxiao Xu
@ 2011-09-22 3:05 ` Saul Wold
2011-09-22 3:54 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-09-22 3:05 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 09/21/2011 07:51 PM, Dongxiao Xu wrote:
> @PYTHON@ will points to the abstract path in sysroot, which should be
> replaced by "#!/usr/bin/env python".
>
> This should fix the sato-sdk rootfs error.
>
> Signed-off-by: Dongxiao Xu<dongxiao.xu@intel.com>
> ---
> .../libglade-2.6.4/python_environment.patch | 9 +++++++++
> meta/recipes-gnome/libglade/libglade_2.6.4.bb | 4 ++--
> 2 files changed, 11 insertions(+), 2 deletions(-)
> create mode 100644 meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
>
> diff --git a/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
> new file mode 100644
> index 0000000..6f2cc36
> --- /dev/null
> +++ b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
This patch needs a patch header.
Sau!
> @@ -0,0 +1,9 @@
> +diff -ruN libglade-2.6.4-orig//libglade-convert.in libglade-2.6.4/libglade-convert.in
> +--- libglade-2.6.4-orig//libglade-convert.in 2011-09-22 10:18:28.991164003 +0800
> ++++ libglade-2.6.4/libglade-convert.in 2011-09-22 10:18:55.431164003 +0800
> +@@ -1,4 +1,4 @@
> +-#!@PYTHON@
> ++#!/usr/bin/env python
> + # -*- mode: python -*-
> +
> + # yes, this requires python 2.x and an XML parser module (eg. PyExpat)
> diff --git a/meta/recipes-gnome/libglade/libglade_2.6.4.bb b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
> index d5b41f2..b0e0339 100644
> --- a/meta/recipes-gnome/libglade/libglade_2.6.4.bb
> +++ b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
> @@ -8,12 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
> file://glade/glade-gtk.c;endline=22;md5=766f993433e2642fec87936d319990ff"
>
> SECTION = "libs"
> -PR = "r0"
> +PR = "r1"
> DEPENDS = "gtk+ gtk-doc-native"
>
> inherit autotools pkgconfig gnome
>
> -SRC_URI += "file://glade-cruft.patch file://no-xml2.patch"
> +SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch"
>
> SRC_URI[archive.md5sum] = "d1776b40f4e166b5e9c107f1c8fe4139"
> SRC_URI[archive.sha256sum] = "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libglade: fix the python environment settings
2011-09-22 2:51 ` [PATCH 1/1] libglade: fix the python environment settings Dongxiao Xu
2011-09-22 3:05 ` Saul Wold
@ 2011-09-22 3:54 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-09-22 3:54 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2011-09-22 at 10:51 +0800, Dongxiao Xu wrote:
> @PYTHON@ will points to the abstract path in sysroot, which should be
> replaced by "#!/usr/bin/env python".
>
> This should fix the sato-sdk rootfs error.
>
> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Merged to master with a patch header added, thanks.
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-22 3:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 2:51 [PATCH 0/1][PULL] libglade: python environment fix Dongxiao Xu
2011-09-22 2:51 ` [PATCH 1/1] libglade: fix the python environment settings Dongxiao Xu
2011-09-22 3:05 ` Saul Wold
2011-09-22 3:54 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.