[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/44: gnu: clutter-gtk: Update package definition.
From: |
guix-commits |
Subject: |
17/44: gnu: clutter-gtk: Update package definition. |
Date: |
Thu, 25 Jun 2020 08:20:51 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 28839a28d6d2f9a7b01382840402985828edb159
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri May 29 10:01:08 2020 -0400
gnu: clutter-gtk: Update package definition.
* gnu/packages/gnome.scm (clutter-gtk): Update package definition.
[build-system]: Change from gnu-build-system to meson-build-system.
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Denable_docs]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gettext and gtk-doc.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Change from http to https.
[license]: Update to lgpl2.1+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 43 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index efa6be0..5a874f2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4997,27 +4997,56 @@ box UIs, presentations, kiosk style applications and so
on.")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
(sha256
(base32
"01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
- (build-system gnu-build-system)
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas.
+ #:configure-flags
+ (list
+ "-Denable_docs=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook")))
+ (substitute* "doc/clutter-gtk-1.0-docs.xml"
+ (("http://.*/docbookx\\.dtd")
+ (string-append xmldoc "/docbookx.dtd")))
+ #t)))
+ (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/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("gobject-introspection" ,gobject-introspection)))
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("gettext" ,gettext-minimal)
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
(propagated-inputs
- ;; clutter-gtk.pc refers to all these.
`(("clutter" ,clutter)
("gtk+" ,gtk+)))
- (home-page "http://www.clutter-project.org")
- (synopsis "OpenGL-based interactive canvas library GTK+ widget")
- (description
- "Clutter is an OpenGL-based interactive canvas library, designed for
-creating fast, mainly 2D single window applications such as media box UIs,
-presentations, kiosk style applications and so on.")
- (license license:lgpl2.0+)))
+ (synopsis "GTK+ integration library for Clutter")
+ (description "Clutter-GTK is a library providing facilities to integrate
+Clutter into GTK+ applications and vice versa. It provides a GTK+ widget,
+GtkClutterEmbed, for embedding the a Clutter stage into any GtkContainer; and
+GtkClutterActor, a Clutter actor for embedding any GtkWidget inside a Clutter
+stage.")
+ (home-page "https://www.clutter-project.org")
+ (license license:lgpl2.1+)))
(define-public clutter-gst
(package
- 07/44: gnu: Add gnome-music., (continued)
- 07/44: gnu: Add gnome-music., guix-commits, 2020/06/25
- 02/44: gnu: Add tepl., guix-commits, 2020/06/25
- 14/44: gnu: google-brotli: Update package definition., guix-commits, 2020/06/25
- 06/44: gnu: Add libxmlb., guix-commits, 2020/06/25
- 08/44: gnu: Add gnome-photos., guix-commits, 2020/06/25
- 09/44: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/06/25
- 12/44: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/06/25
- 13/44: gnu: atk: Update to 2.36.0., guix-commits, 2020/06/25
- 21/44: gnu: catch-framework2: Update to 2.3.0., guix-commits, 2020/06/25
- 22/44: gnu: Add ronn., guix-commits, 2020/06/25
- 17/44: gnu: clutter-gtk: Update package definition.,
guix-commits <=
- 23/44: gnu: Add nuspell., guix-commits, 2020/06/25
- 24/44: gnu: enchant-1.6: Update package definition., guix-commits, 2020/06/25
- 25/44: gnu: enchant: Update package definition., guix-commits, 2020/06/25
- 10/44: gnu: appstream-glib: Update package definition., guix-commits, 2020/06/25
- 34/44: gnu: gjs: Update to 1.58.8., guix-commits, 2020/06/25
- 36/44: gnu: Add mutest., guix-commits, 2020/06/25
- 38/44: gnu: gsettings-desktop-schemas: Update package definition., guix-commits, 2020/06/25
- 37/44: gnu: graphene: Update package definition., guix-commits, 2020/06/25
- 27/44: gnu: fcitx: Update package definition., guix-commits, 2020/06/25
- 29/44: gnu: gcr: Update to 3.36.0., guix-commits, 2020/06/25