summaryrefslogtreecommitdiffstats
path: root/pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 02:35:12 +0000
committertv <tv@krebsco.de>2026-12-02 02:52:01 +0000
commit1b288c2e1d27e373b40b246d856a42fabd90aea7 (patch)
treefee2d71a585253d895091e8163dddebd24123495 /pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch
parent57f5c7c722ff5606d5d360094a016a37ff819b63 (diff)
flameshot-once: flameshot 13.3.0 -> 15.0.0
nixpkgs' patches don't fit 15: load-missing-deps, made for 13.3.0, comes ported, the CVE-2026-62294 fix is in 15 already, and the macos-build one only matters on macOS. The applauncher patch is ported; imgur and history apply as they are.
Diffstat (limited to 'pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch')
-rw-r--r--pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch b/pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch
index c43096dd..c1cf2f86 100644
--- a/pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch
+++ b/pkgs/simple/flameshot-once/flameshot/flameshot-15.applauncher.patch
@@ -1,16 +1,16 @@
diff --git a/src/tools/launcher/applauncherwidget.cpp b/src/tools/launcher/applauncherwidget.cpp
-index 4ec68f29..3a0fa9ad 100644
+index c3e1f30..3f5205c 100644
--- a/src/tools/launcher/applauncherwidget.cpp
+++ b/src/tools/launcher/applauncherwidget.cpp
-@@ -22,6 +22,7 @@
+@@ -23,6 +23,7 @@
#include <QStandardPaths>
#include <QTabWidget>
#include <QTemporaryFile>
+#include <stdlib.h>
namespace {
- #if defined(Q_OS_WIN)
-@@ -72,6 +73,14 @@ AppLauncherWidget::AppLauncherWidget(const QPixmap& p, QWidget* parent)
+
+@@ -74,6 +75,15 @@ AppLauncherWidget::AppLauncherWidget(const QPixmap& p, QWidget* parent)
m_parser.processDirectory(QDir(appsDir));
}
@@ -22,6 +22,7 @@ index 4ec68f29..3a0fa9ad 100644
+ QString dir = QStringLiteral("/run/current-system/sw/share/applications/");
+ QDir appsDir(dir);
+ m_parser.processDirectory(appsDir);
++
#endif
initAppMap();