Source: subtitleeditor
Version: 0.54.0-3
Severity: important
Tags: patch
Control: block 947979 by -1

Hello,

Could you please switch from enchant(1) to the enchant-2 library?

We are trying to get rid of enchant(1) for the bullseye release.

The attached patch should fix this, not tested though.

Kind regards,
Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru subtitleeditor-0.54.0/debian/control 
subtitleeditor-0.54.0/debian/control
--- subtitleeditor-0.54.0/debian/control        2018-04-29 14:28:09.000000000 
+0200
+++ subtitleeditor-0.54.0/debian/control        2020-04-14 14:09:10.000000000 
+0200
@@ -7,7 +7,7 @@
  imagemagick,
  intltool,
  iso-codes,
- libenchant-dev,
+ libenchant-2-dev,
  libgstreamer-plugins-base1.0-dev,
  libgstreamermm-1.0-dev (>> 1.8.0),
  libgtkmm-3.0-dev,
diff -Nru subtitleeditor-0.54.0/debian/patches/enchant2.patch 
subtitleeditor-0.54.0/debian/patches/enchant2.patch
--- subtitleeditor-0.54.0/debian/patches/enchant2.patch 1970-01-01 
01:00:00.000000000 +0100
+++ subtitleeditor-0.54.0/debian/patches/enchant2.patch 2020-04-14 
14:09:15.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Switch to enchant2
+Author: Laurent Bigonville <bi...@debian.org>
+
+---
+Origin: vendor
+Last-Update: 2020-04-14
+
+--- subtitleeditor-0.54.0.orig/configure.ac
++++ subtitleeditor-0.54.0/configure.ac
+@@ -74,7 +74,7 @@ AC_SUBST(GTKMM_LIBS)
+ # =========================================================================
+ # check enchant
+ 
+-PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0)
++PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 1.4.0)
+ 
+ AC_SUBST(ENCHANT_CFLAGS)
+ AC_SUBST(ENCHANT_LIBS)
diff -Nru subtitleeditor-0.54.0/debian/patches/series 
subtitleeditor-0.54.0/debian/patches/series
--- subtitleeditor-0.54.0/debian/patches/series 2017-08-14 16:58:33.000000000 
+0200
+++ subtitleeditor-0.54.0/debian/patches/series 2020-04-14 14:09:15.000000000 
+0200
@@ -1,2 +1,3 @@
 new_appdata_format.patch
 remove_abs_sourcedir.patch
+enchant2.patch

Reply via email to