[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
154/334: gnu: atkmm: Update package definition.
From: |
guix-commits |
Subject: |
154/334: gnu: atkmm: Update package definition. |
Date: |
Sat, 15 Aug 2020 16:26:51 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit d72deb3c0b24433a6beda730efb41986352d9ee3
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 50e300c..ed53b1a 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
- 221/334: gnu: appstream-glib: Fix tests., (continued)
- 221/334: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/15
- 285/334: gnu: sysprof: Remove duplicate definition., guix-commits, 2020/08/15
- 298/334: gnu: gnome-terminal: Update package definition., guix-commits, 2020/08/15
- 115/334: gnu: Add rust-peg@0.5.7., guix-commits, 2020/08/15
- 116/334: gnu: Add rust-derive-more@0.99.9., guix-commits, 2020/08/15
- 135/334: gnu: wpebackend-fdo: Update package definition., guix-commits, 2020/08/15
- 133/334: gnu: vala: Update package definition., guix-commits, 2020/08/15
- 148/334: gnu: libsigc++: Update package definition., guix-commits, 2020/08/15
- 149/334: gnu: Add libsigc++-2., guix-commits, 2020/08/15
- 150/334: gnu: cairomm: Update package definition., guix-commits, 2020/08/15
- 154/334: gnu: atkmm: Update package definition.,
guix-commits <=
- 155/334: gnu: pangomm: Update package definition., guix-commits, 2020/08/15
- 157/334: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/08/15
- 161/334: gnu: gobject-introspection: Propagate glib., guix-commits, 2020/08/15
- 162/334: gnu: amtk: Update package definition., guix-commits, 2020/08/15
- 163/334: gnu: babl: Update package definition., guix-commits, 2020/08/15
- 166/334: gnu: Add dee., guix-commits, 2020/08/15
- 168/334: gnu: folks: Update package definition., guix-commits, 2020/08/15
- 169/334: gnu: Add poly2tri-c., guix-commits, 2020/08/15
- 173/334: gnu: geocode-glib: Update package definition., guix-commits, 2020/08/15
- 176/334: gnu: gnome-autoar: Update package definition., guix-commits, 2020/08/15