[Libosinfo] [osinfo-db-tools PATCH 0/8] Add support to meson build system

Fabiano Fidêncio fidencio at redhat.com
Thu Jun 20 15:21:19 UTC 2019


The following patch series:
- Add suppor to meson build system;
- Drop support to autotools build system;

If we decide to go for it, there's still work to be done in
libvirt-jenkins-ci as it has to have meson support added there. More
than that, some old systems either don't have meson packages (as EL7)
or do have a too old version of meson (as debian-9). So, we would have
to stop testing on those systems.

Fabiano Fidêncio (8):
  tools: Don't import config.h
  Add support to meson build system
  spec: Adapt to use meson
  prepare-release: Adapt to use meson
  Drop autotools support
  Support `make syntax-check` without Makefile
  meson: Add ninja syntax-check
  prepare-relase: Add `ninja syntax-check`

 GNUmakefile                      |  28 +---
 Makefile.am                      |  48 ------
 build-aux/dist.sh                |   8 +
 build-aux/mktempd                | 135 ---------------
 build-aux/syntax-check.sh        |   5 +
 cfg.mk                           |   5 +-
 configure.ac                     |  89 ----------
 docs/Makefile.am                 |   2 -
 m4/libosinfo-compile-warnings.m4 | 135 ---------------
 m4/manywarnings.m4               | 245 ----------------------------
 m4/warnings.m4                   |  79 ---------
 maint.mk                         |  32 ++--
 meson.build                      |  43 +++++
 mingw-osinfo-db-tools.spec.in    |  14 +-
 osinfo-db-tools.spec.in          |  17 +-
 po/Makevars                      |  78 ---------
 po/meson.build                   |   2 +
 prepare-release.sh               |  85 +++-------
 tests/Makefile.am                |  30 ----
 tests/meson.build                |  21 +++
 tools/Makefile.am                |  53 ------
 tools/meson.build                | 271 +++++++++++++++++++++++++++++++
 tools/osinfo-db-export.c         |   2 -
 tools/osinfo-db-import.c         |   2 -
 tools/osinfo-db-path.c           |   2 -
 tools/osinfo-db-util.c           |   2 -
 tools/osinfo-db-validate.c       |   2 -
 27 files changed, 412 insertions(+), 1023 deletions(-)
 delete mode 100644 Makefile.am
 create mode 100755 build-aux/dist.sh
 delete mode 100755 build-aux/mktempd
 create mode 100755 build-aux/syntax-check.sh
 delete mode 100644 configure.ac
 delete mode 100644 docs/Makefile.am
 delete mode 100644 m4/libosinfo-compile-warnings.m4
 delete mode 100644 m4/manywarnings.m4
 delete mode 100644 m4/warnings.m4
 create mode 100644 meson.build
 delete mode 100644 po/Makevars
 create mode 100644 po/meson.build
 delete mode 100644 tests/Makefile.am
 create mode 100644 tests/meson.build
 delete mode 100644 tools/Makefile.am
 create mode 100644 tools/meson.build

-- 
2.21.0




More information about the Libosinfo mailing list