debian/patches/enchant-2.patch: Switch to enchant version 2, replace deprecated enchant_dict_add_to_pwl() function by enchant_dict_add()
Laurent Bigonville
4 years ago
3 | 3 |
* debian/control: Bump Standards-Version to 4.4.1 (no further changes)
|
4 | 4 |
* Bump debhelper compatibility to 12, rely on dh_missing instead of
|
5 | 5 |
dh_install to list missing files
|
6 | |
|
7 | |
-- Laurent Bigonville <bigon@debian.org> Tue, 07 Jan 2020 09:16:52 +0100
|
|
6 |
* debian/patches/enchant-2.patch: Switch to enchant version 2, replace
|
|
7 |
deprecated enchant_dict_add_to_pwl() function by enchant_dict_add()
|
|
8 |
|
|
9 |
-- Laurent Bigonville <bigon@debian.org> Tue, 07 Jan 2020 09:44:05 +0100
|
8 | 10 |
|
9 | 11 |
empathy (3.25.90+really3.12.14-1) unstable; urgency=medium
|
10 | 12 |
|
20 | 20 |
libclutter-gtk-1.0-dev (>= 1.4),
|
21 | 21 |
libcogl-dev (>= 1.14),
|
22 | 22 |
libdbus-glib-1-dev,
|
23 | |
libenchant-dev (>= 1.2.0),
|
|
23 |
libenchant-2-dev,
|
24 | 24 |
libfolks-dev (>= 0.9.5),
|
25 | 25 |
libfolks-telepathy-dev (>= 0.9.5),
|
26 | 26 |
libgcr-3-dev (>= 2.91.4),
|
|
0 |
Description: Port to enchant-2
|
|
1 |
Author: Laurent Bigonville <bigon@debian.org>
|
|
2 |
Forwarded: yes
|
|
3 |
|
|
4 |
--- a/configure.ac
|
|
5 |
+++ b/configure.ac
|
|
6 |
@@ -306,7 +306,7 @@ AC_ARG_ENABLE(spell,
|
|
7 |
if test "x$enable_spell" != "xno"; then
|
|
8 |
PKG_CHECK_MODULES(ENCHANT,
|
|
9 |
[
|
|
10 |
- enchant >= $ENCHANT_REQUIRED,
|
|
11 |
+ enchant-2 >= $ENCHANT_REQUIRED,
|
|
12 |
iso-codes >= $ISO_CODES_REQUIRED
|
|
13 |
], have_enchant="yes", have_enchant="no")
|
|
14 |
|
|
15 |
--- a/libempathy-gtk/empathy-spell.c
|
|
16 |
+++ b/libempathy-gtk/empathy-spell.c
|
|
17 |
@@ -424,7 +424,7 @@ empathy_spell_add_to_dictionary (const g
|
|
18 |
if (lang == NULL)
|
|
19 |
return;
|
|
20 |
|
|
21 |
- enchant_dict_add_to_pwl (lang->speller, word, strlen (word));
|
|
22 |
+ enchant_dict_add (lang->speller, word, strlen (word));
|
|
23 |
}
|
|
24 |
|
|
25 |
#else /* not HAVE_ENCHANT */
|