Skip to content

feat(docker): add Slint UI plugin to demo image#241

Merged
streamer45 merged 1 commit intomainfrom
devin/1775238743-slint-demo-dockerfile
Apr 3, 2026
Merged

feat(docker): add Slint UI plugin to demo image#241
streamer45 merged 1 commit intomainfrom
devin/1775238743-slint-demo-dockerfile

Conversation

@staging-devin-ai-integration
Copy link
Copy Markdown
Contributor

@staging-devin-ai-integration staging-devin-ai-integration bot commented Apr 3, 2026

Summary

Adds the Slint UI plugin to Dockerfile.demo so it ships in the demo image alongside all other core plugins. This completes the release checklist for the Slint plugin (merged in #239).

Changes to Dockerfile.demo:

  • Stage 13 (slint-builder): New multi-stage build that compiles libslint.so with libfontconfig1-dev for font discovery in the software renderer.
  • Runtime deps: Adds libfontconfig1 and fonts-dejavu-core so Slint can discover and render fonts at runtime.
  • Plugin copy: Copies libslint.so into /opt/streamkit/plugins/native/.
  • Sample files: Copies samples/slint/ (watermark, scoreboard, lower_third .slint files) into the image so the existing sample pipelines (video_slint_watermark.yml, video_moq_slint_scoreboard.yml) work out of the box.
  • Header comment: Updated to mention Slint alongside Pocket TTS and Supertonic.

Marketplace release: The Slint plugin is already registered in marketplace/official-plugins.json. After merging, trigger the Marketplace Release workflow (workflow_dispatch on main) from the GitHub Actions tab to build the bundle, create the plugin-slint-v0.1.0 GitHub release, and publish the registry update.

Review & Testing Checklist for Human

  • Verify the slint-builder stage compiles successfully in a Docker build (or wait for CI if there's a Docker build job)
  • Confirm libfontconfig1 + fonts-dejavu-core are sufficient runtime deps for Slint text rendering (no missing .so at load time)
  • After merge, trigger Actions → Marketplace Release → Run workflow on main to publish the plugin-slint-v0.1.0 bundle

Notes

  • The Slint plugin has no ML models, so no model download step is needed (unlike other plugin stages).
  • The build stage follows the same pattern as pocket-tts-builder and supertonic-builder (pure Rust, no sherpa-onnx dependency).
  • marketplace/official-plugins.json was verified current — running generate_official_plugins.py produces no diff.

Link to Devin session: https://staging.itsdev.in/sessions/af568ab70825478fa1f96dc27bfe1b74
Requested by: @streamer45


Staging: Open in Devin

Add a new multi-stage build for the Slint UI plugin in Dockerfile.demo:

- Stage 13 (slint-builder): compiles libslint.so with fontconfig support
- Runtime stage: adds libfontconfig1 + fonts-dejavu-core for font discovery
- Copies slint plugin .so and samples/slint/ source files into the image

The sample pipelines (video_slint_watermark.yml, video_moq_slint_scoreboard.yml)
reference .slint files under samples/slint/ which are now bundled.

Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
@staging-devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@staging-devin-ai-integration staging-devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Staging: Open in Devin
Debug

Playground

@streamer45 streamer45 merged commit 28b2bbc into main Apr 3, 2026
17 checks passed
@streamer45 streamer45 deleted the devin/1775238743-slint-demo-dockerfile branch April 3, 2026 19:26
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