[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/15: gnu: amtk: Update package definition.
From: |
guix-commits |
Subject: |
01/15: gnu: amtk: Update package definition. |
Date: |
Sat, 25 Jul 2020 10:28:34 -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
- branch wip-desktop updated (4df7123 -> bfd348f), guix-commits, 2020/07/25
- 01/15: gnu: amtk: Update package definition.,
guix-commits <=
- 02/15: gnu: babl: Update package definition., guix-commits, 2020/07/25
- 03/15: gnu: evolution-data-server: Update package definition., guix-commits, 2020/07/25
- 04/15: gnu: Add gtx., guix-commits, 2020/07/25
- 06/15: gnu: Add zeitgeist., guix-commits, 2020/07/25
- 05/15: gnu: Add dee., guix-commits, 2020/07/25
- 13/15: gnu: gexiv2: Update package definition., guix-commits, 2020/07/25
- 15/15: gnu: Add sgml-common., guix-commits, 2020/07/25
- 10/15: gnu: Add mrg., guix-commits, 2020/07/25
- 08/15: gnu: Add poly2tri-c., guix-commits, 2020/07/25
- 12/15: gnu: geocode-glib: Update package definition., guix-commits, 2020/07/25