1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
;;; Package Repository for GNU Guix
;;; Copyright © 2021-2024 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
;;; Copyright © 2021-2025 Franz Geffke <m@f-a.nz>
(define-module (px packages themes)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system meson)
#:use-module (guix build-system trivial)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages kde-plasma)
#:use-module (gnu packages lxqt)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
#:use-module (gnu packages web)
#:use-module (gnu packages admin)
#:use-module (gnu packages xml)
#:use-module (px packages kde-plasma))
(define-public px-widget-style
(package
(name "px-widget-style")
(version "5.19.5-1")
(source
(origin
(method url-fetch)
(uri (string-append "https://source.pantherx.org/" name "_v" version
".tgz"))
(sha256
(base32 "0ihx39li1r266ankc1q4lvv2vfh9hbxjlyjddyy30rir8rbdfilp"))))
(properties `((tags quote
("Desktop" "KDE" "Plasma"))))
(build-system cmake-build-system)
(native-inputs `(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)))
;; TODO: Warning at /gnu/store/…-kpackage-5.34.0/…/KF5PackageMacros.cmake:
;; warnings during generation of metainfo for org.kde.breezedark.desktop:
;; Package type "Plasma/LookAndFeel" not found
;; TODO: Unknown property type for key "X-KDE-ParentApp",
;; "X-Plasma-MainScript"
(inputs `(("kcmutils" ,kcmutils-5)
("kconfigwidgets" ,kconfigwidgets-5)
("kcoreaddons" ,kcoreaddons-5)
("kde-frameworkintegration" ,kde-frameworkintegration-5)
("kdecoration" ,kdecoration-5)
("kguiaddons" ,kguiaddons-5)
("ki18n" ,ki18n-5)
("kiconthemes" ,kiconthemes-5)
("kpackage" ,kpackage-5)
("kwayland" ,kwayland-5)
("kwindowsystem" ,kwindowsystem-5)
("plasma-framework" ,plasma-framework) ;missing in CMakeList.txt
;; ("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative-5)
("qtx11extras" ,qtx11extras)))
(propagated-inputs `(("qtbase" ,qtbase-5)))
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'configure 'fix-source
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "CMakeLists.txt"
(("include\\(KDEClangFormat\\)")
"#include(KDEClangFormat)"))
(substitute* "CMakeLists.txt"
(("kde_clang_format")
"#kde_clang_format"))
;; Fixing the path of kde4breeze to pointing to the store of breeze theme
(substitute* "colors-px/breeze-default-colorscheme.desktop"
(("kde4breeze")
(string-append out
"/lib/kconf_update_bin/kde4breeze")))
#t))))))
(home-page "https://kde.org/plasma-desktop")
(synopsis "Default Plasma theme (meta-package)")
(description
"Forked version of breeze style theme with additional color-schemes for PantherX.")
(license license:gpl2+)))
(define-public lxqt-arc-dark-theme
(package
(name "lxqt-arc-dark-theme")
(version "0.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.pantherx.org/franz/lxqt-arc-dark-theme")
(commit "928cddad613a4b28f5453e1c2414b6ce0438d9c8")))
(sha256
(base32 "0qi5vy2hjkkyydycmpilbig6rwf870n8yjy2knz9jm0y6a2bx07w"))
(file-name (git-file-name name version))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils)
(srfi srfi-26))
(let* ((source (assoc-ref %build-inputs "source"))
(theme-dir (string-append %output
"/share/lxqt/themes/")))
(mkdir-p (string-append theme-dir "arc-dark"))
(copy-recursively (string-append source "/arc-dark")
(string-append theme-dir "arc-dark"))))))
(synopsis "LXQt Arc Dark Theme")
(home-page "https://git.pantherx.org/franz/lxqt-arc-dark-theme")
(description "LXQt Theme based on Arc by horst3180 and LXQt dark theme")
(license license:gpl3+)))
(define-public sddm-darkine-theme
(package
(name "sddm-darkine-theme")
(version "0.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Rokin05/darkine-kde.git")
(commit "cd37f809b3f3ca7fd8865e6e91887a26b591c8d3")))
(sha256
(base32 "0wfq5ydlmf92y7xj8qad2rjvvicy1f97cd7n3j5i3pmq9pl74zys"))
(file-name (git-file-name name version))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils)
(srfi srfi-26))
(let* ((source (assoc-ref %build-inputs "source"))
(theme-dir (string-append %output
"/share/sddm/themes/darkine")))
(mkdir-p theme-dir)
(copy-recursively (string-append source
"/sddm/themes/darkine")
theme-dir)))))
(home-page "https://github.com/Rokin05/darkine-kde")
(synopsis "SDDM theme from Darkine KDE collection")
(description
"SDDM theme from Darkine KDE collection, a pure QtQuick2 based SDDM login theme")
(license license:expat)))
(define-public chilie-login-theme
(package
(name "chilie-login-theme")
(version "0.1.5")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/MarianArlt/sddm-chili/archive/"
version ".tar.gz"))
(sha256
(base32 "03wswhqp9980blsrhk60jj49gbqmpkij85i71bzqyi0gyxxn1h53"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils)
(srfi srfi-26))
(let* ((source (assoc-ref %build-inputs "source"))
(tar (assoc-ref %build-inputs "tar"))
(gzip (assoc-ref %build-inputs "gzip"))
(theme-dir (string-append %output
"/share/sddm/themes")))
(mkdir-p theme-dir)
(setenv "PATH"
(string-append gzip "/bin"))
(invoke (string-append tar "/bin/tar") "xvf" source "-C"
theme-dir)))))
(native-inputs `(("tar" ,tar)
("gzip" ,gzip)))
(home-page "https://github.com/MarianArlt/sddm-chili")
(synopsis "Chili login theme for SDDM")
(description "Chili login theme for SDDM.")
(license license:gpl3)))
(define-public paper-icon-theme
(package
(name "paper-icon-theme")
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/snwh/paper-icon-theme/archive/v." version
".tar.gz"))
(sha256
(base32 "1klf545hk6g7dx9g0bkblrzd46kz6hr0yj1mqvjq3r7cjpz1vwk2"))))
(build-system meson-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'configure 'disable-post-install
(lambda _
(substitute* "meson.build"
(("meson.add_install_script.*")
"")))))))
(synopsis "Paper icon theme")
(home-page "https://snwh.org")
(description "Paper is an open source FreeDesktop icon project")
(license license:expat)))
|