Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 564082

Summary: games-board/blokish doesn't compile with wxGTK:3.0
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 562480    

Description Pacho Ramos gentoo-dev 2015-10-25 14:15:27 UTC
I couldn't find any patch allowing it to compile with wxGTK:3.0 :S

rc/blokish.cpp: In constructor 'BlokishCanvas::BlokishCanvas(wxWindow*, wxWindowID, wxPoint, wxSize, int*, BlokishGame&)':
src/blokish.cpp:101:93: warning: 'wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&, const int*, const wxPalette&)' is deprecated (declared at /usr/include/wx-3.0/wx/gtk/glcanvas.h:53) [-Wdeprecated-declarations]
     :wxGLCanvas(parent, id, pos, size, 0, wxString::FromAscii(""), attribList), mpGame(&game)
                                                                                             ^
src/blokish.cpp: In member function 'void BlokishCanvas::OnDraw(wxPaintEvent&)':
src/blokish.cpp:215:16: warning: 'void wxGLCanvasBase::SetCurrent()' is deprecated (declared at /usr/include/wx-3.0/wx/glcanvas.h:138) [-Wdeprecated-declarations]
     SetCurrent();
                ^
src/blokish.cpp: In member function 'void BlokishCanvas::OnLeftDown(wxMouseEvent&)':
src/blokish.cpp:586:16: warning: 'void wxGLCanvasBase::SetCurrent()' is deprecated (declared at /usr/include/wx-3.0/wx/glcanvas.h:138) [-Wdeprecated-declarations]
     SetCurrent();
                ^
src/blokish.cpp: In member function 'void BlokishFrame::OnSaveGame(wxCommandEvent&)':
src/blokish.cpp:906:213: error: 'wxSAVE' was not declared in this scope
     wxString filename = wxFileSelector(wxString::FromAscii("Select a filename to save as"), wxString::FromAscii(""), wxString::FromAscii("default.sav"), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxSAVE);
                                                                                                                                                                                                                     ^
src/blokish.cpp: In member function 'void BlokishFrame::OnLoadGame(wxCommandEvent&)':
src/blokish.cpp:918:195: error: 'wxOPEN' was not declared in this scope
     wxString filename = wxFileSelector(wxString::FromAscii("Select a game to load"), wxString::FromAscii(""), wxString::FromAscii(""), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxOPEN | wxFILE_MUST_EXIST);
                                                                                                                                                                                                   ^
src/blokish.cpp:918:204: error: 'wxFILE_MUST_EXIST' was not declared in this scope
     wxString filename = wxFileSelector(wxString::FromAscii("Select a game to load"), wxString::FromAscii(""), wxString::FromAscii(""), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxOPEN | wxFILE_MUST_EXIST);
                                                                                                                                                                                                            ^
makefile:473: recipe for target 'blokish.o' failed
make[1]: *** [blokish.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-board/blokish-0.9.4-r1/work/blokish'
makefile:302: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2015-11-16 06:22:00 UTC
fixed in blokish-0.9.4-r2.ebuild