Commit Graph

165 Commits

Author SHA1 Message Date
Kristian Høgsberg
1f521a4f77 configure.ac: Bump version to 1.0.0 2012-10-22 14:55:06 -04:00
Tiago Vignatti
56061674cd configure: Depend on a more strict version of publican
Fix https://bugs.freedesktop.org/show_bug.cgi?id=56101

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-10-19 16:51:38 -04:00
Kristian Høgsberg
6ac1cd692f configure.ac: Bump version to 0.99.0 2012-10-15 20:49:41 -04:00
Tiago Vignatti
008760822b configure: Make documentation option work in fact
Also, now doxygen is mandatory for building the documentation (looks
reasonable because both man-pages and publican will need it).

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-10-15 13:10:08 -04:00
Tiago Vignatti
e2db4cf26f doc: Add auto-generated Wayland Library chapter
For now only Wayland Client API is described on that chapter, which is
extracted via doxygen on ./src/wayland-client.h. We apply a stylesheet
(doxygen-to-publican) on doxygen output so it becomes docbook valid.

Now all we need to do is populate that header while developing in order to
grow a decent documentation. So please use it!

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-10-15 13:02:04 -04:00
David Herrmann
49dee9a86c man: add man-page infrastructure
This adds a man-page infrastructure based on Docbook XML files. This
allows us to integrate the man-pages into the publican books later. An
example page for wl_display_connect() (with an alias
wl_display_connect_to_fd()) is also added.

Feel free to add more man-pages. Function calls are put in man3 and
overview pages into man7. All pages (including aliases) have to be added
to the Makefile.

