unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Josep Bigorra <jjbigorra@gmail.com>
To: 74850@debbugs.gnu.org
Subject: [bug#74850] [PATCH] add qt6ct configuration tool
Date: Fri, 13 Dec 2024 14:03:39 +0100	[thread overview]
Message-ID: <CAM_04A0_31hqKsFfXjNmBYOOK88mbmS-2Na-ej4QtGx4bKTrzA@mail.gmail.com> (raw)

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

Hi all, I am submitting a patch adding the qt6ct tool so that we can
configure Qt6 application properly on Guix.

Hope I didn't miss anything!
Thanks, regards,

Joe

[-- Attachment #2: 0001-add-qt6ct-to-guix-packages.patch --]
[-- Type: text/x-patch, Size: 2428 bytes --]

From b1b926172e5f2006ebea21419063e4378a894ec5 Mon Sep 17 00:00:00 2001
Message-ID: <b1b926172e5f2006ebea21419063e4378a894ec5.1734094970.git.jjbigorra@gmail.com>
From: Josep Bigorra <jjbigorra@gmail.com>
Date: Fri, 13 Dec 2024 14:02:26 +0100
Subject: [PATCH] add qt6ct to guix packages

---
 gnu/packages/qt.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index cd0b3d6..1ef84c0 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2022, 2024 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2023 Herman Rimm <herman@rimm.ee>
 ;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
+;;; Copyright © 2024 Josep Bigorra <jjbigorra@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -268,6 +269,44 @@ (define-public qt5ct
     (home-page "https://qt5ct.sourceforge.io/")
     (license license:bsd-2)))
 
+(define-public qt6ct
+  (package
+   (name "qt6ct")
+   (version "0.9")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+      (git-reference
+       (url "https://github.com/trialuser02/qt6ct")
+       (commit version)))
+     (sha256
+      (base32 "0dknk4qqzqc5wa763nclb1k6jkmvjh8kzz8kfp4iggy9jy0vnzgb"))))
+   (build-system qt-build-system)
+   (arguments
+    (list
+     #:qtbase qtbase
+     #:tests? #f                      ; No target
+     #:phases
+     #~(modify-phases %standard-phases
+                      (add-after 'unpack 'patch
+                                 (lambda _
+                                   (substitute* '("src/qt6ct-qtplugin/CMakeLists.txt"
+                                                  "src/qt6ct-style/CMakeLists.txt")
+                                                (("\\$\\{PLUGINDIR\\}")
+                                                 (string-append #$output "/lib/qt6/plugins"))))))))
+   (native-inputs
+    (list qttools))
+   (inputs
+    (list qtsvg
+          libxkbcommon))
+   (synopsis "Qt6 Configuration Tool")
+   (description "Qt6CT is a program that allows users to configure Qt6
+settings (such as icons, themes, and fonts) in desktop environments or
+window managers, that don't provide Qt integration by themselves.")
+   (home-page "https://github.com/trialuser02/qt6ct")
+   (license license:bsd-2)))
+
 (define-public kddockwidgets
   (package
     (name "kddockwidgets")
-- 
2.46.0


             reply	other threads:[~2024-12-13 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 13:03 Josep Bigorra [this message]
2024-12-14 13:24 ` bug#74850: [PATCH] add qt6ct configuration tool Zheng Junjie

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=CAM_04A0_31hqKsFfXjNmBYOOK88mbmS-2Na-ej4QtGx4bKTrzA@mail.gmail.com \
    --to=jjbigorra@gmail.com \
    --cc=74850@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).