unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66367] [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher.
@ 2023-10-05 21:50 Sergio Pastor Pérez
  2023-10-06 13:13 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Sergio Pastor Pérez @ 2023-10-05 21:50 UTC (permalink / raw)
  To: 66367
  Cc: Sergio Pastor Pérez, Liliana Marie Prikler, Maxim Cournoyer,
	Raghav Gururajan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 2515 bytes --]

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.
---
Hi.

I'm submitting this patch specifically targeting version 65. Although there are
newer versions of this shell extension, this is the last tagged commit which
supports our version of GNOME, 42.4.

Have a good night,
Sergio.

 gnu/packages/gnome-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 8b5dc3030e..651c958f83 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1050,6 +1050,30 @@ (define-public gnome-shell-extension-paperwm
 notebooks and tiling window managers.")
     (license license:gpl3)))
 
+(define-public gnome-shell-extension-night-theme-switcher
+  (package
+    (name "gnome-shell-extension-night-theme-switcher")
+    (version "65")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url
+              "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension")
+             (commit version)))
+       (sha256
+        (base32 "0qhi2g2lh6m8vhrmmfi60977f0i4k9x1zj68lrvpzzlqndz8cgh9"))
+       (file-name (git-file-name name version))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config
+                         (list glib "bin")))
+    (synopsis "Automatic theme switcher for GNOME Shell")
+    (description
+     "Automatically toggle your GNOME desktop’s color scheme between light and
+dark, switch backgrounds and run custom commands at sunset and sunrise.")
+    (home-page "https://nightthemeswitcher.romainvigier.fr")
+    (license license:gpl2+)))
+
 (define-public gpaste
   (package
     (name "gpaste")

base-commit: 5694352c05ed4fdb57a9843d8f023ca3d85992c3
prerequisite-patch-id: ea4ff419275abda9520795ef6cdbb563b8874aa4
prerequisite-patch-id: ceafc36e576e35d1b61df4a576688576408b8395
prerequisite-patch-id: a8e9072010c9429a0fb3862268eeede5fde027ff
prerequisite-patch-id: 579224b39cae7869ce11e2e8dba046b5eef606c7
prerequisite-patch-id: 6016c4c37bd61a419885a3a9d3faaf7b08446c1c
prerequisite-patch-id: 1843bca37f83e494be67c24e975727fb1fe1248c
prerequisite-patch-id: 5cc0d6cd16ae2ab21c444ed9cabfeea5615e8cda
prerequisite-patch-id: 92a3fab6e4174a4d4877fc5b426752df81e4df39
prerequisite-patch-id: ebf3fd3a8bb02f7dc5cdf504f63d5028b29fe69e
prerequisite-patch-id: 863acbffb59c3b17fb4ea7e11710cbd793c0778d
prerequisite-patch-id: b9dfcca92d3854e80451750e74cc395244f28da2
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#66367] [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher.
  2023-10-05 21:50 [bug#66367] [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher Sergio Pastor Pérez
@ 2023-10-06 13:13 ` Maxim Cournoyer
  2023-10-06 16:02   ` [bug#66367] [PATCH v2] " Sergio Pastor Pérez
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-10-06 13:13 UTC (permalink / raw)
  To: Sergio Pastor Pérez; +Cc: 66367, Liliana Marie Prikler, Raghav Gururajan

Hi,

Sergio Pastor Pérez <sergio.pastorperez@outlook.es> writes:

> * gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.
> ---
> Hi.
>
> I'm submitting this patch specifically targeting version 65. Although there are
> newer versions of this shell extension, this is the last tagged commit which
> supports our version of GNOME, 42.4.
>
> Have a good night,
> Sergio.
>
>  gnu/packages/gnome-xyz.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
> index 8b5dc3030e..651c958f83 100644
> --- a/gnu/packages/gnome-xyz.scm
> +++ b/gnu/packages/gnome-xyz.scm
> @@ -1050,6 +1050,30 @@ (define-public gnome-shell-extension-paperwm
>  notebooks and tiling window managers.")
>      (license license:gpl3)))
>  
> +(define-public gnome-shell-extension-night-theme-switcher
> +  (package
> +    (name "gnome-shell-extension-night-theme-switcher")
> +    (version "65")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url
> +              "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension")
> +             (commit version)))
> +       (sha256
> +        (base32 "0qhi2g2lh6m8vhrmmfi60977f0i4k9x1zj68lrvpzzlqndz8cgh9"))
> +       (file-name (git-file-name name version))))
> +    (build-system meson-build-system)
> +    (native-inputs (list pkg-config
> +                         (list glib "bin")))

