all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 52755@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#52755] [PATCH 5/5] gnu: krita: Switch to qt-build-system.
Date: Thu, 23 Dec 2021 15:31:16 +0000	[thread overview]
Message-ID: <20211223153116.942854-5-monego@posteo.net> (raw)
In-Reply-To: <20211223153116.942854-1-monego@posteo.net>

* gnu/packages/kde.scm (krita)[build-system]: Switch to qt-build-system.
[arguments]<#:phases>: Remove 'wrap-executable phase that is performed by the
new build system.
---
 gnu/packages/kde.scm | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 5634119369..8531e8683e 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -483,25 +483,10 @@ expression library, that is used in Krita.")
              ".tar.gz"))
        (sha256
         (base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
-    (build-system cmake-build-system)
+    (build-system qt-build-system)
     (arguments
      `(#:tests? #f
-       #:configure-flags (list "-DBUILD_TESTING=OFF")
-       #:phases
-       (modify-phases %standard-phases
-         ;; Ensure that icons are found at runtime.
-         ;; This works around <https://bugs.gnu.org/22138>.
-         (add-after 'install 'wrap-executable
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out"))
-                   (qt '("qtbase" "qtsvg")))
-               (wrap-program (string-append out "/bin/krita")
-                 `("QT_PLUGIN_PATH" ":" prefix
-                   ,(map (lambda (label)
-                           (string-append (assoc-ref inputs label)
-                                          "/lib/qt5/plugins/"))
-                         qt)))
-               #t))))))
+       #:configure-flags (list "-DBUILD_TESTING=OFF")))
     (native-inputs
      (list curl
            eigen
-- 
2.30.2





  parent reply	other threads:[~2021-12-23 15:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23 15:28 [bug#52755] [PATCH 0/5] Update Krita Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 1/5] gnu: Add kseexpr Vinicius Monego
2021-12-23 15:31   ` [bug#52755] [PATCH 2/5] gnu: krita: Add optional dependencies Vinicius Monego
2021-12-23 15:31   ` [bug#52755] [PATCH 3/5] gnu: krita: Update to 5.0.0 Vinicius Monego
2021-12-23 15:31   ` [bug#52755] [PATCH 4/5] gnu: krita: Add optional dependencies Vinicius Monego
2021-12-23 15:31   ` Vinicius Monego [this message]
2021-12-26 20:39 ` bug#52755: [PATCH 0/5] Update Krita Nicolas Goaziou

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=20211223153116.942854-5-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=52755@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.