[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/39: gnu: libnotify: Update package definition.
From: |
guix-commits |
Subject: |
05/39: gnu: libnotify: Update package definition. |
Date: |
Thu, 16 Jul 2020 21:40:41 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 4d58a376dd66f254ac280549c11422f4fe46bb51
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jul 8 13:46:52 2020 -0400
gnu: libnotify: Update package definition.
* gnu/packages/gnome.scm (libnotify) [version]: Update to 0.7.9.
[build-system]: Change from gnu to meson.
[outputs]: New output "doc".
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure>[-Dman]: New flag.
<#:phases>['patch-docbook]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gtk-doc and python-wrapper.
[inputs]: Remove libpng.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 78 +++++++++++++++++++++++++++++++++-----------------
1 file changed, 52 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 13dc8a7..7137343 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2422,38 +2422,64 @@ configuring CUPS.")
(define-public libnotify
(package
(name "libnotify")
- (version "0.7.7")
+ (version "0.7.9")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
- (build-system gnu-build-system)
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:configure-flags '("--disable-static")))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dman=false") ; XXX: docbook-xsl-ns not available
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute*
+ (append
+ (list
+ "notification-spec.xml"
+ "reference/libnotify-docs.sgml")
+ (find-files "releases" "\\.xml$"))
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))))
+ (add-after 'install 'move-docs
+ (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
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (inputs
+ `(("gtk+" ,gtk+)))
(propagated-inputs
- `(;; In Requires of libnotify.pc.
- ("gdk-pixbuf" ,gdk-pixbuf)
+ `(("gdk-pixbuf" ,gdk-pixbuf+svg)
("glib" ,glib)))
- (inputs
- `(("gtk+" ,gtk+)
- ("libpng" ,libpng)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("glib" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)))
- (home-page "https://developer-next.gnome.org/libnotify/")
- (synopsis
- "GNOME desktop notification library")
- (description
- "Libnotify is a library that sends desktop notifications to a
+ (synopsis "GNOME desktop notification library")
+ (description "Libnotify is a library that sends desktop notifications to a
notification daemon, as defined in the Desktop Notifications spec. These
-notifications can be used to inform the user about an event or display
-some form of information without getting in the user's way.")
+notifications can be used to inform the user about an event or display some
+form of information without getting in the user's way.")
+ (home-page "https://developer.gnome.org/libnotify/")
(license license:lgpl2.1+)))
(define-public libpeas
- branch wip-desktop updated (7c1fcbb -> ab1b6cb), guix-commits, 2020/07/16
- 01/39: gnu: ibus: Update package definition., guix-commits, 2020/07/16
- 04/39: gnu: libgee: Update package definition., guix-commits, 2020/07/16
- 02/39: gnu: json-glib: Update package definition., guix-commits, 2020/07/16
- 03/39: gnu: libcanberra: Update package definition., guix-commits, 2020/07/16
- 05/39: gnu: libnotify: Update package definition.,
guix-commits <=
- 07/39: gnu: Add rust-cssparser-macros@0.6.0., guix-commits, 2020/07/16
- 08/39: gnu: Add rust-cssparser@0.27.2., guix-commits, 2020/07/16
- 10/39: gnu: Add rust-float-cmp@0.6.0., guix-commits, 2020/07/16
- 09/39: gnu: Add rust-downcast-rs@1.2.0., guix-commits, 2020/07/16
- 16/39: gnu: Add rust-gdk-pixbuf@0.8.0., guix-commits, 2020/07/16
- 06/39: gnu: librsvg@2.40.21: Update package definition., guix-commits, 2020/07/16
- 11/39: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/07/16
- 12/39: gnu: Add rust-serial-test@0.4.0., guix-commits, 2020/07/16
- 13/39: gnu: Add rust-serial-test@0.1.0., guix-commits, 2020/07/16
- 14/39: gnu: Add rust-serial-test-derive@0.1.0., guix-commits, 2020/07/16