summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
AgeCommit message (Collapse)AuthorFiles
2015-11-16cairo: update 1.14.2 -> 1.14.4Andre McCurdy2
Release 1.14.4 (2015-10-28 Bryce Harrington <bryce@osg.samsung.com>) ======================================================================== Just in time for Halloween we see another bug-fix release for Cairo. This brings a few dozen straightforward bug fixes with no API changes. In addition, this includes a typical assortment of fixes to tests, cleanup of warnings and memory leaks, correction of misspellings, updates to documentation, etc. For a complete log of changes since 1.14.2, please see: http://cairographics.org/releases/ChangeLog.cairo-1.14.4 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cairo.inc: drop obsolete CFLAGS += "-ffat-lto-objects" workaroundAndre McCurdy1
LTO support was removed from Cairo in 1.12.18 (and 1.14.0). https://bugs.freedesktop.org/show_bug.cgi?id=77060 http://cgit.freedesktop.org/cairo/commit/?h=1.12&id=213b3b9b8b92944506c712aa4d728903c547f879 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cairo: fix license for cairo-script-interpreterAndre McCurdy1
Without an explicit license, cairo-script-interpreter inherits the default LICENSE and isn't packaged in builds which blacklist GPLv3. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gbm: Fix "configure: error: gbm requires --enable-dri"Jens Rehsack1
When building mesa without X11 enabled, and disabling dri package config, the enforced "--enable-gbm" fails building mesa, because this feature requires "--enable-dri", too - which has been disabled by package config. Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm, which makes explicit --disable-gbm in case of --disable-dri redundant. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16xserver-xorg: drop empty ${PN}-security-policy packageJoshua Lock1
The SecurityPolicy hasn't been included since 2007[1] and the last remnants were removed from the code base in 2010[2]. 1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03ca 2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16xserver-xorg: add Xwayland RRECOMMENDSJoshua Lock1
Xwayland has the same runtime dependencies as the standard xserver so set RRECOMMENDS the same way. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16weston: add a PACKAGECONFIG option for xwayland supportJoshua Lock1
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16weston: add PACKAGECONFIG to build with systemd-login supportJoshua Lock3
Automatically enable this support for distributions which have systemd in DISTRO_FEATURES. We add additional patches to weston, backported from Weston git, to support the newer single libsystemd pkg-config file and to make the enabling of systemd-login support explicit. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16recipes: add distro_features_check for some packagesWenzong Fan11
* 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-10-24cairo: backport fix for compatibility with OpenGL ES 2.0Andre McCurdy2
To maintain compatibility with OpenGL ES 2.0, the matrix in _cairo_gl_shader_bind_matrix() should be manually transposed, and GL_FALSE passed as the transpose argument to the glUniformMatrix3fv() call as it is the only valid value for that parameter in OpenGL ES 2.0. http://lists.cairographics.org/archives/cairo/2015-May/026253.html http://cgit.freedesktop.org/cairo/commit/?id=f52f0e2feb1ad0a4de23c475a8c020d41a1764a8 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-24mesa-demos: fix deadlock in sharedtex_mtAwais Belal2
This patch fixes a deadlock that occurs between the main thread and rendering threads of the sharedtex_mt demo. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-01meta: fix build with gettext 0.16.1Robert Yang1
The gettext 0.16.1 doesn't install any m4 files to sysroot, please see the following commit: commit 9e10db5bdfe77c0ef2aff2f1cf89958b62c294a1 Author: Christopher Larson <kergoth@gmail.com> Date: Mon Mar 17 18:10:54 2014 +0000 gettext-0.16.1: kill target m4 macros from sysroot This is aim for using gettext-native's macros(gettext-native-0.19.4), but when we set: PREFERRED_VERSION_gettext = "0.16.1" And build the recipes like pcmanfm, we would get errors when do_configure: configure:5164: error: possibly undefined macro: AM_NLS This is because autotools_copy_aclocals doesn't copy the native macros for target unless they're direct dependencies. Add gettext-native to DEPENDS will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-29classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+Richard Purdie1
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you see failures due to dependency problems. The work in resolving this was partially completed a while back. This adds in the markup mainly for gtk/gtk3+ recipes and means "bitbake world" will work successfully. Rather than code the gtk/gtk+ specific distro features into each recipe, a shared variable is used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28waffle: Fix build with muslKhem Raj2
Backport needed patches for compilation fixes on musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-21pixman: Fix missing FE_DIVBYZERO on nios2Marek Vasut2
The FE_DIVBYZERO is missing on nios2 , add a small patch to pixman which checks for the presence of FE_DIVBYZERO and disables the test which depends on it. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-21libsdl: depends on libglu when both x11 and openglRobert Yang1
The libglu requires both opengl (depends on virtual/libgl) and x11 (needs libGL.so which is provided by mesa when x11 in DISTRO_FEATURES), so let libsdl depends on libglu when both x11 and opengl in DISTRO_FEATURES. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-14xorg-driver: Fix logical && with bitwise and operationKhem Raj2
This must have been a typo which is a bug infact we should have used bitwise & in first place. (From OE-Core rev: 697c6cba6a3d8d2b942c4758a115a063f65febe9) 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>
2015-09-14midori: remove the recipe and replace references to midori with epiphanyAlexander Kanavin1
(From OE-Core rev: b7e14c77ffb3d994d59ddc076d7e0263f39546c1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-12meta: Fix Upstream-Status statementsRoss Burton3
Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-12directfb: Avoid using VLAs and printf formatsKhem Raj2
These are not portable features and are flagged by clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-06libinput: avoid --enable-event-gui=autoJoe Slater1
Specify a value via PACKAGECONFIG[gui]. The default is --diable-event-gui. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-31upstream_tracking.inc: deprecate and move contents to recipesAlexander Kanavin1
No-update reasons and manual version checks should be in the recipes themselves because otherwise they're prone to getting out of date. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30xf86-video-intel: fix missing fstat() prototypeRoss Burton2
What I'm guessing is an updated systemd exposes less system headers, so xf86-video-intel was using fstat() without the required includes. Backport a patch from upstream to fix this problem. (From OE-Core rev: 3f38c912384d7398516f689bc5934d36cbfdd4d0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30harfbuzz: upgrade to 1.0.2Cristian Iorga1
Bugfix release. (From OE-Core rev: 71dbd7cc2333fdf830f0f483774faeadbb0e2236) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24xf86-video-intel: enable xvmc feature by default and fix dependencyReinette Chatre1
XvMC extends the X Video extension (Xv) and enables hardware rendered motion compensation support. In a test build enabling this feature increased the size of the xf86-video-intel package from 1386841 to 1847154 bytes. When we enable the xvmc feature in xf86-video-intel we see the following QA issue reported: QA Issue: xf86-video-intel rdepends on xcb-util, but it isn't a build dependency? We fix this by ensuring the build dependencies are set correctly when the xvmc feature is enabled. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-24harfbuzz: enable icu featureAlexander Kanavin1
This is required to build latest webkitgtk Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-24classes/gnomebase: change tarball compression to xzAlexander Kanavin1
Upstream, xz has been the only format for some time now, so let's make it the default and adjust recipes that package old stuff. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-24libinput: Upgrade 0.18.0 -> 0.21.0Jussi Kukkonen2
Include a workaround patch suggested by upstream when using kernel 4.1.x. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11clutter-gst: update to 3.0.8Alexander Kanavin1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11xf86-video-omapfb: switch SRC_URI to debian git repoAlexander Kanavin2
The previous upstream is no longer available. Debian git repository is one commit behind the original repository, so that commit is added as a patch. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11libepoxy: Upgrade 1.2 -> 1.3.1Jussi Kukkonen1
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11weston: improve parallel make race fixesRoss Burton1
The original fix is upstream already so mark as a backport, and update the patch with another race fix. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11mesa-demos: Fix dependency for 'vg' supportOtavio Salvador1
The 'vg' support should depends on virtual/libopenvg. There is no provider for libvg in OE-Core so this option seems untested being safe to change. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-09mesa: upgrade 10.5.8 -> 10.6.3Nicolas Dechesne3
* Removed openvg references in PACKAGECONFIG, FILES and PACKAGES since OpenVG support was removed in mesa 10.6 * Tested with X11 : * xf86-video-freedreno on IFC6410 and DragonBoard 410c * softpipe on DragonBoard 410c * using meta-qualcomm BSP Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09xf86-input-vmmouse: Upgrade 13.0.0 -> 13.1.0Jussi Kukkonen2
* Remove backported patch * Remove PR * Use ${nonarch_base_libdir} for udev files. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09fontconfig: Upgrade 2.11.93 -> 2.11.94Jussi Kukkonen1
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09libinput: add configure arg and PACKAGECONFIG for libunwindJackie Huang2
libinput uses pkg-config to check and decide whether to build with libunwind, which causes undeterministic builds or error: | tmp/work/core2-64-wrs-linux/libinput/0.18.0-r0/libinput-0.18.0/test/litest.c:77:23: | fatal error: libunwind.h: No such file or directory So add configure arg and PACKAGECONFIG for libunwind to make deterministic build, but libunwind is disabled by default. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09xf86-video-intel: fix yocto/oe-core wreckage from libdrm upgradePaul Gortmaker2
In commit a117fd5ecdd9973c7e4d772d1785f1f4e9b162c2, from OE-Core rev: 88d60e70da0890184922056cef1f20171f716ace "libdrm: Upgrade to 2.4.62" we managed to break X like this: [3602662.736] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600 [3602662.736] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2 [3602662.736] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [3602662.736] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [3602662.736] (==) intel(0): RGB weight 888 [3602662.736] (==) intel(0): Default visual is TrueColor [3602662.736] (EE) [3602662.736] (EE) Backtrace: [3602662.736] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x56ae09] [3602662.736] (EE) 1: /usr/bin/X (0x400000+0x16ecd9) [0x56ecd9] [3602662.736] (EE) 2: /lib64/libpthread.so.0 (0x3330600000+0x105e0) [0x33306105e0] [3602662.736] (EE) [3602662.736] (EE) Segmentation fault at address 0x0 [3602662.736] (EE) Fatal server error: [3602662.736] (EE) Caught signal 11 (Segmentation fault). Server aborting A mix of a ~1 month old (working) image and the failing image led me to determine /usr/lib64/xorg/modules/drivers/intel_drv.so was bad. However nothing changed the parent package xf86-video-intel in yocto for months. So brute force bisecting yocto leads to the above commit. Inserting libdrm as git and then bisecting the 2.4.59 --> 2.4.62 uprev content leads to libdrm commit 8576527cfacaf42af8316e1030c192193e94225a ("intel: Merge latest i915_drm.h") -- specifically, the part of that commit that adds __u64 flags to drm_i915_gem_mmap lands in our sysroot and is used by the compile of xf86-video-intel. With the specific trigger finally pinpointed, the final leap was to correlate that trigger to the upstream xf86-video-intel commit that accounts for the fallout of this libdrm header change, that we did not yet have here. Fun times. Hopefully this complete description here will ensure nobody else has to retrace these steps again. Cc: Damien Lespiau <damien.lespiau@intel.com> Cc: Neil Roberts <neil@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Steffen Pankratz <steffen.pankratz@elektrobit.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09weston: Fix parallel make raceRichard Purdie2
The current approach used by the Makefile ends up installing weston.desktop twice and can give build failures when using parallel make flags. Change to just have one DATA reference. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-03builder: Fix multilib compile failureRichard Purdie1
The last commit introduced a build failure in the multilib case: | WARNING: /media/data1/build1/poky/build/tmp/work/x86-pokymllib32-linux/lib32-builder/0.1-r6/temp/run.do_install.781:1 exit 1 from | chown lib32-builder.lib32-builder /media/data1/build1/poky/build/tmp/work/x86-pokymllib32-linux/lib32-builder/0.1-r6/image/etc/mini_x/session.d/builder_hob_start.sh so fix the chown to use the correct user. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01builder: fix USERADD_PARAMRobert Yang1
When build lib32-builder, it would create the user lib32-builder which was incorrect. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31eglinfo: change version from 1.0 to 1.0.0 to match the upstream git tagAlexander Kanavin2
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-31libepoxy: Don't try to use python3 during configurationGary Thomas2
The scripts use argparse which is only in Python 3.2 onwards, so to avoid failures on hosts using 3.0 or 3.1 just look for Python 2. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-27harfbuzz: upgrade to 1.0.1Cristian Iorga1
- Update to Unicode 8.0; - Implement Universal Shaping Engine; - Bug fixes. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-22mesa-demos: Fix building demos which require GLU.Drew Moseley1
Set glu_enabled when pkg-config detects GLU. This is needed so that HAVE_GLU is properly set to enable the GLU based demos. 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>
2015-07-22libx11: update Upstream-Status on a merged patchRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-16piglit: Fix floating dependency on freeglutRoy Li1
71158fa1a623125[fix floating dependence on freeglut] is incomplete, so continue by removing glut.h header file when not enable freeglut Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIGMartin Jansa2
* commit a5ebdb6ad8e4f94ac819275d55575230e057e4ae Author: Valentin Popa <valentin.popa@intel.com> Date: Tue Feb 18 13:32:16 2014 +0200 Subject: mesa: upgrade to 9.2.5 introduced this do_install_append, but doesn't explain why it doesn't respect MESA_EGL_NO_X11_HEADERS flag anymore. Not respecting MESA_EGL_NO_X11_HEADERS breaks any build which is using qtdeclarative+egl in distribution which has x11 in mesa PACKAGECONFIG (e.g. my bitbake world builds). The problem is that qtdeclarative is using "None" symbol in QSGTexture::Filtering enum, it's possible to rename it in qtdeclarative, but it's quite invasive and changes qtdeclarative public APIs, see: https://github.com/webOS-ports/meta-webos-ports/commit/31aa85787a7513e279165a25f6f06ea72c576314 so it was rejected by upstream and I don't want to maintain it in meta-qt5 - changing public API in OE build is even worse than if upstream does it. * This change returns MESA_EGL_NO_X11_HEADERS flag so it's relatively easy to resolve this conflict in such setups by preventing Xlib.h inclusion. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16libdrm: Upgrade to 2.4.62Steffen Pankratz2
Signed-off-by: Steffen Pankratz <steffen.pankratz@elektrobit.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16xserver-xorg: remove invalid ac_cv_file__usr_share_sgml_X11_defs_entRobert Yang1
There is no ac_cv_file__usr_share_sgml_X11_defs_ent in configure, can't find it in config.log after remove, either. (From OE-Core rev: 27bd0a27a879cfc31062fbb2b1a04431d5541c55) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>