NetBSD Problem Report #56104
From www@netbsd.org Tue Apr 13 04:58:47 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 47EF01A9217
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Apr 2021 04:58:47 +0000 (UTC)
Message-Id: <20210413045845.EADFE1A9239@mollari.NetBSD.org>
Date: Tue, 13 Apr 2021 04:58:45 +0000 (UTC)
From: pwr@bydasein.com
Reply-To: pwr@bydasein.com
To: gnats-bugs@NetBSD.org
Subject: oath-toolkit: provide -doc option
X-Send-Pr-Version: www-1.0
>Number: 56104
>Category: pkg
>Synopsis: oath-toolkit: provide -doc option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pettai
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Apr 13 05:00:00 +0000 2021
>Last-Modified: Tue Apr 13 18:52:32 +0000 2021
>Originator: Paul W. Rankin
>Release: trunk a262346a
>Organization:
>Environment:
Darwin nostromo.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64
>Description:
Building oath-toolkit requires gtk-doc by default, which pulls in a load of extra dependencies. However, gtk-doc is only required to build the API documentation, and oath-toolkit can be built without it.
I'd like to request that oath-toolkit use the options framework with an added -doc option (which may remain enabled by default) to build oath-toolkit without requiring gtk-doc.
>How-To-Repeat:
cd security/oath-toolkit; bmake clean install
>Fix:
Add to Makefile:
# TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
DISTCHECK_CONFIGURE_FLAGS=
>Release-Note:
>Audit-Trail:
From: nia <nia@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/56104: oath-toolkit: provide -doc option
Date: Tue, 13 Apr 2021 08:46:38 +0000
It's probable there doesn't need to be an option - gtk-doc
generates HTML documentation, typically used on project websites,
while oath-toolkit already installs man pages for its API.
I don't think this is the right fix, but I can look into it
and hopefully update the package at the same time.
From: "Paul W. Rankin" <pwr@bydasein.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/56104: oath-toolkit: provide -doc option
Date: Tue, 13 Apr 2021 18:30:45 +1000
I'm sorry but my suggested fix does not successfully build. (Without =
realising I was building with gtk-doc still installed.)
However, the oath-toolkit developer has assured me that it is possible =
to build without gtk-doc:
=
https://lists.nongnu.org/archive/html/oath-toolkit-help/2021-04/msg00001.h=
tml
Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Tue, 13 Apr 2021 18:52:32 +0000
Responsible-Changed-Why:
Over to maintainer.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.