SHA256
1
0
forked from pool/peazip

Accepting request 1146180 from devel:languages:pascal

OBS-URL: https://build.opensuse.org/request/show/1146180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/peazip?expand=0&rev=46
This commit is contained in:
Ana Guerrero 2024-02-12 17:53:39 +00:00 committed by Git OBS Bridge
commit 52e6d7cd91
10 changed files with 130 additions and 88 deletions

View File

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

3
peazip-9.7.0.src.zip Normal file
View File

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

View File

@ -5,11 +5,11 @@ Subject: Build PIE binaries
Set lazarus project files so that we produce position
independent executables.
Index: peazip-9.6.0.src/dev/project_pea.lpi
Index: peazip-9.7.0.src/dev/project_pea.lpi
===================================================================
--- peazip-9.6.0.src.orig/dev/project_pea.lpi
+++ peazip-9.6.0.src/dev/project_pea.lpi
@@ -556,6 +556,8 @@
--- peazip-9.7.0.src.orig/dev/project_pea.lpi
+++ peazip-9.7.0.src/dev/project_pea.lpi
@@ -555,6 +555,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
@ -18,11 +18,11 @@ Index: peazip-9.6.0.src/dev/project_pea.lpi
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-9.6.0.src/dev/project_peach.lpi
Index: peazip-9.7.0.src/dev/project_peach.lpi
===================================================================
--- peazip-9.6.0.src.orig/dev/project_peach.lpi
+++ peazip-9.6.0.src/dev/project_peach.lpi
@@ -1642,6 +1642,8 @@
--- peazip-9.7.0.src.orig/dev/project_peach.lpi
+++ peazip-9.7.0.src/dev/project_peach.lpi
@@ -1645,6 +1645,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>

View File

@ -1,21 +1,8 @@
Index: peazip-9.6.0.src/dev/project_peach.lpi
Index: peazip-9.7.0.src/dev/project_pea.lpi
===================================================================
--- peazip-9.6.0.src.orig/dev/project_peach.lpi
+++ peazip-9.6.0.src/dev/project_peach.lpi
@@ -1639,7 +1639,7 @@
</CodeGeneration>
<Linking>
<Debugging>
- <GenerateDebugInfo Value="False"/>
+ <GenerateDebugInfo Value="True"/>
</Debugging>
<Options>
<PassLinkerOptions Value="True"/>
Index: peazip-9.6.0.src/dev/project_pea.lpi
===================================================================
--- peazip-9.6.0.src.orig/dev/project_pea.lpi
+++ peazip-9.6.0.src/dev/project_pea.lpi
@@ -552,7 +552,7 @@
--- peazip-9.7.0.src.orig/dev/project_pea.lpi
+++ peazip-9.7.0.src/dev/project_pea.lpi
@@ -551,7 +551,7 @@
</CodeGeneration>
<Linking>
<Debugging>
@ -24,3 +11,16 @@ Index: peazip-9.6.0.src/dev/project_pea.lpi
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
Index: peazip-9.7.0.src/dev/project_peach.lpi
===================================================================
--- peazip-9.7.0.src.orig/dev/project_peach.lpi
+++ peazip-9.7.0.src/dev/project_peach.lpi
@@ -1642,7 +1642,7 @@
</CodeGeneration>
<Linking>
<Debugging>
- <GenerateDebugInfo Value="False"/>
+ <GenerateDebugInfo Value="True"/>
</Debugging>
<Options>
<PassLinkerOptions Value="True"/>

View File

