Skip to contentSkip to conversation

libsdl: add libsdl into sato and fix build error with libsdl

PATCH Applied Jiajun Xu 2 participants 4 messages Aug 22, 2011 – Aug 24, 2011

lore
Share & tools
lore

Jiajun Xu

author
#0 lore raw

cover libsdl: add libsdl into sato and fix build error with libsdl

There is no need for libsdl to inherit nativesdk since we enable the target version with BBCLASSEXTEND now.
We add libsdl into sato image since some 3D graphics testing need it.

The following changes since commit 9134800548a03bfe3a7e351a15f2129bcb3cc680:

xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds (2011-08-19 16:27:29 -0700)

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

Jiajun Xu (2):
libsdl: do not inherit nativesdk
task-core-x11-sato: add libsdl into sato image

 meta/recipes-graphics/libsdl/libsdl_1.2.11.bb |    4 ++--
 meta/recipes-sato/tasks/task-core-x11-sato.bb |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
author
#1 lore raw

PATCH 1/2 libsdl: do not inherit nativesdk

We already enable target version for libsdl and use BBCLASSEXTEND to enable nativesdk. No need to inherit nativesdk then.

---
 meta/recipes-graphics/libsdl/libsdl_1.2.11.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/libsdl/libsdl_1.2.11.bb +2 -2
index f08077d..80b291d 100644
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
 DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender"
 DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
 
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
 	   file://acinclude.m4 \
@@ -25,7 +25,7 @@ S = "${WORKDIR}/SDL-${PV}"
 SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149"
 SRC_URI[sha256sum] = "6985823287b224b57390b1c1b6cbc54cc9a7d7757fbf9934ed20754b4cd23730"
 
-inherit autotools binconfig pkgconfig nativesdk
+inherit autotools binconfig pkgconfig
 
 EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-threads --enable-timers --enable-endian \
                 --enable-file --disable-oss --disable-alsa --disable-esd --disable-arts \
Signature · 1 line
1.7.1
author
#2 lore raw

PATCH 2/2 task-core-x11-sato: add libsdl into sato image

We add libsdl into sato image since some 3D graphics testing needs it.

---
 meta/recipes-sato/tasks/task-core-x11-sato.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-sato/tasks/task-core-x11-sato.bb +2 -1
index cd71077..ed43075 100644
@@ -6,7 +6,7 @@ DESCRIPTION = "Sato Tasks for Poky"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r30"
+PR = "r31"
 
 PACKAGES = "\
     task-core-x11-sato \
@@ -33,4 +33,5 @@ RDEPENDS_task-core-x11-sato = "\
     gtk-sato-engine \
     gthumb \
     x11vnc \
+    libsdl \
     ${NETWORK_MANAGER}"
Signature · 1 line
1.7.1
Applied
#3 lore raw
In reply to Jiajun Xu
Quoted 22 lines · Jiajun Xu

There is no need for libsdl to inherit nativesdk since we enable the target version with BBCLASSEXTEND now.
We add libsdl into sato image since some 3D graphics testing need it.

The following changes since commit 9134800548a03bfe3a7e351a15f2129bcb3cc680:

xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds (2011-08-19 16:27:29 -0700)

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

Jiajun Xu (2):
libsdl: do not inherit nativesdk
task-core-x11-sato: add libsdl into sato image

  meta/recipes-graphics/libsdl/libsdl_1.2.11.bb |    4 ++--
  meta/recipes-sato/tasks/task-core-x11-sato.bb |    3 ++-
  2 files changed, 4 insertions(+), 3 deletions(-)
Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!