Package Details: imhex 1.35.4-1

Git Clone URL: https://aur.archlinux.org/imhex.git (read-only, click to copy)
Package Base: imhex
Description: A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM
Upstream URL: https://imhex.werwolv.net
Licenses: GPL-2.0-or-later
Conflicts: imhex-patterns-git
Provides: imhex-patterns
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 63
Popularity: 1.50
First Submitted: 2020-12-04 11:19 (UTC)
Last Updated: 2024-11-26 19:15 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

DarthUDP commented on 2022-01-11 18:15 (UTC)

@KokaKiwi Great confirmed working thanks for the package btw!

KokaKiwi commented on 2022-01-11 11:21 (UTC)

@DarthUDP The problem was on the curl dependency, on which ImHex bundle curl configured with mbedTLS whereas core/curl is built with OpenSSL

The latest package update (1.13.1) includes additional patches fixing the code part where curl is configured, thus actually fixing the startup crash.

DarthUDP commented on 2022-01-05 20:48 (UTC)

@KokaKiwi confirmed my suspicions when using the bundled dependencies the AUR version works just fine, here is what I changed on the PKGBUILD, now the program starts as expected.

index 6956863..b205282 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,13 +37,10 @@ b2sums=('SKIP'
 prepare() {
   cd "$pkgname"

-  git submodule init
-  for name in nativefiledialog xdgpp; do
-    git config submodule.external/$name.url "$srcdir/$name"
-  done
-  for name in yara/yara fmt curl capstone; do
-    git config --remove-section submodule.external/$name
-  done
+   git submodule init
+   for name in nativefiledialog xdgpp; do
+     git config submodule.external/$name.url "$srcdir/$name"
+   done
   git submodule update

   git apply \
@@ -53,15 +50,9 @@ prepare() {
 build() {
   cmake -B build -S "$pkgname" \
     -Wno-dev \
-    -D CMAKE_BUILD_TYPE=RelWithDebInfo \
+    -D CMAKE_BUILD_TYPE=Release \
     -D CMAKE_INSTALL_PREFIX=/usr \
     -D CMAKE_SKIP_RPATH=ON \
-    -D USE_SYSTEM_LLVM=ON \
-    -D USE_SYSTEM_YARA=ON \
-    -D USE_SYSTEM_FMT=ON \
-    -D USE_SYSTEM_CURL=ON \
-    -D USE_SYSTEM_CAPSTONE=ON \
-    -D USE_SYSTEM_NLOHMANN_JSON=ON \
     -D PROJECT_VERSION="$pkgver"
   cmake --build build
 }

cheers

DarthUDP commented on 2022-01-05 20:24 (UTC)

@KokaKiwi Building the code from the git repo at tag 1.12.1 fixes the issue but building from here does not, maybe related to not using the bundled dependencies somehow?

KokaKiwi commented on 2021-12-14 13:26 (UTC) (edited on 2021-12-16 18:39 (UTC) by KokaKiwi)

I'm getting SIGSEGV on the latest release of this package build (1.12.0), so if anyone got that too, dw i'll try to investigate and fix this as/when possible.

(seems to have been fixed in 1.12.1 release)

russkel commented on 2021-09-19 22:55 (UTC)

I did make a comment linking to my PR that fixed the issue, but the comment seems to have disappeared. Thanks for including the patch.

KokaKiwi commented on 2021-09-18 13:34 (UTC)

@kistlin A fix for that apparently got merged upstream, until a new release is done i'll add the patch in the package soon.

kistlin commented on 2021-09-18 13:24 (UTC)

Is someone else having this compiler error? imhex 1.9.0-1

imhex/src/imhex/source/views/view_hexeditor.cpp:311:31: error: format not a string literal and no format arguments [-Werror=format-security]
  311 |             ImGui::TextWrapped("hex.view.hexeditor.script.desc"_lang);
      |             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

KokaKiwi commented on 2021-02-19 13:52 (UTC)

Updated to 1.7.0-1 with some patch to enabling correct loading of stuff by imhex. Will probably try to PR them upstream too (for decent paths stuff)