Commit Graph

40 Commits

Author SHA1 Message Date
Jerzy Grzegorek
c7f4b96471 package: remove the trailing slash sign from <PKG>_SITE variable
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk:

$(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))

so it is redundant.
This patch removes it from $(PKG)_SITE variable for BR consistency.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-31 23:17:46 +02:00
Cody P Schafer
40e58dab0c powerpc: add BR2_POWERPC_CPU_HAS_ALTIVEC to replace adhoc deps/checks
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-26 21:14:08 +02:00
Yann E. MORIN
ab1a236a07 package/libevas: switch dependency from mesa3d to _HAS_LIBGL
We now have a virtual package that represents availability of
full OpenGL.

This should be the end of this dependency hell epic, now. :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-17 23:00:19 +02:00
Yann E. MORIN
1e91fbb06a package/libevas: quick fix to get rid of circular deps
This is a quick workaround against the recently-introduced circular
dependencies hell:

    package/xbmc/Config.in:10:error: recursive dependency detected!
    package/xbmc/Config.in:10:      symbol BR2_PACKAGE_XBMC depends on BR2_PACKAGE_HAS_OPENGL_EGL
    package/opengl/libegl/Config.in:1:      symbol BR2_PACKAGE_HAS_OPENGL_EGL is selected by BR2_PACKAGE_MESA3D_OPENGL_EGL
    package/mesa3d/Config.in:92:    symbol BR2_PACKAGE_MESA3D_OPENGL_EGL depends on BR2_PACKAGE_MESA3D
    package/mesa3d/Config.in:1:     symbol BR2_PACKAGE_MESA3D is selected by BR2_PACKAGE_LIBEVAS_GL
    package/efl/libevas/Config.in:149:      symbol BR2_PACKAGE_LIBEVAS_GL is part of choice <choice>
    package/efl/libevas/Config.in:144:      choice <choice> contains symbol <choice>
    package/efl/libevas/Config.in:144:      choice <choice> contains symbol BR2_PACKAGE_LIBEVAS_SDL_GL
    package/efl/libevas/Config.in:90:       symbol BR2_PACKAGE_LIBEVAS_SDL_GL depends on BR2_PACKAGE_SDL_X11
    package/sdl/Config.in:24:       symbol BR2_PACKAGE_SDL_X11 depends on BR2_PACKAGE_SDL
    package/sdl/Config.in:1:        symbol BR2_PACKAGE_SDL is selected by BR2_PACKAGE_PYTHON_PYGAME
    package/python-pygame/Config.in:1:      symbol BR2_PACKAGE_PYTHON_PYGAME depends on BR2_PACKAGE_PYTHON
    package/python/Config.in:1:     symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_XBMC

