Skip to content

fix(dev): install GStreamer headers for native builds - #33

Draft
wmfeht wants to merge 2 commits into
mainfrom
cursor/gstreamer-dev-install-74dc
Draft

wmfeht wants to merge 2 commits into
mainfrom
cursor/gstreamer-dev-install-74dc

Conversation

@wmfeht

@wmfeht wmfeht commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Description

Cloud Agent recurring builds fail during cargo build --all-targets because the environment install script installs GStreamer plugins but not the development headers that gstreamer-sys needs via pkg-config.

This change teaches scripts/start-dev.sh (and the contributor setup docs) to install those headers on Arch, Debian/Ubuntu, and Fedora, matching the packages already used by tests/e2e/Dockerfile and the release workflow.

Visual evidence

N/A — this is a development-dependency installer and docs change with no user-visible UI.

How to test

  1. On a Debian/Ubuntu machine that has GTK development packages but not GStreamer headers, confirm pkg-config --exists gstreamer-1.0 fails.
  2. Run ./scripts/start-dev.sh (or mise run start-dev) and allow it to install native dependencies.
  3. Confirm pkg-config --modversion gstreamer-1.0 and pkg-config --modversion gstreamer-app-1.0 both report 1.20 or newer, and that the watcher can start a native cargo build.

Expected result: Native development setup installs GStreamer 1.20+ core and app/base development libraries, and cargo can compile the gstreamer / gstreamer-app crates.

Related issue

N/A — this unblocks native start-dev after the media-preview GStreamer dependency landed in lgse#839. The personal Cloud Agent environment install is updated separately (dashboard Save): add libgstreamer1.0-dev and libgstreamer-plugins-base1.0-dev, restore GCC as cc/c++ so unrar_sys does not compile with Clang's -stdlib=libc++, and drop the install-time E2E image build (wrong Docker context).

Open in Web Open in Cursor 

github-actions Bot and others added 2 commits September 18, 2026 20:58
Native cargo builds require gstreamer-1.0 and gstreamer-app-1.0 pkg-config
modules after the media-preview crate deps landed. Teach start-dev.sh and
the contributor setup docs to install those development libraries.

Co-authored-by: wmfeht <wmfeht@proton.me>
@github-actions
github-actions Bot force-pushed the main branch 2 times, most recently from 51fba50 to b415eb6 Compare September 20, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants