Package Details: rehex 0.61.1-0

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: 14
Popularity: 0.042588
First Submitted: 2020-06-05 08:59 (UTC)
Last Updated: 2024-03-14 22:00 (UTC)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

zocker_160 commented on 2024-02-16 12:32 (UTC)

thank you, I missed that

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

bart commented on 2022-05-05 08:51 (UTC)

I had an issue where plugins were not loaded from /usr/lib/rehex. I did some debugging and this has to do the with the prefix. During the build phase, the prefix is used to create a default plugin dir reference, but this results in a hardcoded /usr/local/lib/rehex path. It can be solved easily by the following change in the build() function:

Change

make

to

make prefix="/usr"

So essentially also add the prefix in the build phase, instead of only in the install phase

cgarz commented on 2021-07-03 23:48 (UTC)

lua needs added to make deps