Dear maintainer,

I've prepared an NMU for gtkspell (versioned as 2.0.16-1.3). The diff
is attached to this message.

Regards.

diff -Nru gtkspell-2.0.16/debian/changelog gtkspell-2.0.16/debian/changelog
--- gtkspell-2.0.16/debian/changelog    2018-01-26 10:54:50.000000000 +0100
+++ gtkspell-2.0.16/debian/changelog    2020-01-24 03:17:20.000000000 +0100
@@ -1,3 +1,17 @@
+gtkspell (2.0.16-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  [ Laurent Bigonville ]
+  * debian/patches/enchant-2.patch: Switch to enchant version 2, replace
+    deprecated enchant_dict_add_to_pwl() function by enchant_dict_add()
+  * debian/control: Bump Standards-Version to 4.5.0 (no further changes)
+
+  [ Helmut Grohne ]
+  * Drop unused Build-Depends: libxml-parser-perl as gtkspell no longer
+    embeds intltool. (Closes: #913149)
+
+ -- Laurent Bigonville <bi...@debian.org>  Fri, 24 Jan 2020 03:17:20 +0100
+
 gtkspell (2.0.16-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gtkspell-2.0.16/debian/control gtkspell-2.0.16/debian/control
--- gtkspell-2.0.16/debian/control      2018-01-26 10:37:06.000000000 +0100
+++ gtkspell-2.0.16/debian/control      2020-01-24 02:52:40.000000000 +0100
@@ -2,8 +2,8 @@
 Section: libs
 Priority: optional
 Maintainer: Ari Pollak <a...@debian.org>
-Build-Depends: debhelper (>= 11), libenchant-dev, libgtk2.0-dev (>= 2.4.0), 
libltdl3-dev, libxml-parser-perl, intltool (>= 0.35.0), gtk-doc-tools
-Standards-Version: 4.1.3
+Build-Depends: debhelper (>= 11), libenchant-2-dev, libgtk2.0-dev (>= 2.4.0), 
libltdl3-dev, intltool (>= 0.35.0), gtk-doc-tools
+Standards-Version: 4.5.0
 
 Package: libgtkspell0
 Architecture: any
@@ -17,7 +17,7 @@
 Package: libgtkspell-dev
 Section: libdevel
 Architecture: any
-Depends: libenchant-dev, libgtk2.0-dev, libgtkspell0 (= ${binary:Version}),
+Depends: libenchant-2-dev, libgtk2.0-dev, libgtkspell0 (= ${binary:Version}),
  ${misc:Depends}
 Description: Development files for GtkSpell
  This package contains the headers and static libraries for developing
diff -Nru gtkspell-2.0.16/debian/patches/enchant-2.patch 
gtkspell-2.0.16/debian/patches/enchant-2.patch
--- gtkspell-2.0.16/debian/patches/enchant-2.patch      1970-01-01 
01:00:00.000000000 +0100
+++ gtkspell-2.0.16/debian/patches/enchant-2.patch      2020-01-24 
02:47:39.000000000 +0100
@@ -0,0 +1,32 @@
+Description: Port to enchant-2
+Author: Laurent Bigonville <bi...@debian.org>
+Forwarded: no
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -12,12 +12,12 @@ AC_CONFIG_SRCDIR(gtkspell/gtkspell.c)
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+ AC_CONFIG_HEADERS([config.h])
+ 
+-SPELLER_LIB=-lenchant
++SPELLER_LIB=-lenchant-2
+       
+ AC_SUBST(SPELLER_LIB)
+ GTKSPELL_PACKAGES=gtk+-2.0
+ AC_SUBST(GTKSPELL_PACKAGES)
+-PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant >= 0.4.0 )
++PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant-2 >= 2.2.0 )
+ AC_SUBST(GTKSPELL_CFLAGS)
+ AC_SUBST(GTKSPELL_LIBS)
+ 
+--- a/gtkspell/gtkspell.c
++++ b/gtkspell/gtkspell.c
+@@ -277,7 +277,7 @@ add_to_dictionary(GtkWidget *menuitem, G
+       get_word_extents_from_mark(spell->buffer, &start, &end, 
spell->mark_click);
+       word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
+       
+-      enchant_dict_add_to_pwl( spell->speller, word, strlen(word));
++      enchant_dict_add( spell->speller, word, strlen(word));
+ 
+       gtkspell_recheck_all(spell);
+ 
diff -Nru gtkspell-2.0.16/debian/patches/series 
gtkspell-2.0.16/debian/patches/series
--- gtkspell-2.0.16/debian/patches/series       2018-01-26 10:37:25.000000000 
+0100
+++ gtkspell-2.0.16/debian/patches/series       2020-01-24 02:19:00.000000000 
+0100
@@ -1 +1,2 @@
 01_update_gtkdoc.patch
+enchant-2.patch

Reply via email to