[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
209/295: gnu: libnotify: Update package definition.
From: |
guix-commits |
Subject: |
209/295: gnu: libnotify: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:13 -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
- 160/295: gnu: Add tslib., (continued)
- 160/295: gnu: Add tslib., guix-commits, 2020/07/27
- 161/295: gnu: Add flux., guix-commits, 2020/07/27
- 168/295: gnu: Add libde265., guix-commits, 2020/07/27
- 169/295: gnu: Add libmms., guix-commits, 2020/07/27
- 180/295: gnu: Add transcode., guix-commits, 2020/07/27
- 186/295: gnu: Add rtmpdump., guix-commits, 2020/07/27
- 192/295: gnu: gtk-doc: Update package definition., guix-commits, 2020/07/27
- 191/295: gnu: gtk+: Update package definition., guix-commits, 2020/07/27
- 193/295: gnu: gtk+: Propagate libcloudproviders., guix-commits, 2020/07/27
- 195/295: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/07/27
- 209/295: gnu: libnotify: Update package definition.,
guix-commits <=
- 167/295: gnu: Add libvideogfx., guix-commits, 2020/07/27
- 178/295: gnu: Add mediasdk., guix-commits, 2020/07/27
- 174/295: gnu: Add libopenmpt., guix-commits, 2020/07/27
- 185/295: gnu: Add iqa., guix-commits, 2020/07/27
- 184/295: gnu: Add zxing-cpp., guix-commits, 2020/07/27
- 179/295: gnu: Add svt-hevc., guix-commits, 2020/07/27
- 190/295: gnu: Add libcloudproviders., guix-commits, 2020/07/27
- 196/295: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/07/27
- 198/295: gnu: libgdata: Update package definition., guix-commits, 2020/07/27
- 205/295: gnu: ibus: Update package definition., guix-commits, 2020/07/27