Codebase list empathy / 05fd131
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
4 changed file(s) with 32 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
33 * debian/control: Bump Standards-Version to 4.4.1 (no further changes)
44 * Bump debhelper compatibility to 12, rely on dh_missing instead of
55 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
810
911 empathy (3.25.90+really3.12.14-1) unstable; urgency=medium
1012
2020 libclutter-gtk-1.0-dev (>= 1.4),
2121 libcogl-dev (>= 1.14),
2222 libdbus-glib-1-dev,
23 libenchant-dev (>= 1.2.0),
23 libenchant-2-dev,
2424 libfolks-dev (>= 0.9.5),
2525 libfolks-telepathy-dev (>= 0.9.5),
2626 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 */
0 enchant-2.patch