[GTK] webkitgtk's pkgconfig file needs to require javascriptcoregtk
Created attachment 111771 [details] Patch
We want to keep API compatibility, so applications that built before continue building. With the release of 1.6.x that's not the case for applications that use JSC, though: $ gcc -o test test.c $(pkg-config --cflags --libs webkitgtk-3.0) /tmp/ccKd7Use.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueMakeNull' /tmp/ccKd7Use.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueGetType' /tmp/ccKd7Use.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueToBoolean' /tmp/ccKd7Use.o:gcds.c:function main: error: undefined reference to 'JSContextGetGlobalObject' /tmp/ccKd7Use.o:gcds.c:function main: error: undefined reference to 'JSStringCreateWithUTF8CString' /tmp/ccKd7Use.o:gcds.c:function main: error: undefined reference to 'JSObjectMakeFunctionWithCallback' /tmp/ccKd7Use.o:gcds.c:function main: error: undefined reference to 'JSObjectSetProperty' /tmp/ccKd7Use.o:gcds.c:function main: error: undefined reference to 'JSStringRelease' collect2: ld returned 1 exit status We need to add javascriptcoregtk-x.0 to the Requires of the webkit{,gtk}-x.0 one.
Comment on attachment 111771 [details] Patch r=me
Comment on attachment 111771 [details] Patch Clearing flags on attachment: 111771 Committed r97979: <http://trac.webkit.org/changeset/97979>
All reviewed patches have been landed. Closing bug.