-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
Update fontconfig and freetype #36371
Conversation
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
@jtojnar Thanks, it seems I need to use search better. |
We could also close the other PRs since they are inactive and outdated. |
At least |
Reopening because I have fontconfig 2.15.6 here. |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Ah, wait, @vcunat has already dropped this hack in his own PR. We can proceed then I think -- I'll merge this in couple of days unless someone objects. |
The reason was general avoidance of unnecessary build-time closure bloat. Very many packages depend on fontconfig (transitively), so every addition might be noticeable on mass rebuilds – e.g. everything having to wait on some more packages before fontconfig build starts, and everything having to rebuild if gperf is updated. |
@vcunat Ah, got it. It seems |
@volth From reading https://www.freetype.org/patents.html and We'd probably want to use those patches in Chromium too, yeah (but that's out of scope of this patchset). |
Success on x86_64-linux (full log) Attempted: fontconfig, freetype, grub2 Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: fontconfig, freetype The following builds were skipped because they don't evaluate on x86_64-darwin: grub2 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: fontconfig, freetype, grub2 Partial log (click to expand)
|
@volth Ah, I see. It's interesting they reverted their behaviour to the old one now. BTW, would you like me to take your (optional) patch for disabling hinting in too? |
On the second thought let's merge this now to get it into staging sooner -- we can add optional patches painlessly after that. |
Bumping versions in this files will not ever lead to any desirable consequences (the makefile references exact tarball names, for example).
Switching to `--with-system-freetype` (maybe also for `fontconfig`) might be or not be a good idea, needs testing.
|
Motivation for this change
Update packages. Okay, truth be told: to get color emojis!
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)I'm not sure why don't we use
gperf
as a build input and instead resort to hacks. @vcunat?