Skip to content

Add cairo as dependency for harfbuzz #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

anutosh491
Copy link
Collaborator

No description provided.

@anutosh491 anutosh491 marked this pull request as draft September 27, 2024 10:44
@anutosh491 anutosh491 force-pushed the add_cairo_to_harfbuzz branch from 5a38591 to ff2a2bd Compare October 3, 2024 07:22
@anutosh491 anutosh491 force-pushed the add_cairo_to_harfbuzz branch from ff2a2bd to cb6f2d1 Compare October 25, 2024 11:07
`cairo` v1.18.0 is the min version available on emscripten-forge
@anutosh491 anutosh491 force-pushed the add_cairo_to_harfbuzz branch from ef484b3 to b38e436 Compare October 25, 2024 11:52
@anutosh491 anutosh491 marked this pull request as ready for review October 25, 2024 11:56
@DerThorsten
Copy link
Contributor

@anutosh491 is this still relevant or can this be closed?

@anutosh491
Copy link
Collaborator Author

anutosh491 commented Apr 14, 2025

Arghh I was trying to help @IsabelParedes out here with the recipe (I completely forgot if I was successful 😅 )

Maybe Isabel can tell us if something is pending here.

# TODO: test hb-view, hb-shape, and hb-subset with cairo or chafa enabled
- test -f $PREFIX/include/harfbuzz/hb-shape.h
- test -f $PREFIX/include/harfbuzz/hb-subset.h
# TODO: test hb-view with chafa enabled
Copy link
Member

@IsabelParedes IsabelParedes Apr 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This TODO should probably be addressed or removed. Other than that, LGTM


requirements:
build:
# NOTE: harfbuzz doesn't need host dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be using the headers from the host platform and not the ones from build, in case these have been patched (for example in glib). These dependencies should also be listed under host to ensure they are available for the correct platform. glib has not be repackaged with the new emscripten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants