summary refs log tree commit diff
diff options
context:
space:
mode:
authorKerstin Humm <kerstin@erictapen.name>2021-11-25 22:15:29 +0100
committerKerstin Humm <kerstin@erictapen.name>2021-11-25 22:15:29 +0100
commit283e178e6c3667c5b8527a5bb603d8b6ae2e384e (patch)
tree94d65d1058f744e16e78c13a777f80f39770801c
parent79e5ac3df42fb197535b0814399e9dd4516bfdfa (diff)
downloadnixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar.gz
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar.bz2
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar.lz
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar.xz
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.tar.zst
nixpkgs-283e178e6c3667c5b8527a5bb603d8b6ae2e384e.zip
scribusUnstable: patch for harfbuzz 3.0
-rw-r--r--pkgs/applications/office/scribus/unstable.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/office/scribus/unstable.nix b/pkgs/applications/office/scribus/unstable.nix
index 701ecab1f97..6aed41d7f9a 100644
--- a/pkgs/applications/office/scribus/unstable.nix
+++ b/pkgs/applications/office/scribus/unstable.nix
@@ -3,6 +3,7 @@
 , cmake
 , cups
 , fetchurl
+, fetchpatch
 , fontconfig
 , freetype
 , harfbuzzFull
@@ -42,6 +43,19 @@ mkDerivation rec {
     sha256 = "sha256-MYMWss/Hp2GR0+DT+MImUUfa6gVwFiAo4kPCktgm+M4=";
   };
 
+  patches = [
+    # For harfbuzz >= 2.9.0
+    (fetchpatch {
+      url = "https://github.com/scribusproject/scribus/commit/1b546978bc4ea0b2a73fbe4d7cf947887e865162.patch";
+      sha256 = "sha256-noRCaN63ZYFfXmAluEYXdFPNOk3s5W3KBAsLU1Syxv4=";
+    })
+    # For harfbuzz >= 3.0
+    (fetchpatch {
+      url = "https://github.com/scribusproject/scribus/commit/68ec41169eaceea4a6e1d6f359762a191c7e61d5.patch";
+      sha256 = "sha256-xhp65qVvaof0md1jb3XHZw7uFX1RtNxPfUOaVnvZV1Y=";
+    })
+  ];
+
   nativeBuildInputs = [
     cmake
     pkg-config