[MacPorts] #41560: webkit-gtk3 2.2.2 with webkit2 support needed
#41560: webkit-gtk3 2.2.2 with webkit2 support needed ----------------------+------------------------- Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: webkit-gtk3 ----------------------+------------------------- As of GNOME 3.10.2, several ports now have hard dependencies on webit-gtk3 2.1.90 or later with webkit2 support. ||= port =||= version =||= requires =|| || gnome-online-accounts || 3.10.2 || webkitgtk-3.0 >= 2.1.90 || || devhelp || 3.10.2 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.10.2 || webkit2gtk-3.0 >= 2.2.2 || -- Ticket URL: <https://trac.macports.org/ticket/41560> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by jeremyhu@…): Well that's unfortunate because webkit-gtk 2.2.2 is quite broken: 1) requires C++11 which makes it Mavericks+ 2) stil haven't gotten it to build I've sent some emails to the webkit-gtk mailing list about issues I've run into and get no response. Current patch is attached if someone wants to continue working on it. -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by jeremyhu@…): Current failure is at: {{{ :info:build Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp:40:43: fatal error: recursive template instantiation exceeded maximum depth of 128 :info:build const unsigned initialCapacity = WTF::HashTableCapacityForSize<size>::value; :info:build ^ :info:build Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp:71:5: note: in instantiation of function template specialization 'TestWebKitAPI::testInitialCapacity<1>' requested here :info:build testInitialCapacity<size>(); :info:build ^ :info:build Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp:70:5: note: in instantiation of function template specialization 'TestWebKitAPI::generateTestCapacityUpToSize<1>' requested here :info:build generateTestCapacityUpToSize<size - 1>(); :info:build ^ :info:build Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp:70:5: note: in instantiation of function template specialization 'TestWebKitAPI::generateTestCapacityUpToSize<2>' requested here :info:build generateTestCapacityUpToSize<size - 1>(); :info:build ^ :info:build Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp:70:5: note: in instantiation of function template specialization 'TestWebKitAPI::generateTestCapacityUpToSize<3>' requested here :info:build generateTestCapacityUpToSize<size - 1>(); :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by devans@…): Unfortunate, indeed. Thanks for the update. -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by devans@…): Using your patch, I was able to build webkit-gtk3 on Mavericks as expected. But, also as expected, I ran into problems building on ML with this error: {{{ In file included from Source/WTF/wtf/Assertions.cpp:40: In file included from ./Source/WTF/wtf/text/CString.h:29: In file included from ./Source/WTF/wtf/HashFunctions.h:24: ./Source/WTF/wtf/RefPtr.h:149:27: error: no member named 'move' in namespace 'std' RefPtr ptr = std::move(o); ~~~~~^ ./Source/WTF/wtf/RefPtr.h:156:27: error: no member named 'move' in namespace 'std' RefPtr ptr = std::move(o); In file included from Source/WTF/wtf/Assertions.cpp:40: In file included from ./Source/WTF/wtf/text/CString.h:29: In file included from ./Source/WTF/wtf/HashFunctions.h:24: ./Source/WTF/wtf/RefPtr.h:149:27: error: no member named 'move' in namespace 'std' RefPtr ptr = std::move(o); ~~~~~^ ./Source/WTF/wtf/RefPtr.h:156:27: error: no member named 'move' in namespace 'std' RefPtr ptr = std::move(o); }}} This is a 'needs libc++' issue: std::move is not available in libstdc++. After adding -stdlib=libc++ to both CXXFLAGS and LDFLAGS, the build proceeded and I got a successful build after one further minor patch concerning the path name for freetype.h. Attached is an additional set of patches that encapsulates these changes and allows the build on ML. This should work as long as Xcode 5 is available. Not sure about Lion and certainly SL and earlier remain a problem. So looks like the issues are: * needs a C+11 capable compiler * needs libc++ What's the best way to do this on the earlier platforms? -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by devans@…): Summarizing, this build of webkit-gtk3 on Mavericks and Mountain Lion allows gnome-online-accounts 3.10.2 to build but the others still require Webkit2 support. I've added the patched version of webkit-gtk to my GNOME-3 stable test branch if anyone is interested. If anyone has additional fixes they are welcome to commit them there. http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dpor... /webkit-gtk Happy Thanksgiving to all. -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by jeremyhu@…): Replying to [comment:4 devans@…]:
So looks like the issues are:
* needs a C++11 capable compiler * needs libc++
What's the best way to do this on the earlier platforms?
Error out if unsupported. Until trunk is released, we'll need to do this a tad messily: {{{ platform darwin { set cxx_stdlib {} if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} { set cxx_stdlib ${configure.cxx_stdlib} } elseif {[string match *clang* ${configure.cxx}] && ${os.major} >= 13} { set cxx_stdlib libc++ } else { set cxx_stdlib libstdc++ } if {${cxx_stdlib} == "libstdc++"} { ui_error "$name is not supported for this installation of MacPorts. It requires libc++ be selected as your C++ runtime" error "unsupported configuration" } } }}} -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by jeremyhu@…): FWIW, this works on my Lion and ML installs that use libc++ -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r114232 r114233 -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Changes (by jeremyhu@…): * status: closed => reopened * resolution: fixed => Comment: Actually, reopening because of the webkit2 support request as well... -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:9 jeremyhu@…]:
Actually, reopening because of the webkit2 support request as well...
There is also a zenity request for webkit-gtk3. On Snow Leopard at least. Here a 'port upgrade outdated' leads to the message {{{ Error: webkit-gtk3 is not supported for this installation of MacPorts. It requires libc++ be selected as your C++ runtime. Please use webkit- gtk3-2.0 instead Error: org.macports.configure for port webkit-gtk3 returned: unsupported configuration }}} but 'port dependents webkit-gtk3' tells: {{{ zenity depends on webkit-gtk3 }}} -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by juanrgar@…): As of gitg@0.3.1 webkit2gtk-3.0 >= 1.9.92 -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.2.2 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Comment (by jeremyhu@…): The upstream bug report is https://bugs.webkit.org/show_bug.cgi?id=126416 -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.4.0 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Changes (by devans@…): * version: 2.2.1 => Old description:
As of GNOME 3.10.2, several ports now have hard dependencies on webit- gtk3 2.1.90 or later with webkit2 support.
||= port =||= version =||= requires =|| || gnome-online-accounts || 3.10.2 || webkitgtk-3.0 >= 2.1.90 || || devhelp || 3.10.2 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.10.2 || webkit2gtk-3.0 >= 2.2.2 ||
New description: As of GNOME 3.10.2, several ports now have hard dependencies on webit-gtk3 2.1.90 or later with webkit2 support. ||= port =||= current version =||= requires =|| || devhelp || 3.12.1 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.12.1 || webkit2gtk-3.0 >= 2.4.0 || || gitg || 0.3.2 || webkit2gtk-3.0 >= 2.2 || -- Comment: As of GNOME 3.12.1, updated requirements are * devhelp 3.12.1 (webkit2gtk-3.0 >= 2.0.0) * epiphany 3.12.1 (webkit2gtk-3.0 >= 2.4.0) * gitg 0.3.2 (webkit2gtk-3.0 >= 2.2) -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.4.0 with webkit2 support needed --------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: webkit-gtk3 | --------------------------+------------------------ Description changed by devans@…: Old description:
As of GNOME 3.10.2, several ports now have hard dependencies on webit- gtk3 2.1.90 or later with webkit2 support.
||= port =||= current version =||= requires =|| || devhelp || 3.12.1 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.12.1 || webkit2gtk-3.0 >= 2.4.0 || || gitg || 0.3.2 || webkit2gtk-3.0 >= 2.2 ||
New description: As of GNOME 3.12.1, several ports now have hard dependencies on webit-gtk3 2.0.0 or later with webkit2 support. ||= port =||= current version =||= requires =|| || devhelp || 3.12.1 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.12.1 || webkit2gtk-3.0 >= 2.4.0 || || gitg || 0.3.2 || webkit2gtk-3.0 >= 2.2 || -- -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.4.0 with webkit2 support needed ------------------------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: webkit-gtk3 webkit-gtk3-2.0 | ------------------------------------------+------------------------ Changes (by devans@…): * port: webkit-gtk3 => webkit-gtk3 webkit-gtk3-2.0 -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#41560: webkit-gtk3 2.4.0 with webkit2 support needed ------------------------------------------+------------------------ Reporter: devans@… | Owner: jeremyhu@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: webkit-gtk3 webkit-gtk3-2.0 | ------------------------------------------+------------------------ Old description:
As of GNOME 3.12.1, several ports now have hard dependencies on webit- gtk3 2.0.0 or later with webkit2 support.
||= port =||= current version =||= requires =|| || devhelp || 3.12.1 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.12.1 || webkit2gtk-3.0 >= 2.4.0 || || gitg || 0.3.2 || webkit2gtk-3.0 >= 2.2 ||
New description: As of GNOME 3.12.2, several ports now have hard dependencies on webit-gtk3 2.0.0 or later with webkit2 support. ||= port =||= current version =||= requires =|| || devhelp || 3.12.1 || webkit2gtk-3.0 >= 2.0.0 || || epiphany || 3.12.1 || webkit2gtk-3.0 >= 2.4.0 || || gitg || 0.3.3 || webkit2gtk-3.0 >= 2.2 || -- Comment (by devans@…): As of GNOME 3.12.2 released 20140514, updated requirements are * devhelp 3.12.1 (webkit2gtk-3.0 >= 2.0.0) * epiphany 3.12.1 (webkit2gtk-3.0 >= 2.4.0) * gitg 0.3.3 (webkit2gtk-3.0 >= 2.2) -- Ticket URL: <https://trac.macports.org/ticket/41560#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts