RESOLVED FIXED 179154
[WPE][GTK] Avoid duplicating code for dist and distcheck targets
https://bugs.webkit.org/show_bug.cgi?id=179154
Summary [WPE][GTK] Avoid duplicating code for dist and distcheck targets
Michael Catanzaro
Reported 2017-11-01 21:02:43 PDT
Avoid duplicating code for dist and distcheck targets between GTK and WPE
Attachments
Patch (33.41 KB, patch)
2017-11-01 22:39 PDT, Michael Catanzaro
no flags
Patch (33.44 KB, patch)
2017-11-01 22:40 PDT, Michael Catanzaro
no flags
Patch (33.43 KB, patch)
2017-11-02 05:28 PDT, Michael Catanzaro
no flags
Patch (33.43 KB, patch)
2017-11-02 05:28 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2017-11-01 22:39:26 PDT
Michael Catanzaro
Comment 2 2017-11-01 22:40:15 PDT
Carlos Garcia Campos
Comment 3 2017-11-01 23:35:24 PDT
Comment on attachment 325683 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325683&action=review > Tools/Scripts/make-dist:1 > +#!/usr/bin/env python2 Why did you change this? Does this fail to run with python3?
Michael Catanzaro
Comment 4 2017-11-02 05:19:02 PDT
(In reply to Carlos Garcia Campos from comment #3) > Comment on attachment 325683 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=325683&action=review > > > Tools/Scripts/make-dist:1 > > +#!/usr/bin/env python2 > > Why did you change this? Does this fail to run with python3? I didn't try, but I assume all our scripts will fail to run with python3 unless tested otherwise. I can leave it as-is.
Michael Catanzaro
Comment 5 2017-11-02 05:19:40 PDT
Comment on attachment 325683 [details] Patch Both EWS are broken
Michael Catanzaro
Comment 6 2017-11-02 05:28:09 PDT
Michael Catanzaro
Comment 7 2017-11-02 05:28:46 PDT
Carlos Alberto Lopez Perez
Comment 8 2017-11-02 06:32:30 PDT
(In reply to Michael Catanzaro from comment #4) > I didn't try, but I assume all our scripts will fail to run with python3 > unless tested otherwise. I can leave it as-is. This is a change that can be done in another bug. You can for example seize and globally replace "python" with "python-2.7" in all python shebang (as we discussed a while ago on the webkit-dev mailing lists). On Debian, the python namespace still defaults to 2.7
Michael Catanzaro
Comment 9 2017-11-02 07:38:50 PDT
Comment on attachment 325711 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325711&action=review > Tools/Scripts/make-dist:1 > +#!/usr/bin/env python I switched it back, since I agree it's a problem for another bug.
Adrian Perez
Comment 10 2017-11-02 13:35:26 PDT
Comment on attachment 325711 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325711&action=review Informally reviewing: Looks good to me / r+. > Source/cmake/WebKitDist.cmake:24 > + VERBATIM #TIL about “VERBATIM” — certainly nicer that interspersing double-quote characters all around :-)
Michael Catanzaro
Comment 11 2017-11-02 13:42:01 PDT
(In reply to Adrian Perez from comment #10) > #TIL about “VERBATIM” — certainly nicer that interspersing double-quote > characters all around :-) Yeah, Konstantin wants us to always use it for all custom targets and commands.
WebKit Commit Bot
Comment 12 2017-11-03 11:42:58 PDT
Comment on attachment 325711 [details] Patch Clearing flags on attachment: 325711 Committed r224410: <https://trac.webkit.org/changeset/224410>
WebKit Commit Bot
Comment 13 2017-11-03 11:43:00 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.