Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix libGL path in 64b Ubuntu 11.10
@ 2012-01-12 12:57 edwin.zhai
  2012-01-12 12:57 ` [PATCH 1/1] runqemu: Fix the wrong path of libGL.so " edwin.zhai
  2012-01-17 20:38 ` [PATCH 0/1] Fix libGL path " Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: edwin.zhai @ 2012-01-12 12:57 UTC (permalink / raw)
  To: openembedded-core

From: Zhai Edwin <edwin.zhai@intel.com>

From 11.10, 64b Ubuntu has a new path for libGL.so. This patch fix it.
Thanks,
Edwin

The following changes since commit 19241e7e2d88406c57613180dec9e7896c6674cc:

  distro-tracking: Update info for webkit-gtk, web-webkit (2012-01-11 11:01:32 +0800)

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

Zhai Edwin (1):
  runqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10

 scripts/runqemu-internal |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)




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

* [PATCH 1/1] runqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10
  2012-01-12 12:57 [PATCH 0/1] Fix libGL path in 64b Ubuntu 11.10 edwin.zhai
@ 2012-01-12 12:57 ` edwin.zhai
  2012-01-17 20:38 ` [PATCH 0/1] Fix libGL path " Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: edwin.zhai @ 2012-01-12 12:57 UTC (permalink / raw)
  To: openembedded-core

From: Zhai Edwin <edwin.zhai@intel.com>

From 11.10, libGL.so is installed @ /usr/lib/x86_64-linux-gnu/ in 64b Ubuntu.

[YOCTO #1885] got fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 scripts/runqemu-internal |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 2968ed9..aaf776a 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -472,8 +472,17 @@ EOM
 # Automatically use Ubuntu system's mesa libGL, other distro can add its own path
     if grep -i ubuntu /etc/lsb-release &> /dev/null
     then
+        GL_PATH=""
+        if test -e /usr/lib/libGL.so
+        then 
+            GL_PATH="/usr/lib/libGL.so"
+        elif test -e /usr/lib/x86_64-linux-gnu/libGL.so
+        then
+            GL_PATH="/usr/lib/x86_64-linux-gnu/libGL.so"
+        fi
+
         echo "Skip nVidia's libGL on Ubuntu!"
-        GL_LD_PRELOAD="/usr/lib/libGL.so $LD_PRELOAD"
+        GL_LD_PRELOAD="$GL_PATH $LD_PRELOAD"
     fi
 fi
 
-- 
1.7.1




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

* Re: [PATCH 0/1] Fix libGL path in 64b Ubuntu 11.10
  2012-01-12 12:57 [PATCH 0/1] Fix libGL path in 64b Ubuntu 11.10 edwin.zhai
  2012-01-12 12:57 ` [PATCH 1/1] runqemu: Fix the wrong path of libGL.so " edwin.zhai
@ 2012-01-17 20:38 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-01-17 20:38 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/12/2012 04:57 AM, edwin.zhai@intel.com wrote:
> From: Zhai Edwin<edwin.zhai@intel.com>
>
>> From 11.10, 64b Ubuntu has a new path for libGL.so. This patch fix it.
> Thanks,
> Edwin
>
> The following changes since commit 19241e7e2d88406c57613180dec9e7896c6674cc:
>
>    distro-tracking: Update info for webkit-gtk, web-webkit (2012-01-11 11:01:32 +0800)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib gzhai/master2
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/master2
>
> Zhai Edwin (1):
>    runqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10
>
>   scripts/runqemu-internal |   11 ++++++++++-
>   1 files changed, 10 insertions(+), 1 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-01-17 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 12:57 [PATCH 0/1] Fix libGL path in 64b Ubuntu 11.10 edwin.zhai
2012-01-12 12:57 ` [PATCH 1/1] runqemu: Fix the wrong path of libGL.so " edwin.zhai
2012-01-17 20:38 ` [PATCH 0/1] Fix libGL path " Saul Wold

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