Subject: bug#52364: closed (Re: bug#52364: SDDM sugar themes)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 22 Dec 2021 21:59:01 +0000

Your bug report

#52364: SDDM sugar themes

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 [email-masked].

-- 
52364: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52364
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#52364: SDDM sugar themes
From: Ludovic Courtès <[email-masked]>
To: phodina <[email-masked]>
Cc: [email-masked]
Date: Wed, 22 Dec 2021 22:58:27 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

phodina <[email-masked]> skribis:

> From 69d14a1f46811e9e251a86829204ac7692eb148f Mon Sep 17 00:00:00 2001
> From: Petr Hodina <[email-masked]>
> Date: Wed, 3 Nov 2021 09:10:07 +0100
> Subject: [PATCH 1/2] gnu: Add sugar-dark-sddm-theme.
>
> * gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable.

[...]

> From bce8e91dcedcad1248bbb3b1793be144c2664e7b Mon Sep 17 00:00:00 2001
> From: Petr Hodina <[email-masked]>
> Date: Wed, 3 Nov 2021 09:13:46 +0100
> Subject: [PATCH 2/2] gnu: Add sugar-light-sddm-theme.
>
> * gnu/packages/display-manager.scm (sugar-light-sddm-theme): New variable.

Applied, thanks!

Ludo'.

Subject: SDDM sugar themes
From: phodina <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Tue, 07 Dec 2021 23:24:08 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

these patches contain 2 SDDM themes - light and dark.

----
Petr

From 69d14a1f46811e9e251a86829204ac7692eb148f Mon Sep 17 00:00:00 2001
From: Petr Hodina <[email-masked]>
Date: Wed, 3 Nov 2021 09:10:07 +0100
Subject: [PATCH 1/2] gnu: Add sugar-dark-sddm-theme.

* gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable.

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index ef5d14352e..dd27a19a9c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Fredrik Salomonsson <[email-masked]>
 ;;; Copyright © 2020 Vincent Legoll <[email-masked]>
 ;;; Copyright © 2021 Zheng Junjie <[email-masked]>
+;;; Copyright © 2021 Petr Hodina <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -190,6 +191,37 @@ (define-public chili-sddm-theme
 easy to use, login interface with a modern yet classy touch.")
     (license license:gpl3+)))
 
+(define-public sugar-dark-sddm-theme
+  (package
+    (name "sugar-dark-sddm-theme")
+    (version "1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/MarianArlt/sddm-sugar-dark")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb"))))
+    (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 "/chili"))))))
+    (home-page "https://github.com/MarianArlt/sddm-sugar-dark")
+    (synopsis "Sugar dark theme for SDDM")
+    (description "Sugar is extremely customizable and so sweet it will
+probably cause you diabetes just from looking at it.  Sweeten the login
+experience for your users, your family and yourself")
+    (license license:gpl3+)))
+
 (define-public lightdm
   (package
     (name "lightdm")
-- 
2.34.0

From bce8e91dcedcad1248bbb3b1793be144c2664e7b Mon Sep 17 00:00:00 2001
From: Petr Hodina <[email-masked]>
Date: Wed, 3 Nov 2021 09:13:46 +0100
Subject: [PATCH 2/2] gnu: Add sugar-light-sddm-theme.

* gnu/packages/display-manager.scm (sugar-light-sddm-theme): New variable.

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index dd27a19a9c..0896ceae87 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -222,6 +222,37 @@ (define-public sugar-dark-sddm-theme
 experience for your users, your family and yourself")
     (license license:gpl3+)))
 
+(define-public sugar-light-sddm-theme
+  (package
+    (name "sugar-light-sddm-theme")
+    (version "1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/MarianArlt/sddm-sugar-light")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1sfd5bi5jcfz3hmvvr3smalywixa70g5j96qgx1220mp6rqf886k"))))
+    (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 "/chili"))))))
+    (home-page "https://github.com/MarianArlt/sddm-sugar-light")
+    (synopsis "Sugar light theme for SDDM")
+    (description "Sugar is extremely customizable and so sweet it will
+probably cause you diabetes just from looking at it.  Sweeten the login
+experience for your users, your family and yourself")
+    (license license:gpl3+)))
+
 (define-public lightdm
   (package
     (name "lightdm")
-- 
2.34.0