[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948439: Please switch to enchant-2 instead of enchant(1)



Control: tags -1 + patch
X-Debbugs-CC: sgmoore@kde.org

I am preparing a patch for this bug. On top of current git HEAD code, this
actually builds successfully.

Feel free to let me know if you have any issues.

-- 
Thanks,
Boyuan Yang

On Wed, 08 Jan 2020 18:15:10 +0100 Laurent Bigonville <bigon@debian.org>
wrote:
> Source: qtspell
> Version: 0.8.5-2
> Severity: wishlist
> Control: block 947979 by -1
> 
> Hi,
> 
> Could you please switch qtspell to enchant-2?
> 
> Quickly looking at the code, it only requires to change libenchant-dev
> to libenchant-2-dev
> 
> 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.4.0-2-amd64 (SMP w/8 CPU cores)
> 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
From 8c0852f37e8414dce2d7d16b95cfa1b630396282 Mon Sep 17 00:00:00 2001
From: Boyuan Yang <byang@debian.org>
Date: Fri, 10 Jan 2020 14:48:02 -0500
Subject: [PATCH] debian/changelog: Document changes

---
 debian/changelog                | 11 +++++++++++
 debian/control                  |  2 +-
 debian/libqtspell-qt5-0.symbols |  4 ++--
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 03b39ef..2cf0de9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+qtspell (0.8.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control:
+    + Switch build-dependency from enchant 1.x to enchant
+      2.x.
+  * debian/libqtspell-qt5-0.symbols: Refresh symbols after
+    switching to enchant 2.x.
+
+ -- Boyuan Yang <byang@debian.org>  Fri, 10 Jan 2020 15:06:26 -0500
+
 qtspell (0.8.5-2) unstable; urgency=medium
 
   * Fix duplicate short descriptions.
diff --git a/debian/control b/debian/control
index 1bd7d7a..781ce95 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: cmake,
                debhelper (>=12),
                doc-base,
                doxygen,
-               libenchant-dev,
+               libenchant-2-dev,
                pkg-config,
                pkg-kde-tools,
                qtbase5-dev,
diff --git a/debian/libqtspell-qt5-0.symbols b/debian/libqtspell-qt5-0.symbols
index 54de5ed..891d305 100644
--- a/debian/libqtspell-qt5-0.symbols
+++ b/debian/libqtspell-qt5-0.symbols
@@ -125,11 +125,10 @@ libqtspell-qt5.so.0 libqtspell-qt5-0 #MINVER#
  _ZN7QtSpell9CodetableC2Ev@Base 0.8.5
  _ZN7QtSpell9CodetableD1Ev@Base 0.8.5
  _ZN7QtSpell9CodetableD2Ev@Base 0.8.5
+ (optional=templinst)_ZN7enchant14set_prefix_dirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 0.8.5
  _ZN7enchant4Dict13s_describe_fnEPKcS2_S2_S2_Pv@Base 0.8.5
- _ZN7enchant6Broker10m_instanceE@Base 0.8.5
  _ZN7enchant6BrokerD1Ev@Base 0.8.5
  _ZN7enchant6BrokerD2Ev@Base 0.8.5
- _ZN7enchant9Exception4whatEv@Base 0.8.5
  _ZN7enchant9ExceptionC1EPKc@Base 0.8.5
  _ZN7enchant9ExceptionC2EPKc@Base 0.8.5
  _ZN7enchant9ExceptionD0Ev@Base 0.8.5
@@ -161,6 +160,7 @@ libqtspell-qt5.so.0 libqtspell-qt5-0 #MINVER#
  _ZNK7QtSpell7Checker22getSpellingSuggestionsERK7QString@Base 0.8.5
  _ZNK7QtSpell7Checker9checkWordERK7QString@Base 0.8.5
  _ZNK7QtSpell9Codetable6lookupERK7QStringRS1_S4_S4_@Base 0.8.5
+ _ZNK7enchant9Exception4whatEv@Base 0.8.5
  (optional=templinst)_ZNK8QMapDataI7QStringS0_E8findNodeERKS0_@Base 0.8.5
  (optional=templinst)_ZNK8QMapNodeI7QStringS0_E4copyEP8QMapDataIS0_S0_E@Base 0.8.5
  (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.8.5
-- 
2.25.0.rc2

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: