Skip to content

infra: Fetch build dependencies from obs-rust repos, not obsproject - #644

Merged
zackees merged 1 commit into
masterfrom
infra/deps-obs-rust
Oct 13, 2026
Merged

zackees merged 1 commit into
masterfrom
infra/deps-obs-rust

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

Fixes #614

Every build dependency this repo downloads, or pulls as a submodule, now comes from an obs-rust repo instead of obsproject. The release assets are byte-for-byte mirrors, so every pinned sha256 is unchanged. This is an infra/config change with no code under test, so there is no RED/GREEN pair. The verification below is the test.

URL changes

File Before After
CMakePresets.json prebuilt + qt6 baseUrl https://github.com/obsproject/obs-deps/releases/download https://github.com/obs-rust/obs-deps/releases/download
CMakePresets.json cef baseUrl (also read by setup_ubuntu) https://cdn-fastly.obsproject.com/downloads https://github.com/obs-rust/cef/releases/download/7871
build-aux/com.obsproject.Studio.json base/devel/devtools/qt https://github.com/obsproject/obs-deps-buildstream/releases/download/2026-09-24/flatpak-*-x86_64-2026-09-24.tar.xz https://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-*-x86_64-2026-09-24.tar.xz
build-aux/com.obsproject.Studio.json cef https://cdn-fastly.obsproject.com/downloads/cef_binary_7871_linux_x86_64.tar.xz https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_x86_64.tar.xz
.gitmodules libdshowcapture https://github.com/obsproject/libdshowcapture.git https://github.com/obs-rust/libdshowcapture.git
.gitmodules obs-browser https://github.com/obsproject/obs-browser.git https://github.com/obs-rust/obs-browser.git

Releases (each asset was downloaded from obsproject and checked against the pinned hash before upload):

Verification

Each new URL, fetched with curl -L and piped to sha256sum, against the pinned hash: 19/19 PASS

PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/macos-deps-2026-08-26-universal.tar.xz 166560b13be8deb9a1aa7bfd306377a92c3817cecace931fe9732b9a25f0a97a
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-2026-08-26-x64.zip eb5e67ad110543bcb65a4612bcd654b6427972ea70d26412b48d7e21532dfe67
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-2026-08-26-x86.zip dc21eb9fbc5c08ea0451950e35eeeeece7537e13d1ec7115803b1b59ea96f9b2
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-2026-08-26-arm64.zip 0648c0fd0887efcb718e437bf9c446b069a50be58e7fcd585497ad8c11644a79
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/macos-deps-qt6-2026-08-26-universal.tar.xz 1f69dcfcdd71f6e319d89736de0290a366fe5d161eae692c6818d20fdfa95c25
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-qt6-2026-08-26-x64.zip 7dd60d2883207ecccceb2270538140fccd1b5022e06beedfbc3ba46c7d2e76ae
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-qt6-2026-08-26-arm64.zip a4872414b91252b1d51a3a6d98b6bdd7e3468db19a42c42978670f84eddcb888
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-qt6-2026-08-26-x64-PDBs.zip c69ad24a76c7986aabff1f0e3860f4e650843dcbbcb2e6699daf63914fa888cd
PASS https://github.com/obs-rust/obs-deps/releases/download/2026-08-26/windows-deps-qt6-2026-08-26-arm64-PDBs.zip e39c0ecfdb5fb19a53623aa4914c07e02989f0320e828cc7ed7c18be6b734cc9
PASS https://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-base-x86_64-2026-09-24.tar.xz 480a98e55b51566603b6ea0ee28dbeddaefc1e172d18fb72f16ab9d941794c79
PASS https://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-devel-x86_64-2026-09-24.tar.xz c15e10e46054150d927bd81880dfbcc71641658395b84cdaad3f572920481f4a
PASS https://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-devtools-x86_64-2026-09-24.tar.xz f5ba4578cade6bfd3670340e7eeb0f31876b39e29bc978b5ed47da7de03ffc70
PASS https://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-qt-x86_64-2026-09-24.tar.xz 7a4060cab48798e13be0eb9aa967dd3cb6f94209c6594eacccf3223c5c91e3de
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_macos_x86_64.tar.xz 980783bba509e7e79a671c29040bbe29d832a934c1368b500a17a22e076eb0f4
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_macos_arm64.tar.xz 0343233fc462384c2f1f58a4222028bc6171f05948a822241f89df2faa7cee8d
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_x86_64.tar.xz 8ffc64d06ea74da613eeda7f2aa5d4e98661af6fa3ed8c68724c9a6e4e89ea8e
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_aarch64.tar.xz b05cf13b0f482e3b0149ac21268268c536d091b5e6608c742019ebd6c8e8a1e3
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_windows_x64.zip 54cd191a3f56bb1f05be22b95e1fa8041061b38bd5fe94e0776fb34dd599f341
PASS https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_windows_arm64.zip 3f5b604eab71baab20c08f054d68c6212d06237e172fb8d38271c2384c2eb3a6

