unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Prafulla Giri <pratheblackdiamond@gmail.com>
Cc: 43198@debbugs.gnu.org
Subject: [bug#43198] Add breeze icon assets
Date: Fri, 04 Sep 2020 11:29:17 +0200	[thread overview]
Message-ID: <878sdpvqj6.fsf@gnu.org> (raw)
In-Reply-To: <CAFw+=j1+2NZqGtOSGsvGKaZgpLe6CcEcCkxa07rZm3oJ8=pKtA@mail.gmail.com> (Prafulla Giri's message of "Fri, 4 Sep 2020 14:07:27 +0545")

Hi,

Prafulla Giri <pratheblackdiamond@gmail.com> skribis:

> From ac4c48493cff931d8f04abf8f52236e49bc818ae Mon Sep 17 00:00:00 2001
> From: Prafulla Giri <pratheblackdiamond@gmail.com>
> Date: Fri, 4 Sep 2020 12:56:26 +0545
> Subject: [PATCH 1/2] gnu: kde-frameworks: Add breeze-assets
>
> * gnu/packages/kde-frameworks.scm (breeze-assets): New variable.

[...]

> +(define-public breeze-assets
> +  (package (inherit breeze-icons)
> +           (name "breeze-assets")

Please indent like this:

  (package
    (inherit breeze-icons)
    (name …)
    …)

> +           (synopsis "Artwork, styles and assets for the Breeze visual style")
> +           (description "Artwork, styles and assets associated with the Breeze
> +visual style.")

Please write full sentences for the description:

  https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

> +           (license license:gpl2)))

Is it GPL-version-2-only?  That’d mean that source file headers (or
similar) explicitly omit the “or any later version” wording.

> From 468f64cd140bf38b6142fa0e4e1d6cae22c2b8df Mon Sep 17 00:00:00 2001
> From: Prafulla Giri <pratheblackdiamond@gmail.com>
> Date: Fri, 4 Sep 2020 12:59:28 +0545
> Subject: [PATCH 2/2] gnu: kde-frameworks: Add breeze
>
> * gnu/packages/kde-frameworks.scm (breeze): New variable.
> ---
>  gnu/packages/kde-frameworks.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
> index 7fd17d92b7..2ff90fb915 100644
> --- a/gnu/packages/kde-frameworks.scm
> +++ b/gnu/packages/kde-frameworks.scm
> @@ -355,6 +355,20 @@ It is the default icon theme for the KDE Plasma 5 desktop.")
>  visual style.")
>             (license license:gpl2)))
>  
> +(define-public breeze
> +  (package (inherit (@ (gnu packages mate) mate)) ;; union-build boilerplate
> +           (name "breeze")

In general, use of ‘@’ must be avoided: it’s better to just import the
modules you need.

More importantly though, you must not inherit from a package defined in
another module as that would prevent modules from being loaded.

The solution here is probably to duplicate all the fields instead of
inheriting.  In this case, that’s probably not going to be much longer
anyway.  And if you want, you can add a comment saying that breeze is
based on MATE or something.

HTH!

Thank you,
Ludo’.




  reply	other threads:[~2020-09-04  9:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04  8:22 [bug#43198] Add breeze icon assets Prafulla Giri
2020-09-04  9:29 ` Ludovic Courtès [this message]
     [not found]   ` <CAFw+=j2GyvfVWw-qsR1ju4+CEVAzhfP7p6hociAfF1YcBDOuSg@mail.gmail.com>
2020-09-04 11:00     ` [bug#43198] Fwd: " Prafulla Giri
2020-09-07  8:06     ` Ludovic Courtès
2020-09-08 11:11       ` Prafulla Giri
2020-09-08 11:25         ` [bug#43198] Fwd: " Prafulla Giri
2020-09-09  7:26         ` bug#43198: " Ludovic Courtès
2020-09-09  8:27           ` [bug#43198] " Prafulla Giri
2020-10-26 19:07 ` [bug#43198] Questions about "Add breeze icon assets" Hartmut Goebel
2020-10-27  4:35   ` Prafulla Giri

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=878sdpvqj6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=43198@debbugs.gnu.org \
    --cc=pratheblackdiamond@gmail.com \
    /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).