[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
154/402: gnu: atkmm: Update package definition.
From: |
guix-commits |
Subject: |
154/402: gnu: atkmm: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:24 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 555e8130c25e081e1e61cab3dbff98f350f40380
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Jul 18 04:15:21 2020 -0400
gnu: atkmm: Update package definition.
* gnu/packages/gtk.scm (atkmm): Update package definition.
[build-system]: Change from gnu to glib-or-gtk.
[outputs]: Add new output "doc".
[arguments]<#:phases>['move-doc]: New phase.
[native-inputs]: Add graphviz, doxygen, m4, mm-common, perl and
libxslt.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
[license]: Add gpl2+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gtk.scm | 60 +++++++++++++++++++++++++++++++++++++---------------
1 file changed, 43 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 5c85956..fa882cc 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -80,6 +80,7 @@
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages man)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
@@ -1457,24 +1458,49 @@ library.")
(package
(name "atkmm")
(version "2.28.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0fnxrspxkhhbrjphqrpvl3zjm66n50s4cywrrrwkhbflgy8zqk2c"))))
- (build-system gnu-build-system)
- (native-inputs `(("pkg-config" ,pkg-config)))
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0fnxrspxkhhbrjphqrpvl3zjm66n50s4cywrrrwkhbflgy8zqk2c"))))
+ (build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ #t))))))
+ (native-inputs
+ `(("dot" ,graphviz)
+ ("doxygen" ,doxygen)
+ ("m4" ,m4)
+ ("mm-common" ,mm-common)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
- `(("glibmm" ,glibmm) ("atk" ,atk)))
- (home-page "https://www.gtkmm.org")
- (synopsis "C++ interface to the ATK accessibility library")
- (description
- "ATKmm provides a C++ programming interface to the ATK accessibility
-toolkit.")
- (license license:lgpl2.1+)))
+ `(("atk" ,atk)
+ ("glibmm" ,glibmm-2.64)))
+ (synopsis "C++ bindings for ATK")
+ (description "ATKmm is the C++ binding for the ATK library.")
+ (home-page "https://wiki.gnome.org/Accessibility")
+ (license
+ (list
+ ;; Library
+ license:lgpl2.1+
+ ;; Tools
+ license:gpl2+))))
(define-public gtkmm
(package
- 106/402: gnu: Add rust-cssparser-macros@0.6.0., (continued)
- 106/402: gnu: Add rust-cssparser-macros@0.6.0., guix-commits, 2020/08/18
- 110/402: gnu: Add rust-serial-test@0.4.0., guix-commits, 2020/08/18
- 92/402: gnu: fuse: Update package definition., guix-commits, 2020/08/18
- 108/402: gnu: Add rust-downcast-rs@1.2.0., guix-commits, 2020/08/18
- 113/402: gnu: Add rust-string-cache@0.8.0., guix-commits, 2020/08/18
- 138/402: gnu: Add libcamera., guix-commits, 2020/08/18
- 119/402: git: rust-rgb: Update to 0.8.20., guix-commits, 2020/08/18
- 142/402: gnu: yelp-xsl: Update package definition., guix-commits, 2020/08/18
- 145/402: gnu: zenity: Update package definition., guix-commits, 2020/08/18
- 152/402: gnu: glibmm: Update package definition., guix-commits, 2020/08/18
- 154/402: gnu: atkmm: Update package definition.,
guix-commits <=
- 140/402: gnu: pipewire: Update package definition., guix-commits, 2020/08/18
- 158/402: gnu: gtkmm: Update package definition., guix-commits, 2020/08/18
- 161/402: gnu: gobject-introspection: Propagate glib., guix-commits, 2020/08/18
- 56/402: gnu: Add flux., guix-commits, 2020/08/18
- 58/402: gnu: Add directfb., guix-commits, 2020/08/18
- 71/402: gnu: Add lksctp-tools., guix-commits, 2020/08/18
- 83/402: gnu: Add rust-imgref., guix-commits, 2020/08/18
- 89/402: gnu: gtksourceview: Update package definition., guix-commits, 2020/08/18
- 90/402: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/08/18
- 91/402: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/08/18