Accepting request 763967 from KDE:Extra

- Update to 3.2.0:
  * Rewrite the tree view to support navigation with keyboard and
    multi-selection
  * 'Open in terminal' now open Konsole in the selected folder
  * Move from bitbucket to github
- Add patch to fix build on Leap 15.1
  * 0001-Add-the-missing-cassert-include.patch

OBS-URL: https://build.opensuse.org/request/show/763967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/k4dirstat?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-01-13 21:21:57 +00:00 committed by Git OBS Bridge
commit a5bc62ca9b
5 changed files with 59 additions and 9 deletions

View File

@ -0,0 +1,37 @@
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:1b3f54a4e2e2a0b530cb95652a4c2f14f5ce7cb075eeafa738539f7b95baa845
size 230737

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

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jan 13 12:35:34 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 3.2.0:
* Rewrite the tree view to support navigation with keyboard and
multi-selection
* 'Open in terminal' now open Konsole in the selected folder
* Move from bitbucket to github
- Add patch to fix build on Leap 15.1
* 0001-Add-the-missing-cassert-include.patch
-------------------------------------------------------------------
Tue Apr 2 15:30:22 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package k4dirstat
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,15 @@
Name: k4dirstat
Version: 3.1.4
Version: 3.2.0
Release: 0
Summary: Graphical Disk Usage Utility
License: GPL-2.0-only AND LGPL-2.0-only
Group: Productivity/File utilities
URL: https://bitbucket.org/jeromerobert/k4dirstat/wiki/Home
Source0: https://bitbucket.org/jeromerobert/k4dirstat/get/%{name}-%{version}.tar.bz2
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: zlib-devel
BuildRequires: cmake(KF5CoreAddons)
@ -50,7 +52,7 @@ graphically.
%lang_package
%prep
%setup -q -n jeromerobert-k4dirstat-0fd87f361645
%autosetup -p1
%build
%cmake_kf5 -d build
@ -67,7 +69,7 @@ graphically.
%files
%license COPYING*
%doc AUTHORS CREDITS TODO
%doc AUTHORS CREDITS
%doc %lang(en) %{_kf5_htmldir}/en/k4dirstat
%dir %{_kf5_configkcfgdir}
%{_kf5_applicationsdir}/k4dirstat.desktop