Changeset 128987 in webkit


Ignore:
Timestamp:
Sep 19, 2012 4:12:40 AM (12 years ago)
Author:
Simon Hausmann
Message:

[Qt] Link failure with bfd linker on --minimal build
https://bugs.webkit.org/show_bug.cgi?id=97075

Reviewed by Tor Arne Vestbø.

Fix two dependency errors triggered by --minimal:

  • GStreamerVersioning.cpp uses functions from libgstvideo (gst_video_format_parse_caps), so we need to pull

that module not only when video is enabled by generally when using gstreamer.

  • GraphicsSurfaceGLX depends on Xlib (XOpenDisplay, etc.), so we need to do CONFIG += x11 to get that and not

implicitly rely on x11 netscape plugins being enabled.

  • WebCore.pri:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128982 r128987  
     12012-09-19  Simon Hausmann  <simon.hausmann@digia.com>
     2
     3        [Qt] Link failure with bfd linker on --minimal build
     4        https://bugs.webkit.org/show_bug.cgi?id=97075
     5
     6        Reviewed by Tor Arne Vestbø.
     7
     8        Fix two dependency errors triggered by --minimal:
     9
     10        - GStreamerVersioning.cpp uses functions from libgstvideo (gst_video_format_parse_caps), so we need to pull
     11        that module not only when video is enabled by generally when using gstreamer.
     12        - GraphicsSurfaceGLX depends on Xlib (XOpenDisplay, etc.), so we need to do CONFIG += x11 to get that and not
     13        implicitly rely on x11 netscape plugins being enabled.
     14
     15        * WebCore.pri:
     16
    1172012-09-19  Tommy Widenflycht  <tommyw@google.com>
    218
  • trunk/Source/WebCore/WebCore.pri

    r128616 r128987  
    131131        } else {
    132132            xlibAvailable() {
    133                 CONFIG += x11
     133                CONFIG *= x11
    134134                LIBS += -lXrender
    135135                DEFINES += MOZ_X11
     
    168168use?(GSTREAMER) {
    169169    DEFINES += ENABLE_GLIB_SUPPORT=1
    170     PKGCONFIG += glib-2.0 gio-2.0 gstreamer-0.10 gstreamer-app-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-pbutils-0.10 gstreamer-plugins-base-0.10
     170    PKGCONFIG += glib-2.0 gio-2.0 gstreamer-0.10 gstreamer-app-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-pbutils-0.10 gstreamer-plugins-base-0.10 gstreamer-video-0.10
    171171}
    172172
     
    194194    } else:use?(GSTREAMER) {
    195195        INCLUDEPATH += $$SOURCE_DIR/platform/graphics/gstreamer
    196         PKGCONFIG += gstreamer-video-0.10
    197196    } else:use?(QT_MULTIMEDIA) {
    198197        CONFIG   *= mobility
     
    213212}
    214213
    215 use?(graphics_surface) {
     214use?(GRAPHICS_SURFACE) {
    216215    mac: LIBS += -framework IOSurface -framework CoreFoundation
    217     linux-*: LIBS += -lXcomposite -lXrender
     216    linux-*: {
     217        LIBS += -lXcomposite -lXrender
     218        CONFIG *= x11
     219    }
    218220}
    219221
Note: See TracChangeset for help on using the changeset viewer.