Linux CMake download path. A Linux configure downloads nothing itself: there is no cmake/linux/buildspec.cmake. On Linux the only fetch driven by the presets is CEF, which setup_ubuntu downloads using the cef baseUrl. To exercise the repo's real _check_dependencies() (file(DOWNLOAD ... EXPECTED_HASH)) with the edited presets, a cmake -P driver called it for ubuntu-x86_64 and ubuntu-aarch64 into empty deps dirs:

-- Setting up Chromium Embedded Framework (x86_64)
-- Downloading https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_x86_64.tar.xz
-- Downloading https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_x86_64.tar.xz - done
-- Setting up Chromium Embedded Framework (x86_64) - done
-- Setting up Chromium Embedded Framework (aarch64)
-- Downloading https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_aarch64.tar.xz
-- Downloading https://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_aarch64.tar.xz - done
-- Setting up Chromium Embedded Framework (aarch64) - done

Submodules

$ git submodule sync && git submodule update --init
Submodule 'plugins/win-dshow/libdshowcapture' (https://github.com/obs-rust/libdshowcapture.git) registered for path 'deps/libdshowcapture/src'
Submodule path 'deps/libdshowcapture/src': checked out '8878638324393815512f802640b0d5ce940161f1'
$ git -C plugins/obs-browser fetch origin 1e313ae2f08596dc77157e4c9a604b7510da0a61   # origin = https://github.com/obs-rust/obs-browser.git
 * branch            1e313ae2f08596dc77157e4c9a604b7510da0a61 -> FETCH_HEAD

./lint and ./unittest pass. ci-full is set so the Windows, macOS and Flatpak builds fetch from the new URLs.

Out of scope (left unchanged)

These are runtime services or third-party sources, not obsproject build fetches:

  • the updater CDN cdn-fastly.obsproject.com/update_studio (frontend/updater/updater.cpp)
  • the obsproject.com/obs2_update/... service URLs (rtmp-services, win-capture)
  • the Sparkle appcast (SPARKLE_APPCAST_URL), the OAuth base URL, website, KB and metainfo links
  • .github/workflows/publish.yaml urlPrefix (upstream release publishing, not a build fetch)
  • the Sparkle release download (sparkle-project) and elgatosf (third-party sources)

Repoint obs-deps prebuilt/qt6, CEF 7871, the Flatpak buildstream and CEF
sources, and the libdshowcapture and obs-browser submodules to obs-rust.
The assets are byte-for-byte mirrors, so all pinned hashes are unchanged.

Fixes #614

Local-Gate: v1 tree=182adc2db315a6c715c87cd27659871788ad1361 secs=399 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791928036,"gate":"rust/all/fmt","host":"linux-x86_64","key":"18a3573b234380d3fb1d8a7fa896b48b7b442833b65eb63677b4d1f933464643","lane":"lint","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":46,"stamp":"9c4d95a95cf9f3c81bc36c32964b7379","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"18a3573b234380d3fb1d8a7fa896b48b7b442833b65eb63677b4d1f933464643","lane":"lint","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":46,"stamp":"a15ea68ac170a752bb34c0f611fcb253","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"5a17225fa308a5fcc25661dd66354807ca60083fe471fd92d0fe59b9ac55d57d","lane":"rust-test","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":122,"stamp":"9f45f4a1173895d171341a6fe5671f27","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"4ccb24e1cdeafc56a9627bdf6d80679e","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"4a30eff0f9d46bf77dad29b03fa0db94","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"6791d42ac68ffe94cbabecdc043f69a5","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"906c82637cfcb9ae5ac34d10912094a2","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"b2995d8abfdfabc85e08655b5cef265b","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"526c432a479d8144f75dcc53d9ce13dd","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
Ci-Attestation: {"at":1791928036,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"30d92c050300601edff743e48c471f6ee280385be8ef3e3c0d61a1092e370c30","lane":"tier2-linux","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":121,"stamp":"13e004fb23454e84593288a3af154156","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 13, 2026
@zackees
zackees merged commit c6ef9ce into master Oct 13, 2026
24 checks passed
@zackees
zackees deleted the infra/deps-obs-rust branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

infra: Fetch build dependencies from obs-rust repos, not obsproject

1 participant