Skip to content

Commit 995e1de

Browse files
Ryanmello07claude
andcommitted
flatpak: disable cairomm maintainer mode for the git source
Building cairomm from git rather than a release tarball turns maintainer mode on, which hard-requires mm-common-get, which the GNOME SDK does not ship: ../meson.build:151:18: ERROR: Program 'mm-common-get' not found or not executable Switching it off is safe here rather than merely expedient. mm-common-get fetches the gmmproc scaffolding that generates .h/.cc from .hg/.ccg inputs, and cairomm has none of those -- its 1.18.0 tree contains zero .hg and zero .ccg files, unlike glibmm and gtkmm, which really are generated. The only other thing maintainer mode provides is the documentation toolchain, and -Dbuild-documentation=false already declines it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MAXFxG1EK4jTxQ1iW73BUr
1 parent 241b3c4 commit 995e1de

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

packaging/flatpak/com.bringyour.network.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,19 @@ modules:
166166
- -Dbuild-documentation=false
167167
- -Dbuild-examples=false
168168
- -Dbuild-tests=false
169+
# REQUIRED because the source is git rather than a tarball. cairomm turns
170+
# maintainer mode on when it does not find a released tree, and then hard-
171+
# requires mm-common-get, which the GNOME SDK does not ship:
172+
#
173+
# ../meson.build:151:18: ERROR: Program 'mm-common-get' not found
174+
#
175+
# Safe to switch off here, and not merely expedient: mm-common-get exists
176+
# to fetch the gmmproc scaffolding that generates .h/.cc from .hg/.ccg
177+
# inputs, and cairomm has NONE -- its 1.18.0 tree contains zero .hg and
178+
# zero .ccg files, unlike glibmm and gtkmm which are generated. The only
179+
# other thing maintainer mode buys is the doc toolchain, and
180+
# -Dbuild-documentation=false above already declines that.
181+
- -Dmaintainer-mode=false
169182
sources:
170183
- type: git
171184
url: https://gitlab.freedesktop.org/cairo/cairomm.git

0 commit comments

Comments
 (0)