Skip to content

Commit

Permalink
user/imhex: update to 1.37.3
Browse files Browse the repository at this point in the history
  • Loading branch information
z-erica committed Feb 26, 2025
1 parent 8cc9a5b commit b5f5054
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
11 changes: 11 additions & 0 deletions user/imhex/patches/unistd.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -ruN a/main/gui/source/messaging/linux.cpp b/main/gui/source/messaging/linux.cpp
--- a/main/gui/source/messaging/linux.cpp 2025-02-18 11:18:52.000000000 +0100
+++ b/main/gui/source/messaging/linux.cpp 2025-02-19 10:08:02.982215123 +0100
@@ -3,6 +3,7 @@
#include <stdexcept>
#include <fcntl.h>
#include <sys/file.h>
+#include <unistd.h>

#include <hex/helpers/logger.hpp>
#include <hex/api/events/events_lifecycle.hpp>
15 changes: 6 additions & 9 deletions user/imhex/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "imhex"
pkgver = "1.36.2"
pkgver = "1.37.3"
pkgrel = 0
build_style = "cmake"
configure_args = [
Expand All @@ -26,19 +26,18 @@
"capstone-devel",
# for llvm cmake detection to work
"clang-tools-extra",
"curl-devel",
"dbus-devel",
"file-devel",
"fmt-devel",
"freetype-devel",
"glfw-devel",
"libarchive-devel",
"curl-devel",
"libedit-devel",
"llvm-devel",
# LLVMdemangle is static only
"llvm-devel-static",
"mbedtls-devel",
"mesa-devel",
"nlohmann-json",
"xz-devel",
"yara-devel",
Expand All @@ -47,22 +46,20 @@
maintainer = "Erica Z <[email protected]>"
license = "GPL-2.0-or-later"
url = "https://imhex.werwolv.net"
_plutovg_ver = "0.0.10"
source = [
f"https://github.com/WerWolv/ImHex/releases/download/v{pkgver}/Full.Sources.tar.gz>src-{pkgver}.tar.gz",
f"https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v{pkgver}.tar.gz",
f"https://github.com/sammycage/plutovg/archive/refs/tags/v{_plutovg_ver}.tar.gz",
]
source_paths = [
".",
"ImHex-Patterns",
"build/_deps/plutovg-src",
]
sha256 = [
"29bed22dae537b83ac4cce905352b4a1c5342862a67cad5575c58ff41f5847f7",
"d1555d142347ddf576e5c0b1a19050ae168e8d174b206d269a9e84e07d2515c9",
"639ce28e8f12920ed19d96cd50809973ded904a4e17ba7f9986d6e88431e93c6",
"38f670293fcc1e5a06fccf7d35dd8c23a4be8c6ab4a5e3b2900f730d2a8ad2f5",
"dc009ad616e73209f8eed1a1a36ebea70e1288a038e756d4ad0c341991fcbfb3",
]
# FIXME: drop with LLVM 20 where std::jthread & std::stop_token are deemed stable
tool_flags = {"CXXFLAGS": ["-fexperimental-library"]}

if self.profile().wordsize == 32:
broken = "uses int128"
Expand Down

0 comments on commit b5f5054

Please sign in to comment.