summary refs log tree commit diff
path: root/pkgs/applications/graphics/geeqie/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-07 22:17:14 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-07 22:17:14 +0200
commit9a2522d02de2e9a6be573b5e33921e4094884f05 (patch)
tree6fcb8269aaa6e3732edc7b6ab975538d2ad07d45 /pkgs/applications/graphics/geeqie/default.nix
parenta634d19ba455c7762a9521aab76e0a63cfdcbf16 (diff)
downloadnixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar.gz
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar.bz2
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar.lz
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar.xz
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.tar.zst
nixpkgs-9a2522d02de2e9a6be573b5e33921e4094884f05.zip
geeqie: 2.0.1 -> 2.1
Diffstat (limited to 'pkgs/applications/graphics/geeqie/default.nix')
-rw-r--r--pkgs/applications/graphics/geeqie/default.nix25
1 files changed, 20 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix
index ee466865ef0..8145d05b9a7 100644
--- a/pkgs/applications/graphics/geeqie/default.nix
+++ b/pkgs/applications/graphics/geeqie/default.nix
@@ -8,20 +8,35 @@
 
 stdenv.mkDerivation rec {
   pname = "geeqie";
-  version = "2.0.1";
+  version = "2.1";
 
   src = fetchFromGitHub {
     owner = "BestImageViewer";
     repo = "geeqie";
     rev = "v${version}";
-    sha256 = "sha256-0GOX77vZ4KZkvwnR1vlv52tlbR+ciwl3ycxbOIcDOqU=";
+    hash = "sha256-qkM/7auZ9TMF2r8KLnitxmvlyPmIjh7q9Ugh+QKh8hw=";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "exiv2-0.28.0-support-1.patch";
+      url = "https://github.com/BestImageViewer/geeqie/commit/c45cca777aa3477eaf297db99f337e18d9683c61.patch";
+      hash = "sha256-YiFzAj3G3Z2w7p+8zZlDBjWqUqnfSqvaxMkESfPFdzc=";
+    })
+    (fetchpatch {
+      name = "exiv2-0.28.0-support-2.patch";
+      url = "https://github.com/BestImageViewer/geeqie/commit/b04f7cd0546976dc4f7ea440648ac0eedd8df3ce.patch";
+      hash = "sha256-V0ZOHbAZOrhLcNN+Al1/kvxvbw0vc/R7r99CegjuBQg=";
+    })
+    (fetchpatch {
+      name = "fix-compilation-with-lua.patch";
+      url = "https://github.com/BestImageViewer/geeqie/commit/a132645ee87e612217ac955b227cad04f21a5722.patch";
+      hash = "sha256-BozarBPoIKxZS3qpjuzHHAWZGIWZAwvJyqsNC8v+TMk=";
+    })
+  ];
+
   postPatch = ''
     patchShebangs .
-    # libtiff detection is broken and looks for liblibtiff...
-    # fixed upstream, to remove for 2.1
-    substituteInPlace meson.build --replace 'libtiff' 'tiff'
   '';
 
   nativeBuildInputs =