Changeset 281192 in webkit
- Timestamp:
- Aug 18, 2021, 9:46:34 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/PlatformGTK.cmake (modified) (2 diffs)
-
Source/JavaScriptCore/javascriptcoregtk.pc.in (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/PlatformGTK.cmake (modified) (2 diffs)
-
Source/WebKit/PlatformWPE.cmake (modified) (3 diffs)
-
Source/WebKit/Shared/glib/BuildRevision.h.in (modified) (1 diff)
-
Source/WebKit/gtk/webkit2gtk-web-extension.pc.in (modified) (1 diff)
-
Source/WebKit/gtk/webkit2gtk.pc.in (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/glib/apply-build-revision-to-files.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r281178 r281192 1 2021-08-18 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 REGRESSION(r280382): [GTK] 2.33.3 does not build with gtk-doc enabled, installs broken pkg-config files 4 https://bugs.webkit.org/show_bug.cgi?id=229152 5 6 Reviewed by Philippe Normand. 7 8 * PlatformGTK.cmake: 9 * javascriptcoregtk.pc.in: 10 1 11 2021-08-17 Saam Barati <sbarati@apple.com> 2 12 -
trunk/Source/JavaScriptCore/PlatformGTK.cmake
r280466 r281192 4 4 set(JavaScriptCore_OUTPUT_NAME javascriptcoregtk-${WEBKITGTK_API_VERSION}) 5 5 6 configure_file(javascriptcoregtk.pc.in ${JavaScriptCore_PKGCONFIG_FILE} @ONLY) 7 6 8 if (EXISTS "${TOOLS_DIR}/glib/apply-build-revision-to-files.py") 7 configure_file(javascriptcoregtk.pc.in ${JavaScriptCore_PKGCONFIG_FILE} @ONLY)8 9 add_custom_target(JavaScriptCore-build-revision 9 10 ${PYTHON_EXECUTABLE} "${TOOLS_DIR}/glib/apply-build-revision-to-files.py" ${JavaScriptCore_PKGCONFIG_FILE} … … 13 14 JavaScriptCore-build-revision 14 15 ) 15 else ()16 configure_file(javascriptcoregtk.pc.in ${JavaScriptCore_PKGCONFIG_FILE})17 16 endif () 18 17 -
trunk/Source/JavaScriptCore/javascriptcoregtk.pc.in
r280382 r281192 3 3 libdir=@LIB_INSTALL_DIR@ 4 4 includedir=${prefix}/include 5 revision= ${BUILD_REVISION}5 revision=@BUILD_REVISION@ 6 6 7 7 Name: JavaScriptCoreGTK+ -
trunk/Source/WebKit/ChangeLog
r281186 r281192 1 2021-08-18 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 REGRESSION(r280382): [GTK] 2.33.3 does not build with gtk-doc enabled, installs broken pkg-config files 4 https://bugs.webkit.org/show_bug.cgi?id=229152 5 6 Reviewed by Philippe Normand. 7 8 CMake is expanding templates in the pkg-config files that are not supposed to be expanded. 9 Oops! Let's switch back to using @SVN_REVISION@ instead of ${SVN_REVISION} as the template 10 for inserting the SVN revision into the pkg-config file, so we can tell CMake to leave the 11 ${} variables alone. 12 13 * PlatformGTK.cmake: 14 * PlatformWPE.cmake: 15 * Shared/glib/BuildRevision.h.in: 16 * gtk/webkit2gtk-web-extension.pc.in: 17 * gtk/webkit2gtk.pc.in: 18 1 19 2021-08-18 Wenson Hsieh <wenson_hsieh@apple.com> 2 20 -
trunk/Source/WebKit/PlatformGTK.cmake
r280466 r281192 11 11 file(MAKE_DIRECTORY ${WebKit2Gtk_FRAMEWORK_HEADERS_DIR}/webkit2gtk-webextension) 12 12 13 configure_file(Shared/glib/BuildRevision.h.in ${WebKit2Gtk_FRAMEWORK_HEADERS_DIR}/BuildRevision.h) 13 14 configure_file(UIProcess/API/gtk/WebKitVersion.h.in ${WebKit2Gtk_DERIVED_SOURCES_DIR}/webkit2/WebKitVersion.h) 15 configure_file(gtk/webkit2gtk.pc.in ${WebKit2_PKGCONFIG_FILE} @ONLY) 16 configure_file(gtk/webkit2gtk-web-extension.pc.in ${WebKit2WebExtension_PKGCONFIG_FILE} @ONLY) 14 17 15 18 if (EXISTS "${TOOLS_DIR}/glib/apply-build-revision-to-files.py") 16 configure_file(gtk/webkit2gtk.pc.in ${WebKit2_PKGCONFIG_FILE} @ONLY)17 configure_file(gtk/webkit2gtk-web-extension.pc.in ${WebKit2WebExtension_PKGCONFIG_FILE} @ONLY)18 configure_file(Shared/glib/BuildRevision.h.in ${WebKit2Gtk_FRAMEWORK_HEADERS_DIR}/BuildRevision.h @ONLY)19 19 add_custom_target(WebKit-build-revision 20 20 ${PYTHON_EXECUTABLE} "${TOOLS_DIR}/glib/apply-build-revision-to-files.py" ${WebKit2Gtk_FRAMEWORK_HEADERS_DIR}/BuildRevision.h ${WebKit2_PKGCONFIG_FILE} ${WebKit2WebExtension_PKGCONFIG_FILE} … … 24 24 WebKit-build-revision 25 25 ) 26 else ()27 configure_file(gtk/webkit2gtk.pc.in ${WebKit2_PKGCONFIG_FILE})28 configure_file(gtk/webkit2gtk-web-extension.pc.in ${WebKit2WebExtension_PKGCONFIG_FILE})29 configure_file(Shared/glib/BuildRevision.h.in ${WebKit2Gtk_FRAMEWORK_HEADERS_DIR}/BuildRevision.h)30 26 endif () 31 27 -
trunk/Source/WebKit/PlatformWPE.cmake
r280466 r281192 13 13 file(MAKE_DIRECTORY ${FORWARDING_HEADERS_WPE_JSC_DIR}) 14 14 15 configure_file(Shared/glib/BuildRevision.h.in ${FORWARDING_HEADERS_WPE_DIR}/BuildRevision.h) 15 16 configure_file(UIProcess/API/wpe/WebKitVersion.h.in ${DERIVED_SOURCES_WPE_API_DIR}/WebKitVersion.h) 16 17 configure_file(wpe/wpe-webkit.pc.in ${WPE_PKGCONFIG_FILE} @ONLY) … … 20 21 21 22 if (EXISTS "${TOOLS_DIR}/glib/apply-build-revision-to-files.py") 22 configure_file(Shared/glib/BuildRevision.h.in ${FORWARDING_HEADERS_WPE_DIR}/BuildRevision.h @ONLY)23 23 add_custom_target(WebKit-build-revision 24 24 ${PYTHON_EXECUTABLE} "${TOOLS_DIR}/glib/apply-build-revision-to-files.py" ${FORWARDING_HEADERS_WPE_DIR}/BuildRevision.h … … 28 28 WebKit-build-revision 29 29 ) 30 else ()31 configure_file(Shared/glib/BuildRevision.h.in ${FORWARDING_HEADERS_WPE_DIR}/BuildRevision.h)32 30 endif () 33 31 -
trunk/Source/WebKit/Shared/glib/BuildRevision.h.in
r280382 r281192 26 26 #pragma once 27 27 28 #define BUILD_REVISION " ${BUILD_REVISION}"28 #define BUILD_REVISION "@BUILD_REVISION@" -
trunk/Source/WebKit/gtk/webkit2gtk-web-extension.pc.in
r280382 r281192 3 3 libdir=@LIB_INSTALL_DIR@ 4 4 includedir=${prefix}/include 5 revision= ${BUILD_REVISION}5 revision=@BUILD_REVISION@ 6 6 7 7 Name: WebKitGTK web process extensions -
trunk/Source/WebKit/gtk/webkit2gtk.pc.in
r280382 r281192 3 3 libdir=@LIB_INSTALL_DIR@ 4 4 includedir=${prefix}/include 5 revision= ${BUILD_REVISION}5 revision=@BUILD_REVISION@ 6 6 7 7 Name: WebKitGTK -
trunk/Tools/ChangeLog
r281191 r281192 1 2021-08-18 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 REGRESSION(r280382): [GTK] 2.33.3 does not build with gtk-doc enabled, installs broken pkg-config files 4 https://bugs.webkit.org/show_bug.cgi?id=229152 5 6 Reviewed by Philippe Normand. 7 8 * glib/apply-build-revision-to-files.py: 9 (main): 10 1 11 2021-08-18 Jonathan Bedard <jbedard@apple.com> 2 12 -
trunk/Tools/glib/apply-build-revision-to-files.py
r281155 r281192 71 71 for line in fd.readlines(): 72 72 if line.startswith("revision"): 73 line = "revision= ${BUILD_REVISION}\n"73 line = "revision=@BUILD_REVISION@\n" 74 74 lines.append(line) 75 75 data = "".join(lines) 76 76 else: 77 print("Support for expanding $BUILD_REVISIONin {} is missing.".format(in_file))77 print("Support for expanding @BUILD_REVISION@ in {} is missing.".format(in_file)) 78 78 return 1 79 79 80 80 with open(in_file, 'w') as fd: 81 fd.write(data.replace(' ${BUILD_REVISION}', build_revision))81 fd.write(data.replace('@BUILD_REVISION@', build_revision)) 82 82 83 83 return 0
Note:
See TracChangeset
for help on using the changeset viewer.