SHA256
1
0
forked from pool/4pane

Accepting request 853511 from home:alois:branches:X11:Utilities

- Update to version 7.0
  * Added support for GIO mounts
    + Recent distro versions use GIO to mount some usb devices
      inside /run/user/<id>/gvfs/
      4Pane now looks there for automounted DVDs, cameras and
      smart devices e.g. android phones, and adds a toolbar
      button for each, just as would happen for a usb flash
      drive.
  * Improvements to the QuickFind dialog
  * Compilation fix for >=wxWidgets 3.1.4
- Drop 4pane-fix_for_wx3.1.4.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/853511
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/4pane?expand=0&rev=18
This commit is contained in:
Luigi Baldoni 2020-12-07 07:36:10 +00:00 committed by Git OBS Bridge
parent ae4975fb2d
commit b1d118958a
5 changed files with 19 additions and 35 deletions

View File

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

3
4pane-7.0.tar.gz Normal file
View File

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

View File

@ -1,29 +0,0 @@
From 2143bc32c16e987619f06f9ff0159c0fcdebf924 Mon Sep 17 00:00:00 2001
From: dghart <dghart@users.sourceforge.net>
Date: Tue, 21 Jul 2020 15:54:13 +0100
Subject: [PATCH] Compilation fix for wx3.1.4
wxWidgets commit 1ec7ae changed two wxGenericTreeCtrl brushes to be objects, not pointers, which broke the copied code in MyTreeCtrl.
---
MyTreeCtrl.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/MyTreeCtrl.cpp b/MyTreeCtrl.cpp
index 5e692f4..48ace46 100644
--- a/MyTreeCtrl.cpp
+++ b/MyTreeCtrl.cpp
@@ -1438,7 +1438,11 @@ static const int NO_IMAGE = -1; // //
if (item->IsSelected())
{
+#if wxVERSION_NUMBER < 3104
dc.SetBrush(*(m_hasFocus ? m_hilightBrush : m_hilightUnfocusedBrush));
+#else
+ dc.SetBrush(m_hasFocus ? m_hilightBrush : m_hilightUnfocusedBrush);
+#endif
}
else
{
--
2.28.0

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 7 07:17:47 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 7.0
* Added support for GIO mounts
+ Recent distro versions use GIO to mount some usb devices
inside /run/user/<id>/gvfs/
4Pane now looks there for automounted DVDs, cameras and
smart devices e.g. android phones, and adds a toolbar
button for each, just as would happen for a usb flash
drive.
* Improvements to the QuickFind dialog
* Compilation fix for >=wxWidgets 3.1.4
- Drop 4pane-fix_for_wx3.1.4.patch (merged upstream)
-------------------------------------------------------------------
Wed Oct 7 17:56:47 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -18,14 +18,12 @@
Name: 4pane
Version: 6.0
Version: 7.0
Release: 0
Summary: A multi-pane detailed-list file manager
License: GPL-3.0-only
URL: http://www.4pane.co.uk/
Source0: https://sourceforge.net/projects/fourpane/files/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM 4pane-fix_for_wx3.1.4.patch
Patch0: 4pane-fix_for_wx3.1.4.patch
BuildRequires: ImageMagick
BuildRequires: fdupes
BuildRequires: gcc-c++