kkebreau pushed a commit to branch wip-gnome3.36
in repository guix.
commit 4d31971fcee34ea9a36a8c3b24137a36f22d4400
Author: Kei Kebreau <[email protected]>
AuthorDate: Sat Apr 18 20:06:20 2020 -0400
gnu: gspell: Update to 1.8.3.
* gnu/packages/gnome.scm (gspell): Update to 1.8.3.
* gnu/packages/patches/gspell-dash-test.patch: Adjust patch accordingly.
---
gnu/packages/gnome.scm | 4 ++--
gnu/packages/patches/gspell-dash-test.patch | 9 +++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1d37659..ca9d5f1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8881,7 +8881,7 @@ that support the Assistive Technology Service Provider
Interface (AT-SPI).")
(define-public gspell
(package
(name "gspell")
- (version "1.8.2")
+ (version "1.8.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -8889,7 +8889,7 @@ that support the Assistive Technology Service Provider
Interface (AT-SPI).")
name "-" version ".tar.xz"))
(sha256
(base32
- "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
+ "1s1dns070pz8dg04ppshdbx1r86n9406vkxcfs8hdghn0bfi9ras"))
(patches (search-patches "gspell-dash-test.patch"))))
(build-system glib-or-gtk-build-system)
(arguments
diff --git a/gnu/packages/patches/gspell-dash-test.patch
b/gnu/packages/patches/gspell-dash-test.patch
index 1c9d77c..678a51f 100644
--- a/gnu/packages/patches/gspell-dash-test.patch
+++ b/gnu/packages/patches/gspell-dash-test.patch
@@ -3,8 +3,9 @@ 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
+diff -ur a/testsuite/test-checker.c b/testsuite/test-checker.c
+--- a/testsuite/test-checker.c 2019-11-04 00:34:21.000000000 -0500
++++ b/testsuite/test-checker.c 2020-04-18 20:04:33.328968726 -0400
@@ -105,10 +105,11 @@
* be considered deprecated, it is better to use hunspell, so WONTFIX.
* For more details, see:
@@ -12,11 +13,11 @@ 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);
++ * g_assert_true (correctly_spelled);
*/
- correctly_spelled = gspell_checker_check_word (checker,
"spell-checking", -1, &error);
- g_assert_no_error (error);
-- g_assert (correctly_spelled);
+- g_assert_true (correctly_spelled);
correctly_spelled = gspell_checker_check_word (checker, "nrst-auie",
-1, &error);
g_assert_no_error (error);