Hi,
I have met some problems after the last wxwidgets update. I have sent you a patch via email that fixes it.
1:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindwxWidgets.cmake:984 (find_package_handle_standard_args)
CMakeLists.txt:46 (find_package)
2:
/tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp: In member function ‘wxBitmap StationDragAndDrop::makeDragImage(const std::string&, const wxColour*, const wxColour*)’:
/tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:112:73: error: ‘wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)’ is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations]
112 | tmp_dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD));
| ^
In file included from /usr/include/wx-3.2/wx/font.h:631,
from /usr/include/wx-3.2/wx/window.h:23,
from /usr/include/wx-3.2/wx/wx.h:38,
from /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/editor_app.hpp:21,
from /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:29:
/usr/include/wx-3.2/wx/gtk/font.h:89:5: note: declared here
89 | wxFont(int size,
| ^~~~~~
/tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:124:47: error: ‘wxPen::wxPen(const wxColour&, int, int)’ is deprecated: use wxPENSTYLE_XXX constants [-Werror=deprecated-declarations]
124 | dc.SetPen(wxPen(*textcolor, 1, wxSOLID));
| ^
In file included from /usr/include/wx-3.2/wx/pen.h:107,
from /usr/include/wx-3.2/wx/generic/statusbr.h:18,
from /usr/include/wx-3.2/wx/statusbr.h:244,
from /usr/include/wx-3.2/wx/frame.h:19,
from /usr/include/wx-3.2/wx/wx.h:42:
/usr/include/wx-3.2/wx/gtk/pen.h:51:5: note: declared here
51 | wxPen(const wxColour& col, int width, int style);
| ^~~~~
/tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:125:49: error: ‘wxBrush::wxBrush(const wxColour&, int)’ is deprecated: use wxBRUSHSTYLE_XXX constants [-Werror=deprecated-declarations]
125 | dc.SetBrush(wxBrush(*background, wxSOLID));
| ^
In file included from /usr/include/wx-3.2/wx/brush.h:77,
from /usr/include/wx-3.2/wx/dc.h:24,
from /usr/include/wx-3.2/wx/wx.h:51:
/usr/include/wx-3.2/wx/gtk/brush.h:41:5: note: declared here
41 | wxBrush(const wxColour& col, int style);
| ^~~~~~~
/tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:134:69: error: ‘wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)’ is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations]
134 | dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD));
| ^
/usr/include/wx-3.2/wx/gtk/font.h:89:5: note: declared here
89 | wxFont(int size,
| ^~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/build.make:188: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/station_drop_target.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:543: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/all] Error 2