mirror of
https://abf.rosa.ru/djam/peazip.git
synced 2025-02-23 14:02:54 +00:00
Updated to 6.5.0
This commit is contained in:
parent
bb586f7e54
commit
ad11e60559
3 changed files with 31 additions and 4 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
peazip-6.4.1.src.zip: 49be76034feb29bcbeefb5797c891556cd12bf81
|
peazip-6.5.0.src.zip: 783cc020b2a693c90fe67a581231a36ed5100a72
|
||||||
|
|
24
peazip-6.5.0-lazarus_1.8.0.patch
Normal file
24
peazip-6.5.0-lazarus_1.8.0.patch
Normal 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;
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Summary: File and archive manager
|
Summary: File and archive manager
|
||||||
Name: peazip
|
Name: peazip
|
||||||
Version: 6.4.1
|
Version: 6.5.0
|
||||||
Release: 1
|
Release: 1
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Group: File tools
|
Group: File tools
|
||||||
|
@ -11,6 +11,8 @@ Source0: https://sourceforge.net/projects/peazip/files/%{version}/%{name}-%{vers
|
||||||
# configure to run in users home appdata
|
# configure to run in users home appdata
|
||||||
Source1: altconf.txt
|
Source1: altconf.txt
|
||||||
Source2: rosa-peazip.desktop
|
Source2: rosa-peazip.desktop
|
||||||
|
# https://sourceforge.net/p/peazip/tickets/468
|
||||||
|
Patch0: peazip-6.5.0-lazarus_1.8.0.patch
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: lazarus >= 1.2.0
|
BuildRequires: lazarus >= 1.2.0
|
||||||
BuildRequires: qt4pas-devel
|
BuildRequires: qt4pas-devel
|
||||||
|
@ -36,6 +38,7 @@ UPX...
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{name}-%{version}.src
|
%setup -qn %{name}-%{version}.src
|
||||||
|
%apply_patches
|
||||||
chmod +w res/lang
|
chmod +w res/lang
|
||||||
dos2unix readme*
|
dos2unix readme*
|
||||||
|
|
||||||
|
@ -56,8 +59,8 @@ cp %{SOURCE1} %{buildroot}%{_datadir}/%{name}/res
|
||||||
|
|
||||||
#install helper apps
|
#install helper apps
|
||||||
mkdir -p %{buildroot}%{_datadir}/%{name}/res/{7z,upx}
|
mkdir -p %{buildroot}%{_datadir}/%{name}/res/{7z,upx}
|
||||||
ln -s %{_bindir}/7z %{buildroot}%{_datadir}/%{name}/res/7z
|
ln -s %{_bindir}/7z %{buildroot}%{_datadir}/%{name}/res/7z
|
||||||
ln -s %{_bindir}/upx %{buildroot}%{_datadir}/%{name}/res/upx
|
ln -s %{_bindir}/upx %{buildroot}%{_datadir}/%{name}/res/upx
|
||||||
|
|
||||||
install pea %{buildroot}%{_datadir}/%{name}/res
|
install pea %{buildroot}%{_datadir}/%{name}/res
|
||||||
ln -s %{_datadir}/%{name}/res/pea %{buildroot}%{_bindir}/pea
|
ln -s %{_datadir}/%{name}/res/pea %{buildroot}%{_bindir}/pea
|
||||||
|
|
Loading…
Add table
Reference in a new issue