devtools: dots-viewer: sort static files

The fact that static-files followed the (nondeterministic) file system
order is likely what caused the dots-viewer executable not to be binary
reproducible. Enabling this feature that was added upstream should fix
it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9208>
This commit is contained in:
Arnout Engelen 2025-06-12 13:56:48 +02:00 committed by GStreamer Marge Bot
parent 961e7753b9
commit b3099f7877
2 changed files with 4 additions and 4 deletions

View File

@ -1691,9 +1691,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "static-files"
version = "0.2.4"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e8590e848e1c53be9258210bcd4a8f4118e08988f03a4e2d63b62e4ad9f7ced"
checksum = "f9c425c07353535ef55b45420f5a8b0a397cd9bc3d7e5236497ca0d90604aa9b"
dependencies = [
"change-detection",
"mime_guess",

View File

@ -20,7 +20,7 @@ once_cell = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
actix-web-static-files = "4.0"
static-files = "0.2.1"
static-files = { version = "0.2.5", features = ["sort"] }
glob = "0.3"
single-instance = "0.3.3"
opener = "0.7.1"
@ -30,7 +30,7 @@ anyhow = "1.0"
windows = { version = "0.60", features = ["Win32_UI_Shell"] }
[build-dependencies]
static-files = "0.2.1"
static-files = { version = "0.2.5", features = ["sort"] }
[[bin]]
name = "gst-dots-viewer"