From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 61391@debbugs.gnu.org
Cc: Jonathan Brielmaier <jonathan.brielmaier@web.de>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#61391] [PATCH 6/6] gnu: icedove: Install icons.
Date: Thu, 9 Feb 2023 11:37:43 -0500 [thread overview]
Message-ID: <20230209163744.28973-7-maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <20230209163744.28973-2-maxim.cournoyer@gmail.com>
* gnu/packages/gnuzilla.scm (icedove) [phases]: Add install-icons phase.
---
gnu/packages/gnuzilla.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index ecb8edd914..ec9a3409ba 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1347,6 +1347,19 @@ (define-public icedove
Name=Write new message~@
Exec=~@*~a/bin/icedove -compose~%"
#$output))))))
+ (add-after 'install-desktop-file 'install-icons
+ (lambda _
+ (with-directory-excursion "browser/branding/official"
+ (for-each
+ (lambda (file)
+ (let* ((size (string-filter char-numeric? file))
+ (icons (string-append #$output "/share/icons/hicolor/"
+ size "x" size "/apps")))
+ (mkdir-p icons)
+ (copy-file file (string-append icons "/icedove.png"))))
+ '("default16.png" "default22.png" "default24.png"
+ "default32.png" "default48.png" "content/icon64.png"
+ "mozicon128.png" "default256.png")))))
(add-after 'install 'wrap-program
(lambda* (#:key inputs #:allow-other-keys)
(let* ((lib (string-append #$output "/lib"))
--
2.39.1
prev parent reply other threads:[~2023-02-09 16:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-09 16:30 [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling) Maxim Cournoyer
2023-02-09 16:37 ` [bug#61391] [PATCH 1/6] gnu: icedove-wayland: Use gexps Maxim Cournoyer
2023-02-09 16:37 ` [bug#61391] [PATCH 2/6] gnu: Add nspr-next Maxim Cournoyer
2023-02-09 16:37 ` [bug#61391] [PATCH 3/6] gnu: Add nss-next Maxim Cournoyer
2023-02-09 16:37 ` [bug#61391] [PATCH 4/6] gnu: icedove: Unbundle NSS Maxim Cournoyer
2023-02-09 21:40 ` [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling) Morgan Smith
2023-02-10 4:50 ` Maxim Cournoyer
2023-02-10 6:02 ` Morgan Smith
2023-02-10 20:48 ` Maxim Cournoyer
2023-02-12 4:53 ` Morgan Smith
2023-02-13 21:20 ` bug#61391: " Maxim Cournoyer
2023-02-09 16:37 ` [bug#61391] [PATCH 5/6] gnu: icedove: Use more gexps Maxim Cournoyer
2023-02-09 16:37 ` Maxim Cournoyer [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230209163744.28973-7-maxim.cournoyer@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=61391@debbugs.gnu.org \
--cc=jonathan.brielmaier@web.de \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.