[vlc-devel] [PATCHv2 0/8] Rust contribs support

Thomas Guillem thomas at gllm.fr
Wed Aug 26 14:41:57 CEST 2020


Changes since V1:

- fixed cargo-vendor-archive.sh script

- fixed make mostlyclean:

  .cargo-vendor-sum-% are removed. Move src/rustup to src/cargo in order to
  have .sum-% and .% matching the package name. The .cargo-c rules has been
  removed, it is now always installed.  Nothing prevent to add a cargo-c
  package in the future if we have a Rust dependency not needing cargo-c.

- fixed make fetch:

  make fetch will now download and check cargo vendor archives and display and
  big warning if a -vendor archive is not uploaded. This is done by having
  ".sum-%" depending on .cargo-vendor-sum-%.

- reworked main-rust.mak

  Remove the .cargo-vendor-% rule, and unpack directly the vendor archive from
  the package extraction rules via the $(UNPACK_CARGO_VENDOR) variable.

Best regards
Kartik Ohri (4):
  contrib: add rust targets to contrib makefile
  contrib: add cargo
  contrib: add rav1e
  codec: add rav1e encoder module

Thomas Guillem (4):
  contrib: specify the .sum- prefix in the checksum function
  contrib: add rust rules
  contrib: add cargo-vendor-archive.sh script
  WIP: contrib: rav1e: add cargo-vendor checksum

 configure.ac                              |   5 +
 contrib/cargo-vendor-archive.sh           |  50 ++++
 contrib/src/cargo/SHA512SUMS              |   1 +
 contrib/src/cargo/rules.mak               |  26 ++
 contrib/src/main-rust.mak                 |  61 +++++
 contrib/src/main.mak                      |  13 +-
 contrib/src/rav1e/SHA512SUMS              |   1 +
 contrib/src/rav1e/cargo-vendor-SHA512SUMS |   1 +
 contrib/src/rav1e/rules.mak               |  32 +++
 modules/codec/Makefile.am                 |   8 +
 modules/codec/rav1e.c                     | 303 ++++++++++++++++++++++
 11 files changed, 497 insertions(+), 4 deletions(-)
 create mode 100755 contrib/cargo-vendor-archive.sh
 create mode 100644 contrib/src/cargo/SHA512SUMS
 create mode 100644 contrib/src/cargo/rules.mak
 create mode 100644 contrib/src/main-rust.mak
 create mode 100644 contrib/src/rav1e/SHA512SUMS
 create mode 100644 contrib/src/rav1e/cargo-vendor-SHA512SUMS
 create mode 100644 contrib/src/rav1e/rules.mak
 create mode 100644 modules/codec/rav1e.c

-- 
2.28.0



More information about the vlc-devel mailing list