nitpick: when there are less than 5 inputs, it's fine to list them on a
single line.

> +    (synopsis "Automatic theme switcher for GNOME Shell")
> +    (description
> +     "Automatically toggle your GNOME desktops color scheme between light and
> +dark, switch backgrounds and run custom commands at sunset and sunrise.")
> +    (home-page "https://nightthemeswitcher.romainvigier.fr")
> +    (license license:gpl2+)))

Thanks.  There seems to be some binary code in the middle of the
description.  Could you check?

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#66367] [PATCH v2] gnu: Add gnome-shell-extension-night-theme-switcher.
  2023-10-06 13:13 ` Maxim Cournoyer
@ 2023-10-06 16:02   ` Sergio Pastor Pérez
  2023-10-07 15:27     ` bug#66367: " Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Sergio Pastor Pérez @ 2023-10-06 16:02 UTC (permalink / raw)
  To: 66367
  Cc: Sergio Pastor Pérez, Liliana Marie Prikler, Maxim Cournoyer,
	Raghav Gururajan

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.
---
Hi.

Here you have the corrected patch. The unicode character should be removed by
now.

Greetings,
Sergio.

 gnu/packages/gnome-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 8b5dc3030e..6b66658215 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1050,6 +1050,29 @@ (define-public gnome-shell-extension-paperwm
 notebooks and tiling window managers.")
     (license license:gpl3)))
 
+(define-public gnome-shell-extension-night-theme-switcher
+  (package
+    (name "gnome-shell-extension-night-theme-switcher")
+    (version "65")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url
+              "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension")
+             (commit version)))
+       (sha256
+        (base32 "0qhi2g2lh6m8vhrmmfi60977f0i4k9x1zj68lrvpzzlqndz8cgh9"))
+       (file-name (git-file-name name version))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config (list glib "bin")))
+    (synopsis "Automatic theme switcher for GNOME Shell")
+    (description
+     "Automatically toggle your GNOME desktop's color scheme between light and
+dark, switch backgrounds and run custom commands at sunset and sunrise.")
+    (home-page "https://nightthemeswitcher.romainvigier.fr")
+    (license license:gpl2+)))
+
 (define-public gpaste
   (package
     (name "gpaste")

base-commit: 5694352c05ed4fdb57a9843d8f023ca3d85992c3
prerequisite-patch-id: ea4ff419275abda9520795ef6cdbb563b8874aa4
prerequisite-patch-id: ceafc36e576e35d1b61df4a576688576408b8395
prerequisite-patch-id: a8e9072010c9429a0fb3862268eeede5fde027ff
prerequisite-patch-id: 579224b39cae7869ce11e2e8dba046b5eef606c7
prerequisite-patch-id: 6016c4c37bd61a419885a3a9d3faaf7b08446c1c
prerequisite-patch-id: 1843bca37f83e494be67c24e975727fb1fe1248c
prerequisite-patch-id: 5cc0d6cd16ae2ab21c444ed9cabfeea5615e8cda
prerequisite-patch-id: 92a3fab6e4174a4d4877fc5b426752df81e4df39
prerequisite-patch-id: ebf3fd3a8bb02f7dc5cdf504f63d5028b29fe69e
prerequisite-patch-id: 863acbffb59c3b17fb4ea7e11710cbd793c0778d
prerequisite-patch-id: b9dfcca92d3854e80451750e74cc395244f28da2
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#66367: [PATCH v2] gnu: Add gnome-shell-extension-night-theme-switcher.
  2023-10-06 16:02   ` [bug#66367] [PATCH v2] " Sergio Pastor Pérez
@ 2023-10-07 15:27     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-10-07 15:27 UTC (permalink / raw)
  To: Sergio Pastor Pérez
  Cc: Raghav Gururajan, 66367-done, Liliana Marie Prikler

Hello,

Sergio Pastor Pérez <sergio.pastorperez@outlook.es> writes:

> * gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.

Installed!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-07 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 21:50 [bug#66367] [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher Sergio Pastor Pérez
2023-10-06 13:13 ` Maxim Cournoyer
2023-10-06 16:02   ` [bug#66367] [PATCH v2] " Sergio Pastor Pérez
2023-10-07 15:27     ` bug#66367: " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).