Skip to content

harfbuzz: 13.2.1 -> 14.5.0 - #524641

Merged
SuperSandro2000 merged 2 commits into
NixOS:stagingfrom
Chaostheorie:cr-harfbuzz-14.2.0
Oct 3, 2026
Merged

SuperSandro2000 merged 2 commits into
NixOS:stagingfrom
Chaostheorie:cr-harfbuzz-14.2.0

Conversation

@Chaostheorie

@Chaostheorie Chaostheorie commented May 27, 2026 •

Copy link
Copy Markdown
Contributor

Major update to new harfbuzz release.

This release notably introduced the vector and gpu experimental libraries. They are supported as overridable option by the package.

I have tested a build on x86_64-linux with all experimental libraries (and each individual one) enabled but kept them off by default for now. Given that their usage is presumably rather low for now it doesn't seem necessary to include them yet.

Things done

nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review May 27, 2026 00:09

Review dismissed automatically

@Chaostheorie Chaostheorie changed the title Cr harfbuzz 14.2.0 harfbuzz: 13.2.1 -> 14.2.0 May 27, 2026
@Chaostheorie Chaostheorie reopened this May 27, 2026
@Chaostheorie

Copy link
Copy Markdown
Contributor Author

I've built the new harfbuzz version when based on master on x86_64-linux. the builds for gtk etc. against staging are pending though as the required dependency builds seem to be large.

@Chaostheorie
Chaostheorie marked this pull request as ready for review May 27, 2026 00:38
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/6960

@SuperSandro2000

Copy link
Copy Markdown
Member

Let me re-trigger CI to add the labels, etc.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels May 27, 2026
@Chaostheorie

Chaostheorie commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor Author

A new release, 14.2.1, was published today. I will update this PR asap to it.

@Chaostheorie Chaostheorie changed the title harfbuzz: 13.2.1 -> 14.2.0 harfbuzz: 13.2.1 -> 14.2.1 Jun 14, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. label Jun 14, 2026
@Chaostheorie

This comment was marked as outdated.

@Chaostheorie Chaostheorie changed the title harfbuzz: 13.2.1 -> 14.2.1 harfbuzz: 13.2.1 -> 14.3.0 Aug 3, 2026
@Chaostheorie
Chaostheorie force-pushed the cr-harfbuzz-14.2.0 branch 2 times, most recently from 5b407e4 to 9f44318 Compare August 10, 2026 07:51
@Chaostheorie Chaostheorie changed the title harfbuzz: 13.2.1 -> 14.3.0 harfbuzz: 13.2.1 -> 14.3.1 Aug 14, 2026
Comment thread pkgs/by-name/ha/harfbuzz/package.nix Resolved
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 14, 2026
@ofborg ofborg Bot added the ofborg-internal-error Ofborg encountered an error label Aug 17, 2026
@Chaostheorie

This comment was marked as outdated.

@Chaostheorie Chaostheorie changed the title harfbuzz: 13.2.1 -> 14.3.1 harfbuzz: 13.2.1 -> 14.4.0 Aug 31, 2026
@Chaostheorie

This comment was marked as outdated.

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/7497

@ofborg ofborg Bot removed the ofborg-internal-error Ofborg encountered an error label Sep 3, 2026
@alexfmpe

Copy link
Copy Markdown
Member

This is needed to build with llvm23: harfbuzz/harfbuzz#6059

@Chaostheorie

Copy link
Copy Markdown
Contributor Author

This is needed to build with llvm23: harfbuzz/harfbuzz#6059

I believe the maintainer of harfbuzz, behdad, responded in the comments that 14.3.0 would have this included.

I can test later if any extra changes are required although I don't believe this would be relevant for the nixpkgs package. Based on my understanding of the default stdenv, Harfbuzz is built with GCC.

This PR is also waiting for a full review for months. Any extra changes that would make the review harder should probably be done in another PR.

@alexfmpe

alexfmpe commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

I can test later if any extra changes are required although I don't believe this would be relevant for the nixpkgs package. Based on my understanding of the default stdenv, Harfbuzz is built with GCC.

Darwin uses llvm/clang by default. I can confirm this bump fixes -A harfbuzz build with llvm 23 on my aarch64-darwin as I tested with git cherry-pick

@Chaostheorie

Chaostheorie commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

I can test later if any extra changes are required although I don't believe this would be relevant for the nixpkgs package. Based on my understanding of the default stdenv, Harfbuzz is built with GCC.

Darwin uses llvm/clang by default. I can confirm this bump fixes -A harfbuzz build with llvm 23 on my aarch64-darwin as I tested with git cherry-pick

Thank you for clarifying. I'll have to wire up something to reproduce this on my linux hosts then.

@Chaostheorie

Chaostheorie commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor Author

I can test later if any extra changes are required although I don't believe this would be relevant for the nixpkgs package. Based on my understanding of the default stdenv, Harfbuzz is built with GCC.

Darwin uses llvm/clang by default. I can confirm this bump fixes -A harfbuzz build with llvm 23 on my aarch64-darwin as I tested with git cherry-pick

So just to clarify, this PR fixes the build issues with llvm 23 already? I'm not quite sure if your message implies that this bump fixes the build with llvm 23 or if the patches from the upstream dicussion are required to fix it.

I can build the harfbuzz version from this PR with llvmPackages_23.clang (llvmPackages_23.stdenv.cc is clang 23.1.0-rc1 for x86_64-linux) from the staging commit this is based when using:

diff --git i/pkgs/by-name/ha/harfbuzz/package.nix w/pkgs/by-name/ha/harfbuzz/package.nix
index c6d539f7517b..a57d87399e52 100644
--- i/pkgs/by-name/ha/harfbuzz/package.nix
+++ w/pkgs/by-name/ha/harfbuzz/package.nix
@@ -35,9 +35,10 @@
   mapnik,
   qt5,
   testers,
+  llvmPackages_23,
 }:

-stdenv.mkDerivation (finalAttrs: {
+llvmPackages_23.stdenv.mkDerivation (finalAttrs: {
   pname = "harfbuzz${lib.optionalString withIcu "-icu"}";
   version = "14.4.0";

@alexfmpe

Copy link
Copy Markdown
Member

So just to clarify, this PR fixes the build issues with llvm 23 already?

Yes

@Chaostheorie Chaostheorie changed the title harfbuzz: 13.2.1 -> 14.4.0 harfbuzz: 13.2.1 -> 14.5.0 Sep 30, 2026
@Chaostheorie

Chaostheorie commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Tested by building the default test packages + harbuzz with all options + harbuzz with llvm 23.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review --package gtk3 --package harfbuzz --package gimp
Commit: 84dde2b615491f5c4dec0bb6a21eca88c2cee08a


x86_64-linux

✅ 3 packages built:
  • gimp
  • gtk3
  • harfbuzz

@Chaostheorie

Copy link
Copy Markdown
Contributor Author

fun, 14.5.1 was released a few days ago. I will update this PR again in the coming days.

@SuperSandro2000
SuperSandro2000 added this pull request to the merge queue Oct 3, 2026
Merged via the queue into NixOS:staging with commit 36ef396 Oct 3, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants