dde-session-ui: 5.6.2 -> 6.0.10

rewine 7613b21f 9e079d77

+14 -38
+14 -38
pkgs/desktops/deepin/core/dde-session-ui/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , qttools 7 + , wrapQtAppsHook 8 + , qtbase 4 9 , dtkwidget 5 10 , qt5integration 6 11 , qt5platform-plugins 7 - , pkg-config 8 - , cmake 9 12 , dde-dock 10 - , dde-qt-dbus-factory 11 - , deepin-gettext-tools 12 13 , gsettings-qt 13 - , lightdm_qt 14 - , qttools 15 14 , qtx11extras 16 - , util-linux 17 - , xorg 18 - , pcre 19 - , libselinux 20 - , libsepol 21 - , wrapQtAppsHook 22 15 , gtest 23 - , xkeyboard_config 24 - , qtbase 25 - , dbus 26 16 }: 27 17 28 18 stdenv.mkDerivation rec { 29 19 pname = "dde-session-ui"; 30 - version = "5.6.2"; 20 + version = "6.0.10"; 31 21 32 22 src = fetchFromGitHub { 33 23 owner = "linuxdeepin"; 34 24 repo = pname; 35 25 rev = version; 36 - sha256 = "sha256-3lW/M07b6gXzGcvQYB+Ojqdq7TfJBaMIKfmfG7o3wWg="; 26 + hash = "sha256-JwktVbwWdfqURhZuEFdB5oaKMsBZu5DekpZ2WGpcL4Q="; 37 27 }; 38 28 39 29 postPatch = '' ··· 41 31 --replace "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds" \ 42 32 --replace "/usr/share/wallpapers" "/run/current-system/sw/share/wallpapers" 43 33 44 - substituteInPlace global_util/xkbparser.h \ 45 - --replace "/usr/share/X11/xkb/rules/base.xml" "${xkeyboard_config}/share/X11/xkb/rules/base.xml" 46 - 47 - substituteInPlace dde-warning-dialog/com.deepin.dde.WarningDialog.service dde-osd/files/dde-osd.desktop dde-welcome/com.deepin.dde.welcome.service \ 34 + substituteInPlace dde-warning-dialog/src/org.deepin.dde.WarningDialog1.service dde-welcome/src/org.deepin.dde.Welcome1.service \ 48 35 --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" 49 36 50 - substituteInPlace dde-osd/notification/bubbletool.cpp \ 51 - --replace "/usr/share" "/run/current-system/sw/share" 52 - 53 - substituteInPlace dde-osd/files/{com.deepin.dde.Notification.service,com.deepin.dde.freedesktop.Notification.service,com.deepin.dde.osd.service} \ 54 - --replace "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" \ 55 - --replace "/usr/share" "$out/share" 56 - 57 - substituteInPlace dde-lowpower/main.cpp dmemory-warning-dialog/main.cpp dde-touchscreen-dialog/main.cpp dnetwork-secret-dialog/main.cpp dde-suspend-dialog/main.cpp \ 58 - dde-warning-dialog/main.cpp dde-bluetooth-dialog/main.cpp dde-welcome/main.cpp dde-hints-dialog/main.cpp dde-osd/main.cpp dde-wm-chooser/main.cpp \ 59 - dde-license-dialog/{content.cpp,main.cpp} dmemory-warning-dialog/com.deepin.dde.MemoryWarningDialog.service \ 37 + substituteInPlace dmemory-warning-dialog/src/org.deepin.dde.MemoryWarningDialog1.service \ 60 38 --replace "/usr" "$out" 61 39 ''; 62 40 ··· 64 42 cmake 65 43 pkg-config 66 44 qttools 67 - deepin-gettext-tools 68 45 wrapQtAppsHook 69 46 ]; 70 47 71 48 buildInputs = [ 49 + qtbase 72 50 dtkwidget 73 51 qt5platform-plugins 74 52 dde-dock 75 - dde-qt-dbus-factory 76 53 gsettings-qt 77 54 qtx11extras 78 - pcre 79 - xorg.libXdmcp 80 - util-linux 81 - libselinux 82 - libsepol 83 55 gtest 56 + ]; 57 + 58 + cmakeFlags = [ 59 + "-DDISABLE_SYS_UPDATE=ON" 84 60 ]; 85 61 86 62 # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH