Patchwork [v4,1/5] sdl: add host version

login
register
mail settings
Submitter Maxime Hadjinlian
Date Jan. 26, 2014, 9:38 p.m.
Message ID <1390772341-6790-2-git-send-email-maxime.hadjinlian@gmail.com>
Download mbox | patch
Permalink /patch/314265/
State Superseded
Headers show

Comments

Maxime Hadjinlian - Jan. 26, 2014, 9:38 p.m.
Host version is needed to build xbmc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v3 -> v4:
  - None
Changes v2 -> v3:
  - None
Changes v1 -> v2:
  - None
---
 package/sdl/sdl.mk | 2 ++
 1 file changed, 2 insertions(+)
Thomas Petazzoni - Jan. 28, 2014, 10:07 p.m.
Dear Maxime Hadjinlian,

On Sun, 26 Jan 2014 22:38:57 +0100, Maxime Hadjinlian wrote:
> Host version is needed to build xbmc
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

For my curiosity, which specific SDL and SDL_image host tools are used
by XBMC ?

Thomas
Maxime Hadjinlian - Jan. 29, 2014, 9:16 a.m.
Thomas, all
On Tue, Jan 28, 2014 at 11:07 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Maxime Hadjinlian,
>
> On Sun, 26 Jan 2014 22:38:57 +0100, Maxime Hadjinlian wrote:
>> Host version is needed to build xbmc
>>
>> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
>> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> For my curiosity, which specific SDL and SDL_image host tools are used
> by XBMC ?
This is needed by TexturePacker which is a host tool, that is used to
pack the various images (jpeg and png) found in XBMC's GUI (Since it
supports themes), it will generate a XBT file, wich will be read by
XBMC on the target to depack and display the GUI.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
Thomas Petazzoni - Jan. 29, 2014, 9:19 a.m.
Dear Maxime Hadjinlian,

On Wed, 29 Jan 2014 10:16:52 +0100, Maxime Hadjinlian wrote:

> This is needed by TexturePacker which is a host tool, that is used to
> pack the various images (jpeg and png) found in XBMC's GUI (Since it
> supports themes), it will generate a XBT file, wich will be read by
> XBMC on the target to depack and display the GUI.

Ok, thanks! It answers my curiosity question :)

Thomas

Patch

diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index ba5fbca..0972acb 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -18,6 +18,7 @@  define SDL_RUN_AUTOGEN
 endef
 
 SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
+HOST_SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
 SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
 
 
@@ -80,3 +81,4 @@  endef
 SDL_POST_INSTALL_STAGING_HOOKS += SDL_FIXUP_SDL_CONFIG
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))