GNU bug report logs - #59536
[PATCH] gnu: Add kvantum.

Previous Next

Package: guix-patches;

Reported by: Yash Tiwari <yasht <at> mailbox.org>

Date: Thu, 24 Nov 2022 08:58:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: 宋文武 <iyzsong <at> envs.net>

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 59536 in the body.
You can then email your comments to 59536 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#59536; Package guix-patches. (Thu, 24 Nov 2022 08:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yash Tiwari <yasht <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 24 Nov 2022 08:58:01 GMT) Full text and rfc822 format available.

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

From: Yash Tiwari <yasht <at> mailbox.org>
To: guix-patches <at> gnu.org
Cc: Yash Tiwari <yasht <at> mailbox.org>
Subject: [PATCH] gnu: Add kvantum.
Date: Thu, 24 Nov 2022 11:47:48 +0530
* gnu/packages/qt.scm (kvantum): New variable.
---
 gnu/packages/qt.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 30bf429897..bc380c68ba 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -26,6 +26,7 @@
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last <at> 163.com>
 ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
+;;; Copyright © 2022 Yash Tiwari <yasht <at> mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -185,6 +186,45 @@ (define-public qt5ct
     (home-page "https://qt5ct.sourceforge.io/")
     (license license:bsd-2)))
 
+(define-public kvantum
+  (package
+    (name "kvantum")
+    (version "1.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tsujan/Kvantum/releases/download/V"
+                    version "/Kvantum-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1vmnb6hxy6nwjjm2asrq9av7rbrrs2rllzq7iwmsm9nidy7i7qxg"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:tests? #f
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'chdir
+                          (lambda _
+                            (chdir "Kvantum") #t))
+                        (add-after 'chdir 'patch-style-dir
+                          (lambda _
+                            (substitute* "style/CMakeLists.txt"
+                              (("\\$\\{KVANTUM_STYLE_DIR\\}")
+                               (string-append #$output
+                                              "/lib/qt5/plugins/styles"))))))))
+    (native-inputs (list qttools-5))
+    (inputs (list libx11
+                  libxext
+                  qtbase-5
+                  qtsvg-5
+                  qtx11extras
+                  kwindowsystem))
+    (synopsis "SVG-based theme engine for Qt")
+    (description
+     "Kvantum is an SVG-based theme engine for Qt,
+tuned to KDE and LXQt, with an emphasis on elegance, usability and practicality.")
+    (home-page "https://github.com/tsujan/Kvantum")
+    (license license:gpl3)))
+
 (define-public materialdecoration
   (let ((commit "6a5de23f2e5162fbee39d16f938473ff970a2ec0")
         (revision "9"))

base-commit: 22d44f87763f86a05e9679d9ad2c99e17f4c79be
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#59536; Package guix-patches. (Fri, 25 Nov 2022 10:41:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Yash Tiwari <yasht <at> mailbox.org>
Cc: 59536 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59536] [PATCH] gnu: Add kvantum.
Date: Fri, 25 Nov 2022 10:39:37 +0000
[Message part 1 (text/plain, inline)]
Yash Tiwari via Guix-patches via <guix-patches <at> gnu.org> writes:

> +    (arguments
> +     (list #:tests? #f

How come the tests are disabled?

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59536; Package guix-patches. (Fri, 25 Nov 2022 10:41:02 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Fri, 25 Nov 2022 10:41:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#59536; Package guix-patches. (Fri, 25 Nov 2022 14:34:02 GMT) Full text and rfc822 format available.

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

From: Yash Tiwari <yasht <at> mailbox.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 59536 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59536] [PATCH] gnu: Add kvantum.
Date: Fri, 25 Nov 2022 19:18:26 +0530
With tests enabled, the build generates the same error as qt5ct i.e. "make: *** No rule to make target 'test'. Stop." From what I understand, there are no tests in the kvantum src.


On November 25, 2022 4:09:37 PM GMT+05:30, Christopher Baines <mail <at> cbaines.net> wrote:
>
>Yash Tiwari via Guix-patches via <guix-patches <at> gnu.org> writes:
>
>> +    (arguments
>> +     (list #:tests? #f
>
>How come the tests are disabled?
>
>Thanks,
>
>Chris




Information forwarded to guix-patches <at> gnu.org:
bug#59536; Package guix-patches. (Fri, 25 Nov 2022 14:34:03 GMT) Full text and rfc822 format available.

Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Mon, 30 Jan 2023 03:23:01 GMT) Full text and rfc822 format available.

Notification sent to Yash Tiwari <yasht <at> mailbox.org>:
bug acknowledged by developer. (Mon, 30 Jan 2023 03:23:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Yash Tiwari <yasht <at> mailbox.org>
Cc: 59536-done <at> debbugs.gnu.org
Subject: Re: bug#59536: [PATCH] gnu: Add kvantum.
Date: Mon, 30 Jan 2023 11:23:01 +0800
Yash Tiwari <yasht <at> mailbox.org> writes:

> * gnu/packages/qt.scm (kvantum): New variable.

Hello, I have applied this patch with version update to 1.0.7, and
license to GPL3+ since the sources have "any later version" in it.

Close now, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Feb 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 137 days ago.

Previous Next


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