[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
283/295: gnu: amtk: Update package definition.
From: |
guix-commits |
Subject: |
283/295: gnu: amtk: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:38 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit de03b2b4c2202b990e521e5b22e206bc7d78d899
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Jul 18 08:59:04 2020 -0400
gnu: amtk: Update package definition.
* gnu/packages/gnome.scm (amtk) [version]: Update to 5.1.1.
[build-system]: Change from gnu to glib-or-gtk.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[--enable-gtk-doc]: New flag.
[--with-html-dir]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml, gettext-minimal, gtk+:bin, gtk-doc
and python-wrapper.
[inputs]: Change field to propagated-inputs.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 61 +++++++++++++++++++++++++++++++++-----------------
1 file changed, 41 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f772b9c..22ffeba 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5170,32 +5170,53 @@ which are easy to play with the aid of a mouse.")
(define-public amtk
(package
(name "amtk")
- (version "5.0.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/amtk/"
- (version-major+minor version) "/"
- "amtk-" version ".tar.xz"))
- (sha256
- (base32
- "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
- (build-system gnu-build-system)
+ (version "5.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/amtk/"
+ (version-major+minor version) "/"
+ "amtk-" version ".tar.xz"))
+ (sha256
+ (base32 "1wax6mim8dj0m21k8ima7ysm3bzzp54r00jganwbzakq8bfnnrgr"))))
+ (build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
(arguments
- '(#:configure-flags '("--enable-gtk-doc")))
+ `(#:configure-flags
+ (list
+ "--enable-gtk-doc"
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference"
+ (substitute* '("amtk-docs.xml.in"
+ "amtk-intro.xml.in")
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
(native-inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("glib:bin" ,glib "bin") ; for glib-mkenums
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk+:bin" ,gtk+ "bin")
("gtk-doc" ,gtk-doc)
- ("pkg-config" ,pkg-config)))
- (inputs
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (propagated-inputs
`(("glib" ,glib)
("gtk+" ,gtk+)))
- (home-page "https://wiki.gnome.org/Projects/Amtk")
(synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
- (description
- "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
-It is a basic GtkUIManager replacement based on GAction. It is suitable for
-both a traditional UI or a modern UI with a GtkHeaderBar.")
+ (description "Amtk is the acronym for @acronym{Amtk, Actions Menus and
+Toolbars Kit}. It is a basic GtkUIManager replacement based on GAction. It is
+suitable for both a traditional UI or a modern UI with a GtkHeaderBar.")
+ (home-page "https://wiki.gnome.org/Projects/Amtk")
(license license:lgpl2.1+)))
(define-public devhelp
- 271/295: gnu: cairomm: Update package definition., (continued)
- 271/295: gnu: cairomm: Update package definition., guix-commits, 2020/07/27
- 272/295: gnu: Add cairomm-1.13., guix-commits, 2020/07/27
- 278/295: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/07/27
- 291/295: gnu: Add mmm., guix-commits, 2020/07/27
- 222/295: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/07/27
- 247/295: gnu: openjpeg: Update package definition., guix-commits, 2020/07/27
- 264/295: gnu: yelp: Update package definition., guix-commits, 2020/07/27
- 266/295: gnu: pixman: Update package definition., guix-commits, 2020/07/27
- 269/295: gnu: libsigc++: Update package definition., guix-commits, 2020/07/27
- 280/295: gnu: gtkmm-2: Update package definition., guix-commits, 2020/07/27
- 283/295: gnu: amtk: Update package definition.,
guix-commits <=
- 284/295: gnu: babl: Update package definition., guix-commits, 2020/07/27
- 286/295: gnu: Add gtx., guix-commits, 2020/07/27
- 287/295: gnu: Add dee., guix-commits, 2020/07/27