Commit graph

109 commits

Author SHA1 Message Date
Peter Hutterer
f3e7eedf1c doc: replace publican with xmlto
Publican isn't packaged for some distros, xmlto is a lot more common. Most of
what publican provides for us is the stylesheet anyway, so we can just use
xmlto and the publican stylesheet to get roughly the same look.

PDF and XML generation has been dropped, this needs a bit more more effort
than a mere switchover to xmlto.

The top-level directory structure imposed by publican is kept for now
(specifically the Wayland/en-US/html tree). This makes it easier to transition over
for packagers. Note that the list of files inside has changed.

CSS files are taken from publican to keep a uniform look compared to previous
documentations. Stylesheets are licensed under CC0 1.0 Universal license, see
publican/LICENSE:

1.  Files in the datadir/Common_Content directory and its subdirectories are
    licensed under the CC0 1.0 Universal license.

    To the extent possible under law, the developers of Publican waive all
    copyright and related or neighboring rights to the files contained
    in the datadir/Common_Content directory and its subdirectories.

Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-22 10:30:41 +03:00
Pekka Paalanen
472f0c48e6 configure.ac: bump version to 1.6.90
Master is open for new features again.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-22 09:51:20 +03:00
Pekka Paalanen
339e83aa57 configure.ac: bump version to 1.6.0
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-19 12:36:04 +03:00
Pekka Paalanen
edf4e7abea configure.ac: bump version to 1.5.93 for rc2
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-12 12:26:50 +03:00
Pekka Paalanen
44bf13ba0f configure.ac: bump version to 1.5.92 for rc1
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-05 14:57:03 +03:00
Pekka Paalanen
6d0f298665 configure.ac: Bump version to 1.5.91 for the alpha release
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-08-22 18:01:35 +03:00
Peter Hutterer
567977815a configure: fix publican version detection
Publican now adds a spurious "v" to the version output.
2014-07-06 12:39:16 +03:00
Kristian Høgsberg
3de6a1de3f configure.ac: Bump configure.ac version to 1.5.90 on master 2014-05-28 10:11:55 -07:00
Kristian Høgsberg
3ac62cd6b6 configure.ac: Bump version to 1.5.0 2014-05-19 16:24:00 -07:00
Kristian Høgsberg
bad885170f configure.ac: Bump version 1.4.93
This is the last RC before 1.5.
2014-05-12 12:54:13 -07:00
Kristian Høgsberg
4a4523fa92 configure.ac: Bump version to 1.4.92 2014-05-01 13:44:09 -07:00
Kristian Høgsberg
5e2cfd2a0a configure.ac: Bump version to 1.4.91 2014-04-07 16:08:42 -07:00
Kristian Høgsberg
7ecb102409 build: Move tests/Makefile.am into toplevel Makefile.am 2014-03-07 12:00:06 -08:00
Kristian Høgsberg
4c163b9b00 build: Move src/Makefile.am into toplevel Makefile.am 2014-03-07 11:50:59 -08:00
Kristian Høgsberg
267b28887d build: Move cursor Makefile.am into toplevel Makefile.am 2014-03-06 23:15:02 -08:00
Kristian Høgsberg
bb5344ee6d build: Move protocol/ Makefile.am into toplevel Makefile.am
A small step towards non-recursive build system for wayland too.
2014-02-18 14:55:09 -08:00
Kristian Høgsberg
6292fe2af6 build: Stop using xmllint to validate protocol files
Same reason as commit cd31275f28b0a04d2ec5426dc81e875197b47e52 from weston:

    The scanner needs to be good enough.  If it crashes or fails to report
    invalid input, that needs to get fixed.
2014-02-18 14:52:02 -08:00
Kristian Høgsberg
4b4cd00621 configure.ac: Bump version to 1.4 2014-01-23 20:50:27 -08:00
Kristian Høgsberg
45087064bc configure.ac: Bump version to 1.3.93
This is the release candidate.
2014-01-19 21:58:27 -08:00
Kristian Høgsberg
01bde6319f configure.ac: Bump version to 1.3.91 for the alpha release 2013-12-16 23:51:12 -08:00
Pekka Paalanen
011b695403 os: use posix_fallocate in creating sharable buffers
If posix_fallocate is available, use it instead of ftruncate. Unlike
ftruncate, when posix_fallocate succeeds, it guarantees that you cannot
run out of disk space, when later writing to the mmap()'ed file.

With posix_fallocate, if os_create_anonymous_file() succeeds, the
program cannot get a SIGBUS later from accessing this file via mmap. If
there is insufficient disk space, the function fails and errno is set to
ENOSPC.

This is useful on systems, that limit the available buffer space by
having XDG_RUNTIME_DIR on a small tmpfs.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2013-12-02 16:18:59 -08:00
Peter Hutterer
05f95c85c8 protocol: validate the protocol against a dtd
The scanner is not very forgiving if the protocol doesn't match it's
expectations and crashes without much of a notice. Thus, validate the protocol
against a DTD.

