Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-24.11] deepin desktop environment: 2024.12 update #371369

Merged
merged 20 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nixos/modules/services/networking/netbird/management.nix
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ in
"netbird-mgmt"
"netbird-mgmt/data"
];
StateDirectoryMode = "0750";
RuntimeDirectoryMode = "0750";
WorkingDirectory = stateDir;

# hardening
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ let
# Optimizer error: too much on the stack
ack-menu = ignoreCompilationError super.ack-menu;

# https://github.com/skeeto/emacs-aio/issues/31
aio = ignoreCompilationError super.aio;

# https://github.com/gongo/airplay-el/issues/2
airplay = addPackageRequires super.airplay [ self.request-deferred ];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ch/changedetection-io/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

python3.pkgs.buildPythonApplication rec {
pname = "changedetection-io";
version = "0.47.06";
version = "0.48.05";
format = "setuptools";

src = fetchFromGitHub {
owner = "dgtlmoon";
repo = "changedetection.io";
rev = "refs/tags/${version}";
hash = "sha256-kRoHCnXYWG09lrIiBA14OzhtbTqghXck5JXXNAMMtyc=";
tag = version;
hash = "sha256-oOuHPOvs3qcQcibKyChe2AK1OB3JK/xRKUp1cj5p5PU=";
};

pythonRelaxDeps = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/deepin/core/dde-application-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

stdenv.mkDerivation rec {
pname = "dde-application-manager";
version = "1.2.15";
version = "1.2.19";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-9WKKM3SAMgW+UL0DnzDFqA+HHi7euF/yyTyKSbrIgV4=";
hash = "sha256-KUwX7oilV562WDxkBhTQhwz2lgcQIYwkmRRglWj0zh8=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/deepin/core/dde-launchpad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

stdenv.mkDerivation rec {
pname = "dde-launchpad";
version = "1.0.2";
version = "1.0.8";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-kczdSd9+ZmMZQ2fWg3SRW+CS/aWktYLz/H+Ky81TwVM=";
hash = "sha256-2arO1WSILY5TVPBvdyhttssddwhMYIBcCGq/pW/DnB0=";
};

nativeBuildInputs = [
Expand Down
9 changes: 6 additions & 3 deletions pkgs/desktops/deepin/core/dde-shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,27 @@
qt6integration,
qt6platform-plugins,
dde-tray-loader,
dde-application-manager,
wayland,
wayland-protocols,
treeland-protocols,
yaml-cpp,
xorg,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "dde-shell";
version = "1.0.2";
version = "1.0.9";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dde-shell";
rev = finalAttrs.version;
hash = "sha256-I3z6HL1h3qmLfOrwhyLhtSz3og4kHcAdlHJx4+SgPRo=";
hash = "sha256-Gko1fFut5zWH/L6X5hEe5OZBjRIbKWIrrjjhh2wrsCg=";
};

patches = [
./fix-path-for-nixos.diff
./fix-dock-can-not-show-with-qt6_8.diff
];

postPatch = ''
Expand All @@ -56,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: {

buildInputs = [
dde-tray-loader
dde-application-manager
dtk6declarative
dtk6widget
dde-qt-dbus-factory
Expand All @@ -66,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
qt6integration
wayland
wayland-protocols
treeland-protocols
yaml-cpp
xorg.libXcursor
xorg.libXres
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/desktops/deepin/core/dde-tray-loader/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "dde-tray-loader";
version = "1.0.1";
version = "1.0.7";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dde-tray-loader";
rev = finalAttrs.version;
hash = "sha256-FEvoVgwzDYN23TJxu1kRSMSbS4hELYFFByxOsEO9JKE=";
hash = "sha256-LzRjOl3kHArpxwerh7XOisYIJ+t+r/zWUbvYh6k6zKw=";
};

patches = [
Expand Down
1 change: 1 addition & 0 deletions pkgs/desktops/deepin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ let
qt6platform-plugins = callPackage ./library/qt6platform-plugins { };
qt6integration = callPackage ./library/qt6integration { };
qt6mpris = callPackage ./library/qt6mpris { };
treeland-protocols = callPackage ./library/treeland-protocols { };

#### CORE
deepin-kwin = callPackage ./core/deepin-kwin { };
Expand Down
10 changes: 2 additions & 8 deletions pkgs/desktops/deepin/library/dtk6core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
doxygen,
Expand All @@ -15,23 +14,18 @@

stdenv.mkDerivation (finalAttrs: {
pname = "dtk6core";
version = "6.0.19";
version = "6.0.24";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dtk6core";
rev = finalAttrs.version;
hash = "sha256-3MwvTnjtVVcMjQa1f4UdagEtWhJj8aDgfUlmnGo/R7s=";
hash = "sha256-51TvPQy0b/8kkBs0e3q1B53mEAKHpAYPBla4h1k616c=";
};

patches = [
./fix-pkgconfig-path.patch
./fix-pri-path.patch
(fetchpatch {
name = "fix-build-on-qt-6.8.patch";
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/dtk6core/-/raw/d2e991f96b2940e8533b7e944bab5a7dd6aa0fb7/qt-6.8.patch";
hash = "sha256-HZxUrtUmVwnNUwcBoU7ewb+McsRkALQglPBbJU8HTkk=";
})
];

postPatch = ''
Expand Down
5 changes: 2 additions & 3 deletions pkgs/desktops/deepin/library/dtk6declarative/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,18 @@

stdenv.mkDerivation (finalAttrs: {
pname = "dtk6declarative";
version = "6.0.19";
version = "6.0.24";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dtk6declarative";
rev = finalAttrs.version;
hash = "sha256-BxWPLJeuQDbNg4UoyHD/VAMV2QFWDjWZiFx5JOEmLxg=";
hash = "sha256-i6gkVWs6CQC6i6H6lfrWNYT76fFBc8ECZ1ePvXQ7j8E=";
};

patches = [
./fix-pkgconfig-path.patch
./fix-pri-path.patch
./fix-build-on-qt-6.8.patch
];

nativeBuildInputs = [
Expand Down
135 changes: 0 additions & 135 deletions pkgs/desktops/deepin/library/dtk6declarative/fix-build-on-qt-6.8.patch

This file was deleted.

11 changes: 3 additions & 8 deletions pkgs/desktops/deepin/library/dtk6gui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
doxygen,
Expand All @@ -13,23 +12,18 @@

stdenv.mkDerivation (finalAttrs: {
pname = "dtk6gui";
version = "6.0.19";
version = "6.0.24";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "dtk6gui";
rev = finalAttrs.version;
hash = "sha256-nqwkBMcCQiW4iqYhceTaSNNxoR5tvCNfjKUVVHkzN3A=";
hash = "sha256-Ybi68lTSUJpAipx92JF7wj6y+GTYDodJKRCVFhfnBvQ=";
};

patches = [
./fix-pkgconfig-path.patch
./fix-pri-path.patch
(fetchpatch {
name = "fix-build-on-qt-6.8.patch";
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/dtk6gui/-/raw/b6b8521fd69c28dbca5f6e8d1d8258c904b6caf1/qt-6.8.patch";
hash = "sha256-Fu5vwvKJGMW94JYoIPvDCeXs8WrAskQlVRX/3FYQFGY=";
})
];

postPatch = ''
Expand All @@ -47,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: {

buildInputs = [
qt6Packages.qtbase
qt6Packages.qtwayland
librsvg
];

Expand Down
Loading
Loading