On Mon, Apr 23, 2018 at 02:29:14PM +0100, Emmanuele Bassi wrote: > From: Emmanuele Bassi <[email protected]> > > This is an RFC/work-in-progress patch series for adding a Meson build to > Wayland. > > It's not ready for merge, as it has a couple of issues: > > - the Doxygen-generated man pages are installed under $datadir/man, > instead of $mandir, because of Doxygen peculiarities, like forcing > the creation of a `man3` directory for no reason;
fwiw, this bit works to land all the generated man pages in the builddir without any subdirectories: GENERATE_MAN=YES MAN_OUTPUT=. MAN_SUBDIR=. Not sure how this would affect your meson.build though. Cheers, Peter > additionally, Meson > doesn't really like it when custom targets start having > sub-directories. The current system is the least terrible I could > come up with, but the only way I figure it can be solved appropriately > is to write a Doxygen module for Meson. Sadly, I don't have the time > to work on it. > - no Publican support; I've asked on the #wayland IRC channel, and it > seems it's mostly a relic of the initial documentation effort; it's > a lot easier to just dump the Doxygen-generated HTML, though it's > probably worth spending some time making the CSS nicer, given the > default Doxygen style being less than stellar. > - I haven't thoroughly tested this build. I've diff'd the installed > trees, and checked the exported symbols; I've also rebuilt GTK+ (both > stable and development branches) on top of it, but it *definitely* > needs some more testing. > > I wanted to drop this on the mailing list before I accidentaly leave it > to rot on my repo. > > Emmanuele Bassi (4): > Support running tests from different build directories > Add Meson build to Wayland > meson: Run Doxygen on the Meson build > meson: Generate man pages > > cursor/meson.build | 30 ++++++ > doc/doxygen/.gitignore | 1 + > doc/doxygen/gen-doxygen.py | 90 ++++++++++++++++ > doc/doxygen/meson.build | 112 ++++++++++++++++++++ > doc/doxygen/xml/meson.build | 18 ++++ > doc/man/meson.build | 64 ++++++++++++ > doc/meson.build | 2 + > egl/meson.build | 43 ++++++++ > meson.build | 106 +++++++++++++++++++ > meson_options.txt | 20 ++++ > src/meson.build | 203 ++++++++++++++++++++++++++++++++++++ > tests/meson.build | 134 ++++++++++++++++++++++++ > tests/test-helpers.c | 13 ++- > 13 files changed, 834 insertions(+), 2 deletions(-) > create mode 100644 cursor/meson.build > create mode 100755 doc/doxygen/gen-doxygen.py > create mode 100644 doc/doxygen/meson.build > create mode 100644 doc/doxygen/xml/meson.build > create mode 100644 doc/man/meson.build > create mode 100644 doc/meson.build > create mode 100644 egl/meson.build > create mode 100644 meson.build > create mode 100644 meson_options.txt > create mode 100644 src/meson.build > create mode 100644 tests/meson.build > > -- > 2.17.0 > > _______________________________________________ > wayland-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/wayland-devel > _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
