util-linux/term-utils
Zbigniew Jędrzejewski-Szmek d4c880d5a4 meson: add second build system
To build: meson build && ninja -C build
To run tests: ninja -C build check
To install for packaging: DESTDIR=/var/tmp/inst ninja -C build install
To install for realz: sudo ninja -C build install

v2:
- Optional items are now based on the 'feature' feature in meson.
  Built libraries which are disabled turn into disabler() objects
  and also poison any executables which link to them.

What is there:
- building of the binaries and libs and the python module
- installation of binaries, libs, python module, localization files,
  man pages, pkgconfig files
- running of tests
- most options to configure build equivalently to the
  ./configure settings

Partially implemented:
- disabling of stuff when things missing. In the C code, the defines
  are all used, so that should be fine. In the build system, some
  files should be skipped, but that is probably not always done properly.
  Getting this right might require some testing of various build option
  combinations to get the details right.

Not implemented:
- static builds of fdisk and other binaries
- things marked with XXX or FIXME
- ???

Differences:
- .la files are not created. They are useless and everybody hates them.
- Requires.private in pkgconfig files are not present in the
  autogenerated .pc file. Not sure if they should be there or not. If
  necessary, they can be added by hand.
- man pages and systemd units are installed by the install target. Not
  sure why 'make install' doesn't do that.
- the split between / and /usr is probably wrong. But it's all pointless
  anyway, so maybe we could simplify things but not implementing it at
  all under meson?
2021-03-17 15:07:27 +01:00
..
Makemodule.am build-sys: do not build plymouth-ctrl.c w/ disabled plymouth 2020-11-17 11:27:48 +01:00
agetty.8 agetty: fix typo in manual page 2020-10-03 11:57:56 +00:00
agetty.c agetty: Allow --init-string on a virtual console 2021-02-02 00:29:25 +05:00
mesg.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
mesg.c mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
meson.build meson: add second build system 2021-03-17 15:07:27 +01:00
script-playutils.c Fix minor typos 2020-07-09 20:14:32 +03:00
script-playutils.h scriptlive: free resource at the and 2019-10-08 13:11:54 +02:00
script.1 script: cleanup --echo 2020-08-27 12:56:46 +02:00
script.c script: fix compiler warnings [-Wmaybe-uninitialized] 2020-12-14 16:01:55 +01:00
scriptlive.1 Manual pages: scriptlive.1: Miscellaneous wording, grammar, and formatting fixes 2020-07-20 09:58:13 +02:00
scriptlive.c scriptlive: fix compiler warnings [-Wmaybe-uninitialized] 2020-12-14 16:03:03 +01:00
scriptreplay.1 Manual pages: scriptreplay.1: Miscellaneous wording, grammar, and formatting fixes 2020-07-20 09:58:13 +02:00
scriptreplay.c Change tcgetattr error handling. 2020-08-08 05:28:42 -05:00
setterm.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
setterm.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
ttymsg.c he -> they 2020-08-28 19:11:02 +02:00
ttymsg.h term-utils: add header file guards [lgtm scan] 2019-09-20 16:12:34 +02:00
wall.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
wall.c various: use threadsafe versions of time functions [lgtm scan] 2020-02-15 15:23:44 +00:00
write.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
write.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00