Skip to content

Ensure files are not placed outside install prefix#277

Merged
lovell merged 3 commits intolovell:mainfrom
kleisauke:glib-avoid-install-in-datadir
Jun 11, 2025
Merged

Ensure files are not placed outside install prefix#277
lovell merged 3 commits intolovell:mainfrom
kleisauke:glib-avoid-install-in-datadir

Conversation

@kleisauke
Copy link
Collaborator

Commit ec75c96 and 5c27d09 ensures that files are not placed outside the install prefix. This allow us to restore the directories removed in commit 2760713, which are possibly(?) required by Fontconfig to locate system fonts.

Note: upstream PR https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4661 would prevent the /target/share/locale build path from being included in the binaries (context: #227 (comment)).

@lovell lovell merged commit 4b29518 into lovell:main Jun 11, 2025
16 checks passed
@lovell
Copy link
Owner

lovell commented Jun 11, 2025

Thank you, I was rather hasty in my removal of the macOS cross-compilation config, and you're totally right about fontconfig needing these.

@kleisauke kleisauke deleted the glib-avoid-install-in-datadir branch June 11, 2025 16:37
megantaite pushed a commit to animoto/sharp-libvips that referenced this pull request Jul 30, 2025
* glib: do not place files outside install prefix

* fontconfig: disable install of gettext files

* macOS: restore directories removed in 2760713
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