GNU bug report logs - #66367
[PATCH] gnu: Add gnome-shell-extension-night-theme-switcher.

Previous Next

Package: guix-patches;

Reported by: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>

Date: Thu, 5 Oct 2023 22:00:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66367 in the body.
You can then email your comments to 66367 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, rg <at> raghavgururajan.name, guix-patches <at> gnu.org:
bug#66367; Package guix-patches. (Thu, 05 Oct 2023 22:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>:
New bug report received and forwarded. Copy sent to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, rg <at> raghavgururajan.name, guix-patches <at> gnu.org. (Thu, 05 Oct 2023 22:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: guix-patches <at> gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher.
Date: Thu,  5 Oct 2023 23:50:54 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#66367; Package guix-patches. (Fri, 06 Oct 2023 13:14:01 GMT) Full text and rfc822 format available.

Message #8 received at 66367 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Cc: 66367 <at> debbugs.gnu.org, Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Raghav Gururajan <rg <at> raghavgururajan.name>
Subject: Re: [bug#66367] [PATCH] gnu: Add
 gnome-shell-extension-night-theme-switcher.
Date: Fri, 06 Oct 2023 09:13:07 -0400
Hi,

Sergio Pastor Pérez <sergio.pastorperez <at> 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




Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, rg <at> raghavgururajan.name, guix-patches <at> gnu.org:
bug#66367; Package guix-patches. (Fri, 06 Oct 2023 16:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 66367 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 66367 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH v2] gnu: Add gnome-shell-extension-night-theme-switcher.
Date: Fri,  6 Oct 2023 18:02:11 +0200
* 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





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sat, 07 Oct 2023 15:29:02 GMT) Full text and rfc822 format available.

Notification sent to Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>:
bug acknowledged by developer. (Sat, 07 Oct 2023 15:29:02 GMT) Full text and rfc822 format available.

Message #16 received at 66367-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 66367-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [bug#66367] [PATCH v2] gnu: Add
 gnome-shell-extension-night-theme-switcher.
Date: Sat, 07 Oct 2023 11:27:38 -0400
Hello,

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

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

Installed!

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Nov 2023 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 224 days ago.

Previous Next


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