Debian Patches

Status for mpc/0.34-1

Patch Description Author Forwarded Bugs Origin Last update
rsync-optional.patch commit b656ca4b6c2a0d5b6cebd7f7daa679352f664e0e

doc: make upload target dependency on rsync optional

Currently, rsync is an unconditional dependency and checked during
`meson configure`. As such, the build will fail if rsync is not
installed which is probably not what was intended here.

From the meson documentation:

Meson will automatically insert the appropriate dependencies on
targets and files listed in this keyword [the command] argument.

This commit fixes the unconditional dependency on rsync with an explicit
find_program invocation with `required: false`. Also wrap the
custom_target in an if statement since it is not allowed to use
non-found external programs in `command`.

diff --git a/doc/meson.build b/doc/meson.build
index f9475da..62529f8 100644
Sören Tempel <soeren+git@soeren-tempel.net> no 2021-11-30

All known versions for source package 'mpc'

Links