summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoopi <coopi@noreply.codeberg.org>2026-08-01 17:06:18 +0400
committerNguyễn Gia Phong <cnx@loang.net>2026-08-08 01:05:09 +0900
commit32e79d20fc22b4cf3b895acfa9a81d82ab8429a2 (patch)
tree02488b1c70b4188196749df29e2e9bd13f24b96b
parentceef63a48e4dad99f7dcdaf44753d40974d1f746 (diff)
gnu: quickshell: Update to v0.3.0.
* gnu/packages/window-management.scm (quickshell): Update to v0.3.0. [build-system]: Switch to qt-build-system. [arguments]<#:qtbase>: Set to qtbase. <#:configure-flags>: Remove CRASH_REPORTER. [native-inputs]: Add vulkan-headers. Remove ninja. [inputs]: Add cpptrace, glib, polkit, qtsvg, and zstd:lib. Remove qtbase. [propagated-inputs]: Remove qtsvg. Reviewed-by: bdunahu <bdunahu@operationnull.com> Merges: https://codeberg.org/guix/guix/pulls/10279 Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
-rw-r--r--gnu/packages/window-management.scm34
1 files changed, 16 insertions, 18 deletions
diff --git a/gnu/packages/window-management.scm b/gnu/packages/window-management.scm
index f15008f636a..90deff8525d 100644
--- a/gnu/packages/window-management.scm
+++ b/gnu/packages/window-management.scm
@@ -176,6 +176,7 @@
176 #:use-module (gnu packages pcre) 176 #:use-module (gnu packages pcre)
177 #:use-module (gnu packages perl) 177 #:use-module (gnu packages perl)
178 #:use-module (gnu packages pkg-config) 178 #:use-module (gnu packages pkg-config)
179 #:use-module (gnu packages polkit)
179 #:use-module (gnu packages pretty-print) 180 #:use-module (gnu packages pretty-print)
180 #:use-module (gnu packages pulseaudio) 181 #:use-module (gnu packages pulseaudio)
181 #:use-module (gnu packages python) 182 #:use-module (gnu packages python)
@@ -214,6 +215,7 @@
214 #:use-module (guix build-system perl) 215 #:use-module (guix build-system perl)
215 #:use-module (guix build-system pyproject) 216 #:use-module (guix build-system pyproject)
216 #:use-module (guix build-system trivial) 217 #:use-module (guix build-system trivial)
218 #:use-module (guix build-system qt)
217 #:use-module (guix download) 219 #:use-module (guix download)
218 #:use-module (guix gexp) 220 #:use-module (guix gexp)
219 #:use-module (guix git-download) 221 #:use-module (guix git-download)
@@ -1347,7 +1349,7 @@ your own layouts, widgets, and built-in commands.")
1347(define-public quickshell 1349(define-public quickshell
1348 (package 1350 (package
1349 (name "quickshell") 1351 (name "quickshell")
1350 (version "0.2.1") 1352 (version "0.3.0")
1351 (source 1353 (source
1352 (origin 1354 (origin
1353 (method git-fetch) 1355 (method git-fetch)
@@ -1356,37 +1358,33 @@ your own layouts, widgets, and built-in commands.")
1356 (commit (string-append "v" version)))) 1358 (commit (string-append "v" version))))
1357 (file-name (git-file-name name version)) 1359 (file-name (git-file-name name version))
1358 (sha256 1360 (sha256
1359 (base32 "19g978h0rmfy0839wncg97ywfdh7bak047dk33hgwjkm5y1qxvvv")))) 1361 (base32 "1rmr5lh2byj1l9lpkf2ypgcbx6wgdyjn5ba9hgpnn9q6khd9akw1"))))
1360 (build-system cmake-build-system) 1362 (build-system qt-build-system)
1361 (arguments 1363 (arguments
1362 (list 1364 (list
1365 #:qtbase qtbase
1363 #:tests? #f ; tests are development-only for now 1366 #:tests? #f ; tests are development-only for now
1364 ;; NOTE: Ninja used because that is what upstream uses and because 1367 ;; NOTE: Ninja used because that is what upstream uses and because
1365 ;; parallel build with Makefile fails. 1368 ;; parallel build with Makefile fails.
1366 #:generator "Ninja" 1369 #:generator "Ninja"
1367 #:configure-flags 1370 #:configure-flags
1368 #~(list 1371 #~(list
1369 "-DCRASH_REPORTER=OFF" ; Breakpad is not packaged in Guix
1370 "-DDISTRIBUTOR=\"GNU Guix\"" 1372 "-DDISTRIBUTOR=\"GNU Guix\""
1371 "-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO" 1373 "-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO"
1372 ;; Shared object libraries for other Qt/QML tooling to find definitions 1374 ;; Shared object libraries for other Qt/QML tooling to find definitions
1373 ;; of Quickshell values. Quickshell statically links to its own 1375 ;; of Quickshell values. Quickshell statically links to its own
1374 ;; libraries by default. 1376 ;; libraries by default.
1375 "-DINSTALL_QML_PREFIX=lib/qt6/qml") 1377 "-DINSTALL_QML_PREFIX=lib/qt6/qml")))
1376 #:phases
1377 #~(modify-phases %standard-phases
1378 (add-after 'install 'wrap-program
1379 (lambda _
1380 (wrap-program (string-append #$output "/bin/quickshell")
1381 `("QML_IMPORT_PATH" ":" = (,(getenv "QML_IMPORT_PATH")))))))))
1382 (native-inputs 1378 (native-inputs
1383 (list ninja 1379 (list pkg-config
1384 pkg-config
1385 qtshadertools 1380 qtshadertools
1386 spirv-tools)) 1381 spirv-tools
1382 vulkan-headers))
1387 (inputs 1383 (inputs
1388 (list bash-minimal 1384 (list bash-minimal
1389 cli11 1385 cli11
1386 cpptrace
1387 glib
1390 jemalloc 1388 jemalloc
1391 libdrm 1389 libdrm
1392 libxcb 1390 libxcb
@@ -1394,13 +1392,13 @@ your own layouts, widgets, and built-in commands.")
1394 linux-pam 1392 linux-pam
1395 mesa 1393 mesa
1396 pipewire 1394 pipewire
1397 qtbase 1395 polkit
1398 qtdeclarative 1396 qtdeclarative
1397 qtsvg
1399 qtwayland 1398 qtwayland
1400 wayland 1399 wayland
1401 wayland-protocols)) 1400 wayland-protocols
1402 (propagated-inputs 1401 `(,zstd "lib")))
1403 (list qtsvg))
1404 (home-page "https://quickshell.outfoxxed.me") 1402 (home-page "https://quickshell.outfoxxed.me")
1405 (synopsis "QtQuick-based desktop shell toolkit") 1403 (synopsis "QtQuick-based desktop shell toolkit")
1406 (description 1404 (description