util-linux/text-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 more: use libmagic to identify binary files 2020-05-12 10:22:09 +02:00
col.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
col.c text-utils: correctly detect ASan under clang 2021-02-01 11:59:47 +01:00
colcrt.1 Manual pages: rename EXAMPLE section to EXAMPLES 2020-05-28 14:51:54 +02:00
colcrt.c colcrt: make seek to \n more robust 2019-09-02 11:53:10 +02:00
colrm.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
colrm.c colrm: fix argument parsing 2020-11-14 16:06:56 +00:00
column.1 column: Deprecate --table-empty-lines in favor of --keep-empty-lines 2020-09-29 12:38:18 +02:00
column.c misc: fix typos [codespell] 2020-11-04 11:42:25 +00:00
hexdump-conv.c hexdump: fix typo, dcl instead of dc1 2020-03-09 10:54:28 +01:00
hexdump-display.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
hexdump-parse.c hexdump: fix potential null pointer dereference warnings 2018-12-10 21:48:00 +00:00
hexdump.1 hexdump: automatically use -C when called as hd 2020-07-23 12:23:56 +02:00
hexdump.c hexdump: automatically use -C when called as hd 2020-07-23 12:23:56 +02:00
hexdump.h hexdump: add header file guards [lgtm scan] 2019-09-20 16:13:52 +02:00
line.1 docs: (man) remove double quotes (") in .SH lines 2020-05-19 12:15:34 +02:00
line.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
meson.build meson: add second build system 2021-03-17 15:07:27 +01:00
more.1 man: add missing backslash to caret printing macro 2020-12-28 09:53:13 +00:00
more.c more: improve error messaging when input file is directory 2020-11-14 16:07:05 +00:00
pg.1 man: add missing backslash to caret printing macro 2020-12-28 09:53:13 +00:00
pg.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
rev.1 rev: (man) add note about limitations 2020-03-09 11:03:30 +01:00
rev.c rev: report line on error 2020-03-04 13:20:56 +01:00
ul.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
ul.c ul: make set_column() zero check more obvious 2020-11-14 16:07:05 +00:00