[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
289/295: gnu: folks: Update package definition.
From: |
guix-commits |
Subject: |
289/295: gnu: folks: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:39 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 73802585a0d35c7d84634140f3434b246b13bcd8
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Jul 20 04:54:29 2020 -0400
gnu: folks: Update package definition.
* gnu/packages/gnome.scm (folks) [version]: Update to 0.14.0.
[outputs]: New outputs "doc" and "help".
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Dtracker_backend]: New flag.
[-Dzeitgeist]: New flag.
[-Ddocs]: New flag.
<#:phases>['skip-gtk-update-icon-cache]: Remove phase.
['disable-failing-tests]: New phase.
['move-doc]: New phase.
['move-help]: New phase.
[native-inputs]: Add cmake, docbook-xml, gtk-doc, gtk+:bin,
python-wrapper and python-dbusmock.
[inputs]: Remove bdb, evolution-data-server, glib, libgee and
telepathy-glib. Add libxml2 and zeitgeist.
[propagated-inputs]: Add evolution-data-server, glib, libgee,
telepathy-glib and tracker.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 98 ++++++++++++++++++++++++++++++++++----------------
1 file changed, 67 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 068d027..e0c8934 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9727,46 +9727,82 @@ the Moka icon theme.")
(define-public folks
(package
(name "folks")
- (version "0.13.1")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://gnome/sources/folks/"
- (version-major+minor version) "/"
- "folks-" version ".tar.xz"))
- (sha256
- (base32
- "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/folks/"
+ (version-major+minor version) "/"
+ "folks-" version ".tar.xz"))
+ (sha256
+ (base32 "1f9b52vmwnq7s51vj26w2618dn2ph5g12ibbkbyk6fvxcgd7iryn"))))
(build-system meson-build-system)
+ (outputs '("out" "doc" "help"))
(arguments
- '(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dtracker_backend=true"
+ "-Dzeitgeist=true"
+ "-Ddocs=true")
+ #:phases
(modify-phases %standard-phases
- (add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
+ (add-after 'unpack 'disable-failing-tests
+ ;; Telepathy and Tracker tests require networking.
(lambda _
- (substitute* "meson_post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t)))))
- (inputs
- `(("bdb" ,bdb)
- ("dbus-glib" ,dbus-glib)
- ("evolution-data-server" ,evolution-data-server)
- ("glib" ,glib)
- ("libgee" ,libgee)
- ("readline" ,readline)
- ("telepathy-glib" ,telepathy-glib)))
+ (substitute* "tests/meson.build"
+ (("subdir\\('telepathy'\\)")
+ "")
+ (("subdir\\('tracker'\\)")
+ ""))
+ #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)))
+ (add-after 'move-doc 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/devhelp")
+ (string-append help "/share/devhelp"))
+ #t))))))
(native-inputs
- `(("glib:bin" ,glib "bin")
+ `(("cmake" ,cmake)
+ ("docbook-xml" ,docbook-xml-4.3)
+ ("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("gtk+:bin" ,gtk+ "bin")
("intltool" ,intltool)
("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("python-dbusmock" ,python-dbusmock)
("vala" ,vala)))
- (synopsis "Library to aggregate data about people")
- (description "Libfolks is a library that aggregates information about
people
-from multiple sources (e.g., Telepathy connection managers for IM contacts,
-Evolution Data Server for local contacts, libsocialweb for web service
contacts,
-etc.) to create metacontacts. It's written in Vala, which generates C code
when
-compiled.")
+ (inputs
+ `(("dbus-glib" ,dbus-glib)
+ ("libxml2" ,libxml2)
+ ("readline" ,readline)
+ ("zeitgeist" ,zeitgeist)))
+ (propagated-inputs
+ `(("evolution-data-server" ,evolution-data-server)
+ ("glib" ,glib)
+ ("gee" ,libgee)
+ ("telepathy-glib" ,telepathy-glib)
+ ("tracker-sparql" ,tracker)))
+ (synopsis "Contact aggregation library")
+ (description "Libfolks is a library that aggregates people from multiple
+sources (eg, Telepathy connection managers for IM contacts, Evolution Data
+Server for local contacts, etc.) to create metacontacts. It's written in Vala,
+which generates C code when compiled.")
(home-page "https://wiki.gnome.org/Projects/Folks")
(license license:lgpl2.1+)))
- 268/295: gnu: cairo: Update package definition., (continued)
- 268/295: gnu: cairo: Update package definition., guix-commits, 2020/07/27
- 270/295: gnu: Add libsigc++-2., guix-commits, 2020/07/27
- 274/295: gnu: Add glibmm-2.64., guix-commits, 2020/07/27
- 275/295: gnu: atkmm: Update package definition., guix-commits, 2020/07/27
- 276/295: gnu: pangomm: Update package definition., guix-commits, 2020/07/27
- 277/295: gnu: Add pangomm-2.42., guix-commits, 2020/07/27
- 279/295: gnu: gtkmm: Update package definition., guix-commits, 2020/07/27
- 282/295: gnu: gobject-introspection: Propagate glib., guix-commits, 2020/07/27
- 285/295: gnu: evolution-data-server: Update package definition., guix-commits, 2020/07/27
- 288/295: gnu: Add zeitgeist., guix-commits, 2020/07/27
- 289/295: gnu: folks: Update package definition.,
guix-commits <=
- 290/295: gnu: Add poly2tri-c., guix-commits, 2020/07/27
- 293/295: gnu: gegl: Update package definition., guix-commits, 2020/07/27
- 295/295: gnu: gexiv2: Update package definition., guix-commits, 2020/07/27
- 261/295: gnu: webkitgtk: Update package definition., guix-commits, 2020/07/27
- 271/295: gnu: cairomm: Update package definition., guix-commits, 2020/07/27
- 272/295: gnu: Add cairomm-1.13., guix-commits, 2020/07/27
- 278/295: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/07/27
- 291/295: gnu: Add mmm., guix-commits, 2020/07/27
- 222/295: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/07/27
- 247/295: gnu: openjpeg: Update package definition., guix-commits, 2020/07/27