unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Sergio Pastor Pérez" <sergio.pastorperez@outlook.es>
Cc: 66367@debbugs.gnu.org,
	Liliana Marie Prikler <liliana.prikler@gmail.com>,
	Raghav Gururajan <rg@raghavgururajan.name>
Subject: [bug#66367] [PATCH] gnu: Add gnome-shell-extension-night-theme-switcher.
Date: Fri, 06 Oct 2023 09:13:07 -0400	[thread overview]
Message-ID: <87il7jki70.fsf@gmail.com> (raw)
In-Reply-To: <DU2P193MB2132BDF67AB99C438380EDA9F3CAA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM> ("Sergio Pastor Pérez"'s message of "Thu, 5 Oct 2023 23:50:54 +0200")

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




  reply	other threads:[~2023-10-06 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-10-06 16:02   ` [bug#66367] [PATCH v2] " Sergio Pastor Pérez
2023-10-07 15:27     ` bug#66367: " Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il7jki70.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=66367@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=rg@raghavgururajan.name \
    --cc=sergio.pastorperez@outlook.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).