diff --git a/srcpkgs/imhex/patches/sort-file-chooser.patch b/srcpkgs/imhex/patches/sort-file-chooser.patch deleted file mode 100644 index 90bf07de670..00000000000 --- a/srcpkgs/imhex/patches/sort-file-chooser.patch +++ /dev/null @@ -1,27 +0,0 @@ -From f57d4f2f7adb44b97f9696c94d3178e4ccebcd99 Mon Sep 17 00:00:00 2001 -From: WerWolv -Date: Sun, 21 May 2023 18:41:43 +0200 -Subject: [PATCH] impr: Manually sort file chooser popup list - ---- - .../builtin/include/content/popups/popup_file_chooser.hpp | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/plugins/builtin/include/content/popups/popup_file_chooser.hpp b/plugins/builtin/include/content/popups/popup_file_chooser.hpp -index ce464aeee76d..e52c040c27ea 100644 ---- a/plugins/builtin/include/content/popups/popup_file_chooser.hpp -+++ b/plugins/builtin/include/content/popups/popup_file_chooser.hpp -@@ -13,7 +13,12 @@ namespace hex::plugin::builtin { - : hex::Popup("hex.builtin.common.choose_file"), - m_indices({ }), m_files(files), - m_openCallback(callback), -- m_validExtensions(validExtensions), m_multiple(multiple) { } -+ m_validExtensions(validExtensions), m_multiple(multiple) { -+ -+ std::sort(this->m_files.begin(), this->m_files.end(), [](const std::fs::path &a, const std::fs::path &b) { -+ return a.filename() < b.filename(); -+ }); -+ } - - void drawContent() override { - bool doubleClicked = false; diff --git a/srcpkgs/imhex/template b/srcpkgs/imhex/template index 6c8761e81fc..3f7f4750389 100644 --- a/srcpkgs/imhex/template +++ b/srcpkgs/imhex/template @@ -1,6 +1,6 @@ # Template file for 'imhex' pkgname=imhex -version=1.29.0 +version=1.30.1 revision=1 build_wrksrc="ImHex" build_style=cmake @@ -20,8 +20,8 @@ homepage="https://imhex.werwolv.net/" changelog="https://github.com/WerWolv/ImHex/releases" distfiles="https://github.com/WerWolv/ImHex/releases/download/v${version}/Full.Sources.tar.gz>imhex-${version}.tar.gz https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${version}.tar.gz>imhex-patterns-${version}.tar.gz" -checksum="25a8b250412e5b870871978e58cd5f5c08bd42587122ab7799c59eec31843c46 - a237a4fcf565af6b4ad94ec71f50b284bef3af93a13da744092da7e83d7767c0" +checksum="edf164996ba3a960b7b022acb1441aef2960c60e7a46409b01d9ff164cd99e7a + 8f38ca5ea73298e104231276026f50d350f350626bcefc11a3935528be34581c" patch_args="-Np1 -d $build_wrksrc" if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then