[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/26: gnu: appstream-glib: Update style.
From: |
guix-commits |
Subject: |
07/26: gnu: appstream-glib: Update style. |
Date: |
Sat, 4 Nov 2023 02:25:14 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit 7048d79dcd91b92111b9813382cfe0ec1be4f501
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Fri Oct 27 19:39:50 2023 +0200
gnu: appstream-glib: Update style.
* gnu/packages/glib.scm (appstream-glib) [propagated-inputs]: Drop labels.
[inputs, native-inputs]: Drop labels. Sort alphabetically.
[arguments]: Convert to list of G-Expressions.
[#:phases]<patch-tests>: Remove trailing #t.
[description]: Break long line.
Change-Id: I504df11ec6fc5b9d9fe70e4e32e7910f93eeb81e
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/glib.scm | 64 ++++++++++++++++++++++++++-------------------------
1 file changed, 33 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 40de477d75..3f70808e3c 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1305,42 +1305,44 @@ of abstraction on top of @code{sd-bus}, the C D-Bus
implementation by systemd.")
"15lbrmyx94cf6p6svq02yiskh31xidq092c711pqs16mml06a9bi"))))
(build-system meson-build-system)
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("gsettings" ,gsettings-desktop-schemas) ; for ‘org.gnome.system.proxy’
- ("glib:bin" ,glib "bin") ; for glib-compile-resources
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ `(,glib "bin") ;for glib-compile-resources
+ gsettings-desktop-schemas ;for ‘org.gnome.system.proxy’
+ pkg-config))
(propagated-inputs
- `(("gcab" ,gcab) ; for .pc file
- ("gdk-pixbuf" ,gdk-pixbuf) ; for .pc file
- ("libuuid" ,util-linux "lib"))) ; for .pc file
+ (list gcab ;for .pc file
+ gdk-pixbuf ;same
+ `(,util-linux "lib"))) ;libuuid, for .pc file
(inputs
- `(("glib" ,glib)
- ("gperf" ,gperf)
- ("gtk+" ,gtk+)
- ("json-glib" ,json-glib)
- ("libarchive" ,libarchive)
- ("curl" ,curl)))
+ (list curl
+ gperf
+ gtk+
+ json-glib
+ libarchive
+ glib))
(arguments
- `(#:configure-flags
- (list "-Ddep11=false"
- "-Dintrospection=false" ; avoid g-ir-scanner dependency
- "-Drpm=false"
- "-Dstemmer=false")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-tests
- (lambda _
- (substitute* "libappstream-glib/as-self-test.c"
- (("g_test_add_func.*as_test_store_local_appdata_func);") ""))
- #t))
- (add-before 'check 'set-home
- (lambda _
- ;; Some tests want write access there.
- (setenv "HOME" "/tmp"))))))
+ (list
+ #:configure-flags
+ #~(list "-Ddep11=false"
+ "-Dintrospection=false" ; avoid g-ir-scanner dependency
+ "-Drpm=false"
+ "-Dstemmer=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (substitute* "libappstream-glib/as-self-test.c"
+ (("g_test_add_func.*as_test_store_local_appdata_func);") ""))))
+ (add-before 'check 'set-home
+ (lambda _
+ ;; Some tests want write access there.
+ (setenv "HOME" "/tmp"))))))
(home-page "https://github.com/hughsie/appstream-glib")
(synopsis "Library for reading and writing AppStream metadata")
- (description "This library provides objects and helper methods to help
-reading and writing
@uref{https://www.freedesktop.org/wiki/Distributions/AppStream,AppStream}
+ (description
+ "This library provides objects and helper methods to help
+reading and writing
+@uref{https://www.freedesktop.org/wiki/Distributions/AppStream,AppStream}
metadata.")
(license license:lgpl2.1+)))
- branch gnome-team updated (2677bf985c -> 1c41971e72), guix-commits, 2023/11/04
- 02/26: gnu: shared-mime-info: Update to 2.3., guix-commits, 2023/11/04
- 01/26: gnu: xdgmime: Update to 0.0-2.1792967., guix-commits, 2023/11/04
- 12/26: gnu: python-pygobject: Update style., guix-commits, 2023/11/04
- 09/26: gnu: perl-glib-object-introspection: Update to 0.051., guix-commits, 2023/11/04
- 14/26: gnu: glibmm: Update to 2.78.0., guix-commits, 2023/11/04
- 18/26: gnu: gobject-introspection: Update to 1.78.1., guix-commits, 2023/11/04
- 06/26: gnu: appstream-glib: Update to 0.8.2., guix-commits, 2023/11/04
- 07/26: gnu: appstream-glib: Update style.,
guix-commits <=
- 08/26: gnu: sdbus-c++: Update to 1.4.0., guix-commits, 2023/11/04
- 24/26: gnu: Add libcallaudio., guix-commits, 2023/11/04
- 15/26: gnu: libsigc++: Update to 3.6.0., guix-commits, 2023/11/04
- 23/26: gnu: Add sofia-sip., guix-commits, 2023/11/04
- 10/26: gnu: perl-glib: Update to 1.3294., guix-commits, 2023/11/04
- 20/26: gnu: adwaita-icon-theme: Update to 44.0., guix-commits, 2023/11/04
- 25/26: gnu: Add libcall-ui., guix-commits, 2023/11/04
- 04/26: gnu: template-glib: Update to 3.36.1., guix-commits, 2023/11/04
- 05/26: gnu: template-glib: Update style., guix-commits, 2023/11/04
- 17/26: gnu: dbus-glib: Update to 0.112., guix-commits, 2023/11/04