Until this is properly fixed with the addition of a virtual package for
full-openGL providers, just depend on mesa3d instead of selecting it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-03 22:41:27 +02:00
Thomas Petazzoni
eda5dd1cee evas: depend on thread support
Evas has an optional mechanism to do asynchronous preloading of
images. This mechanism is optional, and in commit
b6d92bf415 ("libevas: async image
preload support needs threads support in toolchain"), Peter made sure
to disable the asychronous preloading when no thread support was
available.

Unfortunately, it seems like disabling the asynchronous loading is
rarely used, and it in facts fails to build: a member of structure is
not present when asynchronous preloading is disabled, but the code
continues to use it.

Since the fix is not obvious, and all this mechanism seems to have
changed completely in EFL 1.8.x, and we probably don't care much about
EFL without threads, this commit adds a dependency of libevas on
thread support. Consequently, it also reverts commit
b6d92bf415 which is no longer necessary.

Of course, this commit propagates this additional dependency to the
reverse dependencies of libevas.

Fixes:

  http://autobuild.buildroot.org/results/6de/6de90018a9eeb9c495d15046a8b3270eb95a5550//
  http://autobuild.buildroot.org/results/693/693df99db4ab357b48d427be3a72f6d64dd53065//

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-22 21:22:54 +01:00
Thomas De Schampheleire
bed4e27868 Config.in files: whitespace cleanup
This patch fixes the following whitespace problems in Config.in files:
- trailing whitespace
- spaces instead of tabs for indentation
- help text not indented with tab + 2 spaces

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-11 22:19:30 +01:00
Simon Dawson
fdecbd5f82 libevas: disable on avr32
Neither epoll_create1 nor inotify_init1 is available on avr32. Fixes build
failures such as the following.

  http://autobuild.buildroot.net/results/4d435a5fc608936362d605aca696c01023be9723

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-06 22:52:39 +01:00
Peter Korsgaard
b6d92bf415 libevas: async image preload support needs threads support in toolchain
Fixes http://autobuild.buildroot.net/results/92b/92b3990e3a51c9e400cff31a1f0d23aeb5085a54/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-04 13:31:19 +02:00
Thomas Petazzoni
338721636a efl: bump to version 1.7.7
The package/efl/libevas/libevas-fix-xcb-backend-typo.patch patch is
removed, as it has been merged upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-07 21:44:07 +02:00
Thomas Petazzoni
4753416d1d efl: factorize version number as EFL_VERSION
All the EFL components are released simultaneously, with an identical
version number, just like all Qt5 components for example. So it makes
sense to have a single EFL_VERSION variable in package/efl/efl.mk that
is used by all the packages in package/efl/*/*.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-07 21:43:49 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Thomas Petazzoni
917315ac55 efl/libeet, efl/libevas: use host-libjpeg instead of host-jpeg
Before creating a real virtual package named 'jpeg', we want to ensure
that no package is using the host variant of the virtual
package. Instead, we make them use directly the host-libjpeg package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-09 22:25:57 +01:00
Thomas Petazzoni
73a84a6972 xserver_xorg-server: rename server-style configuration options
The BR2_PACKAGE_XSERVER_xorg and BR2_PACKAGE_XSERVER_tinyx options
used to select the style of X.org server to use are not named
consistently with the rest of the Buildroot options (in capital
letters and prefixed with the package name).

Therefore, we rename those options, and we take care to add the old
option names in the BR2_LEGACY infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-09 00:13:29 +01:00
Thomas Petazzoni
51e810844e efl/libevas: fix build of XCB backend
Fixes:

  http://autobuild.buildroot.net/results/b2107dce84bbc24d9afae3c7b53d972043f6d073/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-06 18:49:38 +01:00
Thomas Petazzoni
fee5783d17 efl/libevas: remove examples source code from target filesystem
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-12-30 07:21:58 +01:00
Thomas Petazzoni
7778a20102 efl/libevas: adjust dependency on X11 libraries
The libevas configure script actually checks the presence of libX11
and libXext, so use those two libraries as the dependencies for the
X11 backend of libevas.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-12-30 07:21:58 +01:00
Thomas Petazzoni
212a5abdbd efl/libevas: remove SVG support
The SVG support requires esvg, which hasn't been released yet. The
recommandation of the EFL developers is to use the SVG loader from the
evas-generic-loaders project.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-12-30 07:21:58 +01:00
Thomas Petazzoni
58f10d0d1c efl/libevas: bump to version 1.7.4
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-12-30 07:21:57 +01:00
Peter Korsgaard
ce8a7d5055 package: use BR2_ARM_CPU_HAS_NEON
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-13 23:25:53 +01:00
Peter Korsgaard
e10cfb1e76 package: remove explicit --disable-doc* passing
Now that it is handled globally (pkg-infra: pass --disable-doc if
documentation is not enabled).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-12 21:20:22 +01:00
Samuel Martin
440c323c97 efl packages: add license info
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-30 14:28:07 -08:00
Gustavo Zacarias
019a581f89 packages: switch to host-pkgconf
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-29 22:02:55 +01:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Arnout Vandecappelle (Essensium/Mind)
69e64c42b7 all packages: use new host-xxx-package macros
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:18:03 +02:00
Samuel Martin
8d74cc7b88 libevas: refactor *_CONF_OPT assignment with cpu-feature options
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 09:54:55 +02:00
Peter Korsgaard
0829989046 libevas: X OpenGL backends needs modular X.org (for mesa)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-09 11:20:35 +01:00
Peter Korsgaard
6d27a63e45 libevas: SDL OpenGL backend needs modular X.org (for mesa)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08 14:38:19 +01:00
Peter Korsgaard
3a9b75fe04 libevas: fix SDL GL backend build
libeet is needed by all backends building the generic OpenGL support,
and the configure script forgets to check / expand libeet CFLAGS/libs
when the SDL GL backend is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08 14:30:06 +01:00
Peter Korsgaard
38071138ee libevas: SDL GL backend doesn't need glproto
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08 14:29:36 +01:00
Peter Korsgaard
e1231afc01 libevas: software buffer backend doesn't need X11
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08 09:55:31 +01:00
Peter Korsgaard
79f22504d7 libevas: generic opengl option needs mesa
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-07 23:19:21 +01:00
Peter Korsgaard
a5617a52d0 libevas: x11 glx option needs Xrender, Xext and libeet
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-07 23:13:25 +01:00
Peter Korsgaard
a67631eb6e libevas: explicitly set host configure options
So the build doesn't fail if any of the dependencies aren't available.
Also enable the jpeg loader as that is needed by the libelementary build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 17:34:18 +01:00
Peter Korsgaard
2a273b6129 libevas: disable sse3 optimizations for host builds
There's not really any advantage to adding it, and it depends on
immintrin.h which was added in gcc 4.4, so it breaks with older
host compilers.

For details, see:

http://trac.enlightenment.org/e/ticket/942

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 09:18:17 +01:00
Peter Korsgaard
cf96a9bec0 libevas: really fix x86 cpu optimization options handling
Disable all options by default, and only enable the applicable one.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-30 23:22:51 +01:00
Peter Korsgaard
a52db793e9 libevas: forcibly disable cpu optimization options if not applicable
Otherwise the configure script will automatically enable them for
potentially compatible targets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-30 08:52:52 +01:00
Peter Korsgaard
d9382d641a libevas: force smooth scaling option on
libevas fails to build if smooth scaling isn't enabled with unresolved
references to evas_common_map_rgba_internal and
evas_common_scale_rgba_in_to_out_clip_smooth.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-29 21:33:27 +01:00
Peter Korsgaard
bf7d98d841 libevas: Config.in: add upstream URL
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-29 10:49:59 +01:00
Peter Korsgaard
d4e64bd61b libevas: autodetect cpu variant code tuning options
Similar to how we do it for ffmpeg.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-29 00:21:11 +01:00
Will Newton
73b942e57e libevas: Add new package
[Peter: Config.in tweaks]
Signed-off-by: Will Newton <will.newton@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-28 23:48:32 +01:00