summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/cogl/cogl-1.0.inc
AgeCommit message (Collapse)Author
2019-04-11cogl: fix compile error caused by -Werror=maybe-uninitializedChangqing Li
When enable DEBUG_BUILD, cogl compile failed with error: | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; | ~~~~~~~~~~~~^~~~~~~~ | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_glintformat = glintformat; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c it can handle correctly, so fix with -Wnoerror Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17cogl-1.0: set COMPATIBLE_HOST_armv4 to nullRobert Yang
It doesn't build with armv4: cogl-texture-deprecated.c -fPIC -DPIC -o deprecated/.libs/cogl-texture-deprecated.o {standard input}: Assembler messages: {standard input}:831: Error: selected processor does not support `clz r3,r0' in ARM mode make[4]: *** [deprecated/cogl-fixed.lo] Error 1 [snip] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-05cogl: fix G-I .typelib installationRoss Burton
By default gobject-introspection puts .typelib files into $PN, but the cogl-1.0 recipe doesn't use PN. Installing cogl-1.0 is impossible as libcogl conflicts/replaces with cogl-1.0 due to a previous upgrade. Fix this by putting the .typelib files into the right subpackages, and explicitly setting FILES_${PN} to "" so that nothing accidently ends up in PN. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12clutter: enable gobject introspectionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08package_regex.inc: split entries with odd-even versioning into their own recipesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16recipes: add distro_features_check for some packagesWenzong Fan
* The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-13cogl: remove extra dev from PACKAGESRobert Yang
There should be only one dev and dbg package. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-07cogl: fix .pc file packagingRoss Burton
Some .pc files were not being correctly moved into the right sub-package, so fix this. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-07cogl: enable egl-x11 when build with x11Robert Yang
Fixed clutter-1.0 compile error when build with x11: clutter-backend-eglnative.h:31:27: fatal error: cogl/cogl-egl.h: No such file or directory #include <cogl/cogl-egl.h> compilation terminated. We need enable egl-x11 when x11 as we enable egl-wayland when wayland. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-07-25cogl-1.0: Add libcogl-path packageOtavio Salvador
The new library needs to be put in a specific package, or rootfs generation fails as: ,----[ Error in rootfs generation ] | Updating cache... ########################### [100%] | Computing transaction...error: Can't install | libclutter-1.0-0-1.18.2-r0@cortexa9hf_vfp_neon_mx6: unable to | install provider for libcogl-path.so.20: | error: libcogl-path20-1.18.2-r0@cortexa9hf_vfp_neon_mx6 is | conflicted by libcogl20-1.18.2-r0@cortexa9hf_vfp_neon_mx6 `---- Upstream split this library out from libcogl20.so, sothe libcogl package no longer gets renamed to libcogl20 as it contains multiple libraries. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-06cogl: update to 1.18.0Tim Orling
Announcement: http://lists.freedesktop.org/archives/cogl/2014-March/001636.html * License changed from LGPL to MIT * kms-include-stddef.h-before-drm.h.patch fixed upstream Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-05cogl-1.0: explicitly disable cairoAndreas Oberritter
- Cairo was auto-detected, but not listed as a dependency. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08cogl: upgrade to 1.16.0Ross Burton
Drop two patches that were backported from upstream. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30cogl-1.0: depend on virtual/mesaAndreas Oberritter
- Wayland support depends on wayland-egl, which is provided by mesa. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-14cogl: GL/GLX feature cleanupRoss Burton
Separate GL and GLX flags don't make sense, as on Linux GL means GLX and GLX means GL. So, default to GLESv2 and GLX if X11 is enabled. EGL on X11 doesn't have feature parity yet so leave it disabled by default. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-12cogl-1.0: make building cogl-pango optionalAndreas Oberritter
Add a 'cogl-pango' PACKAGECONFIG option and enable it by default. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2013-07-12cogl-1.0: put each library into its own packageAndreas Oberritter
This allows to install cogl-gles2 and cogl-pango only when needed and enables Debian package renaming. This stops cogl-pango from dragging in unwanted runtime dependencies, if cogl-pango isn't used. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2013-06-25cogl: add Wayland supportRoss Burton
Add PACKAGECONFIG stanzas for Wayland client and server, and respect the x11 and wayland DISTRO_FEATURES to enable the relevant backends as appropriate by default. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-14cogl: make cogl be able to build on ARM archRoy.Li
1. Fix asm() register constraints in cogl when building for ARM. 2. Fix cogl to handle Thumb builds. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04cogl: add missing xrandr dependencyRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30cogl: remove documentation hacksRoss Burton
These sed lines disable the documentation and appear to be historical, building works fine without them. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24cogl: further improvementsTomas Frydrych
* Removed unnecessary gtk-doc related depends/configure options (handled in gtk-doc class) * Moved more configure options into PACKAGECONFIG * Fixed typo in RDEPENDS of PACKAGECONFIG[gl] setup * Removed no longer needed DOLT-related configure fragment Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-21cogl: Replace with 1.14.0 versionTomas Frydrych
The package has been renamed to cogl-1.0 instead of cogl-vmajor.vminor, keeping up with the upstream versioning policy (e.g., all 1.x packages install cogl-1.0 pc file and headers and are backward compatible), and to simplify dependency management (worth noting that since the 1.x development files are not parallel installable, it is not possible to use two versions of cogl 1.x at the same time anyway). Package configuration is provided via PACKAGECONFIG options as follows: GL flavour: 'gl' for big GL or 'gles2' for GLES2 (GLES1 is availabe in cogl, but not supporeted here at present.) EGL platform: 'egl-null' -- PVR-style null platform 'egl-kms' -- kms platform provide by Mesa 'egl-x11' -- egl over xlib platform (Additional EGL platforms, e.g., Wayland are supported by cogl, but not supported here at present.) GLX: 'glx' for the GLX extension support (implies 'gl') Default configuration is 'glx'; typical configuration providing 'native' egl on embedded HW would be 'gles2 egl-null'. Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>