uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
From a162c54ed1fcc39434edf8666c72c305d05e79e6 Mon Sep 17 00:00:00 2001
|
||||
From: diffumist <git@diffumist.me>
|
||||
Date: Mon, 4 Oct 2021 16:58:37 +0800
|
||||
Subject: [PATCH] close user config autostart
|
||||
|
||||
---
|
||||
app/settings/universalsettings.cpp | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/app/settings/universalsettings.cpp b/app/settings/universalsettings.cpp
|
||||
index e0010542..82b9e785 100644
|
||||
--- a/app/settings/universalsettings.cpp
|
||||
+++ b/app/settings/universalsettings.cpp
|
||||
@@ -77,9 +77,6 @@ void UniversalSettings::load()
|
||||
//! check if user has set the autostart option
|
||||
bool autostartUserSet = m_universalGroup.readEntry("userConfiguredAutostart", false);
|
||||
|
||||
- if (!autostartUserSet && !autostart()) {
|
||||
- setAutostart(true);
|
||||
- }
|
||||
|
||||
//! init screen scales
|
||||
m_screenScalesGroup = m_universalGroup.group("ScreenScales");
|
||||
--
|
||||
2.33.0
|
||||
36
pkgs/applications/misc/latte-dock/default.nix
Normal file
36
pkgs/applications/misc/latte-dock/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ mkDerivation, lib, cmake, xorg, plasma-framework, fetchurl
|
||||
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash, knewstuff }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "latte-dock";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "XRop+MNcbeCcbnL2LM1i67QvMudW3CjWYEPLkT/qbGM=";
|
||||
name = "${pname}-${version}.tar.xz";
|
||||
};
|
||||
|
||||
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp xorg.libSM ];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
|
||||
qtx11extras kcrash knewstuff ];
|
||||
|
||||
patches = [
|
||||
./0001-close-user-autostart.patch
|
||||
];
|
||||
fixupPhase = ''
|
||||
mkdir -p $out/etc/xdg/autostart
|
||||
cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dock-style app launcher based on Plasma frameworks";
|
||||
homepage = "https://github.com/psifidotos/Latte-Dock";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.benley maintainers.ysndr ];
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue