Package Details: rehex 0.63.3-3

Git Clone URL: https://aur.archlinux.org/rehex.git (read-only, click to copy)
Package Base: rehex
Description: A cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else
Upstream URL: https://github.com/solemnwarning/rehex
Keywords: engineering hexeditor reverse
Licenses: GPL2
Submitter: jdsnape
Maintainer: zocker_160
Last Packager: zocker_160
Votes: 15
Popularity: 0.000056
First Submitted: 2020-06-05 08:59 (UTC)
Last Updated: 2025-11-19 00:43 (UTC)

Latest Comments

1 2 Next › Last »

HorayNarea commented on 2025-11-16 13:59 (UTC)

It's not neccessary to build botan2 from AUR, botan (version 3) from the repos is also supported since https://github.com/solemnwarning/rehex/commit/77fe9c22460caf350c9015e8e3292ff97e3493b0

lkrms commented on 2025-10-31 04:41 (UTC)

Hi

Am seeing this in my build environment:

==> ERROR: Cannot find the git package needed to handle git sources.

Adding git to makedepends allows the build to proceed :)

ozwigh commented on 2025-07-25 21:09 (UTC) (edited on 2025-07-25 21:12 (UTC) by ozwigh)

Version 0.63.0 build fails with an src/buffer.hpp:101:30: error: ‘condition_variable’ in namespace ‘std’ does not name a type error due to missing #include <condition_variable> in "buffer.hpp".

Patch ("buffer.patch"):


diff -ura src/rehex-0.63.0/src/buffer.hpp fix/rehex-0.63.0/src/buffer.hpp
--- src/rehex-0.63.0/src/buffer.hpp 2025-07-25 20:16:42.382949980 +0000
+++ fix/rehex-0.63.0/src/buffer.hpp 2025-07-25 20:09:27.728013966 +0000
@@ -19,6 +19,7 @@
 #define REHEX_BUFFER_HPP

 #include <atomic>
+#include <condition_variable>
 #include <mutex>
 #include <string>
 #include <time.h>

PKGBUILD patch:


--- a/PKGBUILD  2025-07-25 21:01:14.520923151 +0000
+++ b/PKGBUILD  2025-07-25 21:02:22.644945368 +0000
@@ -11,12 +11,15 @@
 depends=('jansson' 'capstone' 'wxwidgets-gtk3' 'lua>=5.3' 'botan2')
 makedepends=('zip' 'perl-template-toolkit' 'busted')
 source=("$pkgname-$pkgver::git+https://github.com/solemnwarning/rehex.git#tag=$pkgver"
-        "rehex.patch")
+        "rehex.patch"
+        "buffer.patch")
 sha256sums=('SKIP'
-            '925aa979895253ba482780da91cb72fb11260dc44ce0a0f9650164f4831a5d83')
+            '925aa979895253ba482780da91cb72fb11260dc44ce0a0f9650164f4831a5d83'
+            'SKIP')

 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  patch -p2 -i "$srcdir/buffer.patch"
   make prefix="/usr"
 }

bart commented on 2025-06-08 12:33 (UTC)

The wxgtk3 package does not exist anymore, I replaced it locally with wxwidgets-gtk3, this seems to fix it.

bart commented on 2024-02-15 16:02 (UTC)

version 0.61.0 depends on botan2, please add it to the dependencies. Thanks!

bart commented on 2022-08-01 07:25 (UTC)

This package does not work since the latest wxwidgets changes: https://archlinux.org/news/wxwidgets-32-update-may-need-manual-intervention/

The following change fixes some issue (including the one by aquova), but I get some other issues still (see below)

diff --git a/PKGBUILD b/PKGBUILD
index 771cbb1..0ff90f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="A cross-platform (Windows, Linux, Mac) hex editor for reverse engineeri
 arch=('x86_64')
 url="https://github.com/solemnwarning/rehex"
 license=('GPL2')
-depends=('jansson' 'capstone' 'wxgtk3' 'lua>=5.3')
+depends=('jansson' 'capstone' 'wxwidgets-gtk3' 'lua>=5.3')
 makedepends=('zip' 'perl-template-toolkit' 'busted')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz" "rehex.patch")
 sha256sums=('eabe0a4dc9341f9d0cdd6845248f818e8bc3a828476c8928fcf26828d9d67985'
@@ -17,9 +17,6 @@ sha256sums=('eabe0a4dc9341f9d0cdd6845248f818e8bc3a828476c8928fcf26828d9d67985'
 build() {
   cd "$srcdir/$pkgname-$pkgver"

-  # gtk3 patch
-  sed -i -e 's/wx-config/wx-config-gtk3/g' Makefile
-  
   make prefix="/usr"
 }

Issues:

wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxDataViewTreeStoreNode_GetIcon(lua_State*)’:
wxLua/modules/wxbind/src/wxadv_bind.cpp:10292:58: error: taking address of rvalue [-fpermissive]
10292 |     const wxIcon* returns = (const wxIcon*)&self->GetIcon();
      |                                             ~~~~~~~~~~~~~^~
wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxDataViewTreeStoreContainerNode_GetExpandedIcon(lua_State*)’:
wxLua/modules/wxbind/src/wxadv_bind.cpp:10527:66: error: taking address of rvalue [-fpermissive]
10527 |     const wxIcon* returns = (const wxIcon*)&self->GetExpandedIcon();
      |                                             ~~~~~~~~~~~~~~~~~~~~~^~
wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxDataViewTreeStore_GetItemExpandedIcon(lua_State*)’:
wxLua/modules/wxbind/src/wxadv_bind.cpp:10872:70: error: taking address of rvalue [-fpermissive]
10872 |     const wxIcon* returns = (const wxIcon*)&self->GetItemExpandedIcon(*item);
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxDataViewTreeStore_GetItemIcon(lua_State*)’:
wxLua/modules/wxbind/src/wxadv_bind.cpp:10890:62: error: taking address of rvalue [-fpermissive]
10890 |     const wxIcon* returns = (const wxIcon*)&self->GetItemIcon(*item);
      |                                             ~~~~~~~~~~~~~~~~~^~~~~~~
wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxDataViewIconText_GetIcon(lua_State*)’:
wxLua/modules/wxbind/src/wxadv_bind.cpp:16120:58: error: taking address of rvalue [-fpermissive]
16120 |     const wxIcon* returns = (const wxIcon*)&self->GetIcon();
      |                                             ~~~~~~~~~~~~~^~

aquova commented on 2022-07-31 19:03 (UTC)

Running into issue when attempting to build

/bin/sh: line 1: wx-config-gtk3: command not found
Makefile:99: *** wx-config-gtk3 --cxxflags base core aui propgrid adv html exited with status 127.  Stop.

zocker_160 commented on 2022-05-05 13:49 (UTC)

thank you for this info, I pushed an update