SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch
Pragmatic Linux fee01c54a5 Accepting request 1146176 from home:pragmalin:branches:devel:languages:pascal
- 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).

OBS-URL: https://build.opensuse.org/request/show/1146176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=124
2024-02-12 13:08:14 +00:00

34 lines
1.1 KiB
Diff

From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-02-11 13:31:28 +0100
Subject: Build PIE binaries
Set lazarus project files so that we produce position
independent executables.
Index: peazip-9.7.0.src/dev/project_pea.lpi
===================================================================
--- 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>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
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
@@ -1645,6 +1645,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>