diff mbox series

[bug#72360] gnu: kvantum: Update to 1.1.2.

Message ID 7b1ca676982fae75b5a9d8a5dc0a074e5ad77a82.1722316399.git.zhengjunjie@iscas.ac.cn
State New
Headers show
Series [bug#72360] gnu: kvantum: Update to 1.1.2. | expand

Commit Message

Zheng Junjie July 30, 2024, 5:13 a.m. UTC
* gnu/packages/qt.scm (kvantum): Update to 1.1.2.
[source]: Switch to git-fetch.
[arguments]: Set #:qtbase to qtbase.
<#:phases>: Adjust patch-style-dir phase.
[inputs]: Remove libx11, libxext, qtbase-5, qtsvg-5, and qtx11extras; add qtsvg.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: I1dbfe5587467df747f91eccbc2b3ce3f3ed21e31
---
 gnu/packages/qt.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)


base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
prerequisite-patch-id: 9429d31c7fc951f1c90d8df0d4c1d5655f38287f
prerequisite-patch-id: 4206102002e22b11bda8bfb3e70e7c2d46f38cda

Comments

Maxim Cournoyer July 31, 2024, 6:01 a.m. UTC | #1
Zheng Junjie <zhengjunjie@iscas.ac.cn> writes:

> * gnu/packages/qt.scm (kvantum): Update to 1.1.2.
> [source]: Switch to git-fetch.
> [arguments]: Set #:qtbase to qtbase.
> <#:phases>: Adjust patch-style-dir phase.
> [inputs]: Remove libx11, libxext, qtbase-5, qtsvg-5, and qtx11extras; add qtsvg.
> [native-inputs]: Remove qttools-5; add qttools.
>
> Change-Id: I1dbfe5587467df747f91eccbc2b3ce3f3ed21e31

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
Zheng Junjie Aug. 1, 2024, 3:54 p.m. UTC | #2
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Zheng Junjie <zhengjunjie@iscas.ac.cn> writes:
>
>> * gnu/packages/qt.scm (kvantum): Update to 1.1.2.
>> [source]: Switch to git-fetch.
>> [arguments]: Set #:qtbase to qtbase.
>> <#:phases>: Adjust patch-style-dir phase.
>> [inputs]: Remove libx11, libxext, qtbase-5, qtsvg-5, and qtx11extras; add qtsvg.
>> [native-inputs]: Remove qttools-5; add qttools.
>>
>> Change-Id: I1dbfe5587467df747f91eccbc2b3ce3f3ed21e31
>
> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

Thanks, push, close.
diff mbox series

Patch

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c150dca78b..a91bebf358 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -313,19 +313,21 @@  (define-public kddockwidgets
 (define-public kvantum
   (package
     (name "kvantum")
-    (version "1.0.7")
+    (version "1.1.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/tsujan/Kvantum/releases/download/V"
-                    version "/Kvantum-" version ".tar.xz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tsujan/Kvantum")
+                    (commit (string-append "V" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0zwxswbgd3wc7al3fhrl5qc0fmmb6mkygywjh1spbqpl7s8jw5s3"))))
+                "1prlv2fqwbxj9fqs4xf925qh9m9ginh0mcc618yg3h23vxq9g9ym"))))
     (build-system qt-build-system)
     (arguments
      (list
       #:tests? #f                       ;no tests
+      #:qtbase qtbase
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'chdir
@@ -336,15 +338,11 @@  (define-public kvantum
               (substitute* "style/CMakeLists.txt"
                 (("\\$\\{KVANTUM_STYLE_DIR\\}")
                  (string-append #$output
-                                "/lib/qt5/plugins/styles"))))))))
-    (native-inputs (list qttools-5))
+                                "/lib/qt6/plugins/styles"))))))))
+    (native-inputs (list qttools))
     (inputs (list
              kwindowsystem
-             libx11
-             libxext
-             qtbase-5
-             qtsvg-5
-             qtx11extras))
+             qtsvg))
     (synopsis "SVG-based theme engine for Qt")
     (description
      "Kvantum is an SVG-based theme engine for Qt,