summaryrefslogtreecommitdiff
path: root/package/enchant
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-31 11:03:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-02 11:36:14 +0200
commitd79931e3af4a448bafcf252accc64ab1dfd53e05 (patch)
tree89f7f5fe2dd267b121dcae901e7e45c8c77bc510 /package/enchant
parent05952f8b699f1e76aee7ebca1d3e7a574737908f (diff)
enchant: update to 2.8.2
Diffstat (limited to 'package/enchant')
-rw-r--r--package/enchant/Makefile6
-rw-r--r--package/enchant/patches/patch-src_Makefile_am12
-rw-r--r--package/enchant/patches/patch-src_Makefile_in22
3 files changed, 37 insertions, 3 deletions
diff --git a/package/enchant/Makefile b/package/enchant/Makefile
index 84ffa533f..bfc5e9727 100644
--- a/package/enchant/Makefile
+++ b/package/enchant/Makefile
@@ -4,12 +4,12 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= enchant
-PKG_VERSION:= 1.6.0
+PKG_VERSION:= 2.8.2
PKG_RELEASE:= 1
-PKG_HASH:= 2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f
+PKG_HASH:= 8f19535adb5577b83b00e02f330fe9b9eb40dd21f19e2899636fc4d3a7696375
PKG_DESCR:= spelling library
PKG_SECTION:= libs/misc
-PKG_SITES:= http://www.abisource.com/downloads/enchant/1.6.0/
+PKG_SITES:= https://github.com/rrthomas/enchant/releases/download/v$(PKG_VERSION)/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/package/enchant/patches/patch-src_Makefile_am b/package/enchant/patches/patch-src_Makefile_am
new file mode 100644
index 000000000..35b03b11d
--- /dev/null
+++ b/package/enchant/patches/patch-src_Makefile_am
@@ -0,0 +1,12 @@
+--- enchant-2.8.2.orig/src/Makefile.am 2024-04-25 14:23:39.000000000 +0200
++++ enchant-2.8.2/src/Makefile.am 2025-03-30 13:10:04.475913008 +0200
+@@ -13,9 +13,6 @@
+
+ AM_CPPFLAGS = -I$(top_srcdir) $(ISYSTEM)$(top_builddir)/libgnu $(ISYSTEM)$(top_srcdir)/libgnu -I$(top_srcdir)/lib $(GLIB_CFLAGS) $(WARN_CFLAGS) -DG_LOG_DOMAIN='"libenchant"'
+
+-dist_man_MANS = enchant-@ENCHANT_MAJOR_VERSION@.1 enchant-lsmod-@ENCHANT_MAJOR_VERSION@.1
+-nodist_doc_DATA = enchant-@ENCHANT_MAJOR_VERSION@.html enchant-lsmod-@ENCHANT_MAJOR_VERSION@.html
+-
+ edit = sed \
+ -e 's|@PKGDATADIR[@]|$(pkgdatadir)|g' \
+ -e 's|@SYSCONFDIR[@]|$(sysconfdir)|g'
diff --git a/package/enchant/patches/patch-src_Makefile_in b/package/enchant/patches/patch-src_Makefile_in
new file mode 100644
index 000000000..324c4016b
--- /dev/null
+++ b/package/enchant/patches/patch-src_Makefile_in
@@ -0,0 +1,22 @@
+--- enchant-2.8.2.orig/src/Makefile.in 2024-08-14 11:33:20.000000000 +0200
++++ enchant-2.8.2/src/Makefile.in 2025-04-01 05:16:13.945853550 +0200
+@@ -472,8 +472,8 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AM_CPPFLAGS = -I$(top_srcdir) $(ISYSTEM)$(top_builddir)/libgnu $(ISYSTEM)$(top_srcdir)/libgnu -I$(top_srcdir)/lib $(GLIB_CFLAGS) $(WARN_CFLAGS) -DG_LOG_DOMAIN='"libenchant"'
+-dist_man_MANS = enchant-@ENCHANT_MAJOR_VERSION@.1 enchant-lsmod-@ENCHANT_MAJOR_VERSION@.1
+-nodist_doc_DATA = enchant-@ENCHANT_MAJOR_VERSION@.html enchant-lsmod-@ENCHANT_MAJOR_VERSION@.html
++dist_man_MANS =
++nodist_doc_DATA =
+ edit = sed \
+ -e 's|@PKGDATADIR[@]|$(pkgdatadir)|g' \
+ -e 's|@SYSCONFDIR[@]|$(sysconfdir)|g'
+@@ -727,7 +727,7 @@ distdir-am: $(DISTFILES)
+ done
+ check-am: all-am
+ check: check-am
+-all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
++all-am: Makefile $(PROGRAMS) $(DATA)
+ installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \