Accepting request 1119919 from KDE:Extra

Update to 3.4.3

OBS-URL: https://build.opensuse.org/request/show/1119919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/k4dirstat?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2023-10-24 18:08:59 +00:00 committed by Git OBS Bridge
commit 040760e7d3
5 changed files with 15 additions and 45 deletions

View File

@ -1,37 +0,0 @@
From dec30fec70d9ec9bcb52372b054d0d409f8c3075 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Mon, 13 Jan 2020 13:50:23 +0100
Subject: [PATCH] Add the missing cassert include
---
src/kdirtreeview.cpp | 1 +
src/ktreemaptile.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/kdirtreeview.cpp b/src/kdirtreeview.cpp
index 808d20a..88b2ee3 100644
--- a/src/kdirtreeview.cpp
+++ b/src/kdirtreeview.cpp
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <time.h>
+#include <cassert>
#include <QDesktopServices>
#include <QHeaderView>
diff --git a/src/ktreemaptile.cpp b/src/ktreemaptile.cpp
index 3c140eb..27c4632 100644
--- a/src/ktreemaptile.cpp
+++ b/src/ktreemaptile.cpp
@@ -6,6 +6,7 @@
#include <QDebug>
#include <algorithm>
+#include <cassert>
#include <math.h>
#include <qimage.h>
#include <qpainter.h>
--
2.24.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c925aa058928ca755984ec708955be936ee5c38d594ba0a21000469539e00424
size 411899

3
k4dirstat-3.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f595ef6d1b316d44cdf5a536b94ea68664345cfe0bbce324030da27ed172a338
size 412329

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Oct 24 09:27:14 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Update to 3.4.3
* Fix a crash when right-clicking in the treeview not on an item
* Remove "KLocalizedString: Using an empty domain" flood
- Drop patch:
* 0001-Add-the-missing-cassert-include.patch
-------------------------------------------------------------------
Wed Dec 7 16:23:08 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -17,15 +17,12 @@
Name: k4dirstat
Version: 3.4.2
Version: 3.4.3
Release: 0
Summary: Graphical Disk Usage Utility
License: GPL-2.0-only AND LGPL-2.0-only
Group: Productivity/File utilities
URL: https://github.com/jeromerobert/k4dirstat
Source0: https://github.com/jeromerobert/k4dirstat/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: 0001-Add-the-missing-cassert-include.patch
BuildRequires: kf5-filesystem
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
@ -53,7 +50,8 @@ graphically.
%build
%cmake_kf5 -d build
%make_jobs
%cmake_build
%install
%kf5_makeinstall -C build