Merge pull request #272406 from wineee/dtk

deepin desktop environment: Minor update

authored by Sandro and committed by GitHub 03b073b1 88c9f04d

+146 -210
+20
pkgs/desktops/deepin/apps/deepin-compressor/0001-fix-build-on-new-dtk.diff
···
··· 1 + diff --git a/src/source/common/ddesktopservicesthread.h b/src/source/common/ddesktopservicesthread.h 2 + index 49313744..456a5e96 100644 3 + --- a/src/source/common/ddesktopservicesthread.h 4 + +++ b/src/source/common/ddesktopservicesthread.h 5 + @@ -8,10 +8,14 @@ 6 + 7 + #include <QThread> 8 + 9 + +#include <dtkwidget_global.h> 10 + +#include <dtkgui_global.h> 11 + #include <DDesktopServices> 12 + #include <QDebug> 13 + #include <QFileInfo> 14 + + 15 + DWIDGET_USE_NAMESPACE 16 + +DGUI_USE_NAMESPACE 17 + 18 + // 文管打开文件目录线程 19 + class DDesktopServicesThread : public QThread 20 +
+13 -4
pkgs/desktops/deepin/apps/deepin-compressor/default.nix
··· 20 21 stdenv.mkDerivation rec { 22 pname = "deepin-compressor"; 23 - version = "5.12.23"; 24 25 src = fetchFromGitHub { 26 owner = "linuxdeepin"; 27 repo = pname; 28 rev = version; 29 - hash = "sha256-8qfpNM2rci4subdodxfJZLP3OvAxXl7QRl4MHGr15nA="; 30 }; 31 32 postPatch = '' 33 substituteInPlace src/source/common/pluginmanager.cpp \ 34 - --replace "/usr/lib/" "$out/lib/" 35 substituteInPlace src/desktop/deepin-compressor.desktop \ 36 - --replace "/usr" "$out" 37 ''; 38 39 nativeBuildInputs = [ ··· 59 cmakeFlags = [ 60 "-DVERSION=${version}" 61 "-DUSE_TEST=OFF" 62 ]; 63 64 strictDeps = true;
··· 20 21 stdenv.mkDerivation rec { 22 pname = "deepin-compressor"; 23 + version = "5.12.24"; 24 25 src = fetchFromGitHub { 26 owner = "linuxdeepin"; 27 repo = pname; 28 rev = version; 29 + hash = "sha256-XNhG28VZifQrl3TZfx/OHnsAOo0eKrhGKDk+OjOYD8k="; 30 }; 31 32 + patches = [ 33 + ./0001-fix-build-on-new-dtk.diff 34 + ]; 35 + 36 postPatch = '' 37 substituteInPlace src/source/common/pluginmanager.cpp \ 38 + --replace-fail "/usr/lib/" "$out/lib/" 39 substituteInPlace src/desktop/deepin-compressor.desktop \ 40 + --replace-fail "/usr" "$out" 41 ''; 42 43 nativeBuildInputs = [ ··· 63 cmakeFlags = [ 64 "-DVERSION=${version}" 65 "-DUSE_TEST=OFF" 66 + ]; 67 + 68 + # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 69 + qtWrapperArgs = [ 70 + "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" 71 ]; 72 73 strictDeps = true;
+3
pkgs/desktops/deepin/apps/deepin-screen-recorder/default.nix
··· 78 gst-plugins-good 79 ]); 80 81 # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 82 qtWrapperArgs = [ 83 "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
··· 78 gst-plugins-good 79 ]); 80 81 + # Fix build failure on dtk 5.6.20 82 + env.NIX_CFLAGS_COMPILE = "-std=c++14"; 83 + 84 # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 85 qtWrapperArgs = [ 86 "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
+2 -2
pkgs/desktops/deepin/apps/deepin-system-monitor/default.nix
··· 27 28 stdenv.mkDerivation rec { 29 pname = "deepin-system-monitor"; 30 - version = "6.0.9"; 31 32 src = fetchFromGitHub { 33 owner = "linuxdeepin"; 34 repo = pname; 35 rev = version; 36 - hash = "sha256-ompsCTPmmF7S0UHNNU0YDQiTdvcFglpEoS4o+XMZ7jg="; 37 }; 38 39 postPatch = ''
··· 27 28 stdenv.mkDerivation rec { 29 pname = "deepin-system-monitor"; 30 + version = "6.0.13"; 31 32 src = fetchFromGitHub { 33 owner = "linuxdeepin"; 34 repo = pname; 35 rev = version; 36 + hash = "sha256-QwZPvEOYypSmbe3deqLRsI3VL/CgVc+Ql3JlsMZ9MqY="; 37 }; 38 39 postPatch = ''
+2 -2
pkgs/desktops/deepin/artwork/dde-account-faces/default.nix
··· 5 6 stdenvNoCC.mkDerivation rec { 7 pname = "dde-account-faces"; 8 - version = "1.0.15"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 - hash = "sha256-/eTGy+9fcYmGrh09RdCIZ2Cn12gTaGtg4Tluv25n5r0="; 15 }; 16 17 makeFlags = [ "PREFIX=${placeholder "out"}/var" ];
··· 5 6 stdenvNoCC.mkDerivation rec { 7 pname = "dde-account-faces"; 8 + version = "1.0.16"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 + hash = "sha256-PtbEsFQl6M5Ouadxy9CTVh1Bmmect83NODO4Ks+ckKU="; 15 }; 16 17 makeFlags = [ "PREFIX=${placeholder "out"}/var" ];
+2 -2
pkgs/desktops/deepin/artwork/deepin-icon-theme/default.nix
··· 8 9 stdenvNoCC.mkDerivation rec { 10 pname = "deepin-icon-theme"; 11 - version = "2023.11.28"; 12 13 src = fetchFromGitHub { 14 owner = "linuxdeepin"; 15 repo = pname; 16 rev = version; 17 - hash = "sha256-kCWJAmJa0VmhnuegE+acj82Ojl4Z5D8g7/q2PzppJwg="; 18 }; 19 20 makeFlags = [ "PREFIX=${placeholder "out"}" ];
··· 8 9 stdenvNoCC.mkDerivation rec { 10 pname = "deepin-icon-theme"; 11 + version = "2024.01.31"; 12 13 src = fetchFromGitHub { 14 owner = "linuxdeepin"; 15 repo = pname; 16 rev = version; 17 + hash = "sha256-08maujG5Tibsv9N+5olOeD8MrXTRiZh0OQm0bg8t+Cc="; 18 }; 19 20 makeFlags = [ "PREFIX=${placeholder "out"}" ];
+2 -2
pkgs/desktops/deepin/core/dde-app-services/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "dde-app-services"; 16 - version = "1.0.23"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 - hash = "sha256-INxbRDpG3MqPW6IMTqEagDCGo7vwxkR6D1+lcWdjO3w="; 23 }; 24 25 postPatch = ''
··· 13 14 stdenv.mkDerivation rec { 15 pname = "dde-app-services"; 16 + version = "1.0.25"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 + hash = "sha256-/lHiSUOTD8nC0WDLAHAFzm1YC0WjSS5W5JNC0cjeVEo="; 23 }; 24 25 postPatch = ''
+3 -3
pkgs/desktops/deepin/core/dde-appearance/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-appearance"; 20 - version = "1.1.6"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 - hash = "sha256-7oRbydLXw8yRzi9L1GH/q0cjMY/DLyWbj4RUSyNpVNM="; 27 }; 28 29 patches = [ ··· 43 substituteInPlace src/service/modules/api/themethumb.cpp \ 44 --replace "/usr/lib/deepin-api" "/run/current-system/sw/lib/deepin-api" 45 46 - substituteInPlace src/service/dbus/deepinwmfaker.cpp \ 47 --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" 48 49 substituteInPlace src/service/modules/api/locale.cpp \
··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-appearance"; 20 + version = "1.1.25"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 + hash = "sha256-H9TvWF6Q0lX4GF4mQ71E3SUqWbhH7dzHIlScovbN7lM="; 27 }; 28 29 patches = [ ··· 43 substituteInPlace src/service/modules/api/themethumb.cpp \ 44 --replace "/usr/lib/deepin-api" "/run/current-system/sw/lib/deepin-api" 45 46 + substituteInPlace fakewm/dbus/deepinwmfaker.cpp \ 47 --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" 48 49 substituteInPlace src/service/modules/api/locale.cpp \
+3 -3
pkgs/desktops/deepin/core/dde-appearance/fix-custom-wallpapers-path.diff
··· 11 "serial": 0, 12 "flags": [], 13 "name": "Background_Uris", 14 - diff --git a/src/service/dbus/deepinwmfaker.cpp b/src/service/dbus/deepinwmfaker.cpp 15 index 5d455fa..40ec608 100644 16 - --- a/src/service/dbus/deepinwmfaker.cpp 17 - +++ b/src/service/dbus/deepinwmfaker.cpp 18 @@ -54,13 +54,13 @@ Q_GLOBAL_STATIC_WITH_ARGS(QGSettings, _gsettings_dde_zone, ("com.deepin.dde.zone 19 20 #define KWinDBusCompositorInterface "org.kde.kwin.Compositing"
··· 11 "serial": 0, 12 "flags": [], 13 "name": "Background_Uris", 14 + diff --git a/fakewm/dbus/deepinwmfaker.cpp b/fakewm/dbus/deepinwmfaker.cpp 15 index 5d455fa..40ec608 100644 16 + --- a/fakewm/dbus/deepinwmfaker.cpp 17 + +++ b/fakewm/dbus/deepinwmfaker.cpp 18 @@ -54,13 +54,13 @@ Q_GLOBAL_STATIC_WITH_ARGS(QGSettings, _gsettings_dde_zone, ("com.deepin.dde.zone 19 20 #define KWinDBusCompositorInterface "org.kde.kwin.Compositing"
+15 -27
pkgs/desktops/deepin/core/dde-application-manager/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , cmake 5 , pkg-config 6 , wrapQtAppsHook 7 , qtbase 8 - , dtkwidget 9 - , dde-polkit-agent 10 - , gsettings-qt 11 - , libcap 12 - , jemalloc 13 - , xorg 14 - , iconv 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "dde-application-manager"; 19 - version = "1.0.19"; 20 21 src = fetchFromGitHub { 22 owner = "linuxdeepin"; 23 repo = pname; 24 rev = version; 25 - hash = "sha256-1P265xqlL/wML66nKdfTgkRx6MCpLwrt5rXu+CyeShU="; 26 }; 27 28 - # remove this patch after next release 29 - postPatch = '' 30 - substituteInPlace src/modules/mimeapp/mime_app.cpp src/modules/launcher/common.h src/service/main.cpp \ 31 - misc/dconf/com.deepin.dde.appearance.json \ 32 - --replace "/usr/share" "/run/current-system/sw/share" 33 - 34 - substituteInPlace src/lib/dlocale.cpp --replace "/usr/share/locale/locale.alias" "${iconv}/share/locale/locale.alias" 35 - 36 - for file in $(grep -rl "/usr/bin"); do 37 - substituteInPlace $file --replace "/usr/bin/" "/run/current-system/sw/bin/" 38 - done 39 - ''; 40 41 nativeBuildInputs = [ 42 cmake ··· 46 47 buildInputs = [ 48 qtbase 49 - dtkwidget 50 - gsettings-qt 51 - libcap 52 - jemalloc 53 - xorg.libXdmcp 54 - xorg.libXres 55 ]; 56 57 meta = with lib; {
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 + , fetchpatch 5 , cmake 6 , pkg-config 7 , wrapQtAppsHook 8 , qtbase 9 }: 10 11 stdenv.mkDerivation rec { 12 pname = "dde-application-manager"; 13 + version = "1.1.8"; 14 15 src = fetchFromGitHub { 16 owner = "linuxdeepin"; 17 repo = pname; 18 rev = version; 19 + hash = "sha256-ImyXSyQWMFLvmtx9mBxrr4/IFOgOH1BW650mbiwFh5U="; 20 }; 21 22 + patches = [ 23 + (fetchpatch { 24 + name = "set-more-scale-envs-to-application.patch"; 25 + url = "https://github.com/linuxdeepin/dde-application-manager/commit/a1f8ad276d88c81249dd3468779862186a180238.patch"; 26 + hash = "sha256-/iKg6NZZomNEKYsZCZP1IfNr7ZAXiA9RVBnyf+M/f4w="; 27 + }) 28 + (fetchpatch { 29 + name = "support-execSearchPath-to-prevent-systemd-from-finding-binaries.patch"; 30 + url = "https://github.com/linuxdeepin/dde-application-manager/commit/2eaca7c6b8b841d571e9d3510f9f14c321cd976e.patch"; 31 + hash = "sha256-GWUIv4NIBLQpnY4GcjLShMjiXAfPi3zKdol3whchC/Y="; 32 + }) 33 + ]; 34 35 nativeBuildInputs = [ 36 cmake ··· 40 41 buildInputs = [ 42 qtbase 43 ]; 44 45 meta = with lib; {
+2 -2
pkgs/desktops/deepin/core/dde-calendar/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dde-calendar"; 21 - version = "5.11.1"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 - hash = "sha256-EQcB+a0dK2c6NdvGFbyp65a8nN2PmOpZLWx61UDOTJg="; 28 }; 29 30 patches = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dde-calendar"; 21 + version = "5.12.1"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 + hash = "sha256-p+KtObh2JT7aPcDCi0jmaNmLqB1aU3IvAiYrGmhErcI="; 28 }; 29 30 patches = [
+4 -2
pkgs/desktops/deepin/core/dde-control-center/default.nix
··· 17 , polkit-qt 18 , libxcrypt 19 , librsvg 20 , runtimeShell 21 , dbus 22 }: 23 24 stdenv.mkDerivation rec { 25 pname = "dde-control-center"; 26 - version = "6.0.28"; 27 28 src = fetchFromGitHub { 29 owner = "linuxdeepin"; 30 repo = pname; 31 rev = version; 32 - hash = "sha256-kgQ4ySiYtaklOqER56QtKD9lk1CnRSEAU4QPHycl9eI="; 33 }; 34 35 postPatch = '' ··· 57 polkit-qt 58 libxcrypt 59 librsvg 60 ]; 61 62 cmakeFlags = [
··· 17 , polkit-qt 18 , libxcrypt 19 , librsvg 20 + , gtest 21 , runtimeShell 22 , dbus 23 }: 24 25 stdenv.mkDerivation rec { 26 pname = "dde-control-center"; 27 + version = "6.0.44"; 28 29 src = fetchFromGitHub { 30 owner = "linuxdeepin"; 31 repo = pname; 32 rev = version; 33 + hash = "sha256-NN2CSIYByxeTZraK48lAsQSJYAOTDHzKT1FOa+VWMo0="; 34 }; 35 36 postPatch = '' ··· 58 polkit-qt 59 libxcrypt 60 librsvg 61 + gtest 62 ]; 63 64 cmakeFlags = [
+2 -2
pkgs/desktops/deepin/core/dde-dock/default.nix
··· 21 22 stdenv.mkDerivation rec { 23 pname = "dde-dock"; 24 - version = "6.0.22"; 25 26 src = fetchFromGitHub { 27 owner = "linuxdeepin"; 28 repo = pname; 29 rev = version; 30 - hash = "sha256-fhc2faiPH35ZKw6SCoGTz+6mgxabNpCFQeY2p68Ba5w="; 31 }; 32 33 postPatch = ''
··· 21 22 stdenv.mkDerivation rec { 23 pname = "dde-dock"; 24 + version = "6.0.35"; 25 26 src = fetchFromGitHub { 27 owner = "linuxdeepin"; 28 repo = pname; 29 rev = version; 30 + hash = "sha256-ATC/Ze6GyjT92eCgAt9g2FIQbXLVHUMuXuAslNnbkCE="; 31 }; 32 33 postPatch = ''
+5 -10
pkgs/desktops/deepin/core/dde-file-manager/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , runtimeShell 6 , dtkwidget 7 , qt5integration ··· 44 45 stdenv.mkDerivation rec { 46 pname = "dde-file-manager"; 47 - version = "6.0.31"; 48 49 src = fetchFromGitHub { 50 owner = "linuxdeepin"; 51 repo = pname; 52 rev = version; 53 - hash = "sha256-mc2HcoLrwMXKU8w34KUEh62ZfEIfbJLVzz4JGnUE5EM="; 54 }; 55 56 nativeBuildInputs = [ ··· 63 dontWrapGApps = true; 64 65 patches = [ 66 - ./use_v23_dbus_interface.diff 67 - 68 - (fetchpatch { 69 - name = "use-pkgconfig-to-check-mount.patch"; 70 - url = "https://github.com/linuxdeepin/dde-file-manager/commit/b6c210057d991591df45b80607a614e7a57a9dc0.patch"; 71 - hash = "sha256-k0ZYlOVN3hHs1qvvRaJ3i6okOhDE+DoUKGs9AhSFBGU="; 72 - }) 73 ]; 74 75 postPatch = '' ··· 132 133 cmakeFlags = [ 134 "-DVERSION=${version}" 135 ]; 136 137 enableParallelBuilding = true;
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , runtimeShell 5 , dtkwidget 6 , qt5integration ··· 43 44 stdenv.mkDerivation rec { 45 pname = "dde-file-manager"; 46 + version = "6.0.40"; 47 48 src = fetchFromGitHub { 49 owner = "linuxdeepin"; 50 repo = pname; 51 rev = version; 52 + hash = "sha256-fvxP6wle4hezt9nEDpTgK+xB4J5XIC0mP5jWCmkjJPA="; 53 }; 54 55 nativeBuildInputs = [ ··· 62 dontWrapGApps = true; 63 64 patches = [ 65 + ./patch_check_v23_interface.diff 66 ]; 67 68 postPatch = '' ··· 125 126 cmakeFlags = [ 127 "-DVERSION=${version}" 128 + "-DNIX_DEEPIN_VERSION=23" 129 + "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" 130 ]; 131 132 enableParallelBuilding = true;
+3 -3
pkgs/desktops/deepin/core/dde-file-manager/use_v23_dbus_interface.diff pkgs/desktops/deepin/core/dde-file-manager/patch_check_v23_interface.diff
··· 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index e93d3ad..94e3eca 100644 3 --- a/CMakeLists.txt 4 +++ b/CMakeLists.txt 5 - @@ -30,7 +30,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 6 endif() 7 8 #Indentify the version 9 -if (${DEEPIN_OS_VERSION} MATCHES "23") 10 - +if (TRUE) 11 add_definitions(-DCOMPILE_ON_V23) 12 set(COMPLIE_ON_V23 TRUE) 13 message("COMPILE ON v23")
··· 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 8a8cfb079..34092aa57 100644 3 --- a/CMakeLists.txt 4 +++ b/CMakeLists.txt 5 + @@ -31,7 +31,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 6 endif() 7 8 #Indentify the version 9 -if (${DEEPIN_OS_VERSION} MATCHES "23") 10 + +if (${NIX_DEEPIN_VERSION} MATCHES "23") 11 add_definitions(-DCOMPILE_ON_V23) 12 set(COMPLIE_ON_V23 TRUE) 13 message("COMPILE ON v23")
+7 -2
pkgs/desktops/deepin/core/dde-launchpad/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dde-launchpad"; 18 - version = "0.3.0"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-8m0DjQYih3hB/n2VHuJgUYBe8tpGwBU0NdkLxr1OsFc="; 25 }; 26 27 nativeBuildInputs = [ 28 cmake
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dde-launchpad"; 18 + version = "0.4.4"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-az8BC3n44NGpATNu3Exjn3H7Rumx/YqDXztEGqCpAbY="; 25 }; 26 + 27 + postPatch = '' 28 + substituteInPlace desktopintegration.cpp \ 29 + --replace "AppStreamQt/pool.h" "AppStreamQt5/pool.h" 30 + ''; 31 32 nativeBuildInputs = [ 33 cmake
+2 -2
pkgs/desktops/deepin/core/dde-network-core/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dde-network-core"; 21 - version = "2.0.15"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 - hash = "sha256-AMuWEz3Eyw0tG0srLWpqS7MO7Z4ZzIay4z59cZQZU0o="; 28 }; 29 30 nativeBuildInputs = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dde-network-core"; 21 + version = "2.0.21"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 + hash = "sha256-xuPEh0o62seyxlW+MKGgv/DdheYibSI1K0RJAjxraCw="; 28 }; 29 30 nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/core/dde-session-shell/default.nix
··· 25 26 stdenv.mkDerivation rec { 27 pname = "dde-session-shell"; 28 - version = "6.0.10"; 29 30 src = fetchFromGitHub { 31 owner = "linuxdeepin"; 32 repo = pname; 33 rev = version; 34 - hash = "sha256-h4X3RZe7+CxVeFmk/7+7K4d/2D1+jhECKQaxl4TsuvM="; 35 }; 36 37 postPatch = ''
··· 25 26 stdenv.mkDerivation rec { 27 pname = "dde-session-shell"; 28 + version = "6.0.17"; 29 30 src = fetchFromGitHub { 31 owner = "linuxdeepin"; 32 repo = pname; 33 rev = version; 34 + hash = "sha256-X/aBMxrYeCT3I9ynV8cPzS23H44fHLkpkztewnfTNxA="; 35 }; 36 37 postPatch = ''
+2 -2
pkgs/desktops/deepin/core/dde-session-ui/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-session-ui"; 20 - version = "6.0.10"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 - hash = "sha256-JwktVbwWdfqURhZuEFdB5oaKMsBZu5DekpZ2WGpcL4Q="; 27 }; 28 29 postPatch = ''
··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-session-ui"; 20 + version = "6.0.16"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 + hash = "sha256-hxunGK7DxRuAbmi6PtylHCBajV3b1qbFVA+AiuOCcN0="; 27 }; 28 29 postPatch = ''
+5 -2
pkgs/desktops/deepin/core/dde-session/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dde-session"; 18 - version = "1.1.9"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-CyHvvNALXe4fOMjD48By/iaU6/xNUhH9yG19Ob3bHy0="; 25 }; 26 27 postPatch = '' 28 # Avoid using absolute path to distinguish applications 29 substituteInPlace src/dde-session/impl/sessionmanager.cpp \ 30 --replace 'file.readAll().startsWith("/usr/bin/dde-lock")' 'file.readAll().contains("dde-lock")' \
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dde-session"; 18 + version = "1.2.5"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-YYGRjVbVFyzmRhYu6sDtxzghocgM7Myr3K77AqWQk3E="; 25 }; 26 27 postPatch = '' 28 + substituteInPlace misc/CMakeLists.txt \ 29 + --replace "/etc" "$out/etc" 30 + 31 # Avoid using absolute path to distinguish applications 32 substituteInPlace src/dde-session/impl/sessionmanager.cpp \ 33 --replace 'file.readAll().startsWith("/usr/bin/dde-lock")' 'file.readAll().contains("dde-lock")' \
+2 -2
pkgs/desktops/deepin/core/dde-widgets/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "dde-widgets"; 17 - version = "6.0.14"; 18 19 src = fetchFromGitHub { 20 owner = "linuxdeepin"; 21 repo = pname; 22 rev = version; 23 - hash = "sha256-bmhT7UhMXtC5wlRtwlVnGjoq8rUQcDSk4rGQ0Xrz9ZI="; 24 }; 25 26 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation rec { 16 pname = "dde-widgets"; 17 + version = "6.0.19"; 18 19 src = fetchFromGitHub { 20 owner = "linuxdeepin"; 21 repo = pname; 22 rev = version; 23 + hash = "sha256-oB0lyfmxBSwqjXO+etYdc+DghZVSBU+LXYqK1WS5DaU="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/core/deepin-kwin/default.nix
··· 36 37 stdenv.mkDerivation rec { 38 pname = "deepin-kwin"; 39 - version = "5.25.11"; 40 41 src = fetchFromGitHub { 42 owner = "linuxdeepin"; 43 repo = pname; 44 rev = version; 45 - hash = "sha256-J92T1hsRmmtkjF9OPsrikRtd7bQSEG88UOYu+BHUSx0="; 46 }; 47 48 patches = [
··· 36 37 stdenv.mkDerivation rec { 38 pname = "deepin-kwin"; 39 + version = "5.25.15"; 40 41 src = fetchFromGitHub { 42 owner = "linuxdeepin"; 43 repo = pname; 44 rev = version; 45 + hash = "sha256-aI5wHEFfvZeoz4ykw9dVx/9e96T1Yahs4YZNutv+CYM="; 46 }; 47 48 patches = [
+2 -2
pkgs/desktops/deepin/default.nix
··· 1 - { lib, pkgs, config, libsForQt5 }: 2 let 3 packages = self: 4 let ··· 28 deepin-kwin = callPackage ./core/deepin-kwin { }; 29 dde-appearance = callPackage ./core/dde-appearance { }; 30 dde-app-services = callPackage ./core/dde-app-services { }; 31 - dde-application-manager = callPackage ./core/dde-application-manager { }; 32 dde-control-center = callPackage ./core/dde-control-center { }; 33 dde-calendar = callPackage ./core/dde-calendar { }; 34 dde-clipboard = callPackage ./core/dde-clipboard { };
··· 1 + { lib, pkgs, config, libsForQt5, qt6Packages }: 2 let 3 packages = self: 4 let ··· 28 deepin-kwin = callPackage ./core/deepin-kwin { }; 29 dde-appearance = callPackage ./core/dde-appearance { }; 30 dde-app-services = callPackage ./core/dde-app-services { }; 31 + dde-application-manager = qt6Packages.callPackage ./core/dde-application-manager { }; 32 dde-control-center = callPackage ./core/dde-control-center { }; 33 dde-calendar = callPackage ./core/dde-calendar { }; 34 dde-clipboard = callPackage ./core/dde-clipboard { };
+8 -17
pkgs/desktops/deepin/go-package/dde-api/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , buildGoModule 6 , pkg-config 7 , deepin-gettext-tools ··· 21 22 buildGoModule rec { 23 pname = "dde-api"; 24 - version = "6.0.7"; 25 26 src = fetchFromGitHub { 27 owner = "linuxdeepin"; 28 repo = pname; 29 rev = version; 30 - hash = "sha256-kdf1CoZUyda6bOTW0WJTgaXYhocrjRU9ptj7i+k8aaQ="; 31 }; 32 33 - patches = [ 34 - (fetchpatch { 35 - name = "modify_PKGBUILD_to_support_OBS.patch"; 36 - url = "https://github.com/linuxdeepin/dde-api/commit/1399522d032c6c649db79a33348cdb1a233bc23a.patch"; 37 - hash = "sha256-kSHnYaOxIvv7lAJnvxpSwyRDPyDxpAq9x+gJcBdU3T8="; 38 - }) 39 - ]; 40 - 41 - vendorHash = "sha256-4Yscw3QjWG1rlju6sMRHGn3dSe65b1nx10B3KeyAzBM="; 42 43 postPatch = '' 44 substituteInPlace misc/systemd/system/deepin-shutdown-sound.service \ 45 - --replace "/usr/bin/true" "${coreutils}/bin/true" 46 47 substituteInPlace sound-theme-player/main.go \ 48 - --replace "/usr/sbin/alsactl" "alsactl" 49 50 substituteInPlace misc/{scripts/deepin-boot-sound.sh,systemd/system/deepin-login-sound.service} \ 51 - --replace "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 52 53 substituteInPlace lunar-calendar/huangli.go adjust-grub-theme/main.go \ 54 - --replace "/usr/share/dde-api" "$out/share/dde-api" 55 56 substituteInPlace themes/{theme.go,settings.go} \ 57 - --replace "/usr/share" "/run/current-system/sw/share" 58 59 for file in $(grep "/usr/lib/deepin-api" * -nR |awk -F: '{print $1}') 60 do
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , buildGoModule 5 , pkg-config 6 , deepin-gettext-tools ··· 20 21 buildGoModule rec { 22 pname = "dde-api"; 23 + version = "6.0.9"; 24 25 src = fetchFromGitHub { 26 owner = "linuxdeepin"; 27 repo = pname; 28 rev = version; 29 + hash = "sha256-ht5IaXi4nz0/U1zqp4JTiDkQ3NB69q24MgWfu45SpoY="; 30 }; 31 32 + vendorHash = "sha256-zrtUsCF2+301DKwgWectw+UbOehOp8h8u/IMf09XQ8Q="; 33 34 postPatch = '' 35 substituteInPlace misc/systemd/system/deepin-shutdown-sound.service \ 36 + --replace-fail "/usr/bin/true" "${coreutils}/bin/true" 37 38 substituteInPlace sound-theme-player/main.go \ 39 + --replace-fail "/usr/sbin/alsactl" "alsactl" 40 41 substituteInPlace misc/{scripts/deepin-boot-sound.sh,systemd/system/deepin-login-sound.service} \ 42 + --replace-fail "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 43 44 substituteInPlace lunar-calendar/huangli.go adjust-grub-theme/main.go \ 45 + --replace-fail "/usr/share/dde-api" "$out/share/dde-api" 46 47 substituteInPlace themes/{theme.go,settings.go} \ 48 + --replace-fail "/usr/share" "/run/current-system/sw/share" 49 50 for file in $(grep "/usr/lib/deepin-api" * -nR |awk -F: '{print $1}') 51 do
+6 -5
pkgs/desktops/deepin/go-package/dde-daemon/default.nix
··· 38 39 buildGoModule rec { 40 pname = "dde-daemon"; 41 - version = "6.0.22"; 42 43 src = fetchFromGitHub { 44 owner = "linuxdeepin"; 45 repo = pname; 46 rev = version; 47 - hash = "sha256-D7s6wWZeZHYl/aP/0qLYNn+lZEwGJAjFNbO0whKymck="; 48 }; 49 50 - vendorHash = "sha256-U+G5CELpor34RgFzHpxfvJ/jBfWfE4ShjY2b2Z61BhE="; 51 52 patches = [ 53 ./0001-dont-set-PATH.diff ··· 70 --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" 71 72 substituteInPlace bin/dde-system-daemon/wallpaper.go accounts1/user.go \ 73 - --replace "/usr/share/wallpapers" "/run/current-system/sw/share/wallpapers" 74 75 substituteInPlace timedate1/zoneinfo/zone.go \ 76 - --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" 77 78 substituteInPlace accounts1/image_blur.go grub2/modify_manger.go \ 79 --replace "/usr/lib/deepin-api" "/run/current-system/sw/lib/deepin-api"
··· 38 39 buildGoModule rec { 40 pname = "dde-daemon"; 41 + version = "6.0.34"; 42 43 src = fetchFromGitHub { 44 owner = "linuxdeepin"; 45 repo = pname; 46 rev = version; 47 + hash = "sha256-NIFgv6EUSnCqSdPttx6wrr7K1nRV/JIZJy9uS7uu0Sc="; 48 }; 49 50 + vendorHash = "sha256-F39QGxY0aD+hHWguHosSrSzcB/ahYbnFW9vVtS5oUnU="; 51 52 patches = [ 53 ./0001-dont-set-PATH.diff ··· 70 --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" 71 72 substituteInPlace bin/dde-system-daemon/wallpaper.go accounts1/user.go \ 73 + --replace "/usr/share/wallpapers" "/run/current-system/sw/share/wallpapers" 74 75 substituteInPlace timedate1/zoneinfo/zone.go \ 76 + --replace "/usr/share/dde" "$out/share/dde" \ 77 + --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" 78 79 substituteInPlace accounts1/image_blur.go grub2/modify_manger.go \ 80 --replace "/usr/lib/deepin-api" "/run/current-system/sw/lib/deepin-api"
+2 -2
pkgs/desktops/deepin/go-package/go-dbus-factory/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "go-dbus-factory"; 8 - version = "1.10.23"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 - sha256 = "sha256-6u9Bpoa80j/K1MipncfM378/qmSSMZAlx88jE4hHYBk="; 15 }; 16 17 makeFlags = [ "PREFIX=${placeholder "out"}" ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "go-dbus-factory"; 8 + version = "2.0.8"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 + sha256 = "sha256-yzmr61wrBfZi+CuXFhtvOk7EaFtE8y3QyVwwgEDqwKY="; 15 }; 16 17 makeFlags = [ "PREFIX=${placeholder "out"}" ];
-61
pkgs/desktops/deepin/go-package/startdde/0001-avoid-use-hardcode-path.patch
··· 1 - diff --git a/misc/auto_launch/chinese.json b/misc/auto_launch/chinese.json 2 - index 14b8bff..2b2c412 100644 3 - --- a/misc/auto_launch/chinese.json 4 - +++ b/misc/auto_launch/chinese.json 5 - @@ -3,7 +3,7 @@ 6 - "Priority": 9, 7 - "Group": [ 8 - { 9 - - "Command": "/usr/bin/dde-file-manager", 10 - + "Command": "dde-file-manager", 11 - "Wait": false, 12 - "Args": [ 13 - "-d" 14 - @@ -25,7 +25,7 @@ 15 - "Priority": 7, 16 - "Group": [ 17 - { 18 - - "Command": "/usr/bin/dde-shutdown", 19 - + "Command": "dde-shutdown", 20 - "Wait": false, 21 - "Args": [ 22 - "-d" 23 - diff --git a/session.go b/session.go 24 - index da76626..bf9a2c4 100644 25 - --- a/session.go 26 - +++ b/session.go 27 - @@ -14,6 +14,7 @@ import ( 28 - "sync" 29 - "syscall" 30 - "time" 31 - + "strings" 32 - 33 - "github.com/adrg/xdg" 34 - "github.com/godbus/dbus/v5" 35 - @@ -85,7 +86,7 @@ type SessionManager struct { 36 - } 37 - 38 - const ( 39 - - cmdShutdown = "/usr/bin/dde-shutdown" 40 - + cmdShutdown = "dde-shutdown" 41 - lockFrontDest = "org.deepin.dde.LockFront1" 42 - lockFrontIfc = lockFrontDest 43 - lockFrontObjPath = "/org/deepin/dde/LockFront1" 44 - @@ -458,7 +459,7 @@ func (m *SessionManager) SetLocked(sender dbus.Sender, value bool) *dbus.Error { 45 - return dbusutil.ToError(err) 46 - } 47 - 48 - - if exe == "/usr/bin/dde-lock" { 49 - + if strings.Contains(exe, "dde-lock") { 50 - m.setLocked(value) 51 - return nil 52 - } 53 - @@ -478,7 +479,7 @@ func (m *SessionManager) SetLocked(sender dbus.Sender, value bool) *dbus.Error { 54 - return dbusutil.ToError(fmt.Errorf("desktop file %q is invalid", desktopFile)) 55 - } 56 - exe = info.GetExecutable() 57 - - if exe != "/usr/bin/dde-lock" { 58 - + if strings.Contains(exe, "dde-lock") { 59 - return dbusutil.ToError(fmt.Errorf("exe %q of desktop file %q is invalid", exe, desktopFile)) 60 - } 61 -
···
+5 -9
pkgs/desktops/deepin/go-package/startdde/default.nix
··· 19 20 buildGoModule rec { 21 pname = "startdde"; 22 - version = "6.0.10"; 23 24 src = fetchFromGitHub { 25 owner = "linuxdeepin"; 26 repo = pname; 27 rev = version; 28 - hash = "sha256-B2B8QlA1Ps/ybVzionngtwDwTLd7H02RKJwcXymGlJM="; 29 }; 30 31 - patches = [ 32 - ./0001-avoid-use-hardcode-path.patch 33 - ]; 34 - 35 - vendorHash = "sha256-5BEOazAygYL1N+CaGAbUwdpHZ1EiHr6yNW27/bXNdZg="; 36 37 postPatch = '' 38 - substituteInPlace display/manager.go session.go \ 39 --replace "/bin/bash" "${runtimeShell}" 40 41 substituteInPlace misc/systemd_task/dde-display-task-refresh-brightness.service \ 42 --replace "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 43 44 - substituteInPlace display/manager.go utils.go session.go \ 45 --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" 46 47 substituteInPlace misc/lightdm.conf --replace "/usr" "$out"
··· 19 20 buildGoModule rec { 21 pname = "startdde"; 22 + version = "6.0.13"; 23 24 src = fetchFromGitHub { 25 owner = "linuxdeepin"; 26 repo = pname; 27 rev = version; 28 + hash = "sha256-sftPQq4cSyCTuvVtvjT8YJDLQOpSbmnXEVzFwFFaU4U="; 29 }; 30 31 + vendorHash = "sha256-Y81p3yPQayXbvyUI7N6PvFDO3hSU3SL0AuUKxvZkZNE="; 32 33 postPatch = '' 34 + substituteInPlace display/manager.go \ 35 --replace "/bin/bash" "${runtimeShell}" 36 37 substituteInPlace misc/systemd_task/dde-display-task-refresh-brightness.service \ 38 --replace "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 39 40 + substituteInPlace display/manager.go \ 41 --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon" 42 43 substituteInPlace misc/lightdm.conf --replace "/usr" "$out"
+2 -2
pkgs/desktops/deepin/library/dtkcommon/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "dtkcommon"; 9 - version = "5.6.17"; 10 11 src = fetchFromGitHub { 12 owner = "linuxdeepin"; 13 repo = pname; 14 rev = version; 15 - hash = "sha256-mquBuF+Gzq5txxCczeS+gI8LshdKnK5WnpOCytNki+w="; 16 }; 17 18 nativeBuildInputs = [
··· 6 7 stdenv.mkDerivation rec { 8 pname = "dtkcommon"; 9 + version = "5.6.21"; 10 11 src = fetchFromGitHub { 12 owner = "linuxdeepin"; 13 repo = pname; 14 rev = version; 15 + hash = "sha256-wRTzgvtmbGJJaIwi1f5m98K2o6g7yZdnKYR1nsDDwk8="; 16 }; 17 18 nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/library/dtkcore/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dtkcore"; 21 - version = "5.6.17"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 - hash = "sha256-/MGSvT8tPn+KqqlM6FY2iFsArmAkYMW5Q3Sl4g4zvH0="; 28 }; 29 30 patches = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "dtkcore"; 21 + version = "5.6.22"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 + hash = "sha256-W8uLNWC8bYzrKrX/hq9p1h66dWrxp4Vt+/27zDJeAS4="; 28 }; 29 30 patches = [
+2 -2
pkgs/desktops/deepin/library/dtkdeclarative/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dtkdeclarative"; 18 - version = "5.6.17"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-P0F6GidGp+CkNplKnLiaYVtcxs6N66gGIx6UcplEt08="; 25 }; 26 27 patches = [
··· 15 16 stdenv.mkDerivation rec { 17 pname = "dtkdeclarative"; 18 + version = "5.6.24"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-bGy8e+JAyHiAwWvO5Xz1TubHUDP4i4nWUR4h5/appM0="; 25 }; 26 27 patches = [
+2 -9
pkgs/desktops/deepin/library/dtkgui/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , pkg-config 6 , cmake 7 , qttools ··· 16 17 stdenv.mkDerivation rec { 18 pname = "dtkgui"; 19 - version = "5.6.17"; 20 21 src = fetchFromGitHub { 22 owner = "linuxdeepin"; 23 repo = pname; 24 rev = version; 25 - hash = "sha256-ssCVMFCE1vhucYMxXkEZV5YlFxT1JdYGqrzILhWX1XI="; 26 }; 27 28 patches = [ 29 ./fix-pkgconfig-path.patch 30 ./fix-pri-path.patch 31 - 32 - (fetchpatch { 33 - name = "fix_svg_with_filter_attribute_rendering_exception.patch"; 34 - url = "https://github.com/linuxdeepin/dtkgui/commit/f2c9327eb4989ab8ea96af7560c67d1cada794de.patch"; 35 - hash = "sha256-lfg09tgS4vPuYachRbHdaMYKWdZZ0lP0Hxakkr9JKGs="; 36 - }) 37 ]; 38 39 nativeBuildInputs = [
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , pkg-config 5 , cmake 6 , qttools ··· 15 16 stdenv.mkDerivation rec { 17 pname = "dtkgui"; 18 + version = "5.6.22"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-h3DFG6FaJXP9o9u8R31MtX3Z1+P3DrNDT8Xbd8tlI4Y="; 25 }; 26 27 patches = [ 28 ./fix-pkgconfig-path.patch 29 ./fix-pri-path.patch 30 ]; 31 32 nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/library/dtkwidget/default.nix
··· 20 21 stdenv.mkDerivation rec { 22 pname = "dtkwidget"; 23 - version = "5.6.17"; 24 25 src = fetchFromGitHub { 26 owner = "linuxdeepin"; 27 repo = pname; 28 rev = version; 29 - hash = "sha256-oFmM0e7ht3lCL50pwS/v/BLFmT2jymQaUZ4SmLdxvMo="; 30 }; 31 32 patches = [
··· 20 21 stdenv.mkDerivation rec { 22 pname = "dtkwidget"; 23 + version = "5.6.22"; 24 25 src = fetchFromGitHub { 26 owner = "linuxdeepin"; 27 repo = pname; 28 rev = version; 29 + hash = "sha256-szy1gPm+PsiUXGvo5QuXKYMVPCcaqVX47iu48WXOjWU="; 30 }; 31 32 patches = [
+2 -2
pkgs/desktops/deepin/library/image-editor/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "image-editor"; 18 - version = "1.0.35"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-Xr4tueipQbRHyKLStTWeUcVbX7Baiz0YooaaVk65Y+U="; 25 }; 26 27 postPatch = ''
··· 15 16 stdenv.mkDerivation rec { 17 pname = "image-editor"; 18 + version = "1.0.41"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-9V9B0YSUTWv/4IbTRtKJSVrZx6j8jqJxIIR9TwUZ0U0="; 25 }; 26 27 postPatch = ''
+2 -2
pkgs/desktops/deepin/library/qt5integration/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "qt5integration"; 18 - version = "5.6.17"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-8ag/cFkjp5u/0/71xKR6z6dXp2NGRIYNNbzzEmgsDmc="; 25 }; 26 27 nativeBuildInputs = [
··· 15 16 stdenv.mkDerivation rec { 17 pname = "qt5integration"; 18 + version = "5.6.20"; 19 20 src = fetchFromGitHub { 21 owner = "linuxdeepin"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-cmvscSIu3LOTKuMs/+JUdJAvQ7OB4o1k+LqfRxNefZU="; 25 }; 26 27 nativeBuildInputs = [
+2 -11
pkgs/desktops/deepin/library/qt5platform-plugins/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , cmake 6 , extra-cmake-modules 7 , pkg-config ··· 18 19 stdenv.mkDerivation rec { 20 pname = "qt5platform-plugins"; 21 - version = "5.6.16"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = pname; 26 rev = version; 27 - hash = "sha256-1/biT8wR44+sdOMhBW/8KMUSBDK/UxuEqsyjTZyjBT4="; 28 }; 29 30 nativeBuildInputs = [ ··· 43 wayland 44 dwayland 45 qtwayland 46 - ]; 47 - 48 - patches = [ 49 - (fetchpatch { 50 - name = "use-ECM-to-help-dwayland-find-wayland.patch"; 51 - url = "https://github.com/linuxdeepin/qt5platform-plugins/commit/d7f6230716a0ff5ce34fc7d292ec0af5bbac30e4.patch"; 52 - hash = "sha256-RY2+QBR3OjUGBX4Y9oVvIRY90IH9rTOCg8dCddkB2WE="; 53 - }) 54 ]; 55 56 cmakeFlags = [
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , cmake 5 , extra-cmake-modules 6 , pkg-config ··· 17 18 stdenv.mkDerivation rec { 19 pname = "qt5platform-plugins"; 20 + version = "5.6.22"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 + hash = "sha256-0XQ4s6xpFHoG6SC8RE8WVnbHH7qNeOYkhrYUkDEH8Dc="; 27 }; 28 29 nativeBuildInputs = [ ··· 42 wayland 43 dwayland 44 qtwayland 45 ]; 46 47 cmakeFlags = [
+2 -2
pkgs/desktops/deepin/library/util-dfm/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "util-dfm"; 16 - version = "1.2.16"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 - hash = "sha256-o5ubfCpgAHJXqihGyapq7Dj9eQlw2q6VoER/e37tM6w="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation rec { 15 pname = "util-dfm"; 16 + version = "1.2.21"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 + hash = "sha256-EqNca3heIUUV5joMskpriCY+7NwjUc/vmQwomDkru80="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/misc/deepin-desktop-base/default.nix
··· 5 }: 6 stdenvNoCC.mkDerivation rec { 7 pname = "deepin-desktop-base"; 8 - version = "2023.09.05"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 - hash = "sha256-Gqp56TbkuTOI3aT7UmRuYBjUwRiOoIUHiRf0DaY0yew="; 15 }; 16 17 makeFlags = [ "DESTDIR=${placeholder "out"}" ];
··· 5 }: 6 stdenvNoCC.mkDerivation rec { 7 pname = "deepin-desktop-base"; 8 + version = "2024.01.03"; 9 10 src = fetchFromGitHub { 11 owner = "linuxdeepin"; 12 repo = pname; 13 rev = version; 14 + hash = "sha256-45qR1LCnA8ZSrWykqNvvm7Dxbi5pQnAuFy6nZJrzyi0="; 15 }; 16 17 makeFlags = [ "DESTDIR=${placeholder "out"}" ];