[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66689] [PATCH gnome-team v2 03/14] gnu: appstream-glib: Update to 0
From: |
Vivien Kraus |
Subject: |
[bug#66689] [PATCH gnome-team v2 03/14] gnu: appstream-glib: Update to 0.8.2. |
Date: |
Sun, 22 Oct 2023 16:26:13 +0200 |
User-agent: |
Evolution 3.46.4 |
* gnu/packages/glib.scm (appstream-glib): Update to 0.8.2.
[native-inputs]: Update style.
[propagated-inputs]: Same.
[inputs]: Replace libsoup with curl. Update style.
[arguments]: Update style.
[description]: Fix lint issue.
Change-Id: Icea8c8330351127d0cc85e74716ebd3c3c4a88fa
---
gnu/packages/glib.scm | 70 +++++++++++++++++++++++--------------------
1 file changed, 37 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index af3f15b0ea..81a7785160 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages glib)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages curl)
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
@@ -1293,7 +1294,7 @@ (define-public sdbus-c++
(define-public appstream-glib
(package
(name "appstream-glib")
- (version "0.7.18")
+ (version "0.8.2")
(source (origin
(method url-fetch)
(uri (string-append "https://people.freedesktop.org/~hughsient/"
@@ -1301,45 +1302,48 @@ (define-public appstream-glib
"appstream-glib-" version ".tar.xz"))
(sha256
(base32
- "00j0kkgf224nzmrha72g8pd72mymhph7vaisj35i4ffy7cpd47na"))))
+ "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)
- ("libsoup" ,libsoup-minimal-2)))
+ (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);") ""))
+ #t))
+ (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 03/14] gnu: appstream-glib: Update to 0.8.2., (continued)
- [bug#66689] [PATCH gnome-team 00/14] Update everything in (gnu packages glib), Maxim Cournoyer, 2023/10/22
- [bug#66689] [PATCH gnome-team v2 00/14] Update glib.scm with more low-hanging fruits, Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 02/14] gnu: template-glib: Update to 3.36.1., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 03/14] gnu: appstream-glib: Update to 0.8.2.,
Vivien Kraus <=
- [bug#66689] [PATCH gnome-team v2 14/14] gnu: dbus: Update to 1.15.8., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 04/14] gnu: sdbus-c++: Update to 1.4.0., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 11/14] gnu: libaccounts-glib: Update to 1.26., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 10/14] gnu: libsigc++: Update to 3.6.0., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 05/14] gnu: perl-glib-object-introspection: Update to 0.051., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 06/14] gnu: perl-glib: Update to 1.3294., Vivien Kraus, 2023/10/24
- [bug#66689] [PATCH gnome-team v2 07/14] gnu: python-pygobject: Update to 3.46.0., Vivien Kraus, 2023/10/24