summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* compositor-drm: Add support for Tegra Jetson TK1baserock/weston-1.11.0/tegraJames Thomas2016-07-181-0/+18
| | | | Update configure.ac to add check for libdrm_tegra
* configure.ac: bump to version 1.11.0 for the official release1.11.0Bryce Harrington2016-05-311-2/+2
|
* configure.ac: bump to version 1.10.93 for the RC1 release1.10.93Bryce Harrington2016-05-241-1/+1
|
* build: Define wayland prereq versionBryce Harrington2016-05-241-5/+7
| | | | | | | | | | | | | | Establishes a single variable for defining the libwayland version requirements, where we have versioned checks. Enforces the same version dependency between libwayland-client and libwayland-server. Developers typically only test the greater version of the two, so if they're different it masks cases that don't get tested adequately. So this sets wayland-client's required version to 1.10, same as for the server. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Tested-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* rdp: allow to compile against FreeRDP 2.0FORT David2016-05-191-1/+4
| | | | | | | | | FreeRDP 2.0 is about to be released, this allows to compile against this version. The detection is adjusted to prefer FreeRDP 2 against version 1.x. Signed-off-by: David Fort <contact@hardening-consulting.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* configure.ac: bump to version 1.10.92 for the beta release1.10.92Bryce Harrington2016-05-171-1/+1
|
* configure.ac: bump to version 1.10.91 for the alpha release1.10.91Bryce Harrington2016-05-031-1/+1
|
* build: Add (and use) an AC_SEARCH_LIBS wrapperQuentin Glidic2016-04-251-13/+5
| | | | | | | | | | | | | | | AC_SEARCH_LIBS is the recommended macro for these checks, unfortunately, we use AC_CHECK_LIB instead, and even AC_CHECK_FUNC, when only one AC_SEARCH_LIBS would be enough. This wrapper macro is used much like PKG_CHECK_MODULES, as it defines (and AC_SUBST) the PREFIX_LIBS variable itself. It also avoids adding unnecessary stuff to LIBS. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* build: add check for clock_gettime() in librtGustavo Zacarias2016-04-221-0/+5
| | | | | | | | | | | | | | zuctest is another clock_gettime() user that fails to link against librt when necessary. Instead of adding another -lrt LDADD entry i've opted for the saner way and converted the check to a configure test that will set CLOCK_GETTIME_LIBS appropiately and replaced all instances of -lrt with it. Built-tested against old and new glibc. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* systemd: take over sockets created by systemdFriedrich, Eugen (ADITG/SW1)2016-04-061-1/+4
| | | | | | | | | | | | | | | | Systemd provides a feature of socket-based activation, details in [1] This commit adds an implementation to check if sockets were provided by systemd and adds this as an additional socket to wayland display. before adding sockets are checked for the correctness: only AF_UNIX of type SOCK_STREAM are accepted This is usefull for early rendering use-cases where weston and early-rendering-application can be started parallel. [1] https://www.freedesktop.org/software/systemd/man/systemd.socket.html Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure: Make jpeglib an optional dependency.Emmanuel Gil Peyrot2016-03-071-9/+14
| | | | | | | | | It doesn’t make sense to fail the entire build when jpeglib isn’t present, so this commit makes it optional just like libwebp in the previous one, disabled with --without-jpeg and forced with --with-jpeg. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* protocol: migrate to stable presentation-time.xmlPekka Paalanen2016-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | Remove the unstable presentation_timing.xml file, and use presentation-time.xml from wayland-protocols instead to generate all the Presentation extension bindings. The following renames are done according to the XML changes: - generated header includes - enum constants and macros prefixed with WP_ - interface symbol names prefixed with wp_ - protocol API calls prefixed with wp_ Clients use wp_presentation_interface.name rather than hardcoding the global interface name: presentation-shm, weston-info, presentation-test. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> [Pekka: updated wayland-protocols dependency to 1.2]
* configure: Make WebP support togglable, and improve its error message.Emmanuel Gil Peyrot2016-02-191-2/+10
| | | | | | | | | | | | | | | The current way was enabling WebP support whenever libwebp was found, giving no way to the user to disable it if they had the library installed but didn’t want to link against it. This adds a --without-webp configure option to never link against it, and a --with-webp one to fail the build if it isn’t found, the default being to use it if it is present. Additionally, we now tell the user when WebP support has been disabled and they try to load a WebP file. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* build: Require dbus for systemd-loginManuel Bachmann2016-02-161-32/+34
| | | | | | | | | | | | | | | systemd-login support requires dbus (see "dbus.h" header in "launcher-logind.c") but the configure script was only checking libsystemd-login availability to define the HAVE_SYSTEMD_LOGIN macro, which results in undefined symbols in launcher-unit. Put the systemd-login checks after the dbus ones, and only run the checks if it is present. Also mention dbus in the error message if "--enable-systemd-login" was forced. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* configure.ac: bump to version 1.10.90 for open developmentBryce Harrington2016-02-161-1/+1
| | | | Master is open for new feature development again.
* configure.ac: bump to version 1.10.0 for the official release1.10.01.10Bryce Harrington2016-02-161-5/+5
|
* configure.ac: bump to version 1.9.93 for the RC1 release1.9.93Bryce Harrington2016-02-091-1/+1
|
* configure.ac: bump to version 1.9.92 for the beta release1.9.92Bryce Harrington2016-02-021-1/+1
|
* configure.ac: bump to version for the release1.9.91Bryce Harrington2016-01-191-3/+3
|
* clients: add simple-v4l-dmabuf clientEmmanuel Gil Peyrot2016-01-111-0/+14
| | | | | | | | | | | | | | | | | | | This client opens a V4L2 device, usually exposed as /dev/videoN, and retrieves its frames as dmabuf for later import into the compositor. It supports both single- and multi-planar devices, and any format exposed by the V4L2 device the Wayland compositor accepts. This client never changes the v4l2 settings, use `v4l2-ctl -c` if you want to change those. Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> Acked-by: Derek Foreman <derekf@osg.samsung.com> Tested-by: Derek Foreman <derekf@osg.samsung.com> Maniphest Tasks: T90 Differential Revision: https://phabricator.freedesktop.org/D339
* clients: rename simple-dmabuf into simple-dmabuf-intelEmmanuel Gil Peyrot2016-01-111-10/+10
| | | | | | | | | | | | This client was using an Intel-specific way to allocate a dmabuf, so it makes sense to have that in its name. Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Differential Revision: https://phabricator.freedesktop.org/D342
* configure.ac: add explicit enable/disable for lcmsJussi Kukkonen2015-12-041-5/+17
| | | | | | | This is useful for reproducable builds. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* configure: don't control egl versionUcan, Emre (ADITG/SW1)2015-11-271-4/+4
| | | | | | | | | | | | | | The required version only corresponds to version of mesa implementation. This mesa version requirement causes configure errors, when weston is configured for a different egl implementation than mesa. Because the version of the egl drivers are not alligned to the mesa version. Therefore, I deleted the version controlling for egl, so that weston can be configured for a different egl implementation. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure.ac: Bump wayland-protocols dependency to 1.0Jonas Ådahl2015-11-251-1/+1
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* Use fullscreen-shell.xml from wayland-protocolsJonas Ådahl2015-11-191-0/+4
| | | | | | | | | | Use the fullscreen-shell protocol XML from the wayland-protocols installation, and remove the one we provide ourself. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mariusz Ceier <mceier+wayland@gmail.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure: Up the libwayland version requirementBryce Harrington2015-10-151-2/+2
| | | | | | | | | | | | | | weston commit f7bb9352 requires recent libwayland changes for providing ‘WL_POINTER_RELEASE_SINCE_VERSION’. Increase the version requirement to indicate that current weston git requires development version of wayland. NOTE: At release we should probably increase the wayland requirement for weston to 1.10.0. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure.ac: add explicit enable/disable for systemd-login supportFrederico Cadete2015-09-291-12/+24
| | | | | | | | | | | Otherwise, auto-enable depending on whether the system has the necessary libraries. [Updated help text as per pq suggestion -- bwh] Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure.ac: add support for new versions of systemdFrederico Cadete2015-09-281-4/+13
| | | | | | | | | Starting from systemd version 209, a single libsystemd.pc is provided. For previous versions, fall back on libsystemd-login.pc. Signed-off-by: Frederico Cadete <frederico@cadete.eu> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
* compositor: systemd notifications supportEgor Starkov2015-09-251-0/+13
| | | | | | | | | | | | | | | | | Add systemd status and watchdog notification support. Feature is not compiled by default and can be enabled by "--enable-systemd-notify" configuration flag. It compiles into module "systemd-notify.so" and can be loaded by adding it in weston.ini like any other module, i.e. "modules=systemd-notify.so". Watchdog timeout equals to half of timeout defined by "WATCHDOG_USEC" environment variable, which is set by "WatchdogSec=" setting in service file. Signed-off-by: Egor Starkov <egor.starkov@ge.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
* configure.ac: bump to version 1.9.90 for open developmentBryce Harrington2015-09-221-1/+1
| | | | | | Master is open for new feature development again. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* configure.ac: bump to version 1.9.0 for the official release1.9.01.9Bryce Harrington2015-09-211-4/+4
|
* configure.ac: bump to version 1.8.93 for the RC1 release1.8.93Bryce Harrington2015-09-151-1/+1
|
* configure.ac: bump to version 1.8.92 for the beta release1.8.92Bryce Harrington2015-09-011-1/+1
|
* build, compositor-drm: fix output name constants another wayPekka Paalanen2015-08-241-1/+1
| | | | | | | | | | | | | | | | | | Bumping libdrm requirement by 3 years just for output connector name constants was a bit much. Fix the problem introduced in 89c49b3060a115e846ba1e7fbef94d14894244f2 by conditionally using the new additions. Both VIRTUAL and DSI came in the same libdrm commit 566c3ce877a4be72697e15cdfc421ce965f7c37d, so we check only for DSI. This patch also reverts faee330c5e027011941d50533156683be3a67ca3. Reported-by: Eugen Friedrich <friedrix@gmail.com> Cc: Derek Foreman <derekf@osg.samsung.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
* build: Require newer version of libdrmDerek Foreman2015-08-241-1/+1
| | | | | | | | | | | commit 89c49b3060a115e846ba1e7fbef94d14894244f2 changed the way we name outputs, but it also added the new output names VIRTUAL and DSI. These aren't available until libdrm 2.4.59 Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* configure: fix enable_simple_intel_dmabuf_client=autoPekka Paalanen2015-08-171-0/+1
| | | | | | | | | | When the user does not specify --enable nor --disable-simple-intel-dmabuf-client, we want to autodetect based on dependencies. cb512c018e8db66574b4e0d1263c52a05267918c implemented this, but forgot to actually enable it if the autodetect comes positive. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com>
* configure.ac: bump to version 1.8.91 for the alpha release1.8.91Bryce Harrington2015-08-161-1/+1
|
* Fix armhf configure breakage due to missing libdrm_intel packageBryce Harrington2015-08-141-4/+8
| | | | | | | | | | | | | | | | | | The buildbots discovered that recent changes break on Ubuntu 15.04's armhf images: configure:16137: checking for SIMPLE_DMABUF_CLIENT configure:16144: $PKG_CONFIG --exists --print-errors "wayland-client libdrm libdrm_intel" Package libdrm_intel was not found in the pkg-config search path. ... configure:16194: error: Package requirements (wayland-client libdrm libdrm_intel) were not met: No package 'libdrm_intel' found This patch was provided by Daniel Stone. I've not tested it other than verifying it does not cause build problems on x86_64. Acked-by: Bryce Harrington <bryce@osg.samsung.com>
* Fix build breakage when using older gbm lacking dmabuf importBryce Harrington2015-08-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | The buildbots discovered this issue on Ubuntu 14.04, which carries libgbm 10.1.3-0ubuntu0.4. The dmabuf changes need gbm 10.2, so it fails during build like this: src/compositor-drm.c: In function ‘drm_output_prepare_overlay_view’: src/compositor-drm.c:984:10: error: variable ‘gbm_dmabuf’ has initializer but incomplete type struct gbm_import_fd_data gbm_dmabuf = { ^ etc. Proposed fix is to conditionalize the gbm fd import feature in compositor-drm. This fix was suggested by daniels. I set up a synthetic test environment to reproduce the issue as found by the buildbots and tweaked the patch to get it to build both with and without gbm 10.2. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* clients: add simple-dmabuf clientGeorge Kiagiadakis2015-08-141-0/+9
| | | | | | | | | | | | | | | | v2: - adapted to protocol changes - added TODO comments - minor clean-up - change y-invert from per-plane boolean to per-buffer flag v3: - fix a typo: 1 -> i (noticed by Carlos Olmedo Escobar) Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com>
* gl-renderer: add dmabuf importPekka Paalanen2015-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import dmabuf as an EGLImage, and hold on to the EGLImage until we are signalled a content change. On content change, destroy the EGLImage and re-import to trigger GPU cache flushes. We hold on to the EGLImage as long as possible just in case the client does other imports that might later make re-importing fail. As dmabuf protocol uses drm_fourcc codes, we need libdrm for drm_fourcc.h. However, we are not doing any libdrm function calls, so there is no new need to link to libdrm. RFCv1 changes: - fix error if dmabuf exposed unsupported - always use GL_TEXTURE_EXTERNAL_OES with dmabuf v2 changes: - improve support check and error handling - hold on to the imported EGLImage to avoid the dmabuf becoming unimportable in the future - send internal errors with linux_dmabuf_buffer_send_server_error() - import EGL_EXT_image_dma_buf_import extension headers - use heuristics to decide between GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES - add comment about Mesa requirements - change y-invert from per-plane boolean to per-buffer flag Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
* Adding doxygen setup and info for the testing framework.Jon A. Cruz2015-07-171-0/+20
| | | | | Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* Enables output in the JUnit XML format.Jon A. Cruz2015-07-171-0/+25
| | | | | | | | | | | | | Adds basic support for optionally outputting in the XML format commonly used by JUnit compatible tools. This format is supported by default by many tools, including the Jenkins build system. It also is more detailed and captures more information than the more simplistic TAP format. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* Remove weston-screensaverPekka Paalanen2015-06-221-6/+0
| | | | | | | | | | | | | | | | | | | This removes the weston-screensaver client. Screensavers are not so useful, DPMS is much better. This example has existed here for a good while, and things that we could learn from it have been learnt. Nowadays this is just dead weigth, which is usually not even compiled, because it depends on both cairo-gl and GLU. Removing it removes the only possible dependency to GLU and one user of cairo-gl. Now the last user of cairo-gl is gears (clients/nested.c uses cairo-glesv2). Support for screensavers is still left in desktop-shell, so external projects can still have their screensavers if they want. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Acked-by: Giulio Camuffo <giuliocamuffo@gmail.com>
* configure.ac: bump version to 1.8.90Bryce Harrington2015-06-031-1/+1
| | | | | | Master is open for new features again Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* configure.ac: bump to version 1.8.0 for the official release1.8.01.8Bryce Harrington2015-06-021-4/+4
|
* configure.ac: bump to version 1.7.93 for the RC2 release1.7.93Bryce Harrington2015-05-261-3/+3
|
* configure: Warn that cairo-gl and cairo-glesv2 are riskyBryce Harrington2015-05-191-0/+2
| | | | | | | | | | | | Most distros do not ship with gl-enabled cairo, since doing so can result in libgl being linked to each cairo-using client, even if they don't actually use GL, and this can cause much larger per-client memory footprint, and thus can become a resource issue. Furthermore, while in theory this should work fine, we don't actively test this configuration, and there could be random undiscovered bugs if it's used. We keep the option available for people interested in helping us chase down those issues, but warn everyone else away.
* configure.ac: bump to version 1.7.92 for the RC1 release1.7.92Bryce Harrington2015-05-151-3/+3
|
* configure.ac: bump to version 1.7.91 for the alpha release1.7.91Bryce Harrington2015-05-061-3/+3
|