summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/glew
Commit message (Collapse)AuthorAgeFilesLines
* distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko2019-11-211-1/+1
| | | | | | | | | | | | | | | | rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Fix build errors at recipes depending on glewAndreas Müller2019-03-242-1/+75
| | | | | | | | | | | | | | | | Glew headers override mesa headers by setting mesa's include guards. This stopped working since mesa renamed them. Fixes errors like this in depending recipes: | <...>/recipe-sysroot/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)' | typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); | ^ (From OE-Core rev: fd6ca8f7453230bac4cd1145406a55549ad43e71) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: update to 2.1.0Alexander Kanavin2017-11-091-2/+2
| | | | | | | (From OE-Core rev: 2c45465c4f6ebfe67bd45071abcefac7265a1caf) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Compile with -D_GNU_SOURCEKhem Raj2017-05-231-0/+1
| | | | | | | | | | | | | | | | | | Required with glibc 2.26 when x11 is not in distro features it errors out due to mising CLOCK_REALTIME error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean '_XOPEN_REALTIME'? if (clock_gettime(CLOCK_REALTIME, &ts) == -1) ^~~~~~~~~~~~~~ _XOPEN_REALTIME (From OE-Core rev: 389b5f96af68439cc8e135a33f1e41116cb1d1aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: build for EGL in non-X11 distrosAndre McCurdy2016-12-221-8/+11
| | | | | | | | | | | | | | | | The glew 2.0.0 release added support for building for EGL: http://glew.sourceforge.net/log.html Add PACKAGECONFIG options for 'opengl' (ie the previous default, with dependencies on opengl and X11) and 'egl-gles2', which depends on EGL and GLESv2 and allow glew to be built for non-X11 distros. (From OE-Core rev: f6344f20e3aed640b3218438e69c0b641e58d630) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: upgrade to 2.0.0Maxin B. John2016-08-041-3/+3
| | | | | | | | | | | | 1.13.0 -> 2.0.0 v2: Fix installed-vs-shipped QA error for multilib build (From OE-Core rev: 71d66d419358f43e6b044ba64c8ff4a6830b00e4) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: upgrade to 1.13.0.Ross Burton2016-02-181-2/+2
| | | | | | | (From OE-Core rev: b15496ac48748f50a258720c2f35e985faee39e9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: rewrite to use upstream build systemRoss Burton2016-02-185-227/+33
| | | | | | | | | | | | | | | | Instead of patching in a whole new build system using autotools, use the makefile-based system in upstream with careful variable assignments so that it cross-compiles correctly. One small patch was required to stop an unavoidable strip. Upstream does have a cmake-based build but it's not used or supported by the maintainer, and is quite buggy (for example: doesn't version the libraries, fails to link to required libraries). (From OE-Core rev: c77d0dfa18b2467f8856571837e7007f8fcd9b20) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: don't put our CFLAGS into the pkgconfig fileRoss Burton2016-02-181-1/+1
| | | | | | | | | The pkgconfig file doesn't need to know what CFLAGS we're using to build with. (From OE-Core rev: 50e14c5db88bd523b8b4112476d88b230811393d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split sourceforge related entries to their own recipesAlexander Kanavin2015-12-081-0/+3
| | | | | | | | (From OE-Core rev: 4c5899fa0b8258f2754e3080dae5535e3b248e91) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add x11 to required DISTRO_FEATURESMartin Jansa2015-03-101-1/+3
| | | | | | | | | | | * it's not complete, but recipes depending on virtual/libx11 are easiest to spot, I've long list of PNBLACKLIST for all recipes which cannot be built in distro without x11 in DISTRO_FEATURES (From OE-Core rev: 78d269fa9a586e24ef058ba5315c696f15935f56) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Upgrade to 1.12Saul Wold2015-02-081-2/+2
| | | | | | | (From OE-Core rev: ec8bcba7906116cb2bab8d5a69101057705b07da) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Additional fix for generation of glew.pc.Drew Moseley2014-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | Without this fix, building mesa-demos with the glew PACKAGECONFIG will result in errors like the below being logged in tmp/work/*/mesa-demos/*/build/config.log: configure:16529: checking for GLEW configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4" Package @requireslib@ was not found in the pkg-config search path. Perhaps you should add the directory containing `@requireslib@.pc' to the PKG_CONFIG_PATH environment variable Package '@requireslib@', required by 'glew', not found configure:16539: $? = 1 (From OE-Core rev: 9245cb4fe211da06283d53086bca3fcd5b2c8aef) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Upgrade to 1.11.0Saul Wold2014-08-234-13/+13
| | | | | | | | | Rebase patch and move patches from too generic files to glew (From OE-Core rev: 8d73b3b028bf81a2b3369960e98c3139e0c11943) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig class inheritsRichard Purdie2014-06-031-1/+1
| | | | | | | | | These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. (From OE-Core rev: 2543b14dd0ca13005be0df027543431fc8e882ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing SUMMARY valuesPaul Eggleton2014-01-021-0/+1
| | | | | | | | | | | | These recipes all had a long DESCRIPTION but no SUMMARY; since the SUMMARY is often displayed alone by package managers and the default value ("${PN} version ${PV}") isn't particularly useful, we should always try to set SUMMARY. (From OE-Core rev: db02edd2e9d7645592933cbb25ea0ca4d6561392) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: upgrade to 1.10.0Saul Wold2013-08-032-14/+14
| | | | | | | | | rebased patches (From OE-Core rev: 7c5c2f554cdfd68133dca73ddfe3f023744e984d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Update GLEW version number in autotools patchDaniel Nilsson2013-07-241-2/+2
| | | | | | | | | | | | | | | | | | Hi, This is a small patch for the glew package in oe-core. Library version number is contained in the autotools patch, this has not been updated to match the current library version. This patch updates the version number in the two places where it set in the autotools patch. (From OE-Core rev: c9ca43ee50b8b50dafc95428ed0165b73596f773) Signed-off-by: Daniel Nilsson <daniel@dnil.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: fix generation of glew.pc needed by mesa-demosSaul Wold2013-04-292-0/+45
| | | | | | | (From OE-Core rev: 0273f31d20f3e3c24e8b309f928595885eb04af2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Build separate GLU libraryDaniel Stone2012-11-021-2/+2
| | | | | | | | | | | Mesa has removed GLU from the core tree upstream, so remove it from the Mesa build and add the separate tarball as a new recipe. (From OE-Core rev: 4395691a44b198ba0b9a969cbade669e8de07a4f) Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: upgrade to 1.9.0Constantin Musca2012-09-121-3/+3
| | | | | | | | (From OE-Core rev: c5d2f7fee83e8c9c278eba264de3bbc0d5d3104a) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: fix build with automake 1.12Nitin A Kamble2012-05-252-1/+27
| | | | | | | (From OE-Core rev: df868f8c3c2b9c4c441747ee0b7429c0689ed246) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: update to 1.7.0Saul Wold2011-09-291-2/+2
| | | | | | | (From OE-Core rev: 8ea44ac0678b2a44e22dec5a4c2eea96df638cdc) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: update to 1.6.0Saul Wold2011-06-012-2/+5
| | | | | | | (From OE-Core rev: 089a577bbe89be35ed5b6c147eed87440a9936da) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: add new recipes glew 1.5.7Yu Ke2010-12-022-0/+165
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. mesa-demos requires glew, so port it from OE, with the following changes: - upgrade it from 1.5.1 to 1.5.7 - add license checksum Signed-off-by: Yu Ke <ke.yu@intel.com>