GNU bug report logs - #31066
[PATCH] gnu: xapers: Fix man page and xapers-adder installation

Previous Next

Package: guix-patches;

Reported by: Adam Massmann <massmannak <at> gmail.com>

Date: Wed, 4 Apr 2018 23:11:01 UTC

Severity: normal

Tags: patch

Done: Eric Bavier <ericbavier <at> centurylink.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eric Bavier <ericbavier <at> centurylink.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31066: closed ([PATCH] gnu: xapers: Fix man page and
 xapers-adder installation)
Date: Thu, 05 Apr 2018 02:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 4 Apr 2018 21:32:15 -0500
with message-id <20180404213215.026a1050 <at> centurylink.net>
and subject line Re: [bug#31066] [PATCH] gnu: xapers: Fix man page and xapers-adder installation
has caused the debbugs.gnu.org bug report #31066,
regarding [PATCH] gnu: xapers: Fix man page and xapers-adder installation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31066: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31066
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Adam Massmann <massmannak <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: xapers: Fix man page and xapers-adder installation
Date: Wed, 04 Apr 2018 19:10:08 -0400
[Message part 3 (text/plain, inline)]
Hi,

I found a bug in my recent contribution of xapers
(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31007); my use of
"install-file" placed the man pages and xaper-adder in the wrong
directories. I am not sure how this made it past my tests, but I will be
much more careful in the future. I'm sorry for any inconvenience. A
patch to fix is attached.

Best,
Adam

[0001-gnu-xapers-Fix-man-page-and-xapers-adder-installatio.patch (text/x-diff, inline)]
From edaca7682afa090a0ae056e4db7d68573915d98c Mon Sep 17 00:00:00 2001
From: Adam Massmann <massmannak <at> gmail.com>
Date: Wed, 4 Apr 2018 18:14:11 -0400
Subject: [PATCH] gnu: xapers: Fix man page and xapers-adder installation

---
 gnu/packages/search.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 64846cffe..02deb5c4a 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -344,12 +344,9 @@ search the generated indexes.")
              (let* ((out (assoc-ref outputs "out"))
                     (bin (string-append out "/bin"))
                     (man1 (string-append out "/share/man/man1")))
-               (install-file "man/man1/xapers.1"
-                             (string-append man1 "/xapers.1"))
-               (install-file "man/man1/xapers-adder.1"
-                             (string-append man1 "/xapers-adder.1"))
-               (install-file "bin/xapers-adder"
-                             (string-append bin "/xapers-adder"))))))))
+               (install-file "man/man1/xapers.1"  man1)
+               (install-file "man/man1/xapers-adder.1" man1)
+               (install-file "bin/xapers-adder" bin)))))))
     (home-page "https://finestructure.net/xapers/")
     (synopsis "Personal document indexing system")
     (description
-- 
2.11.0

[Message part 5 (message/rfc822, inline)]
From: Eric Bavier <ericbavier <at> centurylink.net>
To: Adam Massmann <massmannak <at> gmail.com>
Cc: 31066-done <at> debbugs.gnu.org
Subject: Re: [bug#31066] [PATCH] gnu: xapers: Fix man page and xapers-adder
 installation
Date: Wed, 4 Apr 2018 21:32:15 -0500
[Message part 6 (text/plain, inline)]
On Wed, 04 Apr 2018 19:10:08 -0400
Adam Massmann <massmannak <at> gmail.com> wrote:

> Hi,
> 
> I found a bug in my recent contribution of xapers
> (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31007); my use of
> "install-file" placed the man pages and xaper-adder in the wrong
> directories. I am not sure how this made it past my tests, but I will be
> much more careful in the future. I'm sorry for any inconvenience. A
> patch to fix is attached.
> 
> Best,
> Adam
> 

Thank you for the quick fix.
Pushed in b357ccdd8b6824a49f750e0f6b1afb87683adb82

Happy Hacking,
`~Eric
[Message part 7 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.