guix-patches
[Top][All Lists]
Advanced

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

[bug#65479] [PATCH core-updates 47/61] gnu: libnotify: Split documentati


From: Bruno Victal
Subject: [bug#65479] [PATCH core-updates 47/61] gnu: libnotify: Split documentation.
Date: Wed, 23 Aug 2023 23:35:39 +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 2a0c2a8e2c..dda0a959cf 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3069,6 +3069,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
@@ -3080,6 +3086,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.40.1






reply via email to

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