GNU bug report logs - #42098
[PATCH] gnu: Add guix-simplyblack-sddm-theme.

Previous Next

Package: guix-patches;

Reported by: Fredrik Salomonsson <plattfot <at> gmail.com>

Date: Sat, 27 Jun 2020 23:39:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Fredrik Salomonsson <plattfot <at> gmail.com>
Subject: bug#42098: closed (Re: [bug#42098] [PATCH] gnu: Add
 guix-simplyblack-sddm-theme.)
Date: Fri, 03 Jul 2020 21:44:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42098: [PATCH] gnu: Add guix-simplyblack-sddm-theme.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42098 <at> debbugs.gnu.org.

-- 
42098: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42098
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Fredrik Salomonsson <plattfot <at> gmail.com>
Cc: 42098-done <at> debbugs.gnu.org
Subject: Re: [bug#42098] [PATCH] gnu: Add guix-simplyblack-sddm-theme.
Date: Fri, 03 Jul 2020 23:42:52 +0200
[Message part 3 (text/plain, inline)]
Hi Fredrik,

Fredrik Salomonsson <plattfot <at> gmail.com> skribis:

> * gnu/packages/display-managers.scm (guix-simplyblack-sddm-theme): New variable.

Applied with the changes below, thanks!

Ludo’.

[Message part 4 (text/x-patch, inline)]
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 <at> fastmail.com>
 ;;; Copyright © 2017, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2020 L  p R n  d n <guix <at> lprndn.info>
+;;; Copyright © 2020 Fredrik Salomonsson <plattfot <at> 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))))
 
[Message part 5 (message/rfc822, inline)]
From: Fredrik Salomonsson <plattfot <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Fredrik Salomonsson <plattfot <at> gmail.com>
Subject: [PATCH] gnu: Add guix-simplyblack-sddm-theme.
Date: Sat, 27 Jun 2020 16:37:57 -0700
* 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




This bug report was last modified 5 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.