Merge pull request #27480 from antonxy/houdini

houdini: change sha256, add missing libs, fix license dir patch, fix …

authored by Jörg Thalheim and committed by GitHub 9f4750d9 b1bff52a

+16 -7
+1 -2
pkgs/applications/misc/houdini/default.nix
··· 1 { zsh, stdenv, callPackage, buildFHSUserEnv, undaemonize }: 2 3 let 4 - version = "16.0.633"; 5 houdini-runtime = callPackage ./runtime.nix { }; 6 in buildFHSUserEnv rec { 7 - name = "houdini-${version}"; 8 9 extraBuildCommands = '' 10 mkdir -p $out/usr/lib/sesi
··· 1 { zsh, stdenv, callPackage, buildFHSUserEnv, undaemonize }: 2 3 let 4 houdini-runtime = callPackage ./runtime.nix { }; 5 in buildFHSUserEnv rec { 6 + name = "houdini-${houdini-runtime.version}"; 7 8 extraBuildCommands = '' 9 mkdir -p $out/usr/lib/sesi
+15 -5
pkgs/applications/misc/houdini/runtime.nix
··· 1 - { stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, mesa_glu, bc }: 2 3 let 4 ld_library_path = builtins.concatStringsSep ":" [ ··· 11 xorg.libXext 12 xorg.libX11 13 xorg.libXrender 14 fontconfig 15 libSM 16 libICE 17 zlib 18 libpng 19 ]) 20 ]; 21 license_dir = "~/.config/houdini"; 22 in 23 stdenv.mkDerivation rec { 24 - version = "16.0.633"; 25 name = "houdini-runtime-${version}"; 26 src = requireFile rec { 27 - name = "houdini-16.0.633-linux_x86_64_gcc4.8.tar.gz"; 28 - sha256 = "1laxncwgsr4hj53bn4pn9ibv3pkrpliwxlx0558wgnhq42js3wvl"; 29 message = '' 30 This nix expression requires that ${name} is already part of the store. 31 Download it from https://sidefx.com and add it to the nix store with: ··· 50 --no-root-check \ 51 --accept-EULA \ 52 $out 53 - sed -i "s|/usr/lib/sesi|${license_dir}|g" $out/houdini/Licensing.opt 54 sed -i "s|/usr/lib/sesi|${license_dir}|g" $out/houdini/sbin/sesinetd_safe 55 sed -i "s|/usr/lib/sesi|${license_dir}|g" $out/houdini/sbin/sesinetd.startup 56 echo "export LD_LIBRARY_PATH=${ld_library_path}" >> $out/bin/app_init.sh 57 echo "export LD_LIBRARY_PATH=${ld_library_path}" >> $out/houdini/sbin/app_init.sh 58 ''; 59 postFixup = '' 60 INTERPRETER="$(cat "$NIX_CC"/nix-support/dynamic-linker)"
··· 1 + { stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, mesa_glu, alsaLib, dbus, xkeyboardconfig, bc }: 2 3 let 4 ld_library_path = builtins.concatStringsSep ":" [ ··· 11 xorg.libXext 12 xorg.libX11 13 xorg.libXrender 14 + xorg.libXcursor 15 + xorg.libXfixes 16 + xorg.libXrender 17 + xorg.libXcomposite 18 + xorg.libXdamage 19 + xorg.libXtst 20 + alsaLib 21 fontconfig 22 libSM 23 libICE 24 zlib 25 libpng 26 + dbus 27 ]) 28 ]; 29 license_dir = "~/.config/houdini"; 30 in 31 stdenv.mkDerivation rec { 32 + version = "16.0.671"; 33 name = "houdini-runtime-${version}"; 34 src = requireFile rec { 35 + name = "houdini-${version}-linux_x86_64_gcc4.8.tar.gz"; 36 + sha256 = "1d3c1a1128szlgaf3ilw5y20plz5azwp37v0ljawgm80y64hq15r"; 37 message = '' 38 This nix expression requires that ${name} is already part of the store. 39 Download it from https://sidefx.com and add it to the nix store with: ··· 58 --no-root-check \ 59 --accept-EULA \ 60 $out 61 + echo -e "localValidatorDir = ${license_dir}\nlicensingMode = localValidator" > $out/houdini/Licensing.opt 62 sed -i "s|/usr/lib/sesi|${license_dir}|g" $out/houdini/sbin/sesinetd_safe 63 sed -i "s|/usr/lib/sesi|${license_dir}|g" $out/houdini/sbin/sesinetd.startup 64 echo "export LD_LIBRARY_PATH=${ld_library_path}" >> $out/bin/app_init.sh 65 + echo "export QT_XKB_CONFIG_ROOT="${xkeyboardconfig}/share/X11/xkb"" >> $out/bin/app_init.sh 66 echo "export LD_LIBRARY_PATH=${ld_library_path}" >> $out/houdini/sbin/app_init.sh 67 + echo "export QT_XKB_CONFIG_ROOT="${xkeyboardconfig}/share/X11/xkb"" >> $out/houdini/sbin/app_init.sh 68 ''; 69 postFixup = '' 70 INTERPRETER="$(cat "$NIX_CC"/nix-support/dynamic-linker)"