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:           Thu Oct 19 14:54:32 UTC 2023

Modified Files:
        pkgsrc/textproc/enchant2: Makefile distinfo
        pkgsrc/textproc/enchant2/patches: patch-config.h.in

Log Message:
enchant2: update to 2.6.1.

2.6.1 (September 24, 2023)
--------------------------

This version tweaks normalization of language tags so that only the part of
the tag that specifies country and language is altered; any extra that is
not removed is left alone. This fixes the use case for Aspell dictionaries
that was fixed in the Aspell backend in 2.6.0. Thanks again to Abdul-Lateef
Haji-Ali for the report and help with the fix.

2.6.0 (September 24, 2023)
--------------------------

This version removes validation of language tags; dictionary names no longer
have to be valid language tags. This is because dictionaries in the wild
sometimes are sometimes not named with valid tags, and so are not visible to
Enchant. Programs that use Enchant will have to cope with this, for the
purposes of working out which languages are supported; but it should not a
big deal, as Enchant already accepted valid language tags with extra stuff
on the end, such as “en_GB-ize”.

Debug output now uses GLib’s debug system, and can be enabled at run-time by
setting the environment variable G_MESSAGES_DEBUG to ‘libenchant’. If you
have had problems understanding why Enchant is not using the spelling
provider you expect, now’s the time to get in touch via the issue tracker
and see if we can work out what’s going on!

The Aspell back-end has a fix to let it work with language variants such as
“en_GB-ize”. Thanks to Abdul-Lateef Haji-Ali for this fix!

There’s more code clean-up, build system updates, and a couple of null
pointer dereference fixes (thanks, GCC!).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/enchant2/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/enchant2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/enchant2/patches/patch-config.h.in

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.29 pkgsrc/textproc/enchant2/Makefile:1.30
--- pkgsrc/textproc/enchant2/Makefile:1.29      Wed Aug  2 19:36:51 2023
+++ pkgsrc/textproc/enchant2/Makefile   Thu Oct 19 14:54:32 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2023/08/02 19:36:51 nia Exp $
+# $NetBSD: Makefile,v 1.30 2023/10/19 14:54:32 wiz Exp $
 
-DISTNAME=              enchant-2.5.0
+DISTNAME=              enchant-2.6.1
 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.20 pkgsrc/textproc/enchant2/distinfo:1.21
--- pkgsrc/textproc/enchant2/distinfo:1.20      Tue Jun  6 07:55:24 2023
+++ pkgsrc/textproc/enchant2/distinfo   Thu Oct 19 14:54:32 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2023/06/06 07:55:24 wiz Exp $
+$NetBSD: distinfo,v 1.21 2023/10/19 14:54:32 wiz Exp $
 
-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
+BLAKE2s (enchant-2.6.1.tar.gz) = feee1e05ad431993ecdf16763067b5e69e37e5cf72c92eb20b043f77a3b07102
+SHA512 (enchant-2.6.1.tar.gz) = e2faabeb6a4edc7237a0a279b210512100fb1662b097cd23f0fc07a3519e48632e5527b0d393793a7623667011eae7e11f15fcddcaa155c4abd26ab6981ddf44
+Size (enchant-2.6.1.tar.gz) = 1014436 bytes
+SHA1 (patch-config.h.in) = ac10b6900034acb0e961d73b1f9cf1a39bb00775

Index: pkgsrc/textproc/enchant2/patches/patch-config.h.in
diff -u pkgsrc/textproc/enchant2/patches/patch-config.h.in:1.1 pkgsrc/textproc/enchant2/patches/patch-config.h.in:1.2
--- pkgsrc/textproc/enchant2/patches/patch-config.h.in:1.1      Mon May 15 09:30:29 2023
+++ pkgsrc/textproc/enchant2/patches/patch-config.h.in  Thu Oct 19 14:54:32 2023
@@ -1,15 +1,15 @@
-$NetBSD: patch-config.h.in,v 1.1 2023/05/15 09:30:29 jperkin Exp $
+$NetBSD: patch-config.h.in,v 1.2 2023/10/19 14:54:32 wiz Exp $
 
 GCC 12 on SunOS doesn't like the __malloc__ attribute.
 
---- config.h.in.orig   2023-02-19 14:46:56.000000000 +0000
+--- config.h.in.orig   2023-09-24 21:16:03.000000000 +0000
 +++ config.h.in
-@@ -613,7 +613,7 @@
-    _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that
+@@ -661,7 +661,7 @@
     can be freed via 'free'; it can be used only after declaring 'free'.  */
  /* Applies to: functions.  Cannot be used on inline functions.  */
--#if _GL_GNUC_PREREQ (11, 0)
+ #ifndef _GL_ATTRIBUTE_DEALLOC
+-# if _GL_GNUC_PREREQ (11, 0)
 +#if _GL_GNUC_PREREQ (11, 0) && !defined(__sun)
- # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
- #else
- # define _GL_ATTRIBUTE_DEALLOC(f, i)
+ #  define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
+ # else
+ #  define _GL_ATTRIBUTE_DEALLOC(f, i)



Home | Main Index | Thread Index | Old Index