> > On Sun, Dec 28, 2025 at 08:33:20PM +0000, Enzo Nicosia wrote: > > > Hi All, > > > > > > another new hamradio-related port for consideration. > > > > > > ebook2cwgui is a graphical user interface to ebook2cw based on the > > > wx graphical library. The GUI allows to set all the options available > > > in ebook2cw, and uses the actual ebook2cw executable to generate > > > the audio files.
Overall this is good. However:
$ make install
`/usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/.fake_done' is up to date.
Reading existing plist for ebook2cwgui-0.1.2
Writing /usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/debug-pkg/Makefile.new
Writing /usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/debug-pkg/PLIST
Renaming /usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/debug-pkg/Makefile.new to
Makefile
> Extracting debug info from
> /usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/usr/local/bin/ebook2cwgui
Warning: no debug-info in
/usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/usr/local/bin/ebook2cwgui
dwz:
/usr/ports/pobj/ebook2cwgui-0.1.2/fake-amd64/usr/local/bin/.debug/ebook2cwgui.dbg:
.debug_info section not present
The debug package is empty. You can verify this by installing it and
then running the program in egdb (from the gdb package):
$ egdb ebook2cwgui
[...]
Reading symbols from ebook2cwgui...
Reading symbols from /usr/local/bin/.debug/ebook2cwgui.dbg...
(No debugging symbols found in /usr/local/bin/.debug/ebook2cwgui.dbg)
It shouldn't be empty. Setting DEBUG_PACKAGES tells the compiler to add
debug symbols, by adding -g to CFLAGS and CXXFLAGS:
$ make show=CXXFLAGS
-O2 -pipe -g
But this port doesn't respect CXXFLAGS:
c++ ebook2cwgui.cpp about.cpp main.cpp \
-Wall `wx-config --libs --cxxflags` -o ebook2cwgui
So, here's a revised port that adds CXXFLAGS to MAKE_FLAGS and patches
the distfile Makefile to use it. This is ok bentley@, if another dev
wants to ok or import it.
ebook2cwgui.tar.gz
Description: GNU Zip compressed data
