Skip to content

build: keep libcups out of the Vala target - #16

Open
perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
perlowja:pr/cups-without-vala-package-20261014
Open

perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
perlowja:pr/cups-without-vala-package-20261014

Conversation

@perlowja

Copy link
Copy Markdown
Contributor

dependency('cups') on the Vala library makes meson pass --pkg cups to valac,
which fails on Debian (no cups.vapi). Only the C file ipp_transport.c uses
libcups, so it is now a static library with the cups dependency, linked whole.
Verified: upstream main fails to build on Debian forky with
"Package `cups' not found"; with this commit the library builds and all 47
tests pass.
AI assistance: disclosed

dependency('cups') on the Vala library makes meson pass --pkg cups to valac,
which fails where valac ships no cups.vapi (Debian). Only the plain C
ipp_transport.c uses libcups, so build it as a static library with the cups
dependency and link it whole into libsingularity.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: moved ipp_transport.c and the cups dependency into a link_whole static library in meson.build.
@perlowja

Copy link
Copy Markdown
Contributor Author

@mirkobrombin for review when you have a moment.

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.

1 participant