[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
146/181: gnu: gspell: Update to 1.11.1.
From: |
guix-commits |
Subject: |
146/181: gnu: gspell: Update to 1.11.1. |
Date: |
Tue, 13 Sep 2022 02:26:21 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit db3d093546c3babab9b29c4d50130361f53196f8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Sep 10 02:27:49 2022 -0400
gnu: gspell: Update to 1.11.1.
* gnu/packages/gnome.scm (gspell): Update to 1.11.1.
[source]: Delete patches.
[phases]{disable-problematic-tests}: New phase.
[native-inputs]: Remove labels.
* gnu/packages/patches/gspell-dash-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
---
gnu/local.mk | 1 -
gnu/packages/gnome.scm | 31 ++++++++++++++++++-----------
gnu/packages/patches/gspell-dash-test.patch | 22 --------------------
3 files changed, 19 insertions(+), 35 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index a733fc60de..9eb984dc66 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1243,7 +1243,6 @@ dist_patch_DATA =
\
%D%/packages/patches/groovy-add-exceptionutilsgenerator.patch \
%D%/packages/patches/grub-efi-fat-serial-number.patch \
%D%/packages/patches/grub-setup-root.patch \
- %D%/packages/patches/gspell-dash-test.patch \
%D%/packages/patches/gst-plugins-good-fix-test.patch \
%D%/packages/patches/guile-1.8-cpp-4.5.patch \
%D%/packages/patches/guile-2.2-skip-oom-test.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7184b50ab4..ed4305db90 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10838,7 +10838,7 @@ that support the Assistive Technology Service Provider
Interface (AT-SPI).")
(define-public gspell
(package
(name "gspell")
- (version "1.8.2")
+ (version "1.11.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -10846,13 +10846,18 @@ that support the Assistive Technology Service
Provider Interface (AT-SPI).")
name "-" version ".tar.xz"))
(sha256
(base32
- "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
- (patches (search-patches "gspell-dash-test.patch"))))
+ "14h2w0yzqwaw5dykmhh21sy2c96g17waahg2lxc52xqiyzis8spg"))))
(build-system glib-or-gtk-build-system)
(arguments
'(#:configure-flags (list "--enable-vala")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-problematic-tests
+ (lambda _
+ (substitute* "testsuite/test-checker.c"
+ ;; This test is known to fail with Aspell, as a comment
+ ;; mentions it. Disable it.
+ ((".*g_test_add_func.*test_dashes.*") ""))))
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Tests require a running X server.
@@ -10869,18 +10874,20 @@ that support the Assistive Technology Service
Provider Interface (AT-SPI).")
(inputs
(list iso-codes))
(native-inputs
- `(("glib" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala) ;for VAPI, needed by Geary
- ("xmllint" ,libxml2)
+ (list `(,glib "bin")
+ gobject-introspection
+ pkg-config
+ vala ;for VAPI, needed by Geary
+ libxml2
- ;; For tests.
- ("aspell-dict-en" ,aspell-dict-en)
- ("xorg-server" ,xorg-server-for-tests)))
+ ;; For tests.
+ aspell-dict-en
+ xorg-server-for-tests))
(propagated-inputs
;; Referred by .pc file.
- (list enchant glib gtk+))
+ (list enchant
+ glib
+ gtk+))
(home-page "https://wiki.gnome.org/Projects/gspell")
(synopsis "GNOME's alternative spell checker")
(description
diff --git a/gnu/packages/patches/gspell-dash-test.patch
b/gnu/packages/patches/gspell-dash-test.patch
deleted file mode 100644
index 1c9d77cfba..0000000000
--- a/gnu/packages/patches/gspell-dash-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Somehow, Aspell 0.60.6.1 and aspell-dict-en-2016.11.20-0 don't consider
-this a valid spelling. Skip it.
-
-TODO: Migrate to using hunspell. According to upstream, this bug won't be
fixed.
-See https://bugzilla.gnome.org/show_bug.cgi?id=772406.
---- a/testsuite/test-checker.c 2017-03-24 09:50:50.000000000 -0400
-+++ b/testsuite/test-checker.c 2017-06-15 21:47:07.116173895 -0400
-@@ -105,10 +105,11 @@
- * be considered deprecated, it is better to use hunspell, so WONTFIX.
- * For more details, see:
- * https://bugzilla.gnome.org/show_bug.cgi?id=772406
-+ *
-+ * correctly_spelled = gspell_checker_check_word (checker,
"spell-checking", -1, &error);
-+ * g_assert_no_error (error);
-+ * g_assert (correctly_spelled);
- */
-- correctly_spelled = gspell_checker_check_word (checker,
"spell-checking", -1, &error);
-- g_assert_no_error (error);
-- g_assert (correctly_spelled);
-
- correctly_spelled = gspell_checker_check_word (checker, "nrst-auie",
-1, &error);
- g_assert_no_error (error);
- 106/181: gnu: libmediaart: Update to 1.9.6., (continued)
- 106/181: gnu: libmediaart: Update to 1.9.6., guix-commits, 2022/09/13
- 103/181: gnu: python-liblarch: Update to 3.2.0 and apply guix style., guix-commits, 2022/09/13
- 111/181: gnu: vala-next: Update to 0.56.3., guix-commits, 2022/09/13
- 122/181: gnu: eog: Update to 42.3., guix-commits, 2022/09/13
- 124/181: gnu: epiphany: Update to 42.4., guix-commits, 2022/09/13
- 129/181: gnu: shotwell: Update to 0.31.5., guix-commits, 2022/09/13
- 126/181: gnu: yelp: Update to 42.1., guix-commits, 2022/09/13
- 135/181: gnu: mobile-broadband-provider-info: Update to 20220725., guix-commits, 2022/09/13
- 139/181: gnu: nautilus: Update to 42.2 and enable tests., guix-commits, 2022/09/13
- 140/181: gnu: komikku: Update to 0.41.0., guix-commits, 2022/09/13
- 146/181: gnu: gspell: Update to 1.11.1.,
guix-commits <=
- 149/181: gnu: passwordsafe: Rename to secrets and update to 6.5., guix-commits, 2022/09/13
- 28/181: gnu: upower: Fix indentation., guix-commits, 2022/09/13
- 30/181: gnu: gnome-desktop: Update to 42.4 and remove input labels., guix-commits, 2022/09/13
- 31/181: gnu: libnma: Update to 1.10.2 and delete input labels., guix-commits, 2022/09/13
- 39/181: gnu: gdm: Update to 42.0., guix-commits, 2022/09/13
- 49/181: gnu: cups-pk-helper: Replace polkit with polkit-duktape., guix-commits, 2022/09/13
- 55/181: gnu: gnome-online-accounts: Update to 3.45.2, remove "lib" output., guix-commits, 2022/09/13
- 68/181: gnu: gnome-user-docs: Update to 42.0., guix-commits, 2022/09/13
- 100/181: gnu: blueprint-compiler: Update to 0.4.0., guix-commits, 2022/09/13
- 94/181: gnu: phodav: Update to 3.0., guix-commits, 2022/09/13