unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48445] [PATCH] gnu: meld: Copy GTKSourceView styles.
@ 2021-05-15 15:55 Leo Prikler
  2021-09-14 21:58 ` bug#48445: " Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2021-05-15 15:55 UTC (permalink / raw)
  To: 48445

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48445: [PATCH] gnu: meld: Copy GTKSourceView styles.
  2021-05-15 15:55 [bug#48445] [PATCH] gnu: meld: Copy GTKSourceView styles Leo Prikler
@ 2021-09-14 21:58 ` Liliana Marie Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-09-14 21:58 UTC (permalink / raw)
  To: 48445-done

Four months is bigger than two weeks, right?  Anyway, pushed now.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 15:55 [bug#48445] [PATCH] gnu: meld: Copy GTKSourceView styles Leo Prikler
2021-09-14 21:58 ` bug#48445: " Liliana Marie Prikler

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).