From: Leo Prikler <leo.prikler@student.tugraz.at>
To: 48445@debbugs.gnu.org
Subject: [bug#48445] [PATCH] gnu: meld: Copy GTKSourceView styles.
Date: Sat, 15 May 2021 17:55:28 +0200 [thread overview]
Message-ID: <20210515155528.25736-1-leo.prikler@student.tugraz.at> (raw)
This fixes a somewhat cryptic error, that pops up when gtksourceview-3 has not
been installed or propagated by any other package.
* gnu/packages/patchutils.scm (meld)[#:phases]: Add ‘copy-styles’.
---
gnu/packages/patchutils.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index f190fec1a2..8845942b8f 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -298,6 +298,13 @@ GiB).")
(invoke "py.test" "-v" "-k"
;; TODO: Those tests fail, why?
"not test_classify_change_actions")))
+ (add-after 'install 'copy-styles
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((styles "/share/gtksourceview-3.0/styles"))
+ (copy-recursively
+ (string-append (assoc-ref inputs "gtksourceview") styles)
+ (string-append (assoc-ref outputs "out") styles))
+ #t)))
(add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
(add-after 'wrap 'wrap-typelib
--
2.31.1
next reply other threads:[~2021-05-15 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-15 15:55 Leo Prikler [this message]
2021-09-14 21:58 ` bug#48445: [PATCH] gnu: meld: Copy GTKSourceView styles Liliana Marie Prikler
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=20210515155528.25736-1-leo.prikler@student.tugraz.at \
--to=leo.prikler@student.tugraz.at \
--cc=48445@debbugs.gnu.org \
/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.