* [bug#42098] [PATCH] gnu: Add guix-simplyblack-sddm-theme.
@ 2020-06-27 23:37 Fredrik Salomonsson
2020-07-03 21:42 ` bug#42098: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Fredrik Salomonsson @ 2020-06-27 23:37 UTC (permalink / raw)
To: 42098; +Cc: Fredrik Salomonsson
* gnu/packages/display-managers.scm (guix-simplyblack-sddm-theme): New variable.
---
gnu/packages/display-managers.scm | 32 +++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index c96b693dc3..ba587b2333 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -27,9 +27,11 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system qt)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system trivial)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
@@ -123,6 +125,36 @@ create smooth, animated user interfaces.")
;; QML files are MIT licensed and images are CC BY 3.0.
(license (list license:gpl2+ license:expat license:cc-by3.0))))
+(define-public guix-simplyblack-sddm-theme
+ (package
+ (name "guix-simplyblack-sddm-theme")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/plattfot/guix-simplyblack-sddm")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fwny6b0xpjs8ad2b16pyxd27gf0sr0nillmhc2h5k0q7dva21vi"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (sddm-themes (string-append out "/share/sddm/themes")))
+ (mkdir-p sddm-themes)
+ (copy-recursively (assoc-ref %build-inputs "source")
+ (string-append sddm-themes "/guix-simplyblack-sddm"))))))
+ (home-page "https://github.com/plattfot/guix-simplyblack-sddm")
+ (synopsis "Guix based theme for SDDM")
+ (description "Simple theme for SDDM, black background with Guix's
+logo. Based on Arch linux's archlinux-simplyblack theme.")
+ ;; Theme under cc-by-sa3.0, guix logo under license:cc-by-sa4.0
+ (license (list license:cc-by-sa3.0 license:cc-by-sa4.0))))
+
(define-public lightdm
(package
(name "lightdm")
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#42098: [PATCH] gnu: Add guix-simplyblack-sddm-theme.
2020-06-27 23:37 [bug#42098] [PATCH] gnu: Add guix-simplyblack-sddm-theme Fredrik Salomonsson
@ 2020-07-03 21:42 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-07-03 21:42 UTC (permalink / raw)
To: Fredrik Salomonsson; +Cc: 42098-done
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
Hi Fredrik,
Fredrik Salomonsson <plattfot@gmail.com> skribis:
> * gnu/packages/display-managers.scm (guix-simplyblack-sddm-theme): New variable.
Applied with the changes below, thanks!
Ludo’.
[-- Attachment #2: Type: text/x-patch, Size: 1222 bytes --]
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index ba587b2333..ef6e549d09 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 L p R n d n <guix@lprndn.info>
+;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -150,8 +151,9 @@ create smooth, animated user interfaces.")
(string-append sddm-themes "/guix-simplyblack-sddm"))))))
(home-page "https://github.com/plattfot/guix-simplyblack-sddm")
(synopsis "Guix based theme for SDDM")
- (description "Simple theme for SDDM, black background with Guix's
-logo. Based on Arch linux's archlinux-simplyblack theme.")
+ (description
+ "This package provides a simple theme for SDDM, black background with
+Guix's logo. Based on Arch linux's archlinux-simplyblack theme.")
;; Theme under cc-by-sa3.0, guix logo under license:cc-by-sa4.0
(license (list license:cc-by-sa3.0 license:cc-by-sa4.0))))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-03 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-27 23:37 [bug#42098] [PATCH] gnu: Add guix-simplyblack-sddm-theme Fredrik Salomonsson
2020-07-03 21:42 ` bug#42098: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.