Bug 179790 - [WinCairo] Update WinCairoRequirements
Summary: [WinCairo] Update WinCairoRequirements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-16 12:09 PST by Don Olmstead
Modified: 2017-11-16 19:38 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.95 KB, patch)
2017-11-16 15:42 PST, Don Olmstead
no flags Details | Formatted Diff | Diff
Patch (4.96 KB, patch)
2017-11-16 15:43 PST, Don Olmstead
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2017-11-16 12:09:51 PST
WinCairoRequirements has been updated https://github.com/WebKitForWindows/WinCairoRequirements/releases/tag/v2017.11.16 and the changes should be reflected in CMake.
Comment 1 Don Olmstead 2017-11-16 15:42:27 PST
Created attachment 327114 [details]
Patch

Updates the version numbers to match the contents of WinCairoRequirements and updates the location of cacert.pem within the new directory structure within the zip
Comment 2 Don Olmstead 2017-11-16 15:43:35 PST
Created attachment 327116 [details]
Patch
Comment 3 Alex Christensen 2017-11-16 18:11:34 PST
Comment on attachment 327116 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=327116&action=review

> Source/WebCore/PlatformWin.cmake:306
>          DESTINATION
>          ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/WebKit.resources/certificates

Can't you specify a destination filename instead of copying then renaming?
Comment 4 Don Olmstead 2017-11-16 19:17:40 PST
(In reply to Alex Christensen from comment #3)
> Comment on attachment 327116 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=327116&action=review
> 
> > Source/WebCore/PlatformWin.cmake:306
> >          DESTINATION
> >          ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/WebKit.resources/certificates
> 
> Can't you specify a destination filename instead of copying then renaming?

No :(

https://cmake.org/cmake/help/v3.10/command/file.html

COPY works on a list of files so the destination is a directory and RENAME works on A file.
Comment 5 WebKit Commit Bot 2017-11-16 19:37:02 PST
Comment on attachment 327116 [details]
Patch

Clearing flags on attachment: 327116

Committed r224959: <https://trac.webkit.org/changeset/224959>
Comment 6 WebKit Commit Bot 2017-11-16 19:37:05 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-11-16 19:38:56 PST
<rdar://problem/35607012>