@ -1,7 +1,7 @@
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
@@ -2,6 +2,8 @@
Exec=peazip -add2archive %F
Icon=peazip
@ -16,10 +16,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
Icon=peazip
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
@ -36,10 +36,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
Name[en_US]=peazipext
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
@ -56,10 +56,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
Name[en_US]=peazipextfolder
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
@ -76,10 +76,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
Name[en_US]=peazipexthere
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
@@ -2,6 +2,8 @@
Exec=peazip -ext2browse %F
Icon=peazip
@ -94,10 +94,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
Name[en_US]=peazipopen
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipadd]
Exec=peazip -add2archive %F
@ -109,10 +109,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
[Desktop Entry]
Type=Service
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
@ -124,10 +124,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
[Desktop Entry]
Type=Service
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
@ -139,10 +139,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
[Desktop Entry]
Type=Service
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
@ -154,10 +154,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
[Desktop Entry]
Type=Service
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipopen]
Exec=peazip -ext2browse %F
@ -169,10 +169,10 @@ Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus
[Desktop Entry]
Type=Service
Index: peazip-9.6.0.src/res/share/batch/freedesktop_integration/peazip.desktop
Index: peazip-9.7.0.src/res/share/batch/freedesktop_integration/peazip.desktop
===================================================================
--- peazip-9.6.0.src.orig/res/share/batch/freedesktop_integration/peazip.desktop
+++ peazip-9.6.0.src/res/share/batch/freedesktop_integration/peazip.desktop
--- peazip-9.7.0.src.orig/res/share/batch/freedesktop_integration/peazip.desktop
+++ peazip-9.7.0.src/res/share/batch/freedesktop_integration/peazip.desktop
@@ -1,14 +1,21 @@
[Desktop Entry]
Name=PeaZip

View File

@ -1,8 +1,8 @@
Index: peazip-9.6.0.src/dev/peach.pas
Index: peazip-9.7.0.src/dev/peach.pas
===================================================================
--- peazip-9.6.0.src.orig/dev/peach.pas
+++ peazip-9.6.0.src/dev/peach.pas
@@ -45035,7 +45035,7 @@ end;
--- peazip-9.7.0.src.orig/dev/peach.pas
+++ peazip-9.7.0.src/dev/peach.pas
@@ -45291,7 +45291,7 @@ end;
procedure TForm_peach.baboutlocalhelpClick(Sender: TObject);
begin
@ -11,7 +11,7 @@ Index: peazip-9.6.0.src/dev/peach.pas
end;
procedure TForm_peach.baboutplugindirClick(Sender: TObject);
@@ -69902,7 +69902,7 @@ end;
@@ -70209,7 +70209,7 @@ end;
procedure TForm_peach.mpeahelpofflineClick(Sender: TObject);
begin

View File

