Summary: | =sci-electronics/gspiceui-1.2.87-r1 fails to compile if x11-libs/wxGTK-3.0 is not installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francois Chenier <belgix_oz> |
Component: | Current packages | Assignee: | The Soldering-Iron Brotherhood <sci-electronics> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | belgix_oz, mail, toralf, wxwidgets |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild patch |
Description
Francois Chenier
2023-11-26 22:28:57 UTC
The issue here is not likely to be in sci-electronics/gspiceui but in wxGTK-3.2 package. It seems something is broken in wxGTK-3.2 package regarding support for wxGTK-3.0 in wxGTK-3.2 This command returns a warning #/usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --version=3.0 --cxxflags Warning: No config found to match: /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --version=3.0 --cxxflags whilst this one (w/o --version=3.0), just run fine /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --cxxflags -I/usr/lib64/wx/include/gtk3-unicode-3.2-gtk3 -I/usr/include/wx-3.2-gtk3 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread *** Bug 920921 has been marked as a duplicate of this bug. *** I hit the same issue with sci-electronics/gspiceui-1.2.87-r1 and x11-libs/wxGTK-3.2.2.1-r3. Simply patching the gspiceui ebuild to GSPICEUI_WXLIB=3.2 made it build for me (see the attached patch). Created attachment 883745 [details, diff]
ebuild patch
(In reply to Maciej S. Szmigiero from comment #4) > Created attachment 883745 [details, diff] [details, diff] > ebuild patch Effectively compile fine with your patch but gspiceui doesn't like wxGTK-3.2. Textarea box in the main window is too small and you cannot resize it. Graphical glitches are simply too severe to use gspiceui with wxGTK-3.2 |