* [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe
@ 2011-11-09 17:39 Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 01/10] kbd: import " Martin Jansa
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:39 UTC (permalink / raw)
To: openembedded-core
v2: 3 more libsdl patches based on sgw review to cleanup libsdl dir and use PACKAGECONFIG
The following changes since commit 25fae81538a92e15eab3fc169ebce44505f67839:
python: skip setup.py 'import check' when cross-compiling (2011-11-08 21:44:23 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/pull2
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull2
Martin Jansa (10):
kbd: import from meta-oe
kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from
console-tools
task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow
distributions to use different set of initscripts or no initscripts
at all
keymaps: depend on kbd instead of console-tools
task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and
graphical_init_manager
libsdl: drop unused files
libsdl: rename files dir to libsdl-1.2.14 for faster lookup
libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes
from meta-oe
libsdl: enable alsa/opengl based on PACKAGECONFIG and respect
DISTRO_FEATURES
libsdl: replace tabs with spaces
meta/recipes-bsp/keymaps/keymaps_1.0.bb | 9 +++-
meta/recipes-core/kbd/kbd_1.15.2.bb | 24 +++++++++
meta/recipes-core/tasks/task-core-boot.bb | 6 ++-
.../libsdl/files/directfb_obsolete_calls.patch | 35 ------------
.../recipes-graphics/libsdl/files/extra-keys.patch | 55 --------------------
.../{files => libsdl-1.2.14}/configure_tweak.patch | 0
meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 28 +++++++---
meta/recipes-sato/tasks/task-core-x11.bb | 10 +++-
8 files changed, 62 insertions(+), 105 deletions(-)
create mode 100644 meta/recipes-core/kbd/kbd_1.15.2.bb
delete mode 100644 meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
delete mode 100644 meta/recipes-graphics/libsdl/files/extra-keys.patch
rename meta/recipes-graphics/libsdl/{files => libsdl-1.2.14}/configure_tweak.patch (100%)
--
1.7.8.rc1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 01/10] kbd: import from meta-oe
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 02/10] kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools Martin Jansa
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
* replaces console-tools used in keymaps
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/kbd/kbd_1.15.2.bb | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-core/kbd/kbd_1.15.2.bb
diff --git a/meta/recipes-core/kbd/kbd_1.15.2.bb b/meta/recipes-core/kbd/kbd_1.15.2.bb
new file mode 100644
index 0000000..36e68a0
--- /dev/null
+++ b/meta/recipes-core/kbd/kbd_1.15.2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "This package contains keytable files and keyboard utilities"
+# everything minus console-fonts is GPLv2+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=587ce626d15bd61699a64a6b8a5afefb"
+
+inherit autotools gettext
+
+BBCLASSEXTEND = "native"
+
+SRC_URI="${KERNELORG_MIRROR}/linux/utils/kbd/kbd-1.15.2.tar.bz2"
+SRC_URI[md5sum] = "e850eb91e4d3b94b194efe8e953204c5"
+SRC_URI[sha256sum] = "b3602d191eef7a6a8317fc3cd231efa40a89ac235dce57a77cac825a2a21eba6"
+
+PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"
+
+FILES_${PN}-consolefonts = "${datadir}/consolefonts"
+FILES_${PN}-consoletrans = "${datadir}/consoletrans"
+FILES_${PN}-keymaps = "${datadir}/keymaps"
+FILES_${PN}-unimaps = "${datadir}/unimaps"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 02/10] kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 01/10] kbd: import " Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 03/10] task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all Martin Jansa
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/kbd/kbd_1.15.2.bb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-core/kbd/kbd_1.15.2.bb b/meta/recipes-core/kbd/kbd_1.15.2.bb
index 36e68a0..2e0406b 100644
--- a/meta/recipes-core/kbd/kbd_1.15.2.bb
+++ b/meta/recipes-core/kbd/kbd_1.15.2.bb
@@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=587ce626d15bd61699a64a6b8a5afefb"
inherit autotools gettext
BBCLASSEXTEND = "native"
+RREPLACES_${PN} = "console-tools"
+RPROVIDES_${PN} = "console-tools"
+RCONFLICTS_${PN} = "console-tools"
+
+PR = "r1"
SRC_URI="${KERNELORG_MIRROR}/linux/utils/kbd/kbd-1.15.2.tar.bz2"
SRC_URI[md5sum] = "e850eb91e4d3b94b194efe8e953204c5"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 03/10] task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 01/10] kbd: import " Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 02/10] kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 04/10] keymaps: depend on kbd instead of console-tools Martin Jansa
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-bsp/keymaps/keymaps_1.0.bb | 6 +++++-
meta/recipes-core/tasks/task-core-boot.bb | 6 ++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
index 23a3051..4fe7987 100644
--- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb
+++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
@@ -1,7 +1,11 @@
SUMMARY = "Keyboard maps"
DESCRIPTION = "Keymaps and initscript to set the keymap on bootup."
SECTION = "base"
-RDEPENDS_${PN} = "initscripts console-tools"
+
+# Distro can override initscripts provider
+VIRTUAL-RUNTIME_initscripts ?= "initscripts"
+
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} console-tools"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-core/tasks/task-core-boot.bb b/meta/recipes-core/tasks/task-core-boot.bb
index 9e63ebb..05c280d 100644
--- a/meta/recipes-core/tasks/task-core-boot.bb
+++ b/meta/recipes-core/tasks/task-core-boot.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "virtual/kernel"
ALLOW_EMPTY = "1"
-PR = "r8"
+PR = "r9"
#
# Set by the machine configuration with packages essential for device bootup
@@ -23,6 +23,8 @@ VIRTUAL-RUNTIME_dev_manager ?= "udev"
VIRTUAL-RUNTIME_login_manager ?= "tinylogin"
# Distro can override init_manager provider
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
+# Distro can override initscripts provider
+VIRTUAL-RUNTIME_initscripts ?= "initscripts"
PACKAGES = "\
task-core-boot \
@@ -34,7 +36,7 @@ RDEPENDS_task-core-boot = "\
base-files \
base-passwd \
busybox \
- initscripts \
+ ${VIRTUAL-RUNTIME_initscripts} \
${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
modutils-initscripts \
netbase \
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 04/10] keymaps: depend on kbd instead of console-tools
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (2 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 03/10] task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 05/10] task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager Martin Jansa
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
* nowadays kbd seems more active
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-bsp/keymaps/keymaps_1.0.bb | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
index 4fe7987..1876db8 100644
--- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb
+++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
@@ -5,11 +5,12 @@ SECTION = "base"
# Distro can override initscripts provider
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} console-tools"
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} kbd"
+
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r19"
+PR = "r20"
INHIBIT_DEFAULT_DEPS = "1"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 05/10] task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (3 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 04/10] keymaps: depend on kbd instead of console-tools Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 06/10] libsdl: drop unused files Martin Jansa
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-sato/tasks/task-core-x11.bb | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-sato/tasks/task-core-x11.bb b/meta/recipes-sato/tasks/task-core-x11.bb
index 26d550a..106bc0f 100644
--- a/meta/recipes-sato/tasks/task-core-x11.bb
+++ b/meta/recipes-sato/tasks/task-core-x11.bb
@@ -30,6 +30,12 @@ ALLOW_EMPTY = "1"
FILEMANAGER ?= "pcmanfm"
FILEMANAGER_mips ?= ""
+# xserver-common, x11-common
+VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
+
+# elsa, xserver-nodm-init
+VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
+
RDEPENDS_task-core-x11-base = "\
dbus \
@@ -42,8 +48,8 @@ RDEPENDS_task-core-x11-base = "\
matchbox-desktop \
matchbox-session \
${XSERVER} \
- x11-common \
- xserver-nodm-init \
+ ${VIRTUAL-RUNTIME_xserver_common} \
+ ${VIRTUAL-RUNTIME_graphical_init_manager} \
liberation-fonts \
xauth \
xhost \
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 06/10] libsdl: drop unused files
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (4 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 05/10] task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 07/10] libsdl: rename files dir to libsdl-1.2.14 for faster lookup Martin Jansa
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../libsdl/files/directfb_obsolete_calls.patch | 35 ------------
| 55 --------------------
2 files changed, 0 insertions(+), 90 deletions(-)
delete mode 100644 meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
delete mode 100644 meta/recipes-graphics/libsdl/files/extra-keys.patch
diff --git a/meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch b/meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
deleted file mode 100644
index 3c526a6..0000000
--- a/meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Upstream-Status: Pending
-
---- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:40:38.000000000 -0500
-+++ SDL/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:00:07.000000000 -0500
-@@ -376,7 +376,7 @@
- {
- int i;
- DFBResult ret;
-- DFBCardCapabilities caps;
-+ DFBGraphicsDeviceDescription caps;
- DFBDisplayLayerConfig dlc;
- struct DirectFBEnumRect *rect;
- IDirectFB *dfb = NULL;
-@@ -448,7 +448,7 @@
-
-
- /* Query card capabilities to get the video memory size */
-- dfb->GetCardCapabilities (dfb, &caps);
-+ dfb->GetDeviceDescription (dfb, &caps);
-
- this->info.wm_available = 1;
- this->info.hw_available = 1;
-diff -u'rNF^function' tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_Direct
-/SDL_DirectFB_events.c
---- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_events.c 2004-0
-+++ SDL/src/video/directfb/SDL_DirectFB_events.c 2007-02-18 11:00:07.000000000 -0500
-@@ -161,7 +161,7 @@
- keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT;
- keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT;
- keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT;
-- keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT;
-+ keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT;
- keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB;
- keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN;
- keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE;
diff --git a/meta/recipes-graphics/libsdl/files/extra-keys.patch b/meta/recipes-graphics/libsdl/files/extra-keys.patch
deleted file mode 100644
index 745b04e..0000000
--- a/meta/recipes-graphics/libsdl/files/extra-keys.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Upstream-Status: Pending
-
-diff -upr --exclude=configure --exclude=Makefile --exclude=Makefile.in libsdl1.2-1.2.4/include/SDL_keysym.h libsdl1.2-1.2.4-arm/include/SDL_keysym.h
---- libsdl1.2-1.2.4/include/SDL_keysym.h 2002-03-06 11:23:01.000000000 +0000
-+++ libsdl1.2-1.2.4-arm/include/SDL_keysym.h 2002-11-08 20:43:09.000000000 +0000
-@@ -286,6 +286,12 @@ typedef enum {
- SDLK_EURO = 321, /* Some european keyboards */
- SDLK_UNDO = 322, /* Atari keyboard has Undo */
-
-+ SDLK_RECORD = 322,
-+ SDLK_CALENDAR = 323,
-+ SDLK_TELEPHONE = 324,
-+ SDLK_MAIL = 325,
-+ SDLK_START = 326,
-+
- /* Add any other keys here */
-
- SDLK_LAST
-diff -upr --exclude=configure --exclude=Makefile --exclude=Makefile.in libsdl1.2-1.2.4/src/video/x11/SDL_x11events.c libsdl1.2-1.2.4-arm/src/video/x11/SDL_x11events.c
---- libsdl1.2-1.2.4/src/video/x11/SDL_x11events.c 2002-03-06 11:23:08.000000000 +0000
-+++ libsdl1.2-1.2.4-arm/src/video/x11/SDL_x11events.c 2002-11-08 21:01:41.000000000 +0000
-@@ -34,6 +34,7 @@ static char rcsid =
- #include <X11/Xlib.h>
- #include <X11/Xutil.h>
- #include <X11/keysym.h>
-+#include <X11/XF86keysym.h>
- #ifdef __SVR4
- #include <X11/Sunkeysym.h>
- #endif
-@@ -655,6 +656,25 @@ SDL_keysym *X11_TranslateKey(Display *di
- case 0xFF:
- keysym->sym = MISC_keymap[xsym&0xFF];
- break;
-+ case 0x1008ff:
-+ switch (xsym) {
-+ case XF86XK_AudioRecord:
-+ keysym->sym = SDLK_RECORD;
-+ break;
-+ case XF86XK_PowerDown:
-+ keysym->sym = SDLK_POWER;
-+ break;
-+ case XF86XK_Calendar:
-+ keysym->sym = SDLK_CALENDAR;
-+ break;
-+ case XF86XK_Mail:
-+ keysym->sym = SDLK_MAIL;
-+ break;
-+ case XF86XK_Start:
-+ keysym->sym = SDLK_START;
-+ break;
-+ }
-+ break;
- default:
- fprintf(stderr,
- "X11: Unknown xsym, sym = 0x%04x\n",
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 07/10] libsdl: rename files dir to libsdl-1.2.14 for faster lookup
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (5 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 06/10] libsdl: drop unused files Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 08/10] libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes from meta-oe Martin Jansa
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../{files => libsdl-1.2.14}/configure_tweak.patch | 0
1 files changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-graphics/libsdl/{files => libsdl-1.2.14}/configure_tweak.patch (100%)
diff --git a/meta/recipes-graphics/libsdl/files/configure_tweak.patch b/meta/recipes-graphics/libsdl/libsdl-1.2.14/configure_tweak.patch
similarity index 100%
rename from meta/recipes-graphics/libsdl/files/configure_tweak.patch
rename to meta/recipes-graphics/libsdl/libsdl-1.2.14/configure_tweak.patch
--
1.7.8.rc1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 08/10] libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes from meta-oe
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (6 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 07/10] libsdl: rename files dir to libsdl-1.2.14 for faster lookup Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 09/10] libsdl: enable alsa/opengl based on PACKAGECONFIG and respect DISTRO_FEATURES Martin Jansa
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
* virtual/libsdl is used in sdl.bbclass but nothing was providing it
* rpath disabled because otherwise libtool and ld try to link against
${libdir}/libdl.so.2 on the host
(see OE-classic commit af1a2e0e7626e372f22afbcabf08d9ae6b0d7b01)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
index 6b23344..17a3103 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
@@ -10,10 +10,12 @@ SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
-DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender"
+PROVIDES = "virtual/libsdl"
+
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender alsa-lib tslib"
DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
file://configure_tweak.patch \
@@ -26,25 +28,29 @@ SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642
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 \
+EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
+ --enable-file --disable-oss --enable-alsa --disable-esd --disable-arts \
--disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
--disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \
--disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \
--disable-video-xbios --disable-video-gem --disable-video-dummy \
- --enable-input-events --enable-pthreads \
+ --enable-input-events --enable-input-tslib --enable-pthreads \
${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
--disable-video-svga \
- --disable-video-picogui --disable-video-qtopia --enable-dlopen"
+ --disable-video-picogui --disable-video-qtopia --enable-dlopen \
+ --disable-rpath"
PARALLEL_MAKE = ""
+EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
+
do_configure_prepend() {
# Remove old libtool macros.
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
for i in ${MACROS}; do
rm -f acinclude/$i
done
+ export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
}
BBCLASSEXTEND = "nativesdk"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 09/10] libsdl: enable alsa/opengl based on PACKAGECONFIG and respect DISTRO_FEATURES
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (7 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 08/10] libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes from meta-oe Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 10/10] libsdl: replace tabs with spaces Martin Jansa
2011-11-10 17:40 ` [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Saul Wold
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
index 17a3103..2f49f16 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
PROVIDES = "virtual/libsdl"
-DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender alsa-lib tslib"
+DEPENDS = "virtual/libx11 libxext libxrandr libxrender tslib"
DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
PR = "r1"
@@ -29,17 +29,21 @@ SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642
inherit autotools binconfig pkgconfig
EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
- --enable-file --disable-oss --enable-alsa --disable-esd --disable-arts \
+ --enable-file --disable-oss --disable-esd --disable-arts \
--disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
--disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \
--disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \
--disable-video-xbios --disable-video-gem --disable-video-dummy \
--enable-input-events --enable-input-tslib --enable-pthreads \
- ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
--disable-video-svga \
--disable-video-picogui --disable-video-qtopia --enable-dlopen \
--disable-rpath"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
+PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib,"
+PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl,"
+
PARALLEL_MAKE = ""
EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCHv2][oe-core 10/10] libsdl: replace tabs with spaces
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (8 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 09/10] libsdl: enable alsa/opengl based on PACKAGECONFIG and respect DISTRO_FEATURES Martin Jansa
@ 2011-11-09 17:43 ` Martin Jansa
2011-11-10 17:40 ` [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Saul Wold
10 siblings, 0 replies; 12+ messages in thread
From: Martin Jansa @ 2011-11-09 17:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
index 2f49f16..b1b2137 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
@@ -18,7 +18,7 @@ DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-n
PR = "r1"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
- file://configure_tweak.patch \
+ file://configure_tweak.patch \
"
S = "${WORKDIR}/SDL-${PV}"
@@ -35,7 +35,7 @@ EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads
--disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \
--disable-video-xbios --disable-video-gem --disable-video-dummy \
--enable-input-events --enable-input-tslib --enable-pthreads \
- --disable-video-svga \
+ --disable-video-svga \
--disable-video-picogui --disable-video-qtopia --enable-dlopen \
--disable-rpath"
--
1.7.8.rc1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
` (9 preceding siblings ...)
2011-11-09 17:43 ` [PATCHv2][oe-core 10/10] libsdl: replace tabs with spaces Martin Jansa
@ 2011-11-10 17:40 ` Saul Wold
10 siblings, 0 replies; 12+ messages in thread
From: Saul Wold @ 2011-11-10 17:40 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On 11/09/2011 09:39 AM, Martin Jansa wrote:
> v2: 3 more libsdl patches based on sgw review to cleanup libsdl dir and use PACKAGECONFIG
>
> The following changes since commit 25fae81538a92e15eab3fc169ebce44505f67839:
>
> python: skip setup.py 'import check' when cross-compiling (2011-11-08 21:44:23 +0000)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib jansa/pull2
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull2
>
> Martin Jansa (10):
> kbd: import from meta-oe
> kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from
> console-tools
> task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow
> distributions to use different set of initscripts or no initscripts
> at all
> keymaps: depend on kbd instead of console-tools
> task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and
> graphical_init_manager
Merged the kbd and keymaps changes to OE-Core
> libsdl: drop unused files
> libsdl: rename files dir to libsdl-1.2.14 for faster lookup
> libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes
> from meta-oe
> libsdl: enable alsa/opengl based on PACKAGECONFIG and respect
> DISTRO_FEATURES
> libsdl: replace tabs with spaces
>
These patches seems to have caused some other issues, so I dropped the
lot of them.
Not sure what testing you did, but I saw bluez failure due to alsa
failure. Also did you build the meta-toolchain-gmae, there were clear
failures with nothing providing alsa-lib-nativesdk
Thanks
Sau!
> meta/recipes-bsp/keymaps/keymaps_1.0.bb | 9 +++-
> meta/recipes-core/kbd/kbd_1.15.2.bb | 24 +++++++++
> meta/recipes-core/tasks/task-core-boot.bb | 6 ++-
> .../libsdl/files/directfb_obsolete_calls.patch | 35 ------------
> .../recipes-graphics/libsdl/files/extra-keys.patch | 55 --------------------
> .../{files => libsdl-1.2.14}/configure_tweak.patch | 0
> meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 28 +++++++---
> meta/recipes-sato/tasks/task-core-x11.bb | 10 +++-
> 8 files changed, 62 insertions(+), 105 deletions(-)
> create mode 100644 meta/recipes-core/kbd/kbd_1.15.2.bb
> delete mode 100644 meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
> delete mode 100644 meta/recipes-graphics/libsdl/files/extra-keys.patch
> rename meta/recipes-graphics/libsdl/{files => libsdl-1.2.14}/configure_tweak.patch (100%)
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-11-10 17:46 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 17:39 [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 01/10] kbd: import " Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 02/10] kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 03/10] task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 04/10] keymaps: depend on kbd instead of console-tools Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 05/10] task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 06/10] libsdl: drop unused files Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 07/10] libsdl: rename files dir to libsdl-1.2.14 for faster lookup Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 08/10] libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes from meta-oe Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 09/10] libsdl: enable alsa/opengl based on PACKAGECONFIG and respect DISTRO_FEATURES Martin Jansa
2011-11-09 17:43 ` [PATCHv2][oe-core 10/10] libsdl: replace tabs with spaces Martin Jansa
2011-11-10 17:40 ` [PATCHv2][oe-core 00/10] Merge more stuff from meta-oe Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox