From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cPz+NNmXTGAiawAA0tVLHw (envelope-from ) for ; Sat, 13 Mar 2021 10:45:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uCq6MNmXTGBxQAAAB5/wlQ (envelope-from ) for ; Sat, 13 Mar 2021 10:45:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31F992BF67 for ; Sat, 13 Mar 2021 11:45:45 +0100 (CET) Received: from localhost ([::1]:46116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL1mB-00033L-3l for larch@yhetil.org; Sat, 13 Mar 2021 05:45:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL1lX-000326-K5 for bug-guix@gnu.org; Sat, 13 Mar 2021 05:45:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL1lV-0007b7-UZ for bug-guix@gnu.org; Sat, 13 Mar 2021 05:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL1lV-0005Yv-Pu for bug-guix@gnu.org; Sat, 13 Mar 2021 05:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47107: libtiff/fixed uses wrong version number in 'doc' output Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Mar 2021 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47107 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 47107-submit@debbugs.gnu.org id=B47107.161563228121339 (code B ref 47107); Sat, 13 Mar 2021 10:45:01 +0000 Received: (at 47107) by debbugs.gnu.org; 13 Mar 2021 10:44:41 +0000 Received: from localhost ([127.0.0.1]:59133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL1lB-0005Y7-8Y for submit@debbugs.gnu.org; Sat, 13 Mar 2021 05:44:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL1l6-0005Xq-6z for 47107@debbugs.gnu.org; Sat, 13 Mar 2021 05:44:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60521) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL1l0-0007Fq-CE; Sat, 13 Mar 2021 05:44:30 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35672 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lL1kz-0000lR-Vw; Sat, 13 Mar 2021 05:44:30 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 13 Mar 2021 11:44:27 +0100 In-Reply-To: (Leo Famulari's message of "Fri, 12 Mar 2021 13:55:17 -0500") Message-ID: <87v99vpc38.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47107@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615632345; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=6AaKCZ+oQQ5QMARuFhsnvEgmyErc2h3yjC24o2mFhss=; b=qVYgoKOgJnTtD91dFoD6s/kGmzdHJ7Gfuk8bTPFR/nwNDFmt1hne6QhMy9003qwTPFsVwU FmhiZYJbvyak27JMnz1mldH26frx6MsNFoN+PptYi1yk1F0S3ainy/XlJq1Qgg5653SRgm khvOgAC1+qiyNSTU/BOLsON2ZJvySNNeoQWJ7ACz+iGjMYuJ9TK0CV7ivxb30VRfH422Eg qq3zdwWopji1zHgjwqIwDY5fzla4nMJyU5SIp3FQNbq9os7FgZ1vj1gzDI+I7djcgVhKGp 3555SOGeKNdnP2yAl5eQ6GoiYWOfWWvAUerbu+e0q5aUO671ZH16nj3RZ13aDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615632345; a=rsa-sha256; cv=none; b=T6UHY1JESV4GYYL5mHWXiSCL8yOrvTJy7aaxU8hyRzZqc833pa6JjWLUYkgoT2cI8egqgN dg/7AoGglyKkral/IkwfQ08Ggl6/mbBWfDkYwUzScvGWUsUZBcoI2eKVtNiH4g2SgIRgFp 0C6RzoHbNbU+aYXah5n3b0HNjq6WMIXjj9LNr6LptGupXfWg4AxprYaOYMik9vxTSEsALb X8mUACbEzrs+BLtHYVvwBmOVIbjFFIhpS2vCvgc5bRHpYv4ggfV8bEhf+Faa4epFLhgQ4m nn95etn5IXCvzXHeDHb1WJMExsHjwZiwJRkTPCElkAPjtKsy7GD1y6P7oRz1zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 31F992BF67 X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: cx0p2Hdi0lD3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Leo, Leo Famulari skribis: > The grafted replacement of libtiff, libtiff/fixed, updates the package > from version 4.1.0 to 4.2.0. > > However, the it does not adjust the #:configure-flags of the inherited > package, which rely on the version number.=20 > > The result is directories named 'share/doc/libtiff-4.1.0' in the "doc" > output of libtiff-4.2.0. Instead of duplicating the =E2=80=98name=E2=80=99 and =E2=80=98arguments=E2= =80=99 fields as done in 35b3ab8e5748d9911ae7a0189065d0c25392895b, one possibility is to change the initial =E2=80=98libtiff=E2=80=99 like so: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 4f249b7622..44d2cac0fe 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -599,7 +599,8 @@ extracting icontainer icon files.") `(#:configure-flags (list (string-append "--with-docdir=" (assoc-ref %outputs "doc") "/share/doc/" - ,name "-" ,version) + ,name "-" + ,(package-version this-package)) "--disable-static"))) (inputs `(("zlib" ,zlib) ("libjpeg" ,libjpeg-turbo))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable WDTY? Would it make sense to adopt this style also for and ? (Changing to this style should not trigger any rebuild because it expands to the exact same thing.) Thanks, Ludo=E2=80=99. --=-=-=--