Date: Sun, 2 Jun 2019 19:50:17 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503332 - in head/devel/gn: . files Message-ID: <201906021950.x52JoHk1047059@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Sun Jun 2 19:50:16 2019 New Revision: 503332 URL: https://svnweb.freebsd.org/changeset/ports/503332 Log: devel/gn: Update to 1592 Changelog: Minor fixes to tracing The chrome://tracing expects the timestamp to be in microseconds, but it had been stored in the TraceItem in nanoseconds, so this fixes it. Also adds quotes around the thread_id, since on Mac it is written in hex format and so the JSON parser doesn't recognize it. Finally, adds toolchain information to the import traces. PR: 238241 Submitted by: Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer) Modified: head/devel/gn/Makefile head/devel/gn/distinfo head/devel/gn/files/patch-build_gen.py Modified: head/devel/gn/Makefile ============================================================================== --- head/devel/gn/Makefile Sun Jun 2 19:45:22 2019 (r503331) +++ head/devel/gn/Makefile Sun Jun 2 19:50:16 2019 (r503332) @@ -2,7 +2,7 @@ PORTNAME= gn DISTVERSIONPREFIX= v -DISTVERSION= 1529 +DISTVERSION= 1592 CATEGORIES= devel MAINTAINER= o.hushchenkov@gmail.com Modified: head/devel/gn/distinfo ============================================================================== --- head/devel/gn/distinfo Sun Jun 2 19:45:22 2019 (r503331) +++ head/devel/gn/distinfo Sun Jun 2 19:50:16 2019 (r503332) @@ -1,3 +1,3 @@ -TIMESTAMP = 1550242353 -SHA256 (cglogic-gn-v1529_GH0.tar.gz) = 8f292d3c3a6ea6d6f9b6d41f6e75c360414a7283796905d1b66f41617e2345d2 -SIZE (cglogic-gn-v1529_GH0.tar.gz) = 916888 +TIMESTAMP = 1559209288 +SHA256 (cglogic-gn-v1592_GH0.tar.gz) = 2a3ce6c6739b05ba09dcc8679a4d6ca3b96599c7777217af0563efd6c805f57f +SIZE (cglogic-gn-v1592_GH0.tar.gz) = 939749 Modified: head/devel/gn/files/patch-build_gen.py ============================================================================== --- head/devel/gn/files/patch-build_gen.py Sun Jun 2 19:45:22 2019 (r503331) +++ head/devel/gn/files/patch-build_gen.py Sun Jun 2 19:50:16 2019 (r503332) @@ -1,6 +1,6 @@ ---- build/gen.py.orig 2019-02-12 17:36:05 UTC +--- build/gen.py.orig 2019-05-30 09:42:43 UTC +++ build/gen.py -@@ -115,24 +115,15 @@ def main(argv): +@@ -117,24 +117,15 @@ def main(argv): def GenerateLastCommitPosition(host, header): @@ -8,7 +8,7 @@ - describe_output = subprocess.check_output( - ['git', 'describe', 'HEAD', '--match', ROOT_TAG], shell=host.is_windows(), - cwd=REPO_ROOT) -- mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output) +- mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output.decode()) - if not mo: - raise ValueError( - 'Unexpected output from git describe when generating version header')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906021950.x52JoHk1047059>