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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CEE8158009 for ; Fri, 23 Jun 2023 21:29:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C642E0898; Fri, 23 Jun 2023 21:29:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDA33E0896 for ; Fri, 23 Jun 2023 21:29:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF3C0340B1E for ; Fri, 23 Jun 2023 21:29:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70CF0A96 for ; Fri, 23 Jun 2023 21:29:41 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1687555704.f202d61b3b796b6d6741c832ff65f87112628c5f.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/nut/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/nut/files/nut-2.8.0-fix-man-page-generation.patch X-VCS-Directories: sys-power/nut/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f202d61b3b796b6d6741c832ff65f87112628c5f X-VCS-Branch: master Date: Fri, 23 Jun 2023 21:29:41 +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: 2466332c-427d-4223-a2fa-7ed23ba026d9 X-Archives-Hash: 41969785a14720269adab2daaea71f0a commit: f202d61b3b796b6d6741c832ff65f87112628c5f Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Jun 20 10:48:55 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Jun 23 21:28:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f202d61b sys-power/nut: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/31556 Signed-off-by: Conrad Kostecki gentoo.org> .../files/nut-2.8.0-fix-man-page-generation.patch | 64 ---------------------- 1 file changed, 64 deletions(-) diff --git a/sys-power/nut/files/nut-2.8.0-fix-man-page-generation.patch b/sys-power/nut/files/nut-2.8.0-fix-man-page-generation.patch deleted file mode 100644 index ff224a4774bf..000000000000 --- a/sys-power/nut/files/nut-2.8.0-fix-man-page-generation.patch +++ /dev/null @@ -1,64 +0,0 @@ -From c0d9ce265c6ca627039845d9544ebbdf87a00f7f Mon Sep 17 00:00:00 2001 -From: Timo Kokkonen -Date: Mon, 11 Jul 2022 20:41:12 +0300 -Subject: [PATCH] docs: man: upsd: Fix driver list when building only some of - drivers - -There are two issues that come up in man page generation when only -some of the drivers are built. - -First is that during configure phase DRIVER_MAN_LIST is collected by -searching any .8 files matching the driver names. This does not work -very well as during the first configure call these files don't exist -yet as none of them are compiled yet. Searching the .txt files where -they are built from works better. - -Second issue is that SRC_DRIVERS_PAGES list needs to contain the -source files where the driver list is generated from. If only some -drivers are built, this needs to be populated from the list of files -we collected to DRIVER_MAN_LIST during configure phase. - -Adding these entries will ensure manpage generation will not fail if -only some of the drivers are built - -Signed-off-by: Timo Kokkonen ---- - configure.ac | 4 ++-- - docs/man/Makefile.am | 6 ++++++ - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 3aa26c24e..a49ca4417 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1745,8 +1745,8 @@ if test "${WITH_MANS}" = "yes"; then - else - DRIVER_MAN_LIST="" - for i in ${DRIVER_BUILD_LIST}; do -- if test -f ${srcdir}/docs/man/$i.8; then -- DRIVER_MAN_LIST="${DRIVER_MAN_LIST} $i.8" -+ if test -f ${srcdir}/docs/man/$i.txt; then -+ DRIVER_MAN_LIST="${DRIVER_MAN_LIST} $i.txt" - fi - done - AC_MSG_RESULT(${DRIVER_MAN_LIST}) -diff --git a/docs/man/Makefile.am b/docs/man/Makefile.am -index 0d693a355..a7345264b 100644 ---- a/docs/man/Makefile.am -+++ b/docs/man/Makefile.am -@@ -695,6 +695,12 @@ SRC_DRIVERS_PAGES = \ - $(SRC_MODBUS_PAGES) \ - $(SRC_LINUX_I2C_PAGES) - -+if SOME_DRIVERS -+SRC_DRIVERS_PAGES += \ -+ $(DRIVER_MAN_LIST) -+endif -+ -+ - # distribute everything, even those not installed by default - # Note that 'dist' target requires AsciiDoc! - SRC_ALL_PAGES = \ --- -2.35.1 -