From f763e7b3bcec03bc01957b0f67b6bc2b342bed39 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 3 Aug 2026 21:37:51 +0300 Subject: [PATCH] mu: install mu-icon Not the best icon in the world, but have to start somewhere. It's obviously based on Emacs' official icon. --- assets/meson.build | 18 +++ assets/mu-icon.svg | 307 +++++++++++++++++++++++++++++++++++++++++++++ meson.build | 4 + 3 files changed, 329 insertions(+) create mode 100644 assets/meson.build create mode 100644 assets/mu-icon.svg diff --git a/assets/meson.build b/assets/meson.build new file mode 100644 index 00000000..0c8b5e55 --- /dev/null +++ b/assets/meson.build @@ -0,0 +1,18 @@ +## Copyright (C) 2026 Dirk-Jan C. Binnema +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software Foundation, +## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# install icon +install_data('mu-icon.svg', install_dir: svgicondir) diff --git a/assets/mu-icon.svg b/assets/mu-icon.svg new file mode 100644 index 00000000..a07135c4 --- /dev/null +++ b/assets/mu-icon.svg @@ -0,0 +1,307 @@ + +image/svg+xml diff --git a/meson.build b/meson.build index b3940895..ec4616d4 100644 --- a/meson.build +++ b/meson.build @@ -39,6 +39,9 @@ datadir = prefixdir / get_option('datadir') mandir = prefixdir / get_option('mandir') infodir = prefixdir / get_option('infodir') +svgicondir = datadir / 'icons' / 'hicolor' / 'scalable' / 'apps' +muiconpath = svgicondir / 'mu-icon.svg' + # allow for configuring lispdir, as with autotools. if get_option('lispdir') == '' mu4e_lispdir= datadir / 'emacs' / 'site-lisp' / 'mu4e' @@ -327,6 +330,7 @@ install_data('NEWS.org', 'IDEAS.org', ################################################################################ # subdirs +subdir('assets') subdir('lib') # dummy-dep.