From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 465421382C5 for ; Fri, 19 Jun 2020 06:35:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E1FAE08C3; Fri, 19 Jun 2020 06:35:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3BCBEE08C3 for ; Fri, 19 Jun 2020 06:35:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61F7934EF3F for ; Fri, 19 Jun 2020 06:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5268F21D for ; Fri, 19 Jun 2020 06:35:16 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1592548492.3e90512c83b68e0011dd94c573e22866c8927abb.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/, sys-apps/fwupd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwupd/files/fwupd-1.4.4-help2man_var.patch sys-apps/fwupd/fwupd-1.3.10.ebuild sys-apps/fwupd/fwupd-1.3.11.ebuild sys-apps/fwupd/fwupd-1.4.2.ebuild sys-apps/fwupd/fwupd-1.4.4.ebuild X-VCS-Directories: sys-apps/fwupd/files/ sys-apps/fwupd/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 3e90512c83b68e0011dd94c573e22866c8927abb X-VCS-Branch: master Date: Fri, 19 Jun 2020 06:35:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: edd493ec-5746-40df-ac1e-0cbc7ff6c52e X-Archives-Hash: 2e15e5b2a21b72631548d94b795817aa commit: 3e90512c83b68e0011dd94c573e22866c8927abb Author: Lars Wendler gentoo org> AuthorDate: Fri Jun 19 06:34:52 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Jun 19 06:34:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e90512c sys-apps/fwupd: Fixed build with USE="man minimal" Thanks-to: Kamil Smardzewski gmail.com> Closes: https://bugs.gentoo.org/728484 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> .../fwupd/files/fwupd-1.4.4-help2man_var.patch | 93 ++++++++++++++++++++++ sys-apps/fwupd/fwupd-1.3.10.ebuild | 1 + sys-apps/fwupd/fwupd-1.3.11.ebuild | 1 + sys-apps/fwupd/fwupd-1.4.2.ebuild | 1 + sys-apps/fwupd/fwupd-1.4.4.ebuild | 1 + 5 files changed, 97 insertions(+) diff --git a/sys-apps/fwupd/files/fwupd-1.4.4-help2man_var.patch b/sys-apps/fwupd/files/fwupd-1.4.4-help2man_var.patch new file mode 100644 index 00000000000..818a69ddcd4 --- /dev/null +++ b/sys-apps/fwupd/files/fwupd-1.4.4-help2man_var.patch @@ -0,0 +1,93 @@ +From 5164e713f620972b43c54e34a653a932c968e653 Mon Sep 17 00:00:00 2001 +From: Mario Limonciello +Date: Thu, 18 Jun 2020 12:11:31 -0500 +Subject: [PATCH] trivial: fix issue with agent on but man off + +Fixes: #2192 +--- + src/meson.build | 64 +++++++++++++++++++++++++------------------------ + 1 file changed, 33 insertions(+), 31 deletions(-) + +diff --git a/src/meson.build b/src/meson.build +index 7a0b2976a..9a8334973 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -166,22 +166,24 @@ fwupdtool = executable( + install_dir : bindir + ) + +-if build_daemon and get_option('man') ++if get_option('man') + help2man = find_program('help2man') +- custom_target('fwupdmgr-man', +- input : fwupdmgr, +- output : 'fwupdmgr.1', +- command : [ +- help2man, '@INPUT@', +- '--no-info', +- '--output', '@OUTPUT@', +- '--name', 'Firmware update manager client utility', +- '--manual', 'User Commands', +- '--version-string', fwupd_version, +- ], +- install : true, +- install_dir : join_paths(mandir, 'man1'), +- ) ++ if build_daemon ++ custom_target('fwupdmgr-man', ++ input : fwupdmgr, ++ output : 'fwupdmgr.1', ++ command : [ ++ help2man, '@INPUT@', ++ '--no-info', ++ '--output', '@OUTPUT@', ++ '--name', 'Firmware update manager client utility', ++ '--manual', 'User Commands', ++ '--version-string', fwupd_version, ++ ], ++ install : true, ++ install_dir : join_paths(mandir, 'man1'), ++ ) ++ endif + if get_option('agent') + custom_target('fwupdagent-man', + input : fwupdagent, +@@ -198,22 +200,22 @@ if build_daemon and get_option('man') + install_dir : join_paths(mandir, 'man1'), + ) + endif +-endif +-if get_option('man') +- custom_target('fwupdtool-man', +- input : fwupdtool, +- output : 'fwupdtool.1', +- command : [ +- help2man, '@INPUT@', +- '--no-info', +- '--output', '@OUTPUT@', +- '--name', 'Standalone firmware update utility', +- '--manual', 'User Commands', +- '--version-string', fwupd_version, +- ], +- install : true, +- install_dir : join_paths(mandir, 'man1'), +- ) ++ if build_standalone ++ custom_target('fwupdtool-man', ++ input : fwupdtool, ++ output : 'fwupdtool.1', ++ command : [ ++ help2man, '@INPUT@', ++ '--no-info', ++ '--output', '@OUTPUT@', ++ '--name', 'Standalone firmware update utility', ++ '--manual', 'User Commands', ++ '--version-string', fwupd_version, ++ ], ++ install : true, ++ install_dir : join_paths(mandir, 'man1'), ++ ) ++ endif + endif + + if build_daemon diff --git a/sys-apps/fwupd/fwupd-1.3.10.ebuild b/sys-apps/fwupd/fwupd-1.3.10.ebuild index fb249ead344..a16b4f0ace0 100644 --- a/sys-apps/fwupd/fwupd-1.3.10.ebuild +++ b/sys-apps/fwupd/fwupd-1.3.10.ebuild @@ -90,6 +90,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.3.9-logind_plugin.patch" + "${FILESDIR}/${PN}-1.4.4-help2man_var.patch" #728484 ) pkg_setup() { diff --git a/sys-apps/fwupd/fwupd-1.3.11.ebuild b/sys-apps/fwupd/fwupd-1.3.11.ebuild index fb249ead344..a16b4f0ace0 100644 --- a/sys-apps/fwupd/fwupd-1.3.11.ebuild +++ b/sys-apps/fwupd/fwupd-1.3.11.ebuild @@ -90,6 +90,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.3.9-logind_plugin.patch" + "${FILESDIR}/${PN}-1.4.4-help2man_var.patch" #728484 ) pkg_setup() { diff --git a/sys-apps/fwupd/fwupd-1.4.2.ebuild b/sys-apps/fwupd/fwupd-1.4.2.ebuild index fc4bbdbfe90..78788fa23ce 100644 --- a/sys-apps/fwupd/fwupd-1.4.2.ebuild +++ b/sys-apps/fwupd/fwupd-1.4.2.ebuild @@ -86,6 +86,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.3.9-logind_plugin.patch" + "${FILESDIR}/${PN}-1.4.4-help2man_var.patch" #728484 ) pkg_setup() { diff --git a/sys-apps/fwupd/fwupd-1.4.4.ebuild b/sys-apps/fwupd/fwupd-1.4.4.ebuild index 557d271177c..5ad09f23bf8 100644 --- a/sys-apps/fwupd/fwupd-1.4.4.ebuild +++ b/sys-apps/fwupd/fwupd-1.4.4.ebuild @@ -86,6 +86,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.3.9-logind_plugin.patch" + "${FILESDIR}/${PN}-1.4.4-help2man_var.patch" #728484 ) pkg_setup() {