[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
162/277: gnu: amtk: Update package definition.
From: |
guix-commits |
Subject: |
162/277: gnu: amtk: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:23 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 078a3886ec195866132bfc9365e397fe2ea7bb2a
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 03d4427..73f6be9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5054,32 +5054,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
- 123/277: gnu: librsvg-next: Update package definition., (continued)
- 123/277: gnu: librsvg-next: Update package definition., guix-commits, 2020/08/06
- 129/277: gnu: tesseract-ocr: Propagate leptonica., guix-commits, 2020/08/06
- 133/277: gnu: vala: Update package definition., guix-commits, 2020/08/06
- 139/277: gnu: Add xmltoman., guix-commits, 2020/08/06
- 146/277: gnu: pixman: Update package definition., guix-commits, 2020/08/06
- 150/277: gnu: cairomm: Update package definition., guix-commits, 2020/08/06
- 153/277: gnu: Add glibmm-2.64., guix-commits, 2020/08/06
- 154/277: gnu: atkmm: Update package definition., guix-commits, 2020/08/06
- 158/277: gnu: gtkmm: Update package definition., guix-commits, 2020/08/06
- 159/277: gnu: gtkmm-2: Update package definition., guix-commits, 2020/08/06
- 162/277: gnu: amtk: Update package definition.,
guix-commits <=
- 98/277: gnu: gst-plugins-ugly: Update package definition., guix-commits, 2020/08/06
- 99/277: gnu: gst-libav: Update package definition., guix-commits, 2020/08/06
- 113/277: gnu: Add rust-string-cache@0.8.0., guix-commits, 2020/08/06
- 124/277: gnu: libsecret: Update package definition., guix-commits, 2020/08/06
- 126/277: gnu: Add openjpeg-data., guix-commits, 2020/08/06
- 125/277: gnu: libsoup: Update package definition., guix-commits, 2020/08/06
- 130/277: gnu: Add libdatrie., guix-commits, 2020/08/06
- 131/277: gnu: Add libthai., guix-commits, 2020/08/06
- 132/277: gnu: pango: Update package definition., guix-commits, 2020/08/06
- 136/277: gnu: woff2: Update package definition., guix-commits, 2020/08/06