From a1d81d6cfb2aa87e74854e3cac0f712a2e58694c Mon Sep 17 00:00:00 2001 From: rewine Date: Fri, 31 May 2024 14:54:00 +0800 Subject: [PATCH] deepin.dde-file-manager: 6.0.40 -> 6.0.51 --- .../deepin/core/dde-file-manager/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/desktops/deepin/core/dde-file-manager/default.nix b/pkgs/desktops/deepin/core/dde-file-manager/default.nix index 42d371628b3e..cfc610420957 100644 --- a/pkgs/desktops/deepin/core/dde-file-manager/default.nix +++ b/pkgs/desktops/deepin/core/dde-file-manager/default.nix @@ -43,13 +43,13 @@ stdenv.mkDerivation rec { pname = "dde-file-manager"; - version = "6.0.40"; + version = "6.0.51"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - hash = "sha256-fvxP6wle4hezt9nEDpTgK+xB4J5XIC0mP5jWCmkjJPA="; + hash = "sha256-MvrOhdejQPK693wFlqkERuwYM88ALtFNnbyu7H3TI4Q="; }; nativeBuildInputs = [ @@ -69,25 +69,25 @@ stdenv.mkDerivation rec { patchShebangs . substituteInPlace src/plugins/filemanager/dfmplugin-vault/utils/vaultdefine.h \ - --replace "/usr/bin/deepin-compressor" "deepin-compressor" + --replace-fail "/usr/bin/deepin-compressor" "deepin-compressor" substituteInPlace src/plugins/filemanager/dfmplugin-avfsbrowser/utils/avfsutils.cpp \ - --replace "/usr/bin/mountavfs" "mountavfs" \ - --replace "/usr/bin/umountavfs" "umountavfs" + --replace-fail "/usr/bin/mountavfs" "mountavfs" \ + --replace-fail "/usr/bin/umountavfs" "umountavfs" substituteInPlace src/plugins/common/core/dfmplugin-menu/{extendmenuscene/extendmenu/dcustomactionparser.cpp,oemmenuscene/oemmenu.cpp} \ - --replace "/usr" "$out" + --replace-fail "/usr" "$out" substituteInPlace src/tools/upgrade/dialog/processdialog.cpp \ - --replace "/usr/bin/dde-file-manager" "dde-file-manager" \ - --replace "/usr/bin/dde-desktop" "dde-desktop" + --replace-fail "/usr/bin/dde-file-manager" "dde-file-manager" \ + --replace-fail "/usr/bin/dde-desktop" "dde-desktop" substituteInPlace src/dfm-base/file/local/localfilehandler.cpp \ - --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" + --replace-fail "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" substituteInPlace src/plugins/desktop/ddplugin-background/backgroundservice.cpp \ src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp \ - --replace "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds" + --replace-fail "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds" find . -type f -regex ".*\\.\\(service\\|policy\\|desktop\\)" -exec sed -i -e "s|/usr/|$out/|g" {} \; '';