Changeset 160993 in webkit


Ignore:
Timestamp:
Dec 23, 2013 5:35:00 AM (10 years ago)
Author:
Gustavo Noronha Silva
Message:

[GTK] [CMake] Generate pkg-config files
https://bugs.webkit.org/show_bug.cgi?id=125685

Reviewed by Martin Robinson.

.:

  • Source/cmake/OptionsGTK.cmake: set variables used for filling in the values in the

pkg-config files.

Source/JavaScriptCore:

  • PlatformGTK.cmake: Added. Generate javascriptcoregtk-3.0.pc.

Source/WebKit:

  • PlatformGTK.cmake: generate webkitgtk-3.0.pc.

Source/WebKit2:

  • PlatformGTK.cmake: generate webkit2gtk.pc.
Location:
trunk
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r160989 r160993  
     12013-12-23  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK] [CMake] Generate pkg-config files
     4        https://bugs.webkit.org/show_bug.cgi?id=125685
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Source/cmake/OptionsGTK.cmake: set variables used for filling in the values in the
     9        pkg-config files.
     10
    1112013-12-23  Carlos Garcia Campos  <cgarcia@igalia.com>
    212
  • trunk/Source/JavaScriptCore/ChangeLog

    r160983 r160993  
     12013-12-23  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK] [CMake] Generate pkg-config files
     4        https://bugs.webkit.org/show_bug.cgi?id=125685
     5
     6        Reviewed by Martin Robinson.
     7
     8        * PlatformGTK.cmake: Added. Generate javascriptcoregtk-3.0.pc.
     9
    1102013-12-22  Benjamin Poulain  <benjamin@webkit.org>
    211
  • trunk/Source/WebKit/ChangeLog

    r160984 r160993  
     12013-12-23  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK] [CMake] Generate pkg-config files
     4        https://bugs.webkit.org/show_bug.cgi?id=125685
     5
     6        Reviewed by Martin Robinson.
     7
     8        * PlatformGTK.cmake: generate webkitgtk-3.0.pc.
     9
    1102013-12-22  Martin Robinson  <mrobinson@igalia.com>
    211
  • trunk/Source/WebKit/PlatformGTK.cmake

    r160816 r160993  
    22file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKITGTK_DIR})
    33configure_file(gtk/webkit/webkitversion.h.in ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitversion.h)
     4configure_file(gtk/webkit.pc.in ${CMAKE_BINARY_DIR}/Source/WebKit/gtk/webkitgtk-3.0.pc @ONLY)
     5
    46add_definitions(-DPACKAGE_LOCALE_DIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
    57
  • trunk/Source/WebKit2/ChangeLog

    r160989 r160993  
     12013-12-23  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK] [CMake] Generate pkg-config files
     4        https://bugs.webkit.org/show_bug.cgi?id=125685
     5
     6        Reviewed by Martin Robinson.
     7
     8        * PlatformGTK.cmake: generate webkit2gtk.pc.
     9
    1102013-12-23  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/WebKit2/PlatformGTK.cmake

    r160985 r160993  
    99
    1010configure_file(UIProcess/API/gtk/WebKitVersion.h.in ${WEBKIT2_BUILT_API_DIR}/WebKitVersion.h)
     11configure_file(webkit2gtk.pc.in ${CMAKE_BINARY_DIR}/Source/WebKit2/webkit2gtk-3.0.pc @ONLY)
    1112
    1213add_definitions(-DWEBKIT2_COMPILATION)
  • trunk/Source/cmake/OptionsGTK.cmake

    r160804 r160993  
    6060WEBKIT_OPTION_END()
    6161
    62 set(PROJECT_VERSION_MAJOR 0)
    63 set(PROJECT_VERSION_MINOR 1)
    64 set(PROJECT_VERSION_PATCH 0)
     62set(PROJECT_VERSION_MAJOR 2)
     63set(PROJECT_VERSION_MINOR 3)
     64set(PROJECT_VERSION_PATCH 3)
    6565set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
    6666
     
    6868set(WEBKIT_MINOR_VERSION ${PROJECT_VERSION_MINOR})
    6969set(WEBKIT_MAJOR_VERSION ${PROJECT_VERSION_MAJOR})
     70
     71# These are used to generate the pkg-config files, note we only support GTK 3.0
     72# builds with cmake.
     73set(WEBKITGTK_API_VERSION 3.0)
     74set(GTK_API_VERSION 3.0)
     75set(prefix ${CMAKE_INSTALL_PREFIX})
     76set(exec_prefix ${CMAKE_INSTALL_PREFIX})
     77set(libdir "${prefix}/${CMAKE_INSTALL_LIBDIR}")
     78set(includedir "${prefix}/include")
     79set(VERSION ${PROJECT_VERSION})
    7080
    7181set(ENABLE_WEBCORE ON)
Note: See TracChangeset for help on using the changeset viewer.