From 3e59945443b983a4ec39d2c95d52fdc19c7de4ee Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 11 Nov 2024 23:15:54 +0100 Subject: [PATCH] lomiri.lomiri-clock-app: 4.0.4 -> 4.1.0 --- .../applications/lomiri-clock-app/default.nix | 62 +------------------ 1 file changed, 2 insertions(+), 60 deletions(-) diff --git a/pkgs/desktops/lomiri/applications/lomiri-clock-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-clock-app/default.nix index b750184e7300..e219b16428bf 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-clock-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-clock-app/default.nix @@ -2,7 +2,6 @@ stdenv, lib, fetchFromGitLab, - fetchpatch, gitUpdater, nixosTests, cmake, @@ -27,72 +26,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "lomiri-clock-app"; - version = "4.0.4"; + version = "4.1.0"; src = fetchFromGitLab { owner = "ubports"; repo = "development/apps/lomiri-clock-app"; rev = "v${finalAttrs.version}"; - hash = "sha256-IWNLMYrebYQe5otNwZtRUs4YGPo/5OFic3Nh2pWxROs="; + hash = "sha256-bYnAdlpY2Ka08hrJOyqW8+VbCTOi0NNrW+8MHLF7+2E="; }; - patches = [ - # Fix GNUInstallDirs variables usage - # Remove when version > 4.0.4 - (fetchpatch { - name = "0002-lomiri-clock-app-Fix-GNUInstallDirs-variable-concatenations-in-CMake.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/33c62d0382f69462de0567628d7a6ef162944e12.patch"; - hash = "sha256-JEoRjc6RugtznNtgJsXz9wnAL/7fkoog40EVl7uu2pc="; - }) - - # Fix installation of splash icon - # Remove when version > 4.0.4 - (fetchpatch { - name = "0003-lomiri-clock-app-Fix-splash-file-installation-in-non-clock-mode.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/97fd6fd91ee787dfe107bd36bc895f2ff234b5e3.patch"; - hash = "sha256-g9eR6yYgKFDohuZMs1Ub0TwPM2AWbwWLDvZMrT4gMls="; - }) - - # Port from qmlscene to dedicated C++ entry, and apply abunch of fixes that this move enables - # Remove when https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/merge_requests/217 merged & in release - (fetchpatch { - name = "0004-lomiri-clock-app-Migrate-to-C++-app.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/c690d65baf2d28f99364dec2244f8d4ebdb09178.patch"; - hash = "sha256-JCQFlHFAXbgiSGNtEsq/khblhAD/3BdE68Qctn7j5T0="; - }) - (fetchpatch { - name = "0005-lomiri-clock-app-Call-i18n.bindtextdomain-and-fix-app-icon-load.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/0619730ca639228b1c0a3403082a6a13e2fe3ff3.patch"; - hash = "sha256-NQQYvJ141fU2iQ+xzYoNkuuzvqQg1BGZNGq24u8i1is="; - }) - (fetchpatch { - name = "0006-lomiri-clock-app-Pass-through-project-version.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/ae1467fe44813eef2fc6cc4b9d6ddc02edee7640.patch"; - hash = "sha256-E6yk5H+YVH4oSg6AIAJ+Rynu0HFkNomX7sTjM/x37PU="; - }) - (fetchpatch { - name = "0007-lomiri-clock-app-Fix-tests-after-module-changes.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/40cbd7847c4a850184e553ac5b8981672b7deed0.patch"; - hash = "sha256-AA4KRYZNBQ0/Nk65kyzzDFhs/zWO7fb5f2Toy1diPBg="; - }) - - # Don't ignore PATH when looking for qmltestrunner, saves us a patch for hardcoded fallback - # Remove when version > 4.0.4 - (fetchpatch { - name = "0008-lomiri-clock-app-tests-Drop-NO_DEFAULT_PATH.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/190ef47e2efaaf139920d0556e0522f95479ea95.patch"; - hash = "sha256-jy4E+VfVyRu99eGqbhlYi/xjDgPajozHPSlqEcGVOA4="; - }) - - # Make tests honour BUILD_TESTING - # Remove when https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/merge_requests/219 merged & in release - (fetchpatch { - name = "0009-lomiri-clock-app-tests-Honour-BUILD_TESTING.patch"; - url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/b0ca583238f011e23a99286a1d2b61f2dcd85303.patch"; - hash = "sha256-TyM5Y8BRAqinvZiZ5TEXd5caVesFluPi6iGmTS1wRlI="; - }) - ]; - postPatch = '' # QT_IMPORTS_DIR returned by qmake -query is broken substituteInPlace CMakeLists.txt \