From bec1f54cbf3bc9b3c1f0af5490feac625ea9f1e3 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Mon, 8 Dec 2025 20:25:46 +0100 Subject: [PATCH 1/2] hugin: 2024.0.1 -> 2025.0.0 --- pkgs/applications/graphics/hugin/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix index aad78856a954..1e9f0c735191 100644 --- a/pkgs/applications/graphics/hugin/default.nix +++ b/pkgs/applications/graphics/hugin/default.nix @@ -36,11 +36,11 @@ stdenv.mkDerivation rec { pname = "hugin"; - version = "2024.0.1"; + version = "2025.0.0"; src = fetchurl { url = "mirror://sourceforge/hugin/hugin-${version}.tar.bz2"; - hash = "sha256-E+wM3utOtjFJyDN2jT43Tnz1pqjY0C1QiFzklvBbp+Q="; + hash = "sha256-DeJ6XVQy421OXTisJde8r8e33VQqqwMWQKYe1mdnB2w"; }; buildInputs = [ @@ -82,6 +82,13 @@ stdenv.mkDerivation rec { # disable installation of the python scripting interface cmakeFlags = [ "-DBUILD_HSI:BOOl=OFF" ]; + # hugin libs are added to NEEDED but not to RUNPATH + postFixup = '' + for p in $out/bin/..*; do + patchelf "$p" --add-rpath $out/lib/hugin + done + ''; + postInstall = '' for p in $out/bin/*; do wrapProgram "$p" \ From 425ffa2cdc191c7e83c9632a04a2369173d224dd Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Mon, 8 Dec 2025 20:34:59 +0100 Subject: [PATCH 2/2] hugin: move to by-name/ --- .../graphics/hugin/default.nix => by-name/hu/hugin/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/{applications/graphics/hugin/default.nix => by-name/hu/hugin/package.nix} (100%) diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/by-name/hu/hugin/package.nix similarity index 100% rename from pkgs/applications/graphics/hugin/default.nix rename to pkgs/by-name/hu/hugin/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8a2f0994dbad..5d751f8a13b1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10948,7 +10948,7 @@ with pkgs; hpack = haskell.lib.compose.justStaticExecutables haskellPackages.hpack; - hugin = callPackage ../applications/graphics/hugin { + hugin = callPackage ../by-name/hu/hugin/package.nix { wxGTK = wxGTK32; };