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 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
Index: peazip-9.8.0.src/dev/project_pea.lpi
===================================================================
Accepting request 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
--- peazip-9.8.0.src.orig/dev/project_pea.lpi
+++ peazip-9.8.0.src/dev/project_pea.lpi
@@ -560,6 +560,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>
Accepting request 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Accepting request 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
Index: peazip-9.8.0.src/dev/project_peach.lpi
===================================================================
Accepting request 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
--- peazip-9.8.0.src.orig/dev/project_peach.lpi
+++ peazip-9.8.0.src/dev/project_peach.lpi
@@ -1642,6 +1642,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
Accepting request 1173639 from home:pragmalin:branches:devel:languages:pascal - Update to 9.8.0: BACKEND * Pea 1.18 CODE * Code cleanup * Compiled with Lazarus 3.2, sources are still compatible with Lazarus 2.x line * Various fixes * Fixed directory name sorting which for some widget sets was wrongly displayed in treeview and breadcrumb dropdown menus * Fixed drag and drop extraction failing for some paths (Windows) * Fixed inability to browse symlinked directories on Windows (other systems are immune from the issue) FILE MANAGER * Added "Always browse archives in flat view" option switch in main menu > Browse and app's context menu > Navigation * Added Comment, and Info functions to Status bar context menu, to improve its usefulness in providing information to user * Improved direct extraction of archives from context menu * From context menu "Extract to" submenu it is now possible to directly extract all or selected item(s), without further confirmation, to any output path in bookmarks, history or breadcrumb * Extract here links (optionally to smart folder or to new folder) can now extract all or selected items * In the dropdown menu of Extract button are still available "Extract all" entries * Selection and navigation submenus in extraction and archiving screens are now organized in same way of extract here submenu: bookmarks are shown first, history, session history, and breadcrumb are shown in History submenu * Rename dialog now allows to directly switch to Move to dialog (change file path string rather than file name string) * Updated themes * New Mac and Tux themes * Old themes and additional custom themes are still available online, clicking "Check for Themes" button on Themes screen (Windows 10+) The application, which by default follows system colors, can be manually forced to light or dark mode, regardless system mode, creating an empty file named "light" or "dark" in the same path of the executable (not integrated with themes due to technical limitations) EXTRACTION and ARCHIVING * Added new command line switches, which can be used both in scripts and for system integration (context menus, SendTo items, .desktop files, Automator scripts) * -ext2neutral directly extracts archives in current path applying the "new folder" policy as defined in PeaZip app (non, new folder, smart new folder, or force new folder) * -ext2downloads, -ext2desktop, -ext2documents directly extract archives in Downloads, Desktop, or Documents path (applying app's new folder policy) * -ext2bookmark(1..8) extract archives in the path of the bookmarked item number 1 to 8 * Windows context menu versions of those switches begins with -ext2multi instead of -ext2 * Created sample scripts (.bat, .sh), W11 mini-context menu entries, SendTo items, .desktop files and macOS service menus for -ext2downloads, -ext2desktop, -ext2documents switches, in (PeaZip)/res/share/batch directory OBS-URL: https://build.opensuse.org/request/show/1173639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=128
2024-05-13 13:41:43 +02:00
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>