[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/100: gnu: clutter-gtk: Update package definition.
From: |
guix-commits |
Subject: |
17/100: gnu: clutter-gtk: Update package definition. |
Date: |
Wed, 8 Jul 2020 03:36:36 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit a765458035afd36d27ec238f84fea05458bd0014
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
- 06/100: gnu: Add libxmlb., (continued)
- 06/100: gnu: Add libxmlb., guix-commits, 2020/07/08
- 07/100: gnu: Add gnome-music., guix-commits, 2020/07/08
- 08/100: gnu: Add gnome-photos., guix-commits, 2020/07/08
- 12/100: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/07/08
- 15/100: gnu: font-cantarell: Update package definition., guix-commits, 2020/07/08
- 03/100: gnu: Add libglib-testing., guix-commits, 2020/07/08
- 09/100: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/07/08
- 10/100: gnu: appstream-glib: Update package definition., guix-commits, 2020/07/08
- 11/100: gnu: at-spi2-core: Update package definition., guix-commits, 2020/07/08
- 14/100: gnu: google-brotli: Update package definition., guix-commits, 2020/07/08
- 17/100: gnu: clutter-gtk: Update package definition.,
guix-commits <=
- 16/100: gnu: clutter: Update to 1.26.4., guix-commits, 2020/07/08
- 13/100: gnu: atk: Update to 2.36.0., guix-commits, 2020/07/08
- 21/100: gnu: catch-framework2: Update to 2.3.0., guix-commits, 2020/07/08
- 22/100: gnu: Add ronn., guix-commits, 2020/07/08
- 30/100: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/07/08
- 18/100: gnu: clutter-gst: Update package definition., guix-commits, 2020/07/08
- 20/100: gnu: dconf: Update to 0.36.0., guix-commits, 2020/07/08
- 23/100: gnu: Add nuspell., guix-commits, 2020/07/08
- 26/100: gnu: Add presage., guix-commits, 2020/07/08
- 27/100: gnu: fcitx: Update package definition., guix-commits, 2020/07/08