Move the protocol subdir forward so we validate first before trying anything
else, and install the DTD so we can validate weston's protocols as well.
2013-10-25 10:58:06 -07:00
Kristian Høgsberg
16b2dab4e4 configure.ac: Bump version to 1.3.90 for the master branch 2013-10-23 09:25:08 -07:00
Kristian Høgsberg
2c3dbb8903 configure.ac: Bump version to 1.3 2013-10-09 16:20:54 -07:00
Kristian Høgsberg
260d73b449 configure.ac: Bump version to 1.2.92 2013-10-02 22:14:57 -07:00
Kristian Høgsberg
4125367f20 configure.ac: Bump version to 1.2.91 2013-09-22 14:12:26 -07:00
Kristian Høgsberg
10dcf86f7d configure.ac: Bump version to 1.2.90 for master branch 2013-08-30 15:53:55 -07:00
Kristian Høgsberg
6ef06ad06d Bump version to 1.2.0 2013-07-13 01:30:45 -04:00
Kristian Høgsberg
3f3671e92e Bump version to 1.1.91 2013-07-09 19:27:08 -04:00
Daiki Ueno
40fc79d5b0 build: Add wayland-scanner.pc.
To allow user program to include wayland-scanner.m4 in tarball, move
the path variables from it into wayland-scanner.pc.
2013-07-03 16:38:12 -04:00
Rob Bradford
c56af574ca build: Fix warning message on syscall failures 2013-06-14 14:56:43 -04:00
Rob Bradford
bc3e020475 build: Add declaration checks to check for required syscall flags
The required flags are relatively new and some older enterprise distributions
do not feature them.

https://bugs.freedesktop.org/show_bug.cgi?id=63360
2013-06-04 23:13:34 -04:00
Kristian Høgsberg
83248317e4 configure.ac: Bump to 1.1.90 to open master for 1.2 work 2013-04-29 16:42:40 -04:00
Kristian Høgsberg
e593832066 configure.ac: Bump version to 1.1.0 2013-04-15 20:55:33 -04:00
Kristian Høgsberg
c42b09b4cb configure.ac: Fix publican version check
This sure is ugly - we feed output of publican -v into bc to compare
against minimum required version, 2.8.  That's bad enough, but when
publican suddenly report 3.0.0, bc starts complaining...

Use sed to filter out 3.0 from the 'version=3.0.0' output from publican
instead.  Seem a little more robust, but it's just a matter of time before
something else breaks this flaky setup.

Hey, publican, how about shipping .pc files?
2013-04-03 16:22:44 -04:00
Peter Hutterer
9d296fc73a doc: rename "Wayland" to "publican"
This directory was called Wayland during my early tries with publican where
the source layout was different and it needed to be set to the same name as
the publican output directory. This reason doesn't exist anymore, so re-name
it to publican to make it more obvious what's hiding in here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-04-03 15:44:50 -04:00
Kristian Høgsberg
9a2fab49e5 configure.ac: Use wayland_version macro in bug url 2013-03-17 13:53:29 -04:00
Kristian Høgsberg
df1a934b8b configure.ac: Update bug URL 2013-02-14 17:00:46 -05:00
Kristian Høgsberg
9d2db599e7 configure.ac: Lower git master version to 1.0.90
The idea was to use 1.1.0 for the git master version, so that git master
would always be newer than any release or 1.1.x version.  This means
we have to skip 1.1 as a release, which turns out to be confusing.

We can just use version 1.0.90 instead, which lets us call the next
release 1.1.0.
2013-02-02 10:44:32 -05:00
Jonas Ådahl
e8ce683920 man, configure.ac: Only generate man pages if we can do it offline
Instead of relying on downloading the stylesheet from the Internet for
generating man pages, only generate them if the stylesheet is available
locally.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-12-03 09:49:36 -05:00
Kristian Høgsberg
d943c3de08 configure.ac: Update version to 1.1.0 during development on git master
This lets dependent components, such as mesa or toolkits use git master
instead of any 1.0.x release.
2012-11-30 17:19:47 -05:00
Kristian Høgsberg
5006829041 configure.ac: Bump version to 1.0.1 2012-11-19 17:30:07 -05:00
Kristian Høgsberg
173e160632 Fix distcheck by adding back protocol/Makefile.am
5909dddc78 removed protocol/Makefile.am
which meant protocol/wayland.xml no longer got included in the tarball.
Add back protocol/Makefile.am and configure.ac bits and add protocol to
subdirs in Makefile.am to fix this.
2012-11-19 17:11:58 -05:00
Tiago Vignatti
5909dddc78 doc: Remove unused css and xslt for the protocol
This was added previously (commit 015c42e1) when we didn't have docbook
formatted documentation. Now it became quite useless.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12 16:08:32 -02:00
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