Docbook does generate aliases automatically from the additional names that
were put in the XML file. However, a small SED script is needed to fixup
the include-paths in the generated troff files. If someone knows how to
avoid that (or even install them gzip'ped), please fix it up.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-09-25 11:02:52 -04:00
Kristian Høgsberg
f5ccd7a9e6 Bump version to 0.95.0 2012-07-24 15:45:00 -04:00
Pekka Paalanen
a88a4386cb cursor: use os_create_anonymous_file()
Copy the implementation of os_create_anonymous_file() here from weston,
so we can use it instead of hardcoding a path to /tmp.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-07-10 14:08:59 -04:00
Kristian Høgsberg
7e71c38b98 configure.ac: Bump version to 0.94.90 2012-06-25 18:09:00 -04:00
Ander Conselvan de Oliveira
dd8891be36 wayland-cursor: add an option that changes the cursor theme directory
Some distros (e.g. gentoo) install cursor themes in non-standard
directories. Add option --with-icondir to configure.sh that sets the
directory in which to look for cursors.
2012-06-08 12:50:42 -04:00
Pekka Paalanen
693e5983f4 build: add uninstalled pkg-config files
Required for building apps against wayland libraries that have not been
installed.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-05-29 10:09:59 -04:00
Ander Conselvan de Oliveira
775002c6c0 Introduce libwayland-cursor, a cursor helper library
The purpose of this library is to be the equivalent of libXcursor in
the X world. This library is compatible with X cursor themes and loads
them directly into an shm pool making it easy for the clients to get
buffer for each cursor image.

The code for handling the X cursor theme was taken from libXcursor. The
files cursor/xcursor.[ch] are a stripped down version of that library
containing only the interfaces necessary for implementing the wayland
counterpart.
2012-05-22 15:20:13 -04:00
Pekka Paalanen
ff50f6bfc4 os: wrap accept4(SOCK_CLOEXEC)
Some system C libraries do not have SOCK_CLOEXEC, and completely miss
accept4(), too. Provide a fallback for this case.

This changes the behaviour: no error messages are printed now for
failing to set CLOEXEC but the file descriptor is closed.

The unit test for this wrapper is NOT included.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-04-25 09:37:42 +03:00
Neil Roberts
18a770c80d Add a public header for the version number
This adds a public header so that applications can get the Wayland
version number at compile time. This can be used to make applications
that support compiling against multiple versions of Wayland.

There is a separate installed header called cogl-version.h which gets
included by both wayland-client.h and wayland-server.h

The canonical place for the version number is the configure.ac script
which splits it into three separate m4 defines for the major, minor
and micro version. These are copied into the generated
wayland-version.h header using AC_SUBST. There is also a string form
of the complete version number.

The version number is now also automatically copied into the two .pc
files.

Because the major, minor and micro parts are required it is no longer
possible to leave the version number as 'master' when building from
git. Most projects seem to immediately bump the git repo to a fake
version number (usually odd) after making a release so that there is
always a relative number that can be used for comparison. This patch
sets the git version to 0.99.0 under the assumption that the next
release will be 1.0.0.
2012-04-12 17:54:44 -04:00
Pekka Paalanen
0e81a0b157 configure: add -Wextra -Wno-unused-parameter
This adds more gcc warnings that should be useful, and suppresses the
unused parameter warnings that are not wanted.

Most importantly, this change enables warnings about comparison between
signed and unsigned.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-03-30 09:32:24 -04:00
Üstün Ergenoğlu
ecfb79bd71 configure: Add option to disable building documentation.
Signed-off-by: Üstün Ergenoğlu <ego@ustun.fi>
2012-03-20 16:34:07 -04:00
Kristian Høgsberg
62d2569954 tests: Add Unit tests for wl_map and wl_array data structures
We use a simple test-runner helper that runs each test in a separate
process and reports the pass/fail rate at the end.
2012-03-02 18:05:33 -05:00
Kristian Høgsberg
eccc324ca8 configure.ac: Fix test-for-empty bug
From Gaetan Nadon:

./configure: line 11662: test: !=: unary operator expected
AM_CONDITIONAL([HAVE_XSLTPROC], [test $XSLTPROC != ""])
AM_CONDITIONAL([HAVE_PUBLICAN], [test $PUBLICAN != ""])

It shows up when you do not have publican. The usual "testing for blank" bug.
2012-02-29 12:49:42 -05:00
Peter Hutterer
c3d56a05c6 Hook up autotools for publican
automake doesn't seem to provide a sensible method to install a directory of
stuff in $(docdir). Do it manually then.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-29 12:46:00 +10:00
Peter Hutterer
015c42e1b1 protocol: add xslt stylesheet to prettify the protocol
Includes rudimentary styling only.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-23 16:03:58 -05:00
Kristian Høgsberg
7c6dac8740 Use dist-xz for tarballs 2012-02-09 11:15:33 -05:00
Kristian Høgsberg
c6b37ac055 Set version to 'master' on git master branch 2012-02-09 11:12:18 -05:00
Jørgen Lind
f2665e21ce Make expat a dependency to the scanner 2011-08-12 16:25:18 -04:00
Kristian Høgsberg
4c260db68c Rename source subdir from wayland to src 2011-08-12 16:25:14 -04:00
jani.uusi-rantala@nokia.com
53200f05c7 Add configure option to disable scanner compilation
When cross-compiling Wayland, wayland-scanner should be picked up from
the host system instead of compiling and trying to run e.g. ARM
wayland-scanner on X86.

This patch adds --disable-scanner option for disabling the scanner
from the build and using existing wayland-scanner instead (from PATH)
which should help in most cross-compilation systems.

By default everything works as before.

Signed-off-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
2011-05-06 17:35:23 -04:00
Kristian Høgsberg
fcfb4e30a4 Split into a core repository that only holds the core Wayland libraries 2011-02-14 22:21:13 -05:00
Kristian Høgsberg
31bd6c7ab1 Use pixman regions to reduce repainting
For now, we just use glScissor and clip to the extent of the damage region,
but we can do even better by clipping the repaint to the region rectangles.
2011-02-13 13:26:39 -05:00
Tiago Vignatti
52f2264b69 configure: remove libdrm dependency for clients
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2011-02-10 10:04:06 -05:00
Kristian Høgsberg
5e4d83f499 Merge remote branch 'nobled/for-krh' 2011-01-28 11:21:42 -05:00
Benjamin Franzke
844625834d configure: Drop gdk-pixbuf version dependency
The major version 2.0 is sufficient
2011-01-28 10:09:42 -05:00
nobled
48f975d7c5 fix configure check for gcc
This shouldn't fail just because someone sets CC=gcc-4.5
explicitly. Besides, this way it also works with compilers
that advertise GCC-compatibility like clang and ICC.
2011-01-28 13:47:21 +00:00
Kristian Høgsberg
26ef22e3f4 Test for rsvg-convert in configure.ac
If it's not present, we just don't install the icon.
2011-01-26 15:33:24 -05:00
Kristian Høgsberg
640924f37a Add gio for view fixes 2011-01-25 16:38:41 -05:00
Darxus
238515d3d7 Add specific versions to build dependencies 2011-01-23 18:38:57 -05:00
Kristian Høgsberg
7d498b4f1a Enable all compositors by default 2011-01-23 13:50:42 -05:00
Kristian Høgsberg
a1015b9e8c Link simple-client against libGLESv2.so, not full GL 2011-01-14 20:38:35 -05:00
Kristian Høgsberg
8def264241 Check for cairo-egl instead of just cairo-gl 2011-01-14 17:42:50 -05:00
Kristian Høgsberg
a941022372 Make it possible to enable/disable the various compositors from configure 2011-01-14 17:39:11 -05:00
Kristian Høgsberg
08c40c3550 clients: Make poppler-glib optional
Just don't compile the view client.
2011-01-11 13:48:03 -05:00
Javier Jardón
5b7e43ac56 Update autotools configuration
Use new libtool syntax and cleaning the code a bit
2010-11-06 21:04:03 -04:00
Chia-I Wu
1b6c0ed95a Workaround an xcb-dri2 bug.
xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.  It
only works when the length of the driver name is a multiple of 4.
2010-10-29 12:52:28 -04:00
Kristian Høgsberg
d0c3b9da22 Fall back to cairo image backend and shm surface if we don't have cairo gl 2010-10-25 11:40:03 -04:00
Kristian Høgsberg
f0152daad7 Use automake 2010-10-12 18:00:16 -04:00
Kristian Høgsberg
6dd08ebbe1 Move core protocol libraries into wayland/ subdirectory 2010-09-14 12:41:55 -04:00
Kristian Høgsberg
4363d2aa4d Ask for glesv2, not gl for compositor in configure.ac 2010-08-26 12:13:43 -04:00
Kristian Høgsberg
1db21f1cf5 Use different cursor images in the compositor 2010-08-16 16:08:12 -04:00
Kristian Høgsberg
a661f263b4 Name libraries -client and -server for consistency
Instead of wayland-server and wayland...
2010-08-11 08:56:13 -04:00
Kristian Høgsberg
640609acfc Implement current drm auth scheme in the drm object 2010-08-09 22:11:47 -04:00
Kristian Høgsberg
a1f3f60bea Generate protocol types and metadata from xml 2010-08-03 09:44:48 -04:00
Kristian Høgsberg
94adf6cb9e Use libxkbcommon for mapping keycodes to keysyms 2010-06-25 16:50:05 -04:00
Kristian Høgsberg
ce5325d3ed Add x11 backend for compositor
This still needs all the bells and whistles from the egl-kms mesa branch,
but it makes it a lot easier to work on wayland.
2010-06-14 11:54:02 -04:00
Kristian Høgsberg
478d9265f9 Send device name at connect time 2010-06-08 20:34:11 -04:00
Kristian Høgsberg
945ea0e743 configure.ac: Look for cairo-gl instead of cairo-drm 2010-06-08 16:00:55 -04:00
Kristian Høgsberg
8286302644 Rename wayland-system-compositor back to just compositor 2010-06-04 21:52:02 -04:00
Kristian Høgsberg
b2a432ef18 Move clients to subdirectory 2010-06-04 21:46:55 -04:00
Kristian Høgsberg
3afd45d49c Switch to using mesa EGL 2010-03-03 10:34:35 -05:00
Kristian Høgsberg
450cc8136d Require libdrm 2.4.17 for page flip API 2009-12-21 10:36:21 -05:00
Kristian Høgsberg
8f2f773846 Add a simple PDF viewer 2009-09-21 13:47:35 -04:00
Chris Wilson
0de19eb688 Add an image viewer client 2009-02-21 15:48:35 -05:00
Kristian Høgsberg
f13eb14711 Depend on udev 136 and clean up some code. 2009-01-26 21:38:14 -05:00
Kristian Høgsberg
8012f32978 Drop libdrm CFLAGS where no longer necessary. 2009-01-16 08:13:00 -05:00
Kristian Høgsberg
aa68fe346a Update to track udev API change in eagle. 2009-01-16 06:38:14 -05:00
Kristian Høgsberg
890bc05763 Use libudev for enumerating input devices. 2008-12-30 14:31:33 -05:00
Kristian Høgsberg
4a8767bbb7 Install libraries plus headers and add pkg-config files. 2008-12-10 13:49:28 -05:00
Kristian Høgsberg
d4de54efe7 Use autoconf instead of $(shell ...) in the Makefile. 2008-12-04 23:00:01 -05:00