From nobody Thu Sep 15 10:22:01 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MStY53QnSz4bmdw; Thu, 15 Sep 2022 10:22:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MStY52j60z3cxZ; Thu, 15 Sep 2022 10:22:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663237321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+cg7LZB4Dc5pbemWomPhJ/QYLiXeD16o7ryntEe9OaE=; b=CtaaV3ezcv8tNxnr9jHoREhRyGTUauPEG7NDw9PAtcdmU0jVjrOlgovzh6Fp6YWcAQ3O3O yd/oyTuJfORxV5wf2So4SgG0EGhtzwmNljGJL3NljYuC6E8ixwlh63I6AIHvVkDub1oUU3 qs+SfgOYiMPx+D11ElwLltJEw/fPUH5OE9HmEvOzir7EB+CRVnZjKr+SbvXHriqDOnCuEs 0l0G/wnCS2AHP8ybBVGUKgRk7+wzGFw4OX/I09Woksu1M1SDhLqdoU4CSZUgNUcvQR7vR4 jJy/d6PRi2mw/b7XJnaI4EDsI62KCB1ZjL7lYaAQHeeclv74fhbO4m8l6Fw3BA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MStY51lDfz100m; Thu, 15 Sep 2022 10:22:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28FAM1I2086603; Thu, 15 Sep 2022 10:22:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28FAM1hx086602; Thu, 15 Sep 2022 10:22:01 GMT (envelope-from git) Date: Thu, 15 Sep 2022 10:22:01 GMT Message-Id: <202209151022.28FAM1hx086602@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: eafaf14b790e - main - textproc/docbook2mdoc: patch to support
List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eafaf14b790e1e7ca94ddcfa35659a0d53765ebd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663237321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+cg7LZB4Dc5pbemWomPhJ/QYLiXeD16o7ryntEe9OaE=; b=JoeNAKkh74wqim0jIN06q8hOPadpxDCZgNB5DhzlCmW2lG2SAAXhHRhQ7nNGEZdJW4ADri mKF3zteC29KxbfDlgMttw7dHzGj02dteuN/YVg2Ts3t6RoPPiorJF21m1+33wXioGP4pmz KbXhQbeZ9X3E+idGiZyJ2qFSRzdCGGGhaAhzIdZqHRuOmwXa+FKDem+WYvTpwfB2TB/XiO MOQqDa4mx9V3XQo5IeN50TTMq0+aCKnTswAWZVzE2K4bJ6HIdPAVbgqaanmr553/dl4v1I oizAIsbwNI7e7Dyt83dgzzXUbuYD1JqojkpYlOvblUpEMk29FhFbXYYNsBrVXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663237321; a=rsa-sha256; cv=none; b=bRbi45CdRo2/rahroqsvy/Jmpdj2hcNzs0mEb1w8hOpvl2qVl1ZXXV+C0B6eIfP+agWSWz sGvPQNWKPjZQh//dd8l8YGHsYRW2XEa9m7kAFb4lVz1z/V0Ic+vEj5tYileuTPfYCda3dm vrU0WkDbxmRlvtU0ze07uzVMPGBop9g5gBiel5Fc5DGb2AqaodPX01zKF2tYvtZyZT8jl1 IVOlWc7KcU6O1JwRTF2BciDl1LXVSAFeCH0dpMm+yFkwVAMd5PT+ptNbAK391pzF5i3AI+ /5JtPsJkqCH6E4wvcS5dt+20B2sT8OXpPYCQY1WUlJNT7DWI1YIZQ6hFPfQAIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=eafaf14b790e1e7ca94ddcfa35659a0d53765ebd commit eafaf14b790e1e7ca94ddcfa35659a0d53765ebd Author: Baptiste Daroussin AuthorDate: 2022-09-15 10:07:27 +0000 Commit: Baptiste Daroussin CommitDate: 2022-09-15 10:20:28 +0000 textproc/docbook2mdoc: patch to support
The xdg-utils docbook uses a "address" tag, this allows to use docbook2mdoc to convert xdg-utils docbook files to manpages or text files --- textproc/docbook2mdoc/Makefile | 1 + textproc/docbook2mdoc/files/patch-node.c | 10 ++++++++++ textproc/docbook2mdoc/files/patch-node.h | 10 ++++++++++ 3 files changed, 21 insertions(+) diff --git a/textproc/docbook2mdoc/Makefile b/textproc/docbook2mdoc/Makefile index b17cf2511d4b..040c6c8b55f7 100644 --- a/textproc/docbook2mdoc/Makefile +++ b/textproc/docbook2mdoc/Makefile @@ -1,5 +1,6 @@ PORTNAME= docbook2mdoc PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://mdocml.bsd.lv/docbook2mdoc/snapshots/ diff --git a/textproc/docbook2mdoc/files/patch-node.c b/textproc/docbook2mdoc/files/patch-node.c new file mode 100644 index 000000000000..5e02c91231a9 --- /dev/null +++ b/textproc/docbook2mdoc/files/patch-node.c @@ -0,0 +1,10 @@ +--- node.c.orig 2022-09-15 07:09:04 UTC ++++ node.c +@@ -33,6 +33,7 @@ static const struct nodeprop properties[] = { + + static const struct nodeprop properties[] = { + { "abstract", CLASS_BLOCK }, ++ { "address", CLASS_LINE }, + { "appendix", CLASS_BLOCK }, + { "arg", CLASS_ENCL }, + { "author", CLASS_LINE }, diff --git a/textproc/docbook2mdoc/files/patch-node.h b/textproc/docbook2mdoc/files/patch-node.h new file mode 100644 index 000000000000..526783f89257 --- /dev/null +++ b/textproc/docbook2mdoc/files/patch-node.h @@ -0,0 +1,10 @@ +--- node.h.orig 2019-05-02 13:37:55 UTC ++++ node.h +@@ -41,6 +41,7 @@ enum nodeid { + */ + enum nodeid { + NODE_ABSTRACT, ++ NODE_ADDRESS, + NODE_APPENDIX, + NODE_ARG, + NODE_AUTHOR,