Changeset 166499 in webkit


Ignore:
Timestamp:
Mar 31, 2014 7:38:39 AM (10 years ago)
Author:
Martin Robinson
Message:

[GTK] Use PROJECT_VERSION_* instead of WEBKIT_*_VERSION
https://bugs.webkit.org/show_bug.cgi?id=130936

Reviewed by Carlos Garcia Campos.

.:

  • Source/cmake/OptionsGTK.cmake: No longer emulate the Autotools macro names.

Source/WebKit/gtk:

  • webkit/webkitversion.h.in: Use PROJECT_VERSION_* macros instead of the Autotools ones.

Source/WebKit2:

  • UIProcess/API/gtk/WebKitVersion.h.in: Use PROJECT_VERSION_* macros instead of the Autotools ones.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r166492 r166499  
     12014-03-31  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Use PROJECT_VERSION_* instead of WEBKIT_*_VERSION
     4        https://bugs.webkit.org/show_bug.cgi?id=130936
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Source/cmake/OptionsGTK.cmake: No longer emulate the Autotools macro names.
     9
    1102014-03-31  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/WebKit/gtk/ChangeLog

    r166405 r166499  
     12014-03-31  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Use PROJECT_VERSION_* instead of WEBKIT_*_VERSION
     4        https://bugs.webkit.org/show_bug.cgi?id=130936
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * webkit/webkitversion.h.in: Use PROJECT_VERSION_* macros instead of the Autotools ones.
     9
    1102014-03-28  Diego Pino Garcia  <dpino@igalia.com>
    211
  • trunk/Source/WebKit/gtk/webkit/webkitversion.h.in

    r148914 r166499  
    2626G_BEGIN_DECLS
    2727
    28 #define WEBKIT_MAJOR_VERSION (@WEBKIT_MAJOR_VERSION@)
    29 #define WEBKIT_MINOR_VERSION (@WEBKIT_MINOR_VERSION@)
    30 #define WEBKIT_MICRO_VERSION (@WEBKIT_MICRO_VERSION@)
     28#define WEBKIT_MAJOR_VERSION (@PROJECT_VERSION_PATCH@)
     29#define WEBKIT_MINOR_VERSION (@PROJECT_VERSION_MINOR@)
     30#define WEBKIT_MICRO_VERSION (@PROJECT_VERSION_PATCH@)
    3131#define WEBKIT_USER_AGENT_MAJOR_VERSION (@WEBKIT_USER_AGENT_MAJOR_VERSION@)
    3232#define WEBKIT_USER_AGENT_MINOR_VERSION (@WEBKIT_USER_AGENT_MINOR_VERSION@)
  • trunk/Source/WebKit2/ChangeLog

    r166497 r166499  
     12014-03-31  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Use PROJECT_VERSION_* instead of WEBKIT_*_VERSION
     4        https://bugs.webkit.org/show_bug.cgi?id=130936
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * UIProcess/API/gtk/WebKitVersion.h.in: Use PROJECT_VERSION_* macros instead of the Autotools ones.
     9
    1102014-03-31  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
    211
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitVersion.h.in

    r119837 r166499  
    3636 * against at application run time.
    3737 */
    38 #define WEBKIT_MAJOR_VERSION (@WEBKIT_MAJOR_VERSION@)
     38#define WEBKIT_MAJOR_VERSION (@PROJECT_VERSION_MAJOR@)
    3939
    4040/**
     
    4545 * against at application run time.
    4646 */
    47 #define WEBKIT_MINOR_VERSION (@WEBKIT_MINOR_VERSION@)
     47#define WEBKIT_MINOR_VERSION (@PROJECT_VERSION_MINOR@)
    4848
    4949/**
     
    5454 * against at application run time.
    5555 */
    56 #define WEBKIT_MICRO_VERSION (@WEBKIT_MICRO_VERSION@)
     56#define WEBKIT_MICRO_VERSION (@PROJECT_VERSION_PATCH@)
    5757
    5858/**
  • trunk/Source/cmake/OptionsGTK.cmake

    r166492 r166499  
    1515CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT2 32 0 7)
    1616CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(JAVASCRIPTCORE 16 2 16)
    17 
    18 # This is a little confusing: WEBKIT_MICRO_VERSION and friends are used as
    19 # macros in files like WebKitVersion.h.in to expose the project version to
    20 # the API. Meanwhile WEBKIT_VERSION_MICRO (note the transposed words) is used
    21 # by the CMake files to hold the *library* version number, which we calculated
    22 # from the libtool triple above. We should consider ditching these below
    23 # and using PROJECT_VERSION_* directly.
    24 set(WEBKIT_MICRO_VERSION ${PROJECT_VERSION_PATCH})
    25 set(WEBKIT_MINOR_VERSION ${PROJECT_VERSION_MINOR})
    26 set(WEBKIT_MAJOR_VERSION ${PROJECT_VERSION_MAJOR})
    2717
    2818set(USE_GTK2 OFF CACHE BOOL "Whether or not to use GTK+ 2. WebKit2 only supports GTK+ 3.")
Note: See TracChangeset for help on using the changeset viewer.