summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMichael Adler <therisen06@gmail.com>2023-07-10 09:20:52 +0200
committerMichael Adler <therisen06@gmail.com>2023-07-10 09:20:52 +0200
commit31b0d9b169ce496b797c40e554d89a10d5b8270e (patch)
tree14fd3e34e06d1cf95b90f02faa1071873ac2e798 /pkgs/applications
parent73e8d61d9dd81186e2768dc809c5d3d498a35ed6 (diff)
downloadnixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.gz
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.bz2
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.lz
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.xz
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.zst
nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.zip
citrix_workspace: 23.02.0 -> 23.07.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/remote/citrix-workspace/generic.nix11
-rw-r--r--pkgs/applications/networking/remote/citrix-workspace/sources.nix12
2 files changed, 22 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/citrix-workspace/generic.nix b/pkgs/applications/networking/remote/citrix-workspace/generic.nix
index 5051d2308f0..b52d9ff695a 100644
--- a/pkgs/applications/networking/remote/citrix-workspace/generic.nix
+++ b/pkgs/applications/networking/remote/citrix-workspace/generic.nix
@@ -3,7 +3,7 @@
 , heimdal, krb5, libsoup, libvorbis, speex, openssl, zlib, xorg, pango, gtk2
 , gnome2, mesa, nss, nspr, gtk_engines, freetype, dconf, libpng12, libxml2
 , libjpeg, libredirect, tzdata, cacert, systemd, libcxxabi, libcxx, e2fsprogs, symlinkJoin
-, libpulseaudio, pcsclite, glib-networking, llvmPackages_12
+, libpulseaudio, pcsclite, glib-networking, llvmPackages_12, opencv4
 
 , homepage, version, prefix, hash
 
@@ -88,6 +88,7 @@ stdenv.mkDerivation rec {
     mesa
     nspr
     nss
+    opencv4
     openssl'
     pango
     speex
@@ -198,6 +199,14 @@ stdenv.mkDerivation rec {
   # Make sure that `autoPatchelfHook` is executed before
   # running `ctx_rehash`.
   dontAutoPatchelf = true;
+  preFixup = ''
+    find $out/opt/citrix-icaclient/lib -name "libopencv_imgcodecs.so.*" | while read -r fname; do
+      # lib needs libtiff.so.5, but nixpkgs provides libtiff.so.6
+      patchelf --replace-needed libtiff.so.5 libtiff.so $fname
+      # lib needs libjpeg.so.8, but nixpkgs provides libjpeg.so.9
+      patchelf --replace-needed libjpeg.so.8 libjpeg.so $fname
+    done
+  '';
   postFixup = ''
     autoPatchelf -- "$out"
     $out/opt/citrix-icaclient/util/ctx_rehash
diff --git a/pkgs/applications/networking/remote/citrix-workspace/sources.nix b/pkgs/applications/networking/remote/citrix-workspace/sources.nix
index 78f8b1a2a0c..2422d7eb8ef 100644
--- a/pkgs/applications/networking/remote/citrix-workspace/sources.nix
+++ b/pkgs/applications/networking/remote/citrix-workspace/sources.nix
@@ -22,8 +22,20 @@ let
       x86hash   = "39228fc8dd69adca4e56991c1ebc0832fec183c3ab5abd2d65c66b39b634391b";
       x64suffix = "10";
       x86suffix = "10";
+      homepage  = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-latest6.html";
+    };
+
+    "23.07.0" = {
+      major     = "23";
+      minor     = "7";
+      patch     = "0";
+      x64hash   = "d4001226e79b5353fc74da4c8ed4f6295c1859fe18142cb5de345a3c7ae48168";
+      x86hash   = "4a7da238286ae28d7baf0fefa1e7e09d077c8bc56c2bf7bec00da42c331bee59";
+      x64suffix = "17";
+      x86suffix = "17";
       homepage  = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html";
     };
+
   };
 
   # Retain attribute-names for abandoned versions of Citrix workspace to