GNU bug report logs - #29560
[PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.

Previous Next

Package: guix-patches;

Reported by: Theodoros Foradis <theodoros <at> foradis.org>

Date: Mon, 4 Dec 2017 10:04:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29560 in the body.
You can then email your comments to 29560 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29560; Package guix-patches. (Mon, 04 Dec 2017 10:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Theodoros Foradis <theodoros <at> foradis.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 04 Dec 2017 10:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Theodoros Foradis <theodoros <at> foradis.org>
To: guix-patches <at> gnu.org
Cc: Theodoros Foradis <theodoros <at> foradis.org>
Subject: [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.
Date: Mon,  4 Dec 2017 12:02:46 +0200
* gnu/packages/engineering.scm (kicad)[arguments]:
<phases>: Remove install-lib-3d.
<configure-flags>: Add "-DCMAKE_INSTALL_LIBDIR".
---
 gnu/packages/engineering.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5c36de1dd..77b1386b5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -693,6 +693,8 @@ language.")
                                (string-take commit 7))
                "-DCMAKE_BUILD_TYPE=Release"
                "-DKICAD_SKIP_BOOST=ON"; Use our system's boost library.
+               (string-append "-DCMAKE_INSTALL_LIBDIR="
+                              (assoc-ref %outputs "out") "/lib")
                "-DKICAD_SCRIPTING=ON"
                "-DKICAD_SCRIPTING_MODULES=ON"
                "-DKICAD_SCRIPTING_WXPYTHON=ON"
@@ -721,14 +723,6 @@ language.")
                    `("PYTHONPATH" ":" prefix (,path))
                    `("PATH" ":" prefix
                      (,(string-append python "/bin:")))))
-               #t))
-           (add-after 'wrap-program 'install-lib-3d
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (for-each
-                (lambda (file)
-                  (install-file file (string-append (assoc-ref outputs "out")
-                                                    "/lib")))
-                (find-files "." "^libkicad_3dsg.*"))
                #t)))))
       (native-inputs
        `(("boost" ,boost)
-- 
2.15.0





Reply sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
You have taken responsibility. (Tue, 05 Dec 2017 10:14:01 GMT) Full text and rfc822 format available.

Notification sent to Theodoros Foradis <theodoros <at> foradis.org>:
bug acknowledged by developer. (Tue, 05 Dec 2017 10:14:01 GMT) Full text and rfc822 format available.

Message #10 received at 29560-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Theodoros Foradis <theodoros <at> foradis.org>
Cc: 29560-done <at> debbugs.gnu.org
Subject: Re: [bug#29560] [PATCH] gnu: kicad: Install libraries to
 PREFIX/lib, not PREFIX/lib64.
Date: Tue, 5 Dec 2017 11:12:19 +0100
Pushed to master as 661a8cdb3ee7939f255f405d31e849c0199df4b7.

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 02 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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