Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56169/?format=api
http://patches.dpdk.org/api/patches/56169/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190705155655.31636-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20190705155655.31636-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190705155655.31636-1-bruce.richardson@intel.com", "date": "2019-07-05T15:56:55", "name": "doc: fix doc build with latest meson", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "855724ad0743f4bb42a8ba72e2cd1ee14ef45201", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190705155655.31636-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 5374, "url": "http://patches.dpdk.org/api/series/5374/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5374", "date": "2019-07-05T15:56:55", "name": "doc: fix doc build with latest meson", "version": 1, "mbox": "http://patches.dpdk.org/series/5374/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/56169/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/56169/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 417C61BDE0;\n\tFri, 5 Jul 2019 17:57:09 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id D9C681B96B;\n\tFri, 5 Jul 2019 17:57:06 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Jul 2019 08:57:04 -0700", "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby orsmga008.jf.intel.com with ESMTP; 05 Jul 2019 08:57:04 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,455,1557212400\"; d=\"scan'208\";a=\"158536268\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>, bluca@debian.org,\n\tstable@dpdk.org, alialnu@mellanox.com", "Date": "Fri, 5 Jul 2019 16:56:55 +0100", "Message-Id": "<20190705155655.31636-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.21.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] doc: fix doc build with latest meson", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The latest versions of meson don't build targets when build_by_default is\nfalse but install is true, unlike older versions. We can fix this by having\nboth build_by_default and install settings come from the build-time option.\n\nBugzilla ID: 303\nFixes: d02a2dab2dfb (\"doc: support building HTML guides with meson\")\nFixes: 720b14db3ae2 (\"build: generate API documentation with meson\")\nCc: bluca@debian.org\nCc: stable@dpdk.org\nCc: alialnu@mellanox.com\n\nReported-by: Ali Alnubani <alialnu@mellanox.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n doc/api/meson.build | 4 ++--\n doc/guides/meson.build | 2 +-\n 2 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/doc/api/meson.build b/doc/api/meson.build\nindex 30bdc573b..1c48b7672 100644\n--- a/doc/api/meson.build\n+++ b/doc/api/meson.build\n@@ -26,7 +26,7 @@ if doxygen.found()\n \t\tcommand: [generate_examples, '@INPUT@', '@OUTPUT@'],\n \t\tinstall: get_option('enable_docs'),\n \t\tinstall_dir: htmldir,\n-\t\tbuild_by_default: false)\n+\t\tbuild_by_default: get_option('enable_docs'))\n \n \tcdata = configuration_data()\n \tcdata.set('VERSION', meson.project_version())\n@@ -48,7 +48,7 @@ if doxygen.found()\n \t\tcommand: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css],\n \t\tinstall: get_option('enable_docs'),\n \t\tinstall_dir: htmldir,\n-\t\tbuild_by_default: false)\n+\t\tbuild_by_default: get_option('enable_docs'))\n \n \tdoc_targets += doxy_build\n \tdoc_target_names += 'Doxygen_API'\ndiff --git a/doc/guides/meson.build b/doc/guides/meson.build\nindex 06f14882b..7931ef3bb 100644\n--- a/doc/guides/meson.build\n+++ b/doc/guides/meson.build\n@@ -11,7 +11,7 @@ if sphinx.found()\n \t\tcommand: [sphinx, '-b', 'html',\n \t\t\t'-d', meson.current_build_dir() + '/.doctrees',\n \t\t\t'@INPUT@', meson.current_build_dir() + '/guides'],\n-\t\tbuild_by_default: false,\n+\t\tbuild_by_default: get_option('enable_docs'),\n \t\tinstall: get_option('enable_docs'),\n \t\tinstall_dir: htmldir)\n \n", "prefixes": [] }{ "id": 56169, "url": "