[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/277: gnu: libnotify: Update package definition.
From: |
guix-commits |
Subject: |
104/277: gnu: libnotify: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:04 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit e413ceaa80aaca50feb3d3c61e9de0acb0069297
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 50c12c2..20c8346 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
- 101/277: gnu: json-glib: Update package definition., (continued)
- 101/277: gnu: json-glib: Update package definition., guix-commits, 2020/08/06
- 106/277: gnu: Add rust-cssparser-macros@0.6.0., guix-commits, 2020/08/06
- 108/277: gnu: Add rust-downcast-rs@1.2.0., guix-commits, 2020/08/06
- 110/277: gnu: Add rust-serial-test@0.4.0., guix-commits, 2020/08/06
- 112/277: gnu: Add rust-serial-test-derive@0.1.0., guix-commits, 2020/08/06
- 116/277: gnu: Add rust-derive-more@0.99.9., guix-commits, 2020/08/06
- 121/277: gnu: Add rust-tinyvec@0.3.3., guix-commits, 2020/08/06
- 127/277: gnu: openjpeg: Update package definition., guix-commits, 2020/08/06
- 128/277: gnu: gtk+: Add missing input., guix-commits, 2020/08/06
- 134/277: gnu: libwpe: Update package definition., guix-commits, 2020/08/06
- 104/277: gnu: libnotify: Update package definition.,
guix-commits <=
- 109/277: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/08/06
- 114/277: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/08/06
- 123/277: gnu: librsvg-next: Update package definition., guix-commits, 2020/08/06
- 129/277: gnu: tesseract-ocr: Propagate leptonica., guix-commits, 2020/08/06
- 133/277: gnu: vala: Update package definition., guix-commits, 2020/08/06
- 139/277: gnu: Add xmltoman., guix-commits, 2020/08/06
- 146/277: gnu: pixman: Update package definition., guix-commits, 2020/08/06
- 150/277: gnu: cairomm: Update package definition., guix-commits, 2020/08/06
- 153/277: gnu: Add glibmm-2.64., guix-commits, 2020/08/06
- 154/277: gnu: atkmm: Update package definition., guix-commits, 2020/08/06