Updated to 6.5.0

This commit is contained in:
Алзим 2018-02-07 02:50:19 +03:00
parent bb586f7e54
commit ad11e60559
3 changed files with 31 additions and 4 deletions

View file

@ -1,2 +1,2 @@
sources:
peazip-6.4.1.src.zip: 49be76034feb29bcbeefb5797c891556cd12bf81
peazip-6.5.0.src.zip: 783cc020b2a693c90fe67a581231a36ed5100a72

View file

@ -0,0 +1,24 @@
From: Luigi Baldoni <aloisio@gmx.com>
Date: 2017-12-27 13:01:22 +0100
Subject: Make peazip compatible with lazarus 1.8.0
References: https://sourceforge.net/p/peazip/tickets/468
Upstream: submitted
The GetSelectedNodePath method has been deprecated since
svn r48302 2015-03-12.
Using the Path property as recommended in lcl/shellctrls.pas#L86
(lazarus source, same revision)
Index: peazip-6.5.0.src/peach.pas
===================================================================
--- peazip-6.5.0.src.orig/peach.pas
+++ peazip-6.5.0.src/peach.pas
@@ -56706,7 +56706,7 @@ var
begin
if fromtree=true then
begin
- s:=ShellTreeView1.GetSelectedNodePath;
+ s:=ShellTreeView1.Path;
if s='' then exit;
fun:='FILEBROWSER';
fun_status:=fun;

View file

@ -2,7 +2,7 @@
Summary: File and archive manager
Name: peazip
Version: 6.4.1
Version: 6.5.0
Release: 1
License: LGPLv3+
Group: File tools
@ -11,6 +11,8 @@ Source0: https://sourceforge.net/projects/peazip/files/%{version}/%{name}-%{vers
# configure to run in users home appdata
Source1: altconf.txt
Source2: rosa-peazip.desktop
# https://sourceforge.net/p/peazip/tickets/468
Patch0: peazip-6.5.0-lazarus_1.8.0.patch
BuildRequires: dos2unix
BuildRequires: lazarus >= 1.2.0
BuildRequires: qt4pas-devel
@ -36,6 +38,7 @@ UPX...
%prep
%setup -qn %{name}-%{version}.src
%apply_patches
chmod +w res/lang
dos2unix readme*