Package Details: imhex 1.33.2-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: 47
Popularity: 0.43
First Submitted: 2020-12-04 11:19 (UTC)
Last Updated: 2024-03-23 22:01 (UTC)

Latest Comments

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

KokaKiwi commented on 2022-03-27 11:09 (UTC)

@kode54 i didn't try building this package on archlinuxARM, but if that's indeed the case i think i'll try on one of my rPi (or on my laptop direcly) to see if there's room for improvements.

kode54 commented on 2022-03-22 09:20 (UTC)

Apparently this package needs more than 16GB of RAM to build, at least on Arch Linux ARM?

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.