deepin-kwin: 5.24.3-deepin.1.9 -> 5.25.11
This commit is contained in:
parent
e59bf73880
commit
95267d4372
2 changed files with 23 additions and 11 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
diff --git a/src/effects/multitaskview/multitaskview.cpp b/src/effects/multitaskview/multitaskview.cpp
|
||||||
|
index 268bc42..d41f7bf 100644
|
||||||
|
--- a/src/effects/multitaskview/multitaskview.cpp
|
||||||
|
+++ b/src/effects/multitaskview/multitaskview.cpp
|
||||||
|
@@ -50,8 +50,8 @@
|
||||||
|
#define SCISSOR_HOFFD 400
|
||||||
|
|
||||||
|
const char screen_recorder[] = "deepin-screen-recorder deepin-screen-recorder";
|
||||||
|
-const char fallback_background_name[] = "file:///usr/share/wallpapers/deepin/desktop.jpg";
|
||||||
|
-const char previous_default_background_name[] = "file:///usr/share/backgrounds/default_background.jpg";
|
||||||
|
+const char fallback_background_name[] = "file:///run/current-system/sw/share/wallpapers/deepin/desktop.jpg";
|
||||||
|
+const char previous_default_background_name[] = "file:///run/current-system/sw/share/backgrounds/default_background.jpg";
|
||||||
|
const char add_workspace_png[] = ":/effects/multitaskview/buttons/add-light.png";//":/resources/themes/add-light.svg";
|
||||||
|
const char delete_workspace_png[] = ":/effects/multitaskview/buttons/workspace_delete.png";
|
||||||
|
|
|
@ -36,23 +36,19 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "deepin-kwin";
|
pname = "deepin-kwin";
|
||||||
version = "5.24.3-deepin.1.9";
|
version = "5.25.11";
|
||||||
|
|
||||||
/*
|
|
||||||
There are no buildable tag in github:
|
|
||||||
- 5.15 tag in eagel branch is used for UOS, it's too old to compile.
|
|
||||||
- 5.25 tag in master branch only work on unreleased deepin v23.
|
|
||||||
Since deepin-kwin was not maintained on github before, we lost all
|
|
||||||
tags in master branch, this version is read from debian/changelog
|
|
||||||
*/
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "98c9085670938937e2a1ce964f6acddc5c1d6eb5";
|
rev = version;
|
||||||
sha256 = "sha256-/hgDuaDrpwAQsMIoaS8pGBJwWfJSrq6Yjic3a60ITtM=";
|
hash = "sha256-J92T1hsRmmtkjF9OPsrikRtd7bQSEG88UOYu+BHUSx0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./0001-hardcode-fallback-background.diff
|
||||||
|
];
|
||||||
|
|
||||||
# Avoid using absolute path to distinguish applications
|
# Avoid using absolute path to distinguish applications
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/effects/screenshot/screenshotdbusinterface1.cpp \
|
substituteInPlace src/effects/screenshot/screenshotdbusinterface1.cpp \
|
||||||
|
@ -102,6 +98,7 @@ stdenv.mkDerivation rec {
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
xorg.xcbutilcursor
|
xorg.xcbutilcursor
|
||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
|
xorg.libXScrnSaver
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|
Loading…
Reference in a new issue