all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38659] [PATCH] Fix FreeCAD dependencies.
@ 2019-12-18 14:24 John Soo
  2019-12-19  8:38 ` bug#38659: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: John Soo @ 2019-12-18 14:24 UTC (permalink / raw)
  To: 38659


[-- Attachment #1.1: Type: text/plain, Size: 171 bytes --]

Hi all,

Since the addition of clang-toolchain, python-shiboken-2 and
python-pyside-2 have had failing builds.  This patchset updates them to use
clang-toolchain.

- John

[-- Attachment #1.2: Type: text/html, Size: 257 bytes --]

[-- Attachment #2: 0002-gnu-Fix-python-pyside-2.patch --]
[-- Type: text/x-patch, Size: 1617 bytes --]

From 0f3f5e81911c766feb9b44289072747d20973dec Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 18 Dec 2019 06:21:56 -0800
Subject: [PATCH 2/2] gnu: Fix python-pyside-2.

* gnu/packages/qt.scm (python-pyside-2): Update inputs.
---
 gnu/packages/qt.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 747d5437e2..795b5e9d2b 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2161,8 +2161,7 @@ color-related widgets.")
        `(("libcxx" ,libcxx-6)
          ("libxml2" ,libxml2)
          ("libxslt" ,libxslt)
-         ("llvm-6" ,llvm-6)
-         ("clang-6" ,clang-6)
+         ("clang-toolchain" ,clang-toolchain-6)
          ("qtbase" ,qtbase)
          ("qtdatavis3d" ,qtdatavis3d)
          ("qtlocation" ,qtlocation)
@@ -2188,13 +2187,12 @@ color-related widgets.")
          ;; FIXME: Building tests fail.
          #:configure-flags '("-DBUILD_TESTS=FALSE")
          #:phases
-         (modify-phases
-             %standard-phases
+         (modify-phases %standard-phases
            (add-after 'unpack 'go-to-source-dir
              (lambda _ (chdir "sources/pyside2") #t))
            (add-before 'configure 'set-clang-dir
              (lambda* (#:key inputs #:allow-other-keys)
-               (let ((clang (assoc-ref inputs "clang-6"))
+               (let ((clang (assoc-ref inputs "clang-toolchain"))
                      (libcxx (assoc-ref inputs "libcxx")))
                  (setenv "CLANG_INSTALL_DIR" clang)
                  (substitute* "cmake/Macros/PySideModules.cmake"
-- 
2.24.0


[-- Attachment #3: 0001-gnu-Fix-python-shiboken-2.patch --]
[-- Type: text/x-patch, Size: 1347 bytes --]

From 12a0469ca8c3f30426c709872562922cc3e0237b Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 18 Dec 2019 06:21:00 -0800
Subject: [PATCH 1/2] gnu: Fix python-shiboken-2.

* gnu/packages/qt.scm (python-shiboken-2): Update inputs.
---
 gnu/packages/qt.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c0d652a407..747d5437e2 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2107,8 +2107,7 @@ color-related widgets.")
            "0g8jacm2iqd7lw2m7f1dp1nnrsk38bl3m8pihm8zz9gxs8d31sf5"))))
       (build-system cmake-build-system)
       (inputs
-       `(("llvm-6" ,llvm-6)
-         ("clang-6" ,clang-6)
+       `(("clang-toolchain" ,clang-toolchain-6)
          ("libxml2" ,libxml2)
          ("libxslt" ,libxslt)
          ("python-wrapper" ,python-wrapper)
@@ -2124,7 +2123,7 @@ color-related widgets.")
              (lambda _ (chdir "sources/shiboken2") #t))
            (add-before 'configure 'set-build-env
              (lambda* (#:key inputs #:allow-other-keys)
-               (let ((llvm (assoc-ref inputs "llvm-6")))
+               (let ((llvm (assoc-ref inputs "clang-toolchain")))
                  (setenv "CLANG_INSTALL_DIR" llvm)
                  #t))))))
       (home-page "https://wiki.qt.io/Qt_for_Python")
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#38659: [PATCH] Fix FreeCAD dependencies.
  2019-12-18 14:24 [bug#38659] [PATCH] Fix FreeCAD dependencies John Soo
@ 2019-12-19  8:38 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2019-12-19  8:38 UTC (permalink / raw)
  To: John Soo; +Cc: 38659-done

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

Thanks. I adjusted the commit message slightly.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-19  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18 14:24 [bug#38659] [PATCH] Fix FreeCAD dependencies John Soo
2019-12-19  8:38 ` bug#38659: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.