glib2: split package into separate libraries
authorAlexandru Ardelean <redacted>
Tue, 28 Apr 2026 05:01:56 +0000 (08:01 +0300)
committerAlexandru Ardelean <redacted>
Fri, 1 May 2026 04:54:50 +0000 (07:54 +0300)
commit20873ba57e0354051eac2e0fce4d7b4dd141b440
tree16971c3e0f7a45db39e4ea405e40ba84cb7c3bfd
parent12d8cda801cf2d3e1bc91d67501c6a040bbeae6a
glib2: split package into separate libraries

Existing package contains five libraries, some of which are > 1MB. Allow
packages which depend on only some of them to only pull in the ones they
need by splitting this package into finer-grained packages. Transition
can be done piecemeal as depending on glib2 will still pull in all the
libraries.

The original split commit (6bb0d6bd2) had a typo: the glib2 meta-package
used 'DEPENDS:+glib2-gthread +glib2-gio' (missing '='), which caused
the meta-package to have no effective dependencies. This meant packages
declaring '+glib2' did not get the sub-packages installed, causing APK
dependency checks to fail for all glib2 libraries across ~60 packages.

This re-applies the split with 'DEPENDS:=+glib2-gthread +glib2-gio'
(correct assignment syntax), so the meta-package properly pulls in all
sub-packages for consumers that still declare '+glib2'.

Signed-off-by: Alexandru Ardelean <redacted>
Signed-off-by: Alexandru Ardelean <redacted>
libs/glib2/Makefile
git clone https://git.99rst.org/PROJECT