Unverified Commit bcbd04fd authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #326789 from K900/kf-6.4

KDE Frameworks 6.4
parents 4312c480 69ee28dc
Loading
Loading
Loading
Loading
+0 −52
Original line number Diff line number Diff line
{ cmake
, fetchFromGitLab
, kdePackages
, lib
, pkg-config
, stdenv
}:

stdenv.mkDerivation rec {
  pname = "francis";
  version = "24.05.0";

  src = fetchFromGitLab {
    domain = "invent.kde.org";
    repo = "francis";
    owner = "utilities";
    rev = "v${version}";
    hash = "sha256-mvB01iFvTmGSGaCdvyMOC8BaIgZgyeyRJEra31w04DI=";
  };

  nativeBuildInputs = [
    cmake
    kdePackages.kirigami
    kdePackages.kirigami-addons
    kdePackages.plasma5support
    kdePackages.qqc2-desktop-style
    kdePackages.qtsvg
    kdePackages.qtwayland
    kdePackages.wrapQtAppsHook
    pkg-config
  ];

  buildInputs = [
    kdePackages.kiconthemes
    # otherwise buttons are blank on non-kde
    kdePackages.breeze-icons
  ];

  cmakeFlags = [
    # fix can't find Qt6QmlCompilerPlusPrivate
    "-DQT_NO_FIND_QMLSC=TRUE"
  ];

  meta = with lib; {
    description = "Using the well-known pomodoro technique to help you get more productive";
    homepage = "https://apps.kde.org/francis/";
    license = with licenses; [ bsd2 bsd3 cc0 lgpl2Plus lgpl21Plus gpl3Plus ];
    mainProgram = "francis";
    maintainers = with maintainers; [ cimm ];
    platforms = lib.platforms.linux;
  };
}
+2 −1
Original line number Diff line number Diff line
{
  mkKdeDerivation,
  qtdeclarative,
  libical,
}:
mkKdeDerivation {
  pname = "kcalendarcore";

  extraBuildInputs = [libical];
  extraBuildInputs = [qtdeclarative libical];
}
+0 −3
Original line number Diff line number Diff line
@@ -11,9 +11,6 @@ mkKdeDerivation {
  patches = [
    # Remove hardcoded smbd search path
    ./0001-Remove-impure-smbd-search-path.patch
    # When running a process through systemd, resolve the full path ourselves
    ./early-resolve-executables.diff
    # FIXME(later): discuss with upstream?
  ];

  extraBuildInputs = [qt5compat qttools acl attr];
+0 −13
Original line number Diff line number Diff line
diff --git a/src/gui/systemd/systemdprocessrunner.cpp b/src/gui/systemd/systemdprocessrunner.cpp
index afe3e2c69..5e5ee012d 100644
--- a/src/gui/systemd/systemdprocessrunner.cpp
+++ b/src/gui/systemd/systemdprocessrunner.cpp
@@ -128,7 +128,7 @@ void SystemdProcessRunner::startProcess()
                                               // so we can be notified (see https://github.com/systemd/systemd/pull/3984)
             {QStringLiteral("Environment"), m_process->environment()},
             {QStringLiteral("WorkingDirectory"), m_process->workingDirectory()},
-            {QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList{{m_process->program().first(), m_process->program(), false}})},
+            {QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList{{QStandardPaths::findExecutable(m_process->program().first()), m_process->program(), false}})},
         },
         {} // aux is currently unused and should be passed as empty array.
     );
+0 −10
Original line number Diff line number Diff line
@@ -2,19 +2,9 @@
  mkKdeDerivation,
  qtdeclarative,
  qtsvg,
  fetchpatch,
}:
mkKdeDerivation {
  pname = "ksvg";

  patches = [
    # Backport patch for SVG rendering glitches with fractional scale
    # FIXME: remove in 6.4
    (fetchpatch {
      url = "https://invent.kde.org/frameworks/ksvg/-/commit/74f9f9cbd226407f8cde08c5cd5a711444e2775d.patch";
      hash = "sha256-i4Wcvo0CkpN2qdlTesnzUyd0mzG1VKbycP5Pd1rHPVg=";
    })
  ];

  extraBuildInputs = [qtdeclarative qtsvg];
}
Loading