guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65479] [PATCH core-updates v2 47/62] gnu: libnotify: Split document


From: Bruno Victal
Subject: [bug#65479] [PATCH core-updates v2 47/62] gnu: libnotify: Split documentation.
Date: Sat, 23 Sep 2023 15:20:22 +0100

* gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Add 'split-outputs
phase.
[outputs]: Add 'doc output.
---
 gnu/packages/gnome.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a4b0a73324..2a4bc5a16a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3070,6 +3070,12 @@ (define-public libnotify
      (list
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'install 'split-outputs
+            (lambda _
+              (let* ((old (string-append #$output "/share/gtk-doc"))
+                     (new (string-append #$output:doc "/share/gtk-doc")))
+                (mkdir-p (dirname new))
+                (rename-file old new)))))))
     (propagated-inputs (list gdk-pixbuf glib)) ;in Requires of libnotify.pc.
     (inputs (list gtk+ libpng))
     (native-inputs
@@ -3081,6 +3087,7 @@ (define-public libnotify
            gtk-doc/stable
            libxslt
            docbook-xsl))
+    (outputs '("out" "doc"))
     (home-page "https://developer-next.gnome.org/libnotify/";)
     (synopsis "GNOME desktop notification library")
     (description
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]