Changeset 27926 in webkit


Ignore:
Timestamp:
Nov 20, 2007 7:35:49 AM (16 years ago)
Author:
alp@webkit.org
Message:

2007-11-20 Alp Toker <alp@atoker.com>

Reviewed by Simon Hausmann.

Clean up GTK+ port configuration.

Use similar compiler warning flags to the Mac build.

Add the qmake changes needed for DirectFB support.

  • WebKit.pri:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r27510 r27926  
     12007-11-20  Alp Toker  <alp@atoker.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Clean up GTK+ port configuration.
     6
     7        Use similar compiler warning flags to the Mac build.
     8
     9        Add the qmake changes needed for DirectFB support.
     10
     11        * WebKit.pri:
     12
    1132007-11-07  Simon Hausmann  <hausmann@kde.org>
    214
  • trunk/WebKit.pri

    r27510 r27926  
    1414    DEPENDPATH += $$PWD/WebKit/qt/Api
    1515}
    16 gtk-port:CONFIG += link_pkgconfig
    17 gtk-port:PKGCONFIG += cairo cairo-ft gdk-2.0 gtk+-2.0 libcurl
    18 gtk-port:DEFINES += BUILDING_GTK__=1 BUILDING_CAIRO__
    19 gtk-port:LIBS += -L$$OUTPUT_DIR/lib -lWebKitGtk $$system(icu-config --ldflags) -ljpeg -lpng
    20 gtk-port:QMAKE_CXXFLAGS += $$system(icu-config --cppflags)
     16
     17gtk-port {
     18    CONFIG += link_pkgconfig
     19
     20    DEFINES += BUILDING_CAIRO__=1 BUILDING_GTK__=1
     21
     22    # We use FreeType directly with Cairo
     23    PKGCONFIG += cairo-ft
     24
     25    directfb: PKGCONFIG += cairo-directfb gtk+-directfb-2.0
     26    else: PKGCONFIG += cairo gtk+-2.0
     27
     28    # We use the curl http backend on all platforms
     29    PKGCONFIG += libcurl
     30
     31    LIBS += -lWebKitGtk -ljpeg -lpng
     32
     33    QMAKE_CXXFLAGS += $$system(icu-config --cppflags)
     34    QMAKE_LIBS += $$system(icu-config --ldflags)
     35
     36    # This set of warnings is borrowed from the Mac build
     37    QMAKE_CXXFLAGS += -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wundef
     38}
    2139
    2240DEFINES += USE_SYSTEM_MALLOC
Note: See TracChangeset for help on using the changeset viewer.