util-linux/misc-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
..
.gitignore getopt: use examples installation directory in man page 2020-02-15 15:24:01 +00:00
Makemodule.am hardlink: use monotonic time like other utils 2021-02-17 11:50:21 +01:00
blkid.8 man: make tilde and caret characters to render correctly 2020-11-14 15:22:34 +00:00
blkid.c blkid: add another UDF identifiers 2020-12-11 10:02:22 +01:00
cal.1 doc: misc-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
cal.c fix compiler warnings 2021-01-21 10:26:25 +01:00
fincore.1 docs: (man) remove double quotes (") in .SH lines 2020-05-19 12:15:34 +02:00
fincore.c cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
findfs.8 doc: misc-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
findfs.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
findmnt-verify.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
findmnt.8 findmnt: (man) add more info about --target 2021-03-12 11:00:56 +01:00
findmnt.c findmnt: add option to list all fs-independent flags 2021-01-15 17:51:07 +01:00
findmnt.h findmnt: add option to list all fs-independent flags 2021-01-15 17:51:07 +01:00
getopt-example.bash docs: rename to getopt-example 2020-11-03 15:23:03 +01:00
getopt-example.tcsh docs: rename to getopt-example 2020-11-03 15:23:03 +01:00
getopt.1.in getopt: explicitly ask for POSIX mode on POSIXLY_CORRECT 2021-01-06 20:57:57 +07:00
getopt.c getopt: explicitly ask for POSIX mode on POSIXLY_CORRECT 2021-01-06 20:57:57 +07:00
hardlink.1 hardlink: fix typo in man page 2021-02-18 10:48:47 +01:00
hardlink.c hardlink: fix indention 2021-02-17 11:50:21 +01:00
kill.1 doc: Fix some warnings from "test-groff" for manuals 2020-06-10 10:22:58 +02:00
kill.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
logger.1 Manual pages: logger.1: minor formatting and typo fixes 2020-07-24 14:41:49 +02:00
logger.c various: fix more lgtm scan warnings 2020-02-20 20:18:46 +00:00
look.1 doc: misc-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
look.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
lsblk-devtree.c lsblk: print all device mountpoints 2021-01-08 13:20:50 +01:00
lsblk-mnt.c lsblk: fix filesystem array allocation 2021-01-19 14:59:01 +01:00
lsblk-properties.c lsblk: read SCSI_IDENT_SERIAL also from udev 2020-12-14 11:38:04 +01:00
lsblk.8 lsblk: update man page 2021-03-01 14:51:28 +01:00
lsblk.c lsblk: use MOUNTTARGETS in default output 2021-01-11 10:46:16 +01:00
lsblk.h lsblk: print all device mountpoints 2021-01-08 13:20:50 +01:00
lslocks.8 docs: (man) remove double quotes (") in .SH lines 2020-05-19 12:15:34 +02:00
lslocks.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
mcookie.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
mcookie.c lib/randutils: rename random_get_bytes() 2020-11-03 12:38:45 +01:00
meson.build meson: add second build system 2021-03-17 15:07:27 +01:00
namei.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
namei.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
rename.1 doc: misc-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
rename.c rename: fix regression for symlink with non-existing target 2020-07-07 16:19:15 -03:00
test_uuidd.c libuuid: (test) cleanup unused memory [coverity scan] 2020-07-14 11:56:15 +02:00
uuidd.8.in Subject: docs: change from nofill to fill mode 2020-07-14 10:37:47 +02:00
uuidd.c *: spelling and grammar fixes 2020-12-17 23:39:05 +02:00
uuidd.rc.in build: use --runstatedir instead of --localstatedir 2017-07-31 15:24:46 +02:00
uuidd.service.in uuidd: Add hardening settings to uuidd.service 2018-11-29 10:37:08 +01:00
uuidd.socket.in build: use --runstatedir instead of --localstatedir 2017-07-31 15:24:46 +02:00
uuidgen.1 misc: fix typos 2020-11-04 11:42:28 +00:00
uuidgen.c uuidgen: give hint in usage() what uuid namepaces can be used 2020-12-28 09:53:12 +00:00
uuidparse.1 manpages: fix "The example command" in AVAILABILITY section 2020-07-24 09:09:43 +02:00
uuidparse.c uuidparse: use uuid type definitions from libuuid header 2020-12-28 09:53:12 +00:00
whereis.1 whereis: do not strip suffixes 2020-11-04 11:43:09 +00:00
whereis.c whereis: filter bin, man and src differently 2020-11-04 11:43:09 +00:00
wipefs.8 man: make tilde and caret characters to render correctly 2020-11-14 15:22:34 +00:00
wipefs.c wipefs: fix compiler warning 2021-01-20 09:20:54 +01:00