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 Jul 1 19:19:52 UTC 2025
Modified Files:
pkgsrc/textproc/enchant2: Makefile PLIST distinfo
Log Message:
enchant2: update to 2.8.10.
2.8.10 (June 21, 2025)
----------------------
This release fixes a crash bug and some space leaks in the Hunspell provider
that were introduced in 2.8.7.
Thanks to @haansn08 and @mike-fabian for the report and debug information.
The handling of PWL dictionaries has also been simplified slightly.
2.8.9 (June 17, 2025)
---------------------
This release fixes a critical bug in the Aspell provider that crept into
2.8.7. Thanks to @hamkg for the report and @chenrui333 analyzing the
problem.
A test has been added that simply runs `enchant-lsmod -list-dicts`, which
would have caught this bug and the double-free fixed in the previous
release.
2.8.8 (June 16, 2025)
---------------------
The previous release had a “double-free” bug that typically caused a crash
on application start-up. Thanks to @AdamWill of Fedora for a quick bug
report that enabled me to locate and instantly fix the bug (apologies!).
A test to detect this sort of bug in future will be forthcoming.
2.8.7 (June 15, 2025)
---------------------
This release stops the Hunspell provider from doing partial matching of
dictionary tags. This fixes an odd situation where it was possible for
Aspell to have an actual “en” dictionary, which would be shown by
enchant-lsmod(1), but when requesting that language, if Hunspell was
configured to take precedence over Aspell, and there was, for example, an
“en_US” dictionary installed for Hunspell, then that would be used. Thanks
to @digitcrusher for filing the bug and helping with the solution.
The providers code has been formatted more consistently, simplified in
places, and made more robust when memory allocation fails. Thanks again to
@digitcrusher for spotting some simplifications I missed.
The minimum version of GLib required is now 2.76, which is quite recent
(from a bit over 2 years ago at the time of writing). Use of this enables
some deprecated APIs to be dropped, and some slight code simplification.
Finally, the compiler warnings used with GCC have been adjusted to turn off
useless warnings, especially for Vala-generated C.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/textproc/enchant2/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/enchant2/PLIST
cvs rdiff -u -r1.34 -r1.35 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.49 pkgsrc/textproc/enchant2/Makefile:1.50
--- pkgsrc/textproc/enchant2/Makefile:1.49 Sat Jun 7 21:37:18 2025
+++ pkgsrc/textproc/enchant2/Makefile Tue Jul 1 19:19:52 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2025/06/07 21:37:18 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2025/07/01 19:19:52 wiz Exp $
-DISTNAME= enchant-2.8.6
+DISTNAME= enchant-2.8.10
PKGNAME= ${DISTNAME:S/enchant/enchant2/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=rrthomas/}
@@ -40,6 +40,7 @@ TEST_TARGET= check
.include "options.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.76
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_DEPMETHOD.unittest-cpp= build # XXX: for tests
.include "../../devel/unittest-cpp/buildlink3.mk"
Index: pkgsrc/textproc/enchant2/PLIST
diff -u pkgsrc/textproc/enchant2/PLIST:1.6 pkgsrc/textproc/enchant2/PLIST:1.7
--- pkgsrc/textproc/enchant2/PLIST:1.6 Sun Apr 28 09:47:24 2024
+++ pkgsrc/textproc/enchant2/PLIST Tue Jul 1 19:19:52 2025
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2024/04/28 09:47:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/07/01 19:19:52 wiz Exp $
bin/enchant-2
bin/enchant-lsmod-2
include/enchant-2/enchant++.h
include/enchant-2/enchant.h
-${PLIST.aspell}lib/enchant-2/enchant_aspell.la
-${PLIST.hunspell}lib/enchant-2/enchant_hunspell.la
-${PLIST.zemberek}lib/enchant-2/enchant_zemberek.la
+${PLIST.aspell}lib/enchant-2/enchant_aspell.so
+${PLIST.hunspell}lib/enchant-2/enchant_hunspell.so
+${PLIST.zemberek}lib/enchant-2/enchant_zemberek.so
lib/libenchant-2.la
lib/pkgconfig/enchant-2.pc
man/man1/enchant-2.1
Index: pkgsrc/textproc/enchant2/distinfo
diff -u pkgsrc/textproc/enchant2/distinfo:1.34 pkgsrc/textproc/enchant2/distinfo:1.35
--- pkgsrc/textproc/enchant2/distinfo:1.34 Sat Jun 7 21:37:18 2025
+++ pkgsrc/textproc/enchant2/distinfo Tue Jul 1 19:19:52 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.34 2025/06/07 21:37:18 wiz Exp $
+$NetBSD: distinfo,v 1.35 2025/07/01 19:19:52 wiz Exp $
-BLAKE2s (enchant-2.8.6.tar.gz) = 76b1db2ddf424d258754111b6046060e23f06a161d29ec7b5fdf0229b4feabad
-SHA512 (enchant-2.8.6.tar.gz) = 92b0bc1c04b4d3de8529461e68cb165d487938af301760db6c51e2aa8787cafb12a82850f799968bb920ae58880b48256d4c1805acc30bd6ee07575d34c1e8a9
-Size (enchant-2.8.6.tar.gz) = 1259835 bytes
+BLAKE2s (enchant-2.8.10.tar.gz) = e556599d57ad960736a829bba13d53369aa8a3867eac28637f33819b8f45088c
+SHA512 (enchant-2.8.10.tar.gz) = 14be87291dc884d87d3ca415d341efa02c9e84712946b8772bd43649d750154a8ce5a6df96287f5848618d2f27bf5377f6efe10076adf61c3002245f59fe4495
+Size (enchant-2.8.10.tar.gz) = 1259599 bytes
SHA1 (patch-config.h.in) = ac10b6900034acb0e961d73b1f9cf1a39bb00775
Home |
Main Index |
Thread Index |
Old Index