[libcamera-devel] [PATCH v4 0/2] Preserve SHA1 versioning

Naushir Patuck naush at raspberrypi.com
Thu Oct 14 13:59:49 CEST 2021


Hi,

This is version 4 of this series.  In this revision, I have reverted back to
using vcs_tag() to generate the version string.

My reason for the original change from vcs_tag() to configure_file() was so that
I could use the MESON_SOURCE_ROOT env variable in the gen-version.sh.  This does
not seem to get set when called from vcs_tag(), but does with configure_file()!

I have added a commit in (1/2) to this series that passes the source root
explicitly as a parameter to gen-version.sh to work around this problem.

Thanks,
Naush


Naushir Patuck (2):
  utils: gen-version: Pass the meson source root to the gen-version.sh
    script
  build: Preserve upstream git versioning using meson dist

 meson.build               |  6 +++++-
 src/libcamera/meson.build |  2 +-
 utils/gen-version.sh      | 13 +++++++++++--
 utils/run-dist.sh         | 11 +++++++++++
 4 files changed, 28 insertions(+), 4 deletions(-)
 create mode 100644 utils/run-dist.sh

-- 
2.25.1



More information about the libcamera-devel mailing list