Package Details: wxmedit 3.2-1

Git Clone URL: https://aur.archlinux.org/wxmedit.git (read-only, click to copy)
Package Base: wxmedit
Description: Cross-platform Text/Hex Editor, a fork of MadEdit with bug fixes and improvements
Upstream URL: https://wxmedit.github.io/
Licenses: GPL
Submitter: codestation
Maintainer: petronny
Last Packager: petronny
Votes: 14
Popularity: 0.000000
First Submitted: 2014-01-08 04:14 (UTC)
Last Updated: 2023-07-10 06:28 (UTC)

Latest Comments

1 2 3 Next › Last »

qqpp commented on 2025-09-04 15:42 (UTC) (edited on 2025-09-04 16:06 (UTC) by qqpp)

My extremely limited coding skills and mental facilities are normally just enough for messing things up, no more, no less. This time I did manage what I wanted (i.e., to get wxemedit to run on my system), but I may have messed up something else on said system without even knowing. The instructions below come with no warranty. With that out of the way:

1., Download https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-Fedora_Linux40-x64.tgz and extract it to the root of your filesystem (you'll need to sudo to root user first).

2., In the file /usr/local/include/unicode/char16ptr.h, in line 271 replace

template<typename T, typename = std::enable_if_t<std::is_same_v<T, UChar>>>

with

template<typename T, typename = std::enable_if_t<std::is_same<T, UChar>::value>>

in line 273, replace

if constexpr (std::is_same_v<UChar, char16_t>) {

with

if constexpr (std::is_same<UChar, char16_t>::value) {

in line 386 replace

std::is_convertible_v<T, std::u16string_view>

with

std::is_convertible<T, std::u16string_view>::value

You'll not be able to save your changes unless you are acting as root (and yes, knowledgeable people use diff files and the patch command, but I am not knowledgeable).

3., Download the wxmedit aur package. I used the yay command

yay -S wxmedit

which would fail, but at least get the sources for me.

4., Navigate to $HOME/.cache/yay/wxmedit/src/wxMEdit-3.2/configure and edit that file to replace

#CXXFLAGS="-O2"


my_cxxflags_bak="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -std=c++11"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -std=c++11 is supported" >&5
$as_echo_n "checking whether -std=c++11 is supported... " >&6; }

i.e., lines 7265 to 7269 with

LDFLAGS="-L/usr/local/lib -Wl,--copy-dt-needed-entries"
CXXFLAGS="-O2"
my_cxxflags_bak="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -std=c++17"
# { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -std=c++11 is supported" >&5
# $as_echo_n "checking whether -std=c++11 is supported... " >&6; }`

(Knowledgeable people do not edit configure files directly, of course....)

5., Navigate to the directory $HOME/.cache/yay/wxmedit and issue the commands

makepkg -e
sudo -U wxmedit-3.2-1-x86_64.pkg.tar.zst`

in the above sequence.

6., For the shared libraries in /usr/local/lib to be found by the system (and wxmedit to actually launch), you'll also need to issue the following to commands:

echo "/usr/local/lib" | sudo tee /etc/ld.so.conf
sudo ldconfig

in the order above.

In hindsight, I might have been able to solve the issue without extracting the release-77-1 version of icu on my system ― that is, I might have been better of if I had just modified /usr/include/unicode/char16ptr.h (and $HOME/.cache/yay/wxmedit/src/wxMEdit-3.2/configure). Then again, I just don't feel like undoing all the modifications I have made. Still, I (and you, if you decide to follow the instructions above) will have to watch out for the time when a version newer than 77.1 of icu turns up in the official Arch Linux repo (https://archlinux.org/packages/core/x86_64/icu/).

Hope this helps (or at least doesn't do too much harm).

FabioLolix commented on 2024-08-24 20:43 (UTC)

Hello, I have a build issue both using makepkg and devtools

checking for unicode/uchar.h... yes
checking unicode/unistr.h usability... no
checking unicode/unistr.h presence... yes
configure: WARNING: unicode/unistr.h: present but cannot be compiled
configure: WARNING: unicode/unistr.h:     check for missing prerequisite headers?
configure: WARNING: unicode/unistr.h: see the Autoconf documentation
configure: WARNING: unicode/unistr.h:     section "Present But Cannot Be Compiled"
configure: WARNING: unicode/unistr.h: proceeding with the compiler's result
configure: WARNING:     ## -------------------------------- ##
configure: WARNING:     ## Report this to wxmedit@gmail.com ##
configure: WARNING:     ## -------------------------------- ##
checking for unicode/unistr.h... no
configure: error: cannot find required header unicode/unistr.h
==> ERROR: A failure occurred in build().

Anyone else?

rcrath commented on 2021-04-12 23:46 (UTC)

oops, it is in community repo, not aur.

rcrath commented on 2021-04-12 23:45 (UTC)

used appimage install. there are three versions. the VinnyVynce one is the one that works for e in appimagge. Installed it via bauh, in the aur.

rcrath commented on 2021-03-05 03:29 (UTC)

tried applying the outstanding pull request from git but still wont build.

rcrath commented on 2021-02-11 04:27 (UTC)

gives error on wxgtk, won't build

rcrath commented on 2020-05-10 04:33 (UTC)

launch gives error: $ wxmedit wxmedit: error while loading shared libraries: libicui18n.so.65: cannot open shared object file: No such file or directory

Installing ICU 65 fixes it, but says it should work with ICU>4.3

slut commented on 2019-04-16 08:06 (UTC)

not currently building

khau commented on 2018-04-27 22:51 (UTC)

Failing to link with the latest libicu* (seeking v60 instead of v61).

wxmedit: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

kappa8086 commented on 2018-04-19 01:49 (UTC)

With new installed archlinux (4-18), makepkg produces errors when compiling, eg. ['UnicodeString' does not name a type; did you mean ‘Encoding’?] and some with "BreakIterator" declaration.

What to be done with ICU or something else?