Commit Graph

165 Commits

Author SHA1 Message Date
Emil Velikov
1fcb4d1387 build: wire-up wayland-egl
Wire-up the imported sources, test and pkg-config files.

v2:
 - Don't mangle with existing EXTRA_DIST list
 - Add the symbols check script to the `make check' target
 - Rename wayland-egl-{priv,backend}.h

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Arnaud Vrac <avrac@freebox.fr>
2018-02-09 17:31:00 +00:00
Bryce Harrington
0b991b62b8 Reopen master for regular development
A 1.14 branch has been established for stable release work.
2017-08-08 12:03:27 -07:00
Bryce Harrington
989cf03d1c configure.ac: bump to version 1.14.0 for the official release 2017-08-08 11:20:35 -07:00
Bryce Harrington
269c1434b4 configure.ac: bump to version 1.13.93 for the RC1 release 2017-08-01 11:12:43 -07:00
Bryce Harrington
897256d419 configure.ac: bump to version 1.13.92 for the beta release 2017-07-25 16:25:01 -07:00
Bryce Harrington
f52c50baad configure.ac: bump to version 1.13.91 for the alpha release 2017-07-11 19:07:55 -07:00
Bryce Harrington
f8c93078f8 configure.ac: bump version to 1.13.90 for open development
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
2017-02-21 14:27:16 -08:00
Bryce Harrington
1361da9cd5 configure.ac: bump to version 1.13.0 for the official release 2017-02-21 13:27:16 -08:00
Bryce Harrington
24df0fb6b3 configure.ac: bump to version 1.12.93 for the RC1 release 2017-02-14 12:56:55 -08:00
Bryce Harrington
6161d7dd0e configure.ac: bump to version 1.12.92 for the beta release 2017-02-07 15:14:56 -08:00
Bryce Harrington
ad4f04872a configure.ac: bump to version 1.12.91 for the alpha release 2017-01-24 18:13:26 -08:00
Bryce Harrington
454df51dce configure.ac: bump version to 1.12.90 for open development
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
2016-09-22 10:31:53 -07:00
Bryce Harrington
a0d76ffda5 configure.ac: bump to version 1.12.0 for the official release 2016-09-20 10:45:10 -07:00
Bryce Harrington
a4aba37ba1 configure.ac: bump to version 1.11.94 for the RC2 release 2016-09-13 12:13:57 -07:00
Bryce Harrington
da58173cfe configure.ac: bump to version 1.11.93 for the RC1 release 2016-09-06 14:22:03 -07:00
Bryce Harrington
2d7b34e2ee configure.ac: bump to version 1.11.92 for the beta release 2016-08-30 11:40:23 -07:00
Bryce Harrington
2a6b08896a configure.ac: bump to version 1.11.91 for the alpha release 2016-08-16 11:25:12 -07:00
Pekka Paalanen
98d94b5c1d configure.ac: bump version to 1.11.90 for open development
As announced in 1.11.0 release notes, master is open again.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-06-01 11:08:02 +03:00
Bryce Harrington
47163797f8 configure.ac: bump to version 1.11.0 for the official release 2016-05-31 17:11:20 -07:00
Bryce Harrington
62d67fe8fa configure.ac: bump to version 1.10.93 for the RC1 release 2016-05-24 12:29:59 -07:00
Bryce Harrington
f19b569ec2 configure.ac: bump to version 1.10.92 for the beta release 2016-05-17 22:07:48 -07:00
Bryce Harrington
08bda63ac4 configure.ac: bump to version 1.10.91 for the alpha release 2016-05-03 17:56:22 -07:00
Pekka Paalanen
4a41d26c4d build: fix ./configure --disable-dtd-validation
When configured with --disable-dtd-validation:

  CPPAS    src/dtddata.o
src/dtddata.S: Assembler messages:
src/dtddata.S:39: Error: file not found: src/wayland.dtd.embed
Makefile:1520: recipe for target 'src/dtddata.o' failed

This is because the variable name used does not match the implicit
variable name in autoconf.

Fix the variable name, making both --disable-dtd-validation and
--enable-dtd-validation to what they should.

Do not try to build dtddata.S if dtd-validation is disabled. It depends
on wayland.dtd.embed which is created by configure only if
dtd-validation is enabled.

If not building dtddata.S, also make sure the extern definitions in
scanner.c are compiled out.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=575212
Reported-by: leio@gentoo.org
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Tested-by: Bryce Harrington <bryce@osg.samsung.com>
2016-02-29 15:32:35 -08:00
Derek Foreman
8216abc587 build: Add an --enable-fatal-warnings configure option
New --enable-fatal-warnings ./configure option that just adds -Werror
to GCC_CFLAGS

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-02-16 22:13:51 -08:00
Bryce Harrington
22acc9cec9 configure.ac: bump to version 1.10.90 for open development
Master is open for new feature development again.
2016-02-16 17:15:26 -08:00
Bryce Harrington
0ff73b7666 configure.ac: bump to version 1.10.0 for the official release 2016-02-16 12:03:40 -08:00
Bryce Harrington
1906a90aab configure.ac: bump to version 1.9.93 for the RC1 release 2016-02-09 13:26:21 -08:00
Bryce Harrington
816a0ae09b configure.ac: bump to version 1.9.92 for the beta release 2016-02-02 15:30:36 -08:00
Bryce Harrington
14b76a0e24 configure.ac: re-bump to version 1.9.91 for the alpha release 2016-01-19 14:54:32 -08:00
Bryce Harrington
7ed00c1de7 configure.ac: bump to version 1.9.91 for the alpha release 2016-01-19 14:30:33 -08:00
Peter Hutterer
f66e2d53dd Validate the protocol xml during scanning
Embed the wayland.dtd protocol data into the scanner binary so we can validate
external protocol files without requiring makefile changes. Hat-tip to Pekka
Paalanen for the embedding trick.
The embedding trick doesn't work well if the to-be-embedded file is in a
different location than the source file, so copy/link it during configure and
then build it in from the local directory.

The current expat parser is not a validating parser, moving scanner.c to
another parser has the risk of breaking compatibility. This patch adds libxml2
as extra (optional) dependency, but that also requires parsing the input
twice.

If the protocol fails validation a warning is printed but no error is returned
otherwise.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-11-17 14:36:21 +02:00
Bryce Harrington
b31225f91b configure.ac: bump to version 1.9.90 for open development
Master is open for new feature development again.

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
2015-09-22 13:39:44 -07:00
Bryce Harrington
b05668f0ad configure.ac: bump to version 1.9.0 for the official release 2015-09-21 16:52:11 -07:00
Bryce Harrington
8fd494995d configure.ac: bump to version 1.8.93 for the RC1 release 2015-09-15 20:16:37 -07:00
Bryce Harrington
b16c0a5dfa configure.ac: bump to version 1.8.92 for the beta release 2015-09-01 16:51:30 -07:00
Bryce Harrington
c0636ddcac configure.ac: bump to version 1.8.91 for the alpha release 2015-08-16 13:54:50 -07:00
Ross Burton
21f80b8982 build: always build wayland-scanner
The previous idiom for building a cross-compiled Wayland is to build once for
the build host (with --enable-scanner --disable-libraries) to get a
wayland-scanner binary that can then be used in a cross-compile (with
--disable-scanner).  The problem with this is that the cross wayland is missing
a wayland-scanner binary, which means you then can't do any Wayland development
on the target.

Instead, always build wayland-scanner for the target and change
--enable/disable-scanner to --with/without-host-scanner.  Normal builds use the
default of --without-host-scanner and run the wayland-scanner it just built, and
cross-compiled builds pass --with-host-scanner to use a previously built host
scanner but still get a wayland-scanner to install.

(a theoretically neater solution would be to build two scanners if required (one
to run and one to install), but automake makes this overly complicated)

[daniels: Bikeshedded naming with Ross's OK.]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2015-07-17 12:19:08 +01:00
Derek Foreman
bc3b66d5c1 build: Don't depend on libffi unless we're building libraries
When building just the scanner or docs it's not required.

This can reduce requirements for a host cross compiling wayland,
since only the scanner needs to be built natively.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-06-18 14:06:32 +03:00
Derek Foreman
5cfdbef3d2 build: Allow disabling building of wayland libraries
When cross-compiling it may be useful to build only the wayland-scanner
natively.  This patch makes it possible to disable build of the libraries.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-06-18 14:06:16 +03:00
Bryce Harrington
baed4b0a2f configure.ac: bump version to 1.8.90
Master is open for new features again

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
2015-06-03 00:12:49 -07:00
Bryce Harrington
60024af597 configure.ac: bump to version 1.8.0 for the official release 2015-06-02 16:06:02 -07:00
Bryce Harrington
6ffd998a98 configure.ac: bump to version 1.7.93 for the RC2 release 2015-05-26 19:10:15 -07:00
Bryce Harrington
12cab2c4df configure.ac: bump to version 1.7.92 for the RC1 release 2015-05-15 17:53:29 -07:00
Bryce Harrington
8877a349e7 configure.ac: bump to version 1.7.91 for the alpha release 2015-05-06 18:59:59 -07:00
Bill Spitzak
313b26f415 config: use simpler regexp syntax to get dot version
I wasted a lot of time before I figured out that I needed to add those
square brackets to get this to work. Sigh...
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2015-04-07 15:48:25 -07:00
Bryce Harrington
f3a5ca999e configure.ac: bump version to 1.7.90
Master is open for new features again

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
2015-02-17 18:34:33 -08:00
Bryce Harrington
8e9d5a1084 configure.ac: bump to version 1.7.0 for release 2015-02-13 19:17:56 -08:00
Bryce Harrington
52d971c924 configure.ac: bump to version 1.6.93 for rc2 release 2015-02-06 17:56:44 -08:00
Bill Spitzak
371a9e0aef configure.ac: Fallback to older detection code if pkg-config can't find expat
This paritally reverts commit a4afd90f9f.

On older expat versions (ie the one on Ubuntu 12.04) there is no pkg-config
file, so fall back to a test for the header and library. In addition the
source for expat does not seem to be in a git repository but in cvs instead
and it seems preferrable to not require cvs to build wayland.

The restored test has been updated to use AC_SEARCH_LIBS. This version
uses empty square brackets for the unused branches, similar to many other
if statements in configure.ac.
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Andrew Oakley <aoakley@espial.com>
2015-02-06 15:52:50 -08:00
Bryce Harrington
48bf640d16 configure.ac: re-bump version to 1.6.92 for rc1 release 2015-01-30 19:08:22 -08:00