Skip to content
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

Add librsvg #445

Merged
merged 1 commit into from
May 22, 2024
Merged

Add librsvg #445

merged 1 commit into from
May 22, 2024

Conversation

wader
Copy link
Owner

@wader wader commented May 18, 2024

Turns out build with librsvg is a bit messy:
librsvg needs cairo, pango and gio (via glib)
cairo alpine package builds with x11 stuff
glib alpine package only has shared libraries and builds with libmount etc
and so on, so i think only sane solution is to build these on our own.

This also currently uses a bit ugly workaround (--allow-multiple-definition)
to be able to link with more than one rust staticlib library. I'm not sure how
bad this is, maybe it can hide other problems? it seems to be activly worked on.

Add some documentation about fonts.

Fixes problem with git checkout commit not updating submodules
Fixes race condition in checkelf

@wader wader force-pushed the librsvg-again branch 5 times, most recently from 316f678 to 6cdcc45 Compare May 22, 2024 08:19
Turns out build with librsvg is a bit messy:
librsvg needs cairo, pango and gio (via glib)
cairo alpine package builds with x11 stuff
glib alpine package only has shared libraries and builds with libmount etc
and so on, so i think only sane solution is to build these on our own.

This also currently use a bit ugly workaround (--allow-multiple-definition)
to be able to link with more than one rust staticlib library. For some
safety add a new checkdupsym script that checks for collisions, hopefully
we can remove this in the future.

Add some documentation about fonts.

Fixes problem with git checkout commit not updating submodules
Fixes race condition in checkelf
@wader wader merged commit c7dbaba into master May 22, 2024
1 check passed
@wader wader deleted the librsvg-again branch May 22, 2024 09:44
@wader
Copy link
Owner Author

wader commented May 22, 2024

Closes #444

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