Skip to content

mpg123: add Linux modular library downloads - #634

Closed
danoli3 wants to merge 2 commits into
openframeworks:bleedingfrom
danoli3:linux-modular-mpg123
Closed

danoli3 wants to merge 2 commits into
openframeworks:bleedingfrom
danoli3:linux-modular-mpg123

Conversation

@danoli3

@danoli3 danoli3 commented Oct 13, 2026

Copy link
Copy Markdown
Member

Add the missing Linux core libmpg123 dependency as its own mpg123 formula and modular download, pinned to upstream 1.33.7. Preserve the native pkg-config interface and installed header/shared-library layout. Existing core bundle selection is unchanged.

A dedicated workflow builds only this library on native x86_64 and ARM64 Ubuntu/GCC14 runners. Exact compiled-output caches include the source/formula, build infrastructure, architecture, toolchain and installed package context. PRs compile/link/run an API smoke test and upload a review archive. Upstream branch pushes publish oF_mpg123_linux_<arch>_gcc14.tar.bz2 directly to the existing latest-modular release, avoiding repeated release-metadata updates.

Runtime data and configuration are staged where applicable; shared-library symlinks and upstream license notices are preserved. External dependencies stay visible in native .pc metadata and are supplied by the host distribution or compatible modular packages. These downloads do not replace kernel interfaces, GPU drivers or desktop/audio services. Initial coverage is x86_64/ARM64; Raspberry Pi ARMv6/ARMv7 needs a later matrix extension.

Validation: exact upstream archive downloaded and SHA-256 verified; build-option names/types inspected; shell syntax, actionlint, checksum audit and diff checks passed. The actual copy function was exercised with an installed-tree fixture, confirming headers, pkg-config files, runtime data and library symlinks survive staging. Native Linux build/link validation is queued in this PR's dedicated jobs and is not established by local shell checks.

Source: https://www.mpg123.de/download/mpg123-1.33.7.tar.bz2
Core dependency evidence: https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk

@danoli3
danoli3 force-pushed the linux-modular-mpg123 branch 5 times, most recently from a109e64 to 4e554b1 Compare October 17, 2026 02:57
Build verified source into relocatable installed headers, shared libraries and pkg-config metadata. Validate native x86_64/ARM64 jobs with exact compiled caches and publish separate latest-modular assets.
Record the verified archive source URL and SHA in binary metadata. Use the established workflow concurrency policy and recognize per-library Linux modular workflows in the scheduling checks.
@danoli3
danoli3 force-pushed the linux-modular-mpg123 branch from 4e554b1 to d74d641 Compare October 18, 2026 00:44
@danoli3

danoli3 commented Oct 18, 2026

Copy link
Copy Markdown
Member Author

Closing: mpg123 stays a distro dependency on Linux (pkg-config in config.linux.common.mk, installed by install_dependencies.sh). A bundled shared copy has to match host config, daemons or drivers, needs an rpath to load, and doesn't remove the apt requirement. Linux modular packages are kept to static libraries OF compiles in (dawn, angle, rgfw, ...).

@danoli3 danoli3 closed this Oct 18, 2026
@danoli3
danoli3 deleted the linux-modular-mpg123 branch October 18, 2026 03:22
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