all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Soo <jsoo1@asu.edu>
To: 38659@debbugs.gnu.org
Subject: [bug#38659] [PATCH] Fix FreeCAD dependencies.
Date: Wed, 18 Dec 2019 14:24:01 +0000	[thread overview]
Message-ID: <CAKf5CqXtjpwHF7+wcSCmv75PJ4qMgFn5zsL2auiqMO2r5ej36w@mail.gmail.com> (raw)


[-- 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


             reply	other threads:[~2019-12-18 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 14:24 John Soo [this message]
2019-12-19  8:38 ` bug#38659: [PATCH] Fix FreeCAD dependencies Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKf5CqXtjpwHF7+wcSCmv75PJ4qMgFn5zsL2auiqMO2r5ej36w@mail.gmail.com \
    --to=jsoo1@asu.edu \
    --cc=38659@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.