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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ mkDerivation, lib, fetchFromGitLab, qtsvg, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coreaction";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-XQ/GcSjGSe+3d0dJxjmmcBFoDzrmM6zsHMfbDdzmpPs=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtsvg
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A side bar for showing widgets from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreaction";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,34 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corearchiver";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-EUcUivUuuUApIC9daS6BFA1YoE4yO3Kc8jG0VIks/Y0=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libarchive-qt
libarchive
libcprime
libcsys
];
meta = with lib; {
description = "Archiver from the C Suite to create and extract archives";
homepage = "https://gitlab.com/cubocore/coreapps/corearchiver";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corefm";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uScM6cVRwYopZ6NY3PSAAyxNNyX3hVnFs6hkAyF29PA=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A lightwight filemanager from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corefm";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,34 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coregarage";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Jq0lIXfw/1Ixd+QIY7D1ErBCOSKmwkWBupcDxUUEliM=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libarchive
libarchive-qt
libcprime
libcsys
];
meta = with lib; {
description = "A settings manager for the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coregarage";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corehunt";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-zhJadrdOXpl0bXxEPWjQ59Pzjg4MfIZXtYzCnJbh+pI=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A file finder utility from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corehunt";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coreimage";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uG9/8sQK0G3f7O59OHEHqNHP8cUC73hmjsfpOnj0kFM=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "An image viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreimage";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,35 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libzen, libmediainfo, zlib, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coreinfo";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KoX2U07giVF2xZR1diM6teiNfKYRiqjowTJgnsMlaN0=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libzen
libmediainfo
zlib
libcprime
libcsys
];
meta = with lib; {
description = "A file information tool from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreinfo";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,8 @@
--- a/corekeyboard/CMakeLists.txt 2022-01-29 14:03:28.149607341 +0700
+++ b/CMakeLists.txt 2022-01-29 14:04:00.178733700 +0700
@@ -55,5 +55,4 @@
install( TARGETS corekeyboard DESTINATION bin )
install( FILES org.cubocore.CoreKeyboard.desktop DESTINATION share/applications )
-install( FILES org.cubocore.CoreKeyboard-Tray.desktop DESTINATION /etc/xdg/autostart )
install( FILES org.cubocore.CoreKeyboard.svg DESTINATION share/icons/hicolor/scalable/apps/ )

View file

@ -0,0 +1,40 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, xorg, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corekeyboard";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yJOcuE6HknDhXCr1qW/NJkerjvBABYntXos0owDDwcw=";
};
patches = [
# Remove autostart
./0001-fix-installPhase.patch
];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtx11extras
xorg.libXtst
xorg.libX11
libcprime
libcsys
];
meta = with lib; {
description = "A virtual keyboard for X11 from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corekeyboard";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corepad";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-19qR08QhWeeXnJAQHe1SJjT0xnQLlbkXlzmd9uiMp14=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A document editor from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepad";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corepaint";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uAFV3NKtgNri8GQLD+MRacl9WYMfkMVZcoVML+oSX78=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A paint app from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepaint";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,34 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, poppler, qtwebengine, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corepdf";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VwJ3H/jNP3u5C+LATPUSftiWm89upx77fN3NqzTnU7Y=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
poppler
qtwebengine
libcprime
libcsys
];
meta = with lib; {
description = "A PDF viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepdf";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corepins";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-CVToPF8/Tw+n31/A0bzyBbwF7xPBVirsqVOUsM8QtH0=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A bookmarking app from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepins";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corerenamer";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WrMyz8Noq0EeBIxL4mSl6e+8wrivmwfoa1yKBrSgrRI=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "A batch file renamer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corerenamer";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,33 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coreshot";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-wEpo/YINtKAYHqlGYytUPh9ndkvQBw3tRIlyjnKJaf8=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtx11extras
libcprime
libcsys
];
meta = with lib; {
description = "A screen capture utility from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreshot";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,33 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, lm_sensors, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corestats";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-154BZIKb6QDrTC4DXh4dbFtN/Lq0ok/qOrqTkXa+rAo=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
lm_sensors
libcprime
libcsys
];
meta = with lib; {
description = "A system resource viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corestats";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,11 @@
--- a/corestuff/CMakeLists.txt 2022-01-29 14:09:02.699700817 +0700
+++ b/CMakeLists.txt 2022-01-29 14:09:23.211754633 +0700
@@ -120,8 +120,3 @@
install( FILES org.cubocore.CoreStuff.desktop DESTINATION share/applications )
install( FILES org.cubocore.CoreStuff.svg DESTINATION share/icons/hicolor/scalable/apps/ )
install( FILES background/default.svg DESTINATION share/coreapps/background )
-
-if ( DEFINED ADD_AUTOSTART )
- message("INSTALLING TO AUTOSTART LOCATION")
- install( FILES org.cubocore.CoreStuff.desktop DESTINATION /etc/xdg/autostart )
-endif()

View file

@ -0,0 +1,40 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, kglobalaccel, xorg, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corestuff";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-snzW6cqxIyiXJLOD5MoEqmzen1aZN4IALESaIWIOMro=";
};
patches = [
# Remove autostart
./0001-fix-installPhase.patch
];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtx11extras
kglobalaccel
xorg.libXcomposite
libcprime
libcsys
];
meta = with lib; {
description = "An activity viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corestuff";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,44 @@
{ mkDerivation
, lib
, fetchFromGitLab
, qtbase
, qtserialport
, qtermwidget
, cmake
, ninja
, libcprime
, libcsys
}:
mkDerivation rec {
pname = "coreterminal";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0gxcbfDD43BnkxYWSdViK3hjzfgPGFruwzF4hCxFZ7c=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtserialport
qtermwidget
libcprime
libcsys
];
meta = with lib; {
description = "A terminal emulator from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreterminal";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,33 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtmultimedia, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coretime";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-MIcmgBfgyjEyJxXCq6IbQ/i6IdtL5cWVGpV2YZbzK58=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtmultimedia
libcprime
libcsys
];
meta = with lib; {
description = "A time related task manager from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coretime";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,8 @@
--- a/corepkit/CMakeLists.txt 2021-12-25 17:52:20.000000000 +0700
+++ b/corepkit/CMakeLists.txt 2021-12-29 17:58:09.298024297 +0700
@@ -32,4 +32,4 @@
target_link_libraries( corepkit Qt5::Core )
install( TARGETS corepkit DESTINATION libexec/coreapps/ )
-install( FILES org.cubocore.coreapps.policy DESTINATION share/polkit-1/actions/ )
+install( FILES org.cubocore.coreapps.policy DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/polkit-1/actions/ )

View file

@ -0,0 +1,87 @@
{ mkDerivation
, lib
, fetchFromGitLab
, ffmpeg
, cmake
, ninja
, qtbase
, qtx11extras
, qtconnectivity
, v4l-utils
, grim
, wf-recorder
, libdbusmenu
, playerctl
, xorg
, iio-sensor-proxy
, inotify-tools
, bluez
, networkmanager
, connman
, redshift
, gawk
, polkit
, libnotify
, systemd
, xdg-utils
, libcprime
, libcsys
}:
mkDerivation rec {
pname = "coretoppings";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Yq57dY1zIuQN2Gj9haxJMomafL32B+/9v3lWlY9fvcc=";
};
patches = [
# Fix file cannot create directory: /var/empty/share/polkit-1/actions
./0001-fix-install-phase.patch
];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtx11extras
qtconnectivity
libdbusmenu
ffmpeg
v4l-utils
grim
wf-recorder
playerctl
xorg.xrandr
xorg.xinput
xorg.libXdamage
iio-sensor-proxy
inotify-tools
bluez
networkmanager
connman
redshift
gawk
polkit
libnotify
systemd
xdg-utils
libcprime
libcsys
];
meta = with lib; {
description = "Additional features,plugins etc for CuboCore Application Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "coreuniverse";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KNjXrsm4OfBxida8mcAlKgomcpg0xJg51ZxEdhaiL84=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
libcprime
libcsys
];
meta = with lib; {
description = "Shows information about apps from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreuniverse";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,29 @@
From 8e6328e932ab2739f075e8e8d602c2370a2a8ce8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mustafa=20=C3=87al=C4=B1=C5=9Fkan?= <musfay@protonmail.com>
Date: Wed, 28 Jul 2021 02:26:39 +0300
Subject: [PATCH] fix application dirs
---
cprime/systemxdg.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cprime/systemxdg.cpp b/cprime/systemxdg.cpp
index f9eee66..ea0553d 100644
--- a/cprime/systemxdg.cpp
+++ b/cprime/systemxdg.cpp
@@ -233,8 +233,10 @@ void SystemXdgMime::setApplicationAsDefault( QString appFileName, QString mimety
SystemXdgMime::SystemXdgMime() {
appsDirs << QDir::home().filePath( ".local/share/applications/" );
- appsDirs << "/usr/local/share/applications/" << "/usr/share/applications/";
- appsDirs << "/usr/share/applications/kde4/" << "/usr/share/gnome/applications/";
+ appsDirs << QDir::home().filePath( ".nix-profile/share/applications/" );
+ appsDirs << "/run/current-system/sw/share/applications/";
+ appsDirs << "/run/current-system/sw/share/applications/kde4/";
+ appsDirs << "/run/current-system/sw/share/gnome/applications/";
};
DesktopFile SystemXdgMime::xdgDefaultApp( QMimeType mimeType ) {
--
2.32.0

View file

@ -0,0 +1,44 @@
{ mkDerivation
, lib
, fetchFromGitLab
, libnotify
, cmake
, ninja
, qtbase
, qtconnectivity
}:
mkDerivation rec {
pname = "libcprime";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+z5dXKaV2anN6OLMycEz87kDqQScgHHEKwGhDAdHSd4=";
};
patches = [
./0001-fix-application-dirs.patch
];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtconnectivity
libnotify
];
meta = with lib; {
description = "A library for bookmarking, saving recent activites, managing settings of C-Suite";
homepage = "https://gitlab.com/cubocore/coreapps/libcprime";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,31 @@
{ mkDerivation, lib, fetchFromGitLab, udisks2, qtbase, cmake, ninja }:
mkDerivation rec {
pname = "libcsys";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/iRFppe08+rMQNFjWSyxo3Noy0iNaelg0JAczg/BYBs=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
udisks2
];
meta = with lib; {
description = "Library for managing drive and getting system resource information in real time";
homepage = "https://gitlab.com/cubocore/libcsys";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}