From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support
Date: Fri, 1 Aug 2014 23:30:36 +0200 [thread overview]
Message-ID: <20140801213036.GE3778@free.fr> (raw)
In-Reply-To: <1406914359-31106-2-git-send-email-bernd.kuhls@t-online.de>
Bernd, All,
On 2014-08-01 19:32 +0200, Bernd Kuhls spake thusly:
> - on ARM xbmc only supports EGL/GLES
> https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L695
> - rsxs depends on OpenGL
> https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469
> so include a compile fix, courtesy of
> https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/xbmc/package.mk#L109
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
I however have one comment, see below...
> diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
> index c3b0d71..c868b59 100644
> --- a/package/xbmc/xbmc.mk
> +++ b/package/xbmc/xbmc.mk
[--SNIP--]
> @@ -88,6 +83,32 @@ else
> XBMC_CONF_OPT += --disable-libmp3lame
> endif
>
> +# quote from xbmc/configure.in: "GLES overwrites GL if both set to yes."
> +# we choose the opposite because opengl offers more features, like libva support
> +ifeq ($(BR2_PACKAGE_XBMC_GL),y)
> +XBMC_DEPENDENCIES += libglew libglu libgl sdl_image xlib_libX11 xlib_libXext \
> + xlib_libXmu xlib_libXrandr xlib_libXt
> +XBMC_CONF_OPT += --enable-gl --enable-sdl --enable-x11 --enable-xrandr --disable-gles
> +# fix rsxs compile
> +# make sure target libpng-config is used, options taken from rsxs-0.9/acinclude.m4
> +XBMC_CONF_ENV += \
> + jm_cv_func_gettimeofday_clobber=no \
> + mac_cv_pkg_png=$(STAGING_DIR)/usr/bin/libpng-config \
> + mac_cv_pkg_cppflags="`$(STAGING_DIR)/usr/bin/libpng-config --I_opts --cppflags`" \
> + mac_cv_pkg_cxxflags="`$(STAGING_DIR)/usr/bin/libpng-config --ccopts`" \
> + mac_cv_pkg_ldflags="`$(STAGING_DIR)/usr/bin/libpng-config --L_opts --R_opts`" \
> + mac_cv_pkg_libs="`$(STAGING_DIR)/usr/bin/libpng-config --libs`"
> +XBMC_CONF_OPT += --enable-rsxs
> +else
> +XBMC_CONF_OPT += --disable-gl --disable-rsxs --disable-sdl --disable-x11 --disable-xrandr
We currently do not disable rsxs, and XBMC builds just fine on the RPi.
However, we remove it from the rootfs as a post-install hook.
What's the problem with rsxs on EGL/GLES?
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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-08-01 21:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-01 17:32 [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Bernd Kuhls
2014-08-01 17:32 ` [Buildroot] [PATCH v16 1/3] xbmc: Add X.org/OpenGL support Bernd Kuhls
2014-08-01 21:30 ` Yann E. MORIN [this message]
2014-08-01 22:02 ` Bernd Kuhls
2014-08-01 22:18 ` Yann E. MORIN
2014-08-02 11:19 ` Bernd Kuhls
2014-08-01 17:32 ` [Buildroot] [PATCH v16 2/3] xbmc: Add option for Goom screensaver Bernd Kuhls
2014-08-01 21:31 ` Yann E. MORIN
2014-08-01 17:32 ` [Buildroot] [PATCH v16 3/3] xbmc: Add VA-API support Bernd Kuhls
2014-08-01 21:32 ` Yann E. MORIN
2014-08-03 8:42 ` [Buildroot] [PATCH v16 0/3] package/xbmc: Add support for OpenGL and libva, add option for Goom Thomas Petazzoni
2014-08-12 23:05 ` Yann E. MORIN
2014-08-13 4:21 ` 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=20140801213036.GE3778@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox