guix-commits
[Top][All Lists]
Advanced

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

04/09: gnu: gtk-doc: Add 'gtk-doc/stable' variant.


From: guix-commits
Subject: 04/09: gnu: gtk-doc: Add 'gtk-doc/stable' variant.
Date: Sat, 27 Mar 2021 19:50:46 -0400 (EDT)

mhw pushed a commit to branch master
in repository guix.

commit 11d73170c5eee450b9b2f2dd444457850389e6a2
Author: Mark H Weaver <mhw@netris.org>
AuthorDate: Sat Mar 27 07:29:25 2021 -0400

    gnu: gtk-doc: Add 'gtk-doc/stable' variant.
    
    * gnu/packages/gtk.scm (gtk-doc/stable): New variable.
---
 gnu/packages/gtk.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index cf91162..52710b4 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -48,6 +48,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module ((guix build utils) #:select (alist-replace))
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
@@ -1829,6 +1830,17 @@ typically used to document the public API of GTK+ and 
GNOME libraries, but it
 can also be used to document application code.")
     (license license:gpl2+)))
 
+;; This is a variant of the 'gtk-doc' package that is not updated often.  It
+;; is intended to be used as a native-input at build-time only.  This allows
+;; the main 'gtk-doc', 'dblatex' and 'imagemagick' packages to be freely
+;; updated on the 'master' branch without triggering an excessive number of
+;; rebuilds.
+(define-public gtk-doc/stable
+  (hidden-package
+   (package/inherit gtk-doc
+     (inputs (alist-replace "dblatex" `(,dblatex/stable)
+                            (package-inputs gtk-doc))))))
+
 (define-public gtk-engines
   (package
     (name "gtk-engines")



reply via email to

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