pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/enchant2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jun  6 07:55:24 UTC 2023

Modified Files:
        pkgsrc/textproc/enchant2: Makefile distinfo

Log Message:
enchant2: update to 2.5.0.

2.5.0 (May 23, 2022)
--------------------

This version simplifies the handling of personal wordlists. End-users should
not notice much difference, but internally the code has been considerably
simplified.

There are three developer-visible changes:

  * A new dictionary method remove_from_session() allows providers to stay
    in sync with Enchant’s personal wordlist, by removing as well as adding
    words in the spelling session.
  * The public API enchant_dict_store_replacement() is deprecated, and no
    longer does anything. It only previously had an effect with the Aspell
    provider.
  * The APIs enchant_dict_add() and enchant_dict_remove() also respectively
    add the word to the session or remove it.

Note that these changes do not affect the public ABI, which only uses
pointers to dictionary objects (it does change the provider ABI, but as far
as the maintainers know, there are no 3rd-party providers).

There are three main changes under the hood.

First, Enchant’s mechanism for generating suggestions from personal
wordlists is removed. This mechanism was complicated, would generate
suggestions in a different way from each provider, and was unlikely to work
well for many languages. Instead, support has been improved for supplying
words from the user’s personal wordlist to the provider, so that it can
include them in suggestions. This is supported by the Aspell and Hunspell
backends.

Second, Enchant’s support for provider-specific wordlists has been removed.
Of the known providers, only Aspell used this support, and only partially.
This was likely to be confusing: for example, words could be added to the
Aspell, but not removed, so Aspell’s personal wordlist could get out of sync
with Enchant’s. The relevant dictionary methods have been removed.

Finally, as mentioned above, adding a word to the personal wordlist also
adds it to the session, and removing it also removes it from the session.
This keeps the session and personal wordlist in sync automatically.

2.4.0 (May 22, 2023)
--------------------

This version contains no user-visible changes.

Add a new API enchant_broker_request_dict_with_pwl, so that it’s possible to
specify a personal wordlist in a normal spelling session.

This makes it possible to rewrite the enchant program to use only public
APIs, thus making a cleaner separation between front-end and library.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/enchant2/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/enchant2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/enchant2/Makefile
diff -u pkgsrc/textproc/enchant2/Makefile:1.24 pkgsrc/textproc/enchant2/Makefile:1.25
--- pkgsrc/textproc/enchant2/Makefile:1.24      Mon May 15 09:30:29 2023
+++ pkgsrc/textproc/enchant2/Makefile   Tue Jun  6 07:55:24 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2023/05/15 09:30:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.25 2023/06/06 07:55:24 wiz Exp $
 
-DISTNAME=              enchant-2.3.4
+DISTNAME=              enchant-2.5.0
 PKGNAME=               ${DISTNAME:S/enchant/enchant2/}
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=AbiWord/}

Index: pkgsrc/textproc/enchant2/distinfo
diff -u pkgsrc/textproc/enchant2/distinfo:1.19 pkgsrc/textproc/enchant2/distinfo:1.20
--- pkgsrc/textproc/enchant2/distinfo:1.19      Mon May 15 09:30:29 2023
+++ pkgsrc/textproc/enchant2/distinfo   Tue Jun  6 07:55:24 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.19 2023/05/15 09:30:29 jperkin Exp $
+$NetBSD: distinfo,v 1.20 2023/06/06 07:55:24 wiz Exp $
 
-BLAKE2s (enchant-2.3.4.tar.gz) = f4d401e6cde4dd4ce6fb863320c2a25267b6e825006dd0eecd13b9c88ce0ade1
-SHA512 (enchant-2.3.4.tar.gz) = d109ab320ed84d6c9eec6c558c72a54d71ad30237c2bf11650b0e4030fbd9990a5ccf06a20851e46b6530279e1a9916b891cd394eefabc8812f7f92da62cbe1a
-Size (enchant-2.3.4.tar.gz) = 1015430 bytes
+BLAKE2s (enchant-2.5.0.tar.gz) = 58ab376b452fe250fd5a4f414b88ae0f174c4a2f8878ccbb8503c2a8a80bbb1a
+SHA512 (enchant-2.5.0.tar.gz) = 3ab209b0b87b7cd8f94dd2bceed126d0e36252a1ede7a30b1550169555242784a631c0f259b0fe6591771da491ab934cac48f833029ba78dd779fc1ed91341fe
+Size (enchant-2.5.0.tar.gz) = 990061 bytes
 SHA1 (patch-config.h.in) = e463ae5fcb3b7d457318ff027f32456e3c57498b



Home | Main Index | Thread Index | Old Index