Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] qemu: add fedora pkg names when build failed
@ 2012-03-26  6:49 Robert Yang
  2012-03-26  6:49 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2012-03-26  6:49 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit fb3e59c88eda5ee3a53ad04aafaa7b749ecc1cc2:

  core-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix. (2012-03-25 12:27:43 +0100)

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

Robert Yang (1):
  qemu: add fedora pkg names when build failed

 meta/recipes-devtools/qemu/qemu.inc |    3 ++-
 scripts/runqemu                     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)




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

* [PATCH 1/1] qemu: add fedora pkg names when build failed
  2012-03-26  6:49 [PATCH 0/1] qemu: add fedora pkg names when build failed Robert Yang
@ 2012-03-26  6:49 ` Robert Yang
  2012-03-26 10:54   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2012-03-26  6:49 UTC (permalink / raw)
  To: openembedded-core

When qemu build failed, we can see such messages:

You need libGL.so and libGLU.so to exist in your library path and the
development headers for SDL installed to build qemu-native.

Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and
libsdl1.2-dev

These pkgs have different names on Fedora distributions, and Fedora is
one the
main linux distributions, so add Fedora package names.

The following Fedora versions have these pkgs:
	Fedora 9 64bit
	Fedora 13 32bit
	Fedora 13 64bit
	Fedora 16 64bit

[YOCTO #2174]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-devtools/qemu/qemu.inc |    3 ++-
 scripts/runqemu                     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 307a205..8dee060 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -33,7 +33,8 @@ do_configure_prepend_virtclass-native() {
 
     if [ "$libsdl" != 'yes' -o "$libgl" != 'yes' ]; then
        echo "You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.
-       Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev"
+       Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev.
+       Fedora package names are: mesa-libGL mesa-libGLU SDL-devel."
        exit 1;
     fi
 }
diff --git a/scripts/runqemu b/scripts/runqemu
index ac5facf..c349de0 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -406,7 +406,8 @@ test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && li
 
 if [ "$libgl" != 'yes' ]; then
     echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
-    Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev."
+    Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev.
+    Fedora package names are: mesa-libGL mesa-libGLU."
     exit 1;
 fi
 
-- 
1.7.1




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

* Re: [PATCH 1/1] qemu: add fedora pkg names when build failed
  2012-03-26  6:49 ` [PATCH 1/1] " Robert Yang
@ 2012-03-26 10:54   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-03-26 10:54 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2012-03-26 at 14:49 +0800, Robert Yang wrote:
> When qemu build failed, we can see such messages:
> 
> You need libGL.so and libGLU.so to exist in your library path and the
> development headers for SDL installed to build qemu-native.
> 
> Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and
> libsdl1.2-dev
> 
> These pkgs have different names on Fedora distributions, and Fedora is
> one the
> main linux distributions, so add Fedora package names.
> 
> The following Fedora versions have these pkgs:
> 	Fedora 9 64bit
> 	Fedora 13 32bit
> 	Fedora 13 64bit
> 	Fedora 16 64bit
> 
> [YOCTO #2174]
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/recipes-devtools/qemu/qemu.inc |    3 ++-
>  scripts/runqemu                     |    3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard




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

end of thread, other threads:[~2012-03-26 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26  6:49 [PATCH 0/1] qemu: add fedora pkg names when build failed Robert Yang
2012-03-26  6:49 ` [PATCH 1/1] " Robert Yang
2012-03-26 10:54   ` Richard Purdie

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