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 985143 from home:polslinux:branches:devel:languages:pascal - Update to 8.7.0: BACKEND * 7z 22.00 * Pea 1.08 CODE * Can now optionally check hash of backend binaries called by PeaZip in order to detect modified ones * Can now optionally hardcode paths of backend binaries, configuration, and non-binary resources directories as absoulte paths at compile time FILE MANAGER * Added "Open in a new tab" to breadcrumb navigation menu * Can now export content of navigation/search filter as CSV, from column's header menu, and Main menu > Navigation submenu * CSV separator can now be customised from Options > Settings, General Tab, on the right of Localization selector * File manager now displays file size and compressed file size of directories inside archives, CRC column displays files and sub-directores count for directories * Many visual enhancements EXTRACTION and ARCHIVING * Can now remember default archive creation action (force new archive, add, update, sync...) * Improved displaying directory size in archive creation screen: items are now recursively enumerated asynchronously (non blocking) by default, so it is possible to proceed with archiving operations (confirm, cancel, modify parameters...) without needing the input count to be completed * Re-organized Archive manager settings page in Options > Settings * For Zpaq format now "Absolute paths" extraction option is enabled by default (in Advanced tab of extraction screen) OBS-URL: https://build.opensuse.org/request/show/985143 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=100
2022-06-27 08:08:53 +00:00
Index: peazip-8.6.0.src/dev/project_pea.lpi
===================================================================
Accepting request 985143 from home:polslinux:branches:devel:languages:pascal - Update to 8.7.0: BACKEND * 7z 22.00 * Pea 1.08 CODE * Can now optionally check hash of backend binaries called by PeaZip in order to detect modified ones * Can now optionally hardcode paths of backend binaries, configuration, and non-binary resources directories as absoulte paths at compile time FILE MANAGER * Added "Open in a new tab" to breadcrumb navigation menu * Can now export content of navigation/search filter as CSV, from column's header menu, and Main menu > Navigation submenu * CSV separator can now be customised from Options > Settings, General Tab, on the right of Localization selector * File manager now displays file size and compressed file size of directories inside archives, CRC column displays files and sub-directores count for directories * Many visual enhancements EXTRACTION and ARCHIVING * Can now remember default archive creation action (force new archive, add, update, sync...) * Improved displaying directory size in archive creation screen: items are now recursively enumerated asynchronously (non blocking) by default, so it is possible to proceed with archiving operations (confirm, cancel, modify parameters...) without needing the input count to be completed * Re-organized Archive manager settings page in Options > Settings * For Zpaq format now "Absolute paths" extraction option is enabled by default (in Advanced tab of extraction screen) OBS-URL: https://build.opensuse.org/request/show/985143 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=100
2022-06-27 08:08:53 +00:00
--- peazip-8.6.0.src.orig/dev/project_pea.lpi
+++ peazip-8.6.0.src/dev/project_pea.lpi
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 08:55:05 +00:00
@@ -552,6 +552,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Accepting request 985143 from home:polslinux:branches:devel:languages:pascal - Update to 8.7.0: BACKEND * 7z 22.00 * Pea 1.08 CODE * Can now optionally check hash of backend binaries called by PeaZip in order to detect modified ones * Can now optionally hardcode paths of backend binaries, configuration, and non-binary resources directories as absoulte paths at compile time FILE MANAGER * Added "Open in a new tab" to breadcrumb navigation menu * Can now export content of navigation/search filter as CSV, from column's header menu, and Main menu > Navigation submenu * CSV separator can now be customised from Options > Settings, General Tab, on the right of Localization selector * File manager now displays file size and compressed file size of directories inside archives, CRC column displays files and sub-directores count for directories * Many visual enhancements EXTRACTION and ARCHIVING * Can now remember default archive creation action (force new archive, add, update, sync...) * Improved displaying directory size in archive creation screen: items are now recursively enumerated asynchronously (non blocking) by default, so it is possible to proceed with archiving operations (confirm, cancel, modify parameters...) without needing the input count to be completed * Re-organized Archive manager settings page in Options > Settings * For Zpaq format now "Absolute paths" extraction option is enabled by default (in Advanced tab of extraction screen) OBS-URL: https://build.opensuse.org/request/show/985143 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=100
2022-06-27 08:08:53 +00:00
Index: peazip-8.6.0.src/dev/project_peach.lpi
===================================================================
Accepting request 985143 from home:polslinux:branches:devel:languages:pascal - Update to 8.7.0: BACKEND * 7z 22.00 * Pea 1.08 CODE * Can now optionally check hash of backend binaries called by PeaZip in order to detect modified ones * Can now optionally hardcode paths of backend binaries, configuration, and non-binary resources directories as absoulte paths at compile time FILE MANAGER * Added "Open in a new tab" to breadcrumb navigation menu * Can now export content of navigation/search filter as CSV, from column's header menu, and Main menu > Navigation submenu * CSV separator can now be customised from Options > Settings, General Tab, on the right of Localization selector * File manager now displays file size and compressed file size of directories inside archives, CRC column displays files and sub-directores count for directories * Many visual enhancements EXTRACTION and ARCHIVING * Can now remember default archive creation action (force new archive, add, update, sync...) * Improved displaying directory size in archive creation screen: items are now recursively enumerated asynchronously (non blocking) by default, so it is possible to proceed with archiving operations (confirm, cancel, modify parameters...) without needing the input count to be completed * Re-organized Archive manager settings page in Options > Settings * For Zpaq format now "Absolute paths" extraction option is enabled by default (in Advanced tab of extraction screen) OBS-URL: https://build.opensuse.org/request/show/985143 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=100
2022-06-27 08:08:53 +00:00
--- peazip-8.6.0.src.orig/dev/project_peach.lpi
+++ peazip-8.6.0.src/dev/project_peach.lpi
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 08:55:05 +00:00
@@ -1591,6 +1591,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>