summary refs log tree commit diff
path: root/pkgs/applications/office/calligra/default.nix
diff options
context:
space:
mode:
authorAndré Vitor de Lima Matos <andre.vmatos@gmail.com>2022-05-12 14:11:37 -0300
committerAndré Vitor de Lima Matos <andre.vmatos@gmail.com>2022-05-19 15:03:31 -0300
commitaa96ef34f4746ac7e6e7e87685987c55bdb3f944 (patch)
treee6e08f34c5daa9fbf6f2d533b9ded4d595138efb /pkgs/applications/office/calligra/default.nix
parent734d69a3f07095d676fc211fd0fc3a26ea63c774 (diff)
downloadnixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar.gz
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar.bz2
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar.lz
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar.xz
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.tar.zst
nixpkgs-aa96ef34f4746ac7e6e7e87685987c55bdb3f944.zip
calligra: fix build with poppler 22.04
Diffstat (limited to 'pkgs/applications/office/calligra/default.nix')
-rw-r--r--pkgs/applications/office/calligra/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/office/calligra/default.nix b/pkgs/applications/office/calligra/default.nix
index e18c0f21ae3..57b23ea95d1 100644
--- a/pkgs/applications/office/calligra/default.nix
+++ b/pkgs/applications/office/calligra/default.nix
@@ -30,18 +30,23 @@ mkDerivation rec {
       sha256 = "11dzrp9q05dmvnwp4vk4ihcibqcf4xyr0ijscpi716cyy730flma";
       excludes = [ "CMakeLists.txt" ];
     })
-    # Fixes for building calligra with modern poppler[-qt5]
-    (fetchpatch {
-      name = "poppler-22.03.0.patch";
-      url = "https://github.com/archlinux/svntogit-packages/raw/8f328bef497a9e3bc628e4e294c1a70b0c8b0eab/trunk/poppler-22.03.0.patch";
-      sha256 = "sha256-bOTnQcavXF49LIshNgzhXhyoEjzLmQJC/U7hO5P0bfY=";
-    })
     # Fixes for building calligra with gcc11/c++17
     (fetchpatch {
       name = "build_c++17_poppler.patch";
       url = "https://github.com/archlinux/svntogit-packages/raw/bbbe35f97eb1033798f1cf95d427890168598199/trunk/068cd9ae.patch";
       sha256 = "sha256-d9/ILwSeW+ov11DF191hzIaUafO/rjQrAeONwqDSKbA=";
     })
+    # Fixes for building calligra with modern poppler[-qt5]
+    (fetchpatch {
+      name = "calligra-poppler-22.03.patch";
+      url = "https://invent.kde.org/office/calligra/-/commit/236bacbe13739414e919de868283b0caf2df5d8a.patch";
+      sha256 = "sha256-9DmKPCvEFy2Cs3g7350iOCF5Vrx1HL+/8jr+Tb44CyE=";
+    })
+    (fetchpatch {
+      name = "calligra-poppler-22.04.patch";
+      url = "https://invent.kde.org/office/calligra/-/commit/6b75bec784c9835c78993349845d8c2ef22ec3de.patch";
+      sha256 = "sha256-z9/4he4x0WN2K/ZGrDAAtHF/W5X1PAtpeO6s7fgL/fA=";
+    })
   ];
   postPatch = ''
     substituteInPlace CMakeLists.txt \