@ -1,13 +0,0 @@
Index: peazip-9.6.0.src/dev/peach.pas
===================================================================
--- peazip-9.6.0.src.orig/dev/peach.pas
+++ peazip-9.6.0.src/dev/peach.pas
@@ -369,7 +369,7 @@ hash, adler32, CRC16, CRC24, CRC32, CRC6
SHA256, SHA3_512, SHA512, Whirl512, Blake2s, Blake2b, mem_util, AES_EAX, FCAES256,
list_utils,pea_utils,ansiutf8_utils,img_utils,
unit_gwrap,unit1,unit2,unit3,unit5,unit6,Unit7,Unit8,Unit9,Unit10,Unit11,Unit12,Unit13,Unit14,
-Classes, SysUtils, Process, UTF8Process, dateutils, fileutil, Types;
+Classes, SysUtils, Process, UTF8Process, dateutils, fileutil, lazfileutils, Types;
type

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Feb 12 12:08:05 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>
- Update to 9.7.0:
BACKEND
* Brotli 1.1.0
* Pea 1.17
* Zstd 1.5.5
* 7z 24.01 beta successfully tested, but not included as backend due its beta status
CODE
* Compiled with Lazarus 3.0, but still compatible with Lazarus 2.x line
* Improved loading of translations
* Can now load language files encoded as UTF8, and as UTF8-BOM (preferred)
* Improved support for old translation files not matching with application's version
* Various fixes
* Fixed -ext2simple bug, the switch is now properly working
* Fixed Qt5 seection issue, the file browser in details mode is now set to row selection
FILE MANAGER
* Smart filename sorting can now be turned on/off form Options > Organize
* (Windows) PeaZip now supports the Windows 10 and newer systems Dark Mode using zamtmn
metadarkstyle.lpk, thanks to user contributed pull request 114.
* Classic dark themes / high contrast mode is still supported on all Windows systems
* (Themes) Improved "Button" alternative Tab style
* Vertical tabs in Options screen are now themed accordingly to theme's tab style
EXTRACTION and ARCHIVING
* Improved the scripting generation engine:
* In Console tab af archiving and extraction screens it is now available a new option
for the scripting engine to use strdin/stdout pipe for creation and extraction of
compressed TAR archives, so no intermediate TAR file needs to be saved on disk during
those operations
* This option does not apply to the GUI app itself (which launches the operations as
distinct single processes), but only to scripts generated by the application, which
can be saved to run independently in console instances
* The option applies only to formats handles through 7z / p7zip backend
* For extraction operation, the option applies only a single or multiple archives are
sent to extraction scren, not while brosing a single archive (either for partial or
total extraction)
INSTALLERS
* (Linux) It is now available PeaZip Portable for aarch64 Linux, the first test release
was released built on previous version's code
* (Windows) Improved Windows 11 mini-context menu entries, now displaying correct
PeaZip icons; sample scripts to integrate PeaZip with W11 mini-context menu are
available in the app inside the subfolder (peazip)\res\share\batch\Windows\Windows 11
mini context menu
* (Windows) Packages and configuration wizard built with InnoSetup 6.2.2
- Removed peazip-lazfileutils.patch (fixed upstream).
-------------------------------------------------------------------
Wed Jan 17 06:59:09 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -19,7 +19,7 @@
%define _peazipinstalldir %{_libdir}/peazip
Name: peazip
Version: 9.6.0
Version: 9.7.0
Release: 0
Summary: Graphical file archiver
License: LGPL-3.0-only
@ -30,13 +30,11 @@ Source1: altconf.txt
Source2: https://github.com/peazip/PeaZip/releases/download/%{version}/peazip_help.pdf
Patch0: peazip-desktop.patch
# PATCH-FIX-OPENSUSE peazip-build_PIE.patch -- aloisio@gmx.com
Patch2: peazip-build_PIE.patch
Patch1: peazip-build_PIE.patch
# PATCH-FIX-OPENSUSE peazip-help_path.patch set correct path for the pdf guide -- aloisio@gmx.com
Patch3: peazip-help_path.patch
Patch2: peazip-help_path.patch
# PATCH-FEATURE-OPENSUSE peazip-debuginfo.patch
Patch4: peazip-debuginfo.patch
# PATCH-FIX-UPSTREAM peazip-lazfileutils.patch fix build with Lazarus 3.x (compatible with 2.x too)
Patch5: peazip-lazfileutils.patch
Patch3: peazip-debuginfo.patch
BuildRequires: arc
BuildRequires: brotli
BuildRequires: dos2unix
@ -86,7 +84,7 @@ Group: Productivity/Archiving/Compression
Requires: peazip
%if 0%{?suse_version} < 1500
Requires(post): update-desktop-files
Requires(postun):update-desktop-files
Requires(postun): update-desktop-files
%endif
BuildArch: noarch
@ -103,6 +101,16 @@ cp %{SOURCE2} peazip_help.pdf
%build
cd dev
# Add additional packages to vanilla Lazarus
lazbuild \
--lazarusdir=%{_libdir}/lazarus \
%ifarch x86_64
--cpu=x86_64 \
%endif
--widgetset=qt5 \
--max-process-count=1 \
-B --add-package metadarkstyle/metadarkstyle.lpk
# Build Peazip
lazbuild \
--lazarusdir=%{_libdir}/lazarus \
%ifarch x86_64

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51e11886b686af6d92e176457ba6119a71a47a5b6958661e0ad795503b038f7f
size 1371196
oid sha256:b71d507cdbacbaec3b6609f3828cec7e244b61221b307ca1752af17a7ee473cc
size 1366449