SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch

34 lines
1.1 KiB
Diff
Raw Normal View History

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.
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 14:08:14 +01:00
Index: peazip-9.7.0.src/dev/project_pea.lpi
===================================================================
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 14:08:14 +01:00
--- peazip-9.7.0.src.orig/dev/project_pea.lpi
+++ peazip-9.7.0.src/dev/project_pea.lpi
@@ -555,6 +555,8 @@
Accepting request 970050 from home:polslinux:branches:devel:languages:pascal - Update to 8.6.0: BACKEND * Pea 1.07 * 7z updated to 21.07 * (Linux) Zstd 1.5.2 CODE * Fixed dictionary size for ZIP using XZ compression * Compiled with Lazarus 2.2.0 * Various fixes FILE MANAGER * Improved theming * New .ico and .png icons are now available in (peazip)/res/share/icons directory for customizing the application on Linux, macOS, and Windows systems * Simplified organization of UI layout * Added link to devices mounted in /var/run/media in filesystem treeview, when applicable * File / archive browser can now alternatively display larger details, and large list modes (from Style menu on status bar) in order to improve readability and touch usability EXTRACTION and ARCHIVING * Added "Immediate execution" option for Profiles and Presets, in Add button's dropdown menu * Added command line switches to compress items using one of the compression presets or loading a saved custom compression setting * Added option to not immediately save edited files into archive, keeping changes for further editing (or for manually saving to archive from context menu, More submenu) * Labels in status bar of Archiving and Extraction screens are clickable to show synthetic information about the task * Improved compression settings * Improved usage of Layouts - Switch from GTK2 to QT5 OBS-URL: https://build.opensuse.org/request/show/970050 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=98
2022-04-14 10:55:05 +02:00
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
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 14:08:14 +01:00
Index: peazip-9.7.0.src/dev/project_peach.lpi
===================================================================
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 14:08:14 +01:00
--- 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>