Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e21744ba0b | |||
| d5c11cd395 | |||
| 073837b58b | |||
| 5f82904d28 |
2
_service
2
_service
@@ -3,7 +3,7 @@
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/baobab.git</param>
|
||||
<param name="revision">48.0</param>
|
||||
<param name="revision">49.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb4e1474c17003d85c82aa2ca5fa70bfda762d79ec591c023d21376103edb047
|
||||
size 2928140
|
||||
3
baobab-49.1.obscpio
Normal file
3
baobab-49.1.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f9c24cf16c822a2498120ffb9edcde3d6673570aacad0c078872b3f6f1ded35
|
||||
size 2966028
|
||||
@@ -1,82 +0,0 @@
|
||||
From 0d38eafdfae54fc477cdf4719ce1a98c20b1ed7b Mon Sep 17 00:00:00 2001
|
||||
From: Khalid Abu Shawarib <khalid.shawarib@gmail.com>
|
||||
Date: Fri, 11 Apr 2025 12:33:56 +0000
|
||||
Subject: [PATCH 1/2] scanner: Remove unused attribute from query
|
||||
|
||||
This saves 6% of CPU usage and ~12% of calculation
|
||||
time in my testing.
|
||||
---
|
||||
src/baobab-scanner.vala | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/baobab-scanner.vala b/src/baobab-scanner.vala
|
||||
index a1c1aa61..51c15d34 100644
|
||||
--- a/src/baobab-scanner.vala
|
||||
+++ b/src/baobab-scanner.vala
|
||||
@@ -76,8 +76,7 @@ namespace Baobab {
|
||||
FileAttribute.TIME_MODIFIED + "," +
|
||||
FileAttribute.UNIX_NLINK + "," +
|
||||
FileAttribute.UNIX_INODE + "," +
|
||||
- FileAttribute.UNIX_DEVICE + "," +
|
||||
- FileAttribute.ACCESS_CAN_READ;
|
||||
+ FileAttribute.UNIX_DEVICE;
|
||||
|
||||
[Compact]
|
||||
class HardLink {
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From b5a419ffb9d0dc451b98593282ad8a91a935fc7f Mon Sep 17 00:00:00 2001
|
||||
From: Khalid Abu Shawarib <kas@gnome.org>
|
||||
Date: Sat, 12 Apr 2025 02:34:02 +0300
|
||||
Subject: [PATCH 2/2] scanner: Call notify manually
|
||||
|
||||
This saves a lot of signal creation work for the very small price in
|
||||
of slightly more verbose code.
|
||||
|
||||
Reduces scanning time by ~20%
|
||||
---
|
||||
src/baobab-scanner.vala | 12 ++++++++++--
|
||||
1 file changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/baobab-scanner.vala b/src/baobab-scanner.vala
|
||||
index 51c15d34..07223b65 100644
|
||||
--- a/src/baobab-scanner.vala
|
||||
+++ b/src/baobab-scanner.vala
|
||||
@@ -159,7 +159,6 @@ namespace Baobab {
|
||||
public uint64 size { get; internal set; }
|
||||
public uint64 time_modified { get; internal set; }
|
||||
public int elements { get; internal set; }
|
||||
- public double percent { get; internal set; }
|
||||
internal int max_depth;
|
||||
internal Error? error;
|
||||
internal bool child_error;
|
||||
@@ -168,6 +167,16 @@ namespace Baobab {
|
||||
public GLib.ListStore children_list_store { get; construct set; }
|
||||
public State state { get; internal set; }
|
||||
|
||||
+ double _percent;
|
||||
+ public double percent {
|
||||
+ get { return _percent; }
|
||||
+ internal set {
|
||||
+ _percent = value;
|
||||
+
|
||||
+ notify_property ("fraction");
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
public double fraction {
|
||||
get {
|
||||
return _percent / 100.0;
|
||||
@@ -182,7 +191,6 @@ namespace Baobab {
|
||||
|
||||
construct {
|
||||
children_list_store = new ListStore (typeof (Results));
|
||||
- notify["percent"].connect (() => notify_property ("fraction"));
|
||||
}
|
||||
|
||||
public Results (FileInfo info, Results? parent_results) {
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 21 13:40:12 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 49.1:
|
||||
+ Bugs fixed:
|
||||
- Right-click menu actions (such as "Move to trash" or "Copy
|
||||
Path") applied to the wrong row when mouse cursor moved
|
||||
around or below the contextual menu
|
||||
- Segfault when mounting android device
|
||||
- Context menu action applied to wrong item (always)
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 12 06:22:53 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 49.0:
|
||||
+ Improve Scanning Speed and Memory Usage
|
||||
+ Updated translations
|
||||
- Drop baobab-Improve-Scaning-Speed_cpu.patch: fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 12 09:04:53 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: baobab
|
||||
version: 48.0
|
||||
mtime: 1741971948
|
||||
commit: 651f533d758d56963ae7ce0b383e088f4a37591d
|
||||
version: 49.1
|
||||
mtime: 1763727619
|
||||
commit: 800c3b6671341c2666842054f204499d05a93c0c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package baobab
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -20,15 +20,13 @@
|
||||
%define glib2_version 2.44
|
||||
|
||||
Name: baobab
|
||||
Version: 48.0
|
||||
Version: 49.1
|
||||
Release: 0
|
||||
Summary: Disk Usage Analyzer
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/GUI/GNOME
|
||||
URL: https://wiki.gnome.org/Apps/DiskUsageAnalyzer
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
# PATCH-FIX-UPSTREAM baobab-Improve-Scaning-Speed_cpu.patch -- Improve Scaning Speed and Memory Usage
|
||||
Patch0: baobab-Improve-Scaning-Speed_cpu.patch
|
||||
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Reference in New Issue
Block a user