All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH WIP 16/16] xbmc: Add xbmc-send script to send commands to xbmc service
Date: Tue, 1 Apr 2014 00:20:08 +0200	[thread overview]
Message-ID: <20140331222008.GE5004@free.fr> (raw)
In-Reply-To: <1396296389-28821-17-git-send-email-bernd.kuhls@t-online.de>

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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-03-31 22:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 20:06 [Buildroot] [PATCH 00/16] XBMC Gotham Beta3 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 01/16] pixman: Version bump 0.32.4 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 02/16] xlib_xtrans: Version bump 1.3.4 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 03/16] file: Version bump 5.18 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 04/16] flex: Version bump 2.5.39 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 05/16] sqlite: Version bump 3.8.4.2 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 06/16] libdrm: Explain dependency on xorg in Kconfig Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH v4 07/16] xdriver_xf86-video-intel: Bump version to 2.99.911 Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 08/16] libva: new package Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 09/16] libva-intel-driver: " Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 10/16] ffmpeg: Add libva support Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 11/16] libglu: new package Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 12/16] libglew: " Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 13/16] sdl: Add new dependency libglu for opengl support Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH 14/16] opengl: New virtual package Bernd Kuhls
2014-03-31 20:21   ` Yann E. MORIN
2014-04-01 17:01     ` Bernd Kuhls
2014-03-31 20:06 ` [Buildroot] [PATCH WIP 15/16] xbmc: Bump version to Gotham_beta3 Bernd Kuhls
2014-03-31 22:05   ` Yann E. MORIN
2014-04-01 17:11     ` Bernd Kuhls
2014-04-01 18:35       ` Yann E. MORIN
2014-04-01 19:40         ` Bernd Kuhls
2014-04-01 21:29           ` Maxime Hadjinlian
2014-04-01 21:30           ` Yann E. MORIN
2014-03-31 20:06 ` [Buildroot] [PATCH WIP 16/16] xbmc: Add xbmc-send script to send commands to xbmc service Bernd Kuhls
2014-03-31 22:20   ` Yann E. MORIN [this message]
2014-05-20 20:49     ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140331222008.GE5004@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.