diff --git a/.github/workflows/sixtyfps_viewer_binary.yaml b/.github/workflows/sixtyfps_viewer_binary.yaml index d07505cbab..a721894400 100644 --- a/.github/workflows/sixtyfps_viewer_binary.yaml +++ b/.github/workflows/sixtyfps_viewer_binary.yaml @@ -26,7 +26,10 @@ jobs: uses: jurplel/install-qt-action@v2 with: version: 5.15.2 - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/install@v0.1 + with: + crate: cargo-about - name: Build uses: actions-rs/cargo@v1 with: @@ -74,7 +77,10 @@ jobs: with: version: 5.15.2 cached: ${{ steps.cache-qt.outputs.cache-hit }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/install@v0.1 + with: + crate: cargo-about - name: Build uses: actions-rs/cargo@v1 with: @@ -124,7 +130,10 @@ jobs: with: version: 6.2.0 # for Apple Silicon support cached: ${{ steps.cache-qt.outputs.cache-hit }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/install@v0.1 + with: + crate: cargo-about - name: Build x86_64 uses: actions-rs/cargo@v1 with: diff --git a/scripts/prepare_binary_package.sh b/scripts/prepare_binary_package.sh index 51148615e3..e8fd2c1edb 100755 --- a/scripts/prepare_binary_package.sh +++ b/scripts/prepare_binary_package.sh @@ -16,7 +16,7 @@ if [ $# != 3 ]; then echo "by adding the legal copyright and license notices." echo echo "All files will be copied/created under the 3rdparty-licenses folder" - echo "along with an index.md" + echo "along with an index.html" echo echo "(The path to Qt could be for example ~/Qt/ where the qt installer placed" echo " the binaries and sources under)" @@ -30,14 +30,60 @@ qt_version=$3 mkdir -p $target_path cp -a `dirname $0`/../LICENSE.md $target_path -cat >$target_path/index.md < about.hbs < + + + + + +
+
+

This program is distributed under the terms outlined in LICENSE.md

. +

Third Party Licenses

+

This page lists the licenses of the dependencies used by this program.

+
-This program also uses the Qt library, which is licensed under the -LGPL v3: [qt/LICENSE.LGPLv3](qt/LICENSE.LGPLv3). +

Overview of licenses:

+
    + {{#each overview}} +
  • {{name}} ({{count}})
  • + {{/each}} +
-Qt may include additional third-party components: +

All license text:

+ +

Qt License attribution

+

This program also uses the Qt library, which is licensed under the + LGPL v3

. +

Qt may include additional third-party components:

+
" >> about.hbs + + +cat > about.toml << EOT +accepted = [ + "MIT", + "Apache-2.0", + "MPL-2.0", + "Zlib", + "BSD-2-Clause", + "BSD-3-Clause", + "CC0-1.0", + "BSL-1.0", + "ISC", + "GPL-3.0", # That's only for SixtyFPS +] +targets = [ + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", + "x86_64-apple-darwin", +] +ignore-build-dependencies = true +ignore-dev-dependencies = true +EOT + +cargo about about.hbs -o $target_path/index.html