[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66689] [PATCH gnome-team v4 05/17] gnu: appstream-glib: Update styl
From: |
Vivien Kraus |
Subject: |
[bug#66689] [PATCH gnome-team v4 05/17] gnu: appstream-glib: Update style. |
Date: |
Fri, 27 Oct 2023 18:42:06 +0200 |
User-agent: |
Evolution 3.46.4 |
* gnu/packages/glib.scm (appstream-glib) [native-inputs]: Drop labels, sort.
[propagated-inputs]: Drop labels.
[inputs]: Drop labels, sort.
[arguments]: Convert to list of G-Expressions.
[#:phases 'patch-tests]: Remove trailing #t.
[description]: Break long line.
Change-Id: I504df11ec6fc5b9d9fe70e4e32e7910f93eeb81e
---
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 @@ (define-public appstream-glib
"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+)))
--
2.41.0
- [bug#66689] [PATCH gnome-team v3 14/17] gnu: libaccounts-glib: Update to 1.26., (continued)
[bug#66689] [PATCH gnome-team v4 00/17] Fix two remaining commit messages, Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 02/17] gnu: template-glib: Update to 3.36.1., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 03/17] gnu: template-glib: Update style., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 04/17] gnu: appstream-glib: Update to 0.8.2., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 12/17] gnu: glibmm: Update to 2.78.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 05/17] gnu: appstream-glib: Update style.,
Vivien Kraus <=
- [bug#66689] [PATCH gnome-team v4 13/17] gnu: libsigc++: Update to 3.6.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 14/17] gnu: libaccounts-glib: Update to 1.26., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 06/17] gnu: sdbus-c++: Update to 1.4.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 15/17] gnu: dbus-glib: Update to 0.112., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 07/17] gnu: perl-glib-object-introspection: Update to 0.051., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 08/17] gnu: perl-glib: Update to 1.3294., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 16/17] gnu: gobject-introspection: Update to 1.78.1., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 09/17] gnu: python-pygobject: Update to 3.46.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 01/17] gnu: xdg-dbus-proxy: Update to 0.1.5., Vivien Kraus, 2023/10/27