Opened 11 years ago

Closed 11 years ago

#39806 closed update (fixed)

wxWidgets-devel: update to 2.9.5

Reported by: mojca (Mojca Miklavec) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: alex@…, jeremyhu (Jeremy Huddleston Sequoia), ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: wxWidgets-devel

Description (last modified by mojca (Mojca Miklavec))

wxWidgets-devel has been released. I'm attaching a patch, even though this is probably not enough (if nothing else the dependencies need to be revbumped).

This could also be a great opportunity to address other wxWidgets pending issues:

The update fixes:

  • #35651: wxWidgets(-devel): install share/locale/<lang>/LC_MESSAGES/wxstd.mo
  • #37624: wxWidgets-devel @2.9.4 Drop target support fix

Major issues (maybe need some further discussion):

  • #37819: wxWidgets should be removed / replaced_by wxWidgets30
  • #38375: Ports depending on wxWidgets* should either use path-style dependencies or variants instead

Other issues:

  • #26082: deleting wxWidgets 2.6
  • #39409: wxWidgets-devel @2.9.4_4 +sdl +stdlib Compile Error
  • #39786: wxWidgets @2.9.5 universal build fails ...

Plus possibly many wxpython-related ones.

Oh, whatever. I see now that the port has already been updated, but:

  • only for wxWidgets30, not for wxWidgets-devel
  • the line numbers in the remaining patch seem to be off
  • those bug reports mentioned above can be closed anyway
  • there might be input from different developers about fixes needed for other wxWidgets dependent ports

Attachments (1)

wxWidgets-devel.2.9.5.patch (6.0 KB) - added by mojca (Mojca Miklavec) 11 years ago.
wxWidgets-devel: patch to update to 2.9.5

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: wxWidgets-devel.2.9.5.patch added

wxWidgets-devel: patch to update to 2.9.5

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

Here are the warnings in case that any of those matter (path slightly shortened):

configure: WARNING: Defaulting to the builtin regex library for Unicode build.
configure: WARNING: wxMutex::LockTimeout() will not work
configure: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option
configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled
configure: WARNING: Joystick not supported by this system... disabled
configure: WARNING: Dialup manager not supported on this platform... disabled

/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_basedll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_netdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_netdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_coredll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_coredll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_advdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_advdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_ADV -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_mediadll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_mediadll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_MEDIA -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_htmldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_htmldll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_HTML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_webviewdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_webviewdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_WEBVIEW -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_qadll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_qadll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_QA -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_xmldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_xmldll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_XML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_xrcdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_xrcdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_XRC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_auidll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_auidll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_AUI -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_ribbondll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_ribbondll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_RIBBON -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_propgriddll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_propgriddll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_PROPGRID -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_richtextdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_richtextdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_RICHTEXT -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_stcdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_stcdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -I../src/stc/scintilla/include -I../src/stc/scintilla/lexlib -I../src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -DWXMAKINGDLL_STC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_gldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_gldll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_GL -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common 
clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated

/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-deps /usr/bin/clang++ -mmacosx-version-min=10.5 -c -o coredll_osx_cocoa_menu.o -I./.pch/wxprec_coredll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include  ../src/osx/cocoa/menu.mm
../src/osx/cocoa/filedlg.mm:117:31: warning: 'pathContentOfSymbolicLinkAtPath:' is deprecated [-Wdeprecated-declarations]
    NSString* resolvedLink = [[NSFileManager defaultManager] pathContentOfSymbolicLinkAtPath:filename];
                              ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:172:1: note: method 'pathContentOfSymbolicLinkAtPath:' declared here
- (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)path NS_DEPRECATED(10_0, 10_5, 2_0, 2_0);
^
../src/osx/cocoa/filedlg.mm:121:34: warning: 'fileAttributesAtPath:traverseLink:' is deprecated [-Wdeprecated-declarations]
    NSDictionary* fileAttribs = [[NSFileManager defaultManager]
                                 ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:168:1: note: method 'fileAttributesAtPath:traverseLink:' declared here
- (NSDictionary *)fileAttributesAtPath:(NSString *)path traverseLink:(BOOL)yorn NS_DEPRECATED(10_0, 10_5, 2_0, 2_0);
^
2 warnings generated.

/opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-deps /usr/bin/clang++ -mmacosx-version-min=10.5 -c -o advdll_cocoa_datetimectrl.o -I./.pch/wxprec_advdll -D__WXOSX_COCOA__      -DWXBUILDING      -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_ADV -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include  ../src/osx/cocoa/datetimectrl.mm
../src/osx/core/sound.cpp:54:15: warning: implicit conversion of NULL constant to 'SystemSoundID' (aka 'unsigned int') [-Wnull-conversion]
    m_soundID(NULL)
             ~^~~~
              0
../src/osx/core/sound.cpp:98:21: warning: implicit conversion of NULL constant to 'SystemSoundID' (aka 'unsigned int') [-Wnull-conversion]
        m_soundID = NULL;
                  ~ ^~~~
                    0
2 warnings generated.

Plus a lot of sofware depending on wxWidgets (at least gnuplot and poedit) now suffers from dangling else warnings (it may actually result in buggy executable).

Btw: should -mmacosx-version-min=10.5 be removed?

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Description: modified (diff)

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Fixed in r108794.

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.