pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/abiword Port AbiWord to enchant2, bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f422f168b9ec
branches:  trunk
changeset: 326281:f422f168b9ec
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Dec 02 21:51:06 2018 +0000

description:
Port AbiWord to enchant2, bump revision.

diffstat:

 editors/abiword/Makefile                                         |   5 +-
 editors/abiword/buildlink3.mk                                    |   4 +-
 editors/abiword/distinfo                                         |   3 +-
 editors/abiword/patches/patch-src_af_xap_xp_enchant__checker.cpp |  33 ++++++++++
 4 files changed, 40 insertions(+), 5 deletions(-)

diffs (93 lines):

diff -r faef37d60eda -r f422f168b9ec editors/abiword/Makefile
--- a/editors/abiword/Makefile  Sun Dec 02 19:36:07 2018 +0000
+++ b/editors/abiword/Makefile  Sun Dec 02 21:51:06 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.180 2018/11/24 19:14:09 nia Exp $
+# $NetBSD: Makefile,v 1.181 2018/12/02 21:51:06 bsiegert Exp $
 
 .include       "Makefile.common"
 DISTNAME=      abiword-${ABIVERSION}
+PKGREVISION=   1
 CATEGORIES=    editors
 MASTER_SITES=  http://www.abiword.com/downloads/abiword/${PKGVERSION_NOREV}/source/
 
@@ -50,7 +51,7 @@
 .include "../../graphics/png/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/enchant2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../textproc/redland/buildlink3.mk"
 .include "../../time/libical/buildlink3.mk"
diff -r faef37d60eda -r f422f168b9ec editors/abiword/buildlink3.mk
--- a/editors/abiword/buildlink3.mk     Sun Dec 02 19:36:07 2018 +0000
+++ b/editors/abiword/buildlink3.mk     Sun Dec 02 21:51:06 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2018/11/14 22:21:21 kleink Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2018/12/02 21:51:06 bsiegert Exp $
 
 BUILDLINK_TREE+=       abiword
 
@@ -16,7 +16,7 @@
 .include "../../graphics/librsvg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
-.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/enchant2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../textproc/redland/buildlink3.mk"
 .include "../../time/libical/buildlink3.mk"
diff -r faef37d60eda -r f422f168b9ec editors/abiword/distinfo
--- a/editors/abiword/distinfo  Sun Dec 02 19:36:07 2018 +0000
+++ b/editors/abiword/distinfo  Sun Dec 02 21:51:06 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.75 2018/11/24 19:14:09 nia Exp $
+$NetBSD: distinfo,v 1.76 2018/12/02 21:51:06 bsiegert Exp $
 
 SHA1 (abiword-3.0.2.tar.gz) = 8226e0962e6667e0a461955a0ac680a629e0b55a
 RMD160 (abiword-3.0.2.tar.gz) = fde551492b0cffa7d522082906f374490bd47f5c
@@ -25,5 +25,6 @@
 SHA1 (patch-src_af_util_xp_ut__iconv.h) = bbcfa2098ea77d393feb50d69de9ae29fcce302f
 SHA1 (patch-src_af_util_xp_ut__mbtowc.cpp) = 01f6793651533e7e39f665e5c15e6c12e1c7b96d
 SHA1 (patch-src_af_util_xp_ut__misc.cpp) = f552ecbb87490355d8e74218dd59fd3961f1af5d
+SHA1 (patch-src_af_xap_xp_enchant__checker.cpp) = 5ad3b8bb4e186e998d7e8930247534c9f058c534
 SHA1 (patch-src_text_fmt_xp_fv__FrameEdit.h) = 684310bf9aece4ce72d004dfae9a4b4b6ca69570
 SHA1 (patch-src_text_ptbl_xp_pd__DocumentRDF.cpp) = 5673e9341372913156f2f722229569199d97af4c
diff -r faef37d60eda -r f422f168b9ec editors/abiword/patches/patch-src_af_xap_xp_enchant__checker.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/abiword/patches/patch-src_af_xap_xp_enchant__checker.cpp  Sun Dec 02 21:51:06 2018 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-src_af_xap_xp_enchant__checker.cpp,v 1.1 2018/12/02 21:51:06 bsiegert Exp $
+
+Adapt to new enchant API.
+
+--- src/af/xap/xp/enchant_checker.cpp.orig     2013-04-07 13:53:03.000000000 +0000
++++ src/af/xap/xp/enchant_checker.cpp
+@@ -127,7 +127,7 @@ EnchantChecker::_suggestWord (const UT_U
+                               pvSugg->addItem (ucszSugg);
+               }
+ 
+-              enchant_dict_free_suggestions (m_dict, suggestions);
++              enchant_dict_free_string_list (m_dict, suggestions);
+       }
+ 
+       return pvSugg;
+@@ -139,7 +139,7 @@ bool EnchantChecker::addToCustomDict (co
+ 
+       if (word && len) {
+               UT_UTF8String utf8 (word, len);
+-              enchant_dict_add_to_personal (m_dict, utf8.utf8_str(), utf8.byteLength());
++              enchant_dict_add (m_dict, utf8.utf8_str(), utf8.byteLength());
+               return true;
+       }
+       return false;
+@@ -150,7 +150,7 @@ bool EnchantChecker::isIgnored (const UT
+       UT_return_val_if_fail (m_dict, false);
+ 
+       UT_UTF8String ignore (toCorrect, toCorrectLen);
+-      return enchant_dict_is_in_session (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
++      return enchant_dict_is_added (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
+ }
+ 
+ void EnchantChecker::ignoreWord (const UT_UCSChar *toCorrect, size_t toCorrectLen)



Home | Main Index | Thread Index | Old Index