* [PATCH 1/1] libsdl: Add support for libsdl-native @ 2013-12-17 16:33 Andrei Gherzan 2013-12-17 16:47 ` Paul Eggleton 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2013-12-17 16:33 UTC (permalink / raw) To: openembedded-core; +Cc: Alexandru Niculita From: Alexandru Niculita <alexnick87@gmail.com> Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> --- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4b4ff63..84d3ad6 100644 --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-native = "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native libxrandr-native libxrender-native libxext-native', '', d)}" PR = "r2" @@ -63,4 +64,4 @@ do_configure_prepend() { export SYSROOT=$PKG_CONFIG_SYSROOT_DIR } -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "nativesdk native" -- 1.8.1.4 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2013-12-17 16:33 [PATCH 1/1] libsdl: Add support for libsdl-native Andrei Gherzan @ 2013-12-17 16:47 ` Paul Eggleton 2013-12-17 16:51 ` Andrei Gherzan 0 siblings, 1 reply; 11+ messages in thread From: Paul Eggleton @ 2013-12-17 16:47 UTC (permalink / raw) To: Andrei Gherzan, Alexandru Niculita; +Cc: openembedded-core On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > From: Alexandru Niculita <alexnick87@gmail.com> > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > --- > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4b4ff63..84d3ad6 > 100644 > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native libxrandr-native > libxrender-native libxext-native', '', d)}" > > PR = "r2" > > @@ -63,4 +64,4 @@ do_configure_prepend() { > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > } > > -BBCLASSEXTEND = "nativesdk" > +BBCLASSEXTEND = "nativesdk native" Why do you want to do this? Usually, it's better to rely on the host distro providing SDL for native because building libsdl-native can lead to problems linking against a specific host OpenGL implementation. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2013-12-17 16:47 ` Paul Eggleton @ 2013-12-17 16:51 ` Andrei Gherzan 2013-12-17 16:53 ` Paul Eggleton 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2013-12-17 16:51 UTC (permalink / raw) To: Paul Eggleton; +Cc: Alexandru Niculita, openembedded [-- Attachment #1: Type: text/plain, Size: 1953 bytes --] On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < paul.eggleton@linux.intel.com> wrote: > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > > From: Alexandru Niculita <alexnick87@gmail.com> > > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > > --- > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4b4ff63..84d3ad6 > > 100644 > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', > 'directfb', > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native > libxrandr-native > > libxrender-native libxext-native', '', d)}" > > > > PR = "r2" > > > > @@ -63,4 +64,4 @@ do_configure_prepend() { > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > > } > > > > -BBCLASSEXTEND = "nativesdk" > > +BBCLASSEXTEND = "nativesdk native" > > Why do you want to do this? Usually, it's better to rely on the host distro > providing SDL for native because building libsdl-native can lead to > problems > linking against a specific host OpenGL implementation. > xbmc needs sdl-native - this is why I made this change. I didn't encounter any issues with the native libsdl so i thought this would be a better / cleaner way to do it. If you guys don't agree, we can drop. -- *ag* [-- Attachment #2: Type: text/html, Size: 3156 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2013-12-17 16:51 ` Andrei Gherzan @ 2013-12-17 16:53 ` Paul Eggleton 2013-12-17 17:01 ` Andrei Gherzan 0 siblings, 1 reply; 11+ messages in thread From: Paul Eggleton @ 2013-12-17 16:53 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Alexandru Niculita, openembedded-core On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote: > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < > > paul.eggleton@linux.intel.com> wrote: > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > > > From: Alexandru Niculita <alexnick87@gmail.com> > > > > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > > > --- > > > > > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4b4ff63..84d3ad6 > > > 100644 > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', > > > > 'directfb', > > > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > > > > > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', > > > > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native > > > > libxrandr-native > > > > > libxrender-native libxext-native', '', d)}" > > > > > > PR = "r2" > > > > > > @@ -63,4 +64,4 @@ do_configure_prepend() { > > > > > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > > > > > > } > > > > > > -BBCLASSEXTEND = "nativesdk" > > > +BBCLASSEXTEND = "nativesdk native" > > > > Why do you want to do this? Usually, it's better to rely on the host > > distro providing SDL for native because building libsdl-native can lead to > > problems linking against a specific host OpenGL implementation. > > xbmc needs sdl-native - this is why I made this change. Why does it need it though? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2013-12-17 16:53 ` Paul Eggleton @ 2013-12-17 17:01 ` Andrei Gherzan 2014-01-03 14:58 ` Andrei Gherzan 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2013-12-17 17:01 UTC (permalink / raw) To: Paul Eggleton; +Cc: Alexandru Niculita, openembedded [-- Attachment #1: Type: text/plain, Size: 2345 bytes --] On Tue, Dec 17, 2013 at 6:53 PM, Paul Eggleton < paul.eggleton@linux.intel.com> wrote: > On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote: > > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < > > > > paul.eggleton@linux.intel.com> wrote: > > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > > > > From: Alexandru Niculita <alexnick87@gmail.com> > > > > > > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > > > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > > > > --- > > > > > > > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index > 4b4ff63..84d3ad6 > > > > 100644 > > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', > > > > > > 'directfb', > > > > > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > > > > > > > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', > 'x11', > > > > > > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native > > > > > > libxrandr-native > > > > > > > libxrender-native libxext-native', '', d)}" > > > > > > > > PR = "r2" > > > > > > > > @@ -63,4 +64,4 @@ do_configure_prepend() { > > > > > > > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > > > > > > > > } > > > > > > > > -BBCLASSEXTEND = "nativesdk" > > > > +BBCLASSEXTEND = "nativesdk native" > > > > > > Why do you want to do this? Usually, it's better to rely on the host > > > distro providing SDL for native because building libsdl-native can > lead to > > > problems linking against a specific host OpenGL implementation. > > > > xbmc needs sdl-native - this is why I made this change. > > Why does it need it though? > > Actually xbmc has a tool called texturepacker which uses libsdl-image - which needs libsdl. That's the chain. -- ag [-- Attachment #2: Type: text/html, Size: 3928 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2013-12-17 17:01 ` Andrei Gherzan @ 2014-01-03 14:58 ` Andrei Gherzan 2014-01-13 14:09 ` Paul Eggleton 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2014-01-03 14:58 UTC (permalink / raw) To: Paul Eggleton; +Cc: Alexandru Niculita, openembedded [-- Attachment #1: Type: text/plain, Size: 2569 bytes --] On Tue, Dec 17, 2013 at 7:01 PM, Andrei Gherzan <andrei@gherzan.ro> wrote: > > > > On Tue, Dec 17, 2013 at 6:53 PM, Paul Eggleton < > paul.eggleton@linux.intel.com> wrote: > >> On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote: >> > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < >> > >> > paul.eggleton@linux.intel.com> wrote: >> > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: >> > > > From: Alexandru Niculita <alexnick87@gmail.com> >> > > > >> > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 >> > > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> >> > > > --- >> > > > >> > > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- >> > > > 1 file changed, 2 insertions(+), 1 deletion(-) >> > > > >> > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb >> > > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index >> 4b4ff63..84d3ad6 >> > > > 100644 >> > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb >> > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb >> > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', >> > > >> > > 'directfb', >> > > >> > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', >> > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" >> > > > >> > > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', >> 'x11', >> > > > >> > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender >> > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = >> > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native >> > > >> > > libxrandr-native >> > > >> > > > libxrender-native libxext-native', '', d)}" >> > > > >> > > > PR = "r2" >> > > > >> > > > @@ -63,4 +64,4 @@ do_configure_prepend() { >> > > > >> > > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR >> > > > >> > > > } >> > > > >> > > > -BBCLASSEXTEND = "nativesdk" >> > > > +BBCLASSEXTEND = "nativesdk native" >> > > >> > > Why do you want to do this? Usually, it's better to rely on the host >> > > distro providing SDL for native because building libsdl-native can >> lead to >> > > problems linking against a specific host OpenGL implementation. >> > >> > xbmc needs sdl-native - this is why I made this change. >> >> Why does it need it though? >> >> > Actually xbmc has a tool called texturepacker which uses libsdl-image - > which needs libsdl. That's the chain. > Any advice on this? Paul, do you see another option on this? -- *ag* [-- Attachment #2: Type: text/html, Size: 4497 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2014-01-03 14:58 ` Andrei Gherzan @ 2014-01-13 14:09 ` Paul Eggleton 2014-01-19 18:08 ` Andrei Gherzan 0 siblings, 1 reply; 11+ messages in thread From: Paul Eggleton @ 2014-01-13 14:09 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Alexandru Niculita, openembedded On Friday 03 January 2014 16:58:10 Andrei Gherzan wrote: > On Tue, Dec 17, 2013 at 7:01 PM, Andrei Gherzan <andrei@gherzan.ro> wrote: > > On Tue, Dec 17, 2013 at 6:53 PM, Paul Eggleton < > > > > paul.eggleton@linux.intel.com> wrote: > >> On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote: > >> > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < > >> > > >> > paul.eggleton@linux.intel.com> wrote: > >> > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > >> > > > From: Alexandru Niculita <alexnick87@gmail.com> > >> > > > > >> > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > >> > > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > >> > > > --- > >> > > > > >> > > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > >> > > > 1 file changed, 2 insertions(+), 1 deletion(-) > >> > > > > >> > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > >> > > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index > >> > >> 4b4ff63..84d3ad6 > >> > >> > > > 100644 > >> > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > >> > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > >> > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', > >> > > > >> > > 'directfb', > >> > > > >> > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > >> > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > >> > > > > >> > > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', > >> > >> 'x11', > >> > >> > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > >> > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > >> > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native > >> > > > >> > > libxrandr-native > >> > > > >> > > > libxrender-native libxext-native', '', d)}" > >> > > > > >> > > > PR = "r2" > >> > > > > >> > > > @@ -63,4 +64,4 @@ do_configure_prepend() { > >> > > > > >> > > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > >> > > > > >> > > > } > >> > > > > >> > > > -BBCLASSEXTEND = "nativesdk" > >> > > > +BBCLASSEXTEND = "nativesdk native" > >> > > > >> > > Why do you want to do this? Usually, it's better to rely on the host > >> > > distro providing SDL for native because building libsdl-native can > >> > >> lead to > >> > >> > > problems linking against a specific host OpenGL implementation. > >> > > >> > xbmc needs sdl-native - this is why I made this change. > >> > >> Why does it need it though? > > > > Actually xbmc has a tool called texturepacker which uses libsdl-image - > > which needs libsdl. That's the chain. > > Any advice on this? Paul, do you see another option on this? To be honest I'm just not sure what the correct solution is here. The problem is if we just enable libsdl-native and take no other mitigating steps, it will almost certainly lead to problems building qemu-native because we'll be linking against our version of SDL and not the host's one. What does texturepacker actually do, i.e. what are its inputs and outputs? Is there a way of avoiding the need to build/use it? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2014-01-13 14:09 ` Paul Eggleton @ 2014-01-19 18:08 ` Andrei Gherzan [not found] ` <CA+0k_w968Jt7sQktJnH9PLrxnLqs6pF37S6tba8PYn=QksoqNA@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2014-01-19 18:08 UTC (permalink / raw) To: Paul Eggleton, Alexandru Niculita; +Cc: openembedded On Mon, Jan 13, 2014 at 02:09:36PM +0000, Paul Eggleton wrote: > On Friday 03 January 2014 16:58:10 Andrei Gherzan wrote: > > On Tue, Dec 17, 2013 at 7:01 PM, Andrei Gherzan <andrei@gherzan.ro> wrote: > > > On Tue, Dec 17, 2013 at 6:53 PM, Paul Eggleton < > > > > > > paul.eggleton@linux.intel.com> wrote: > > >> On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote: > > >> > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton < > > >> > > > >> > paul.eggleton@linux.intel.com> wrote: > > >> > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote: > > >> > > > From: Alexandru Niculita <alexnick87@gmail.com> > > >> > > > > > >> > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65 > > >> > > > Signed-off-by: Alexandru Niculita <alexnick87@gmail.com> > > >> > > > --- > > >> > > > > > >> > > > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++- > > >> > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > >> > > > > > >> > > > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > >> > > > b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index > > >> > > >> 4b4ff63..84d3ad6 > > >> > > >> > > > 100644 > > >> > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > >> > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb > > >> > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', > > >> > > > > >> > > 'directfb', > > >> > > > > >> > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', > > >> > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" > > >> > > > > > >> > > > DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', > > >> > > >> 'x11', > > >> > > >> > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender > > >> > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native = > > >> > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native > > >> > > > > >> > > libxrandr-native > > >> > > > > >> > > > libxrender-native libxext-native', '', d)}" > > >> > > > > > >> > > > PR = "r2" > > >> > > > > > >> > > > @@ -63,4 +64,4 @@ do_configure_prepend() { > > >> > > > > > >> > > > export SYSROOT=$PKG_CONFIG_SYSROOT_DIR > > >> > > > > > >> > > > } > > >> > > > > > >> > > > -BBCLASSEXTEND = "nativesdk" > > >> > > > +BBCLASSEXTEND = "nativesdk native" > > >> > > > > >> > > Why do you want to do this? Usually, it's better to rely on the host > > >> > > distro providing SDL for native because building libsdl-native can > > >> > > >> lead to > > >> > > >> > > problems linking against a specific host OpenGL implementation. > > >> > > > >> > xbmc needs sdl-native - this is why I made this change. > > >> > > >> Why does it need it though? > > > > > > Actually xbmc has a tool called texturepacker which uses libsdl-image - > > > which needs libsdl. That's the chain. > > > > Any advice on this? Paul, do you see another option on this? > > To be honest I'm just not sure what the correct solution is here. The problem > is if we just enable libsdl-native and take no other mitigating steps, it will > almost certainly lead to problems building qemu-native because we'll be > linking against our version of SDL and not the host's one. > > What does texturepacker actually do, i.e. what are its inputs and outputs? Is > there a way of avoiding the need to build/use it? > As Alex was actually working on this, will let him give you (us) more details. Alex, could you please provide Paul more info about that tool? -- Andrei Gherzan m: +40.744.478.414 | f: +40.31.816.28.12 ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CA+0k_w968Jt7sQktJnH9PLrxnLqs6pF37S6tba8PYn=QksoqNA@mail.gmail.com>]
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native [not found] ` <CA+0k_w968Jt7sQktJnH9PLrxnLqs6pF37S6tba8PYn=QksoqNA@mail.gmail.com> @ 2014-01-27 20:29 ` Andrei Gherzan 2014-01-27 22:50 ` Paul Eggleton 0 siblings, 1 reply; 11+ messages in thread From: Andrei Gherzan @ 2014-01-27 20:29 UTC (permalink / raw) To: Alexandru Niculita; +Cc: Paul Eggleton, openembedded [-- Attachment #1: Type: text/plain, Size: 397 bytes --] On Jan 27, 2014 12:20 PM, "Alexandru Niculita" <alexnick87@gmail.com> wrote: > > Hi, > > I could not find a way to avoid using TexturePacker. > TexturePacker is used by XMBC to compile all images used > in a skin into a single file. > I took the info from here: http://wiki.xbmc.org/index.php?title=TexturePacker > Would be great to have this soon so we can have xbmc support. ag [-- Attachment #2: Type: text/html, Size: 630 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2014-01-27 20:29 ` Andrei Gherzan @ 2014-01-27 22:50 ` Paul Eggleton 2014-01-28 0:35 ` Richard Purdie 0 siblings, 1 reply; 11+ messages in thread From: Paul Eggleton @ 2014-01-27 22:50 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Alexandru Niculita, openembedded On Monday 27 January 2014 22:29:09 Andrei Gherzan wrote: > On Jan 27, 2014 12:20 PM, "Alexandru Niculita" <alexnick87@gmail.com> wrote: > > Hi, > > > > I could not find a way to avoid using TexturePacker. > > TexturePacker is used by XMBC to compile all images used > > in a skin into a single file. > > > > I took the info from here: > http://wiki.xbmc.org/index.php?title=TexturePacker Without having looked at the source code, they don't give much in the way of detail as to what it actually does. I wonder if it could be replicated with a python script using PIL or similar. > Would be great to have this soon so we can have xbmc support. Well, if we truly have to have libsdl-native then we have to find a way to mitigate the QEMU problems that building that will trigger, which probably means preventing it from finding that in the sysroot. I'm not sure whether this will be an acceptable solution from an OE-Core perspective but I can't think of any other (other than writing an equivalent to TexturePacker that doesn't use SDL or anything that requires SDL). Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/1] libsdl: Add support for libsdl-native 2014-01-27 22:50 ` Paul Eggleton @ 2014-01-28 0:35 ` Richard Purdie 0 siblings, 0 replies; 11+ messages in thread From: Richard Purdie @ 2014-01-28 0:35 UTC (permalink / raw) To: Paul Eggleton; +Cc: Alexandru Niculita, openembedded On Mon, 2014-01-27 at 22:50 +0000, Paul Eggleton wrote: > On Monday 27 January 2014 22:29:09 Andrei Gherzan wrote: > > On Jan 27, 2014 12:20 PM, "Alexandru Niculita" <alexnick87@gmail.com> wrote: > > > Hi, > > > > > > I could not find a way to avoid using TexturePacker. > > > TexturePacker is used by XMBC to compile all images used > > > in a skin into a single file. > > > > > > I took the info from here: > > http://wiki.xbmc.org/index.php?title=TexturePacker > > Without having looked at the source code, they don't give much in the way of > detail as to what it actually does. I wonder if it could be replicated with a > python script using PIL or similar. > > > Would be great to have this soon so we can have xbmc support. > > Well, if we truly have to have libsdl-native then we have to find a way to > mitigate the QEMU problems that building that will trigger, which probably > means preventing it from finding that in the sysroot. I'm not sure whether this > will be an acceptable solution from an OE-Core perspective but I can't think > of any other (other than writing an equivalent to TexturePacker that doesn't > use SDL or anything that requires SDL). We'll probably have to put libsdl-native into a special directory and teach xmbc's tool to find it in the special path. Its ugly but we can't break qemu and a world of pain lies in not using the host system's libsdl... Cheers, Richard ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-01-28 0:36 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 16:33 [PATCH 1/1] libsdl: Add support for libsdl-native Andrei Gherzan
2013-12-17 16:47 ` Paul Eggleton
2013-12-17 16:51 ` Andrei Gherzan
2013-12-17 16:53 ` Paul Eggleton
2013-12-17 17:01 ` Andrei Gherzan
2014-01-03 14:58 ` Andrei Gherzan
2014-01-13 14:09 ` Paul Eggleton
2014-01-19 18:08 ` Andrei Gherzan
[not found] ` <CA+0k_w968Jt7sQktJnH9PLrxnLqs6pF37S6tba8PYn=QksoqNA@mail.gmail.com>
2014-01-27 20:29 ` Andrei Gherzan
2014-01-27 22:50 ` Paul Eggleton
2014-01-28 0:35 ` Richard Purdie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox