[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    Re: [Buildroot] [PATCH WIP 16/16] xbmc: Add xbmc-send script to send commands to xbmc service
From:       "Yann E. MORIN" <yann.morin.1998 () free ! fr>
Date:       2014-03-31 22:20:08
Message-ID: 20140331222008.GE5004 () free ! fr
[Download RAW message or body]

Bernd, All,

On 2014-03-31 22:06 +0200, Bernd Kuhls spake thusly:
> http://wiki.xbmc.org/index.php?title=List_of_built-in_functions

Hey! That's pretty neat! :-)

We can use that to tell XBMC to exit properly, instead of killing it on
reboot. Groovy! :-)

> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/xbmc/xbmc.mk |    6 ++++++
> 1 file changed, 6 insertions(+)
> 
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> index 974b4dd..d130ae2 100644
> --- a/package/xbmc/xbmc.mk
> +++ b/package/xbmc/xbmc.mk
> @@ -204,6 +204,12 @@ define XBMC_INSTALL_BR_WRAPPER
> endef
> XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_INSTALL_BR_WRAPPER
> 
> +define XBMC_INSTALL_XBMC_SEND
> +	$(INSTALL) -D $(@D)/tools/EventClients/lib/python/xbmcclient.py \
> $(TARGET_DIR)/usr/lib/python2.7/xbmcclient.py

If possible, please install both a .py and a .pyc to the target.

Depending on:
  - BR2_PACKAGE_PYTHON_PY_ONLY
  - BR2_PACKAGE_PYTHON_PYC_ONLY
  - BR2_PACKAGE_PYTHON_PY_PYC
some of them will be forcibly removed.

For example, if BR2_PACKAGE_PYTHON_PYC_ONLY is selected, then all .py
files will get removed from the target.

Note that I do not know how you can cross-generate a .pyc from a .py
file in cross-compilation... :-/

At the very least, if cross-generating the .pyc file is not possible,
make this conditional on !BR2_PACKAGE_PYTHON_PYC_ONLY.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
> Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic