* [PR PATCH] enchant2: update to 2.8.2.
@ 2025-01-10 19:57 icp1994
2025-01-10 20:15 ` icp1994
2025-01-12 18:29 ` leahneukirchen
0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2025-01-10 19:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages enchant2
https://github.com/void-linux/void-packages/pull/53920
enchant2: update to 2.8.2.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/53920.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-enchant2-53920.patch --]
[-- Type: text/x-diff, Size: 4734 bytes --]
From 3565b517e82bb3d82a1df3dc4d8c5760740dd80e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 5 Nov 2024 12:42:00 +0530
Subject: [PATCH] enchant2: update to 2.8.2.
split respective bindings into separate subpackages
---
srcpkgs/enchant2-aspell | 1 +
srcpkgs/enchant2-hunspell | 1 +
srcpkgs/enchant2-nuspell | 1 +
srcpkgs/enchant2-voikko | 1 +
srcpkgs/enchant2/template | 63 +++++++++++++++++++++++++++++----------
srcpkgs/libenchant2 | 1 +
6 files changed, 53 insertions(+), 15 deletions(-)
create mode 120000 srcpkgs/enchant2-aspell
create mode 120000 srcpkgs/enchant2-hunspell
create mode 120000 srcpkgs/enchant2-nuspell
create mode 120000 srcpkgs/enchant2-voikko
create mode 120000 srcpkgs/libenchant2
diff --git a/srcpkgs/enchant2-aspell b/srcpkgs/enchant2-aspell
new file mode 120000
index 00000000000000..de6f1dfe3aebb7
--- /dev/null
+++ b/srcpkgs/enchant2-aspell
@@ -0,0 +1 @@
+enchant2
\ No newline at end of file
diff --git a/srcpkgs/enchant2-hunspell b/srcpkgs/enchant2-hunspell
new file mode 120000
index 00000000000000..de6f1dfe3aebb7
--- /dev/null
+++ b/srcpkgs/enchant2-hunspell
@@ -0,0 +1 @@
+enchant2
\ No newline at end of file
diff --git a/srcpkgs/enchant2-nuspell b/srcpkgs/enchant2-nuspell
new file mode 120000
index 00000000000000..de6f1dfe3aebb7
--- /dev/null
+++ b/srcpkgs/enchant2-nuspell
@@ -0,0 +1 @@
+enchant2
\ No newline at end of file
diff --git a/srcpkgs/enchant2-voikko b/srcpkgs/enchant2-voikko
new file mode 120000
index 00000000000000..de6f1dfe3aebb7
--- /dev/null
+++ b/srcpkgs/enchant2-voikko
@@ -0,0 +1 @@
+enchant2
\ No newline at end of file
diff --git a/srcpkgs/enchant2/template b/srcpkgs/enchant2/template
index 8055c1c7bb3954..5e584ac87c2b04 100644
--- a/srcpkgs/enchant2/template
+++ b/srcpkgs/enchant2/template
@@ -1,31 +1,64 @@
# Template file for 'enchant2'
pkgname=enchant2
-version=2.6.4
+version=2.8.2
revision=1
build_style=gnu-configure
-# tests need --enable-relocatable
-configure_args="--enable-relocatable"
+configure_args="--disable-static"
hostmakedepends="pkg-config groff"
-makedepends="libglib-devel hunspell-devel aspell-devel libvoikko-devel
- libnuspell-devel icu-devel"
-checkdepends="unittest-cpp"
+makedepends="libglib-devel hunspell-devel aspell-devel libnuspell-devel libvoikko-devel"
short_desc="Generic spell checking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
-homepage="https://abiword.github.io/enchant/"
-changelog="https://raw.githubusercontent.com/AbiWord/enchant/master/NEWS"
-distfiles="https://github.com/AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
-checksum=833b4d5600dbe9ac867e543aac6a7a40ad145351495ca41223d4499d3ddbbd2c
+homepage="https://rrthomas.github.io/enchant/"
+changelog="https://raw.githubusercontent.com/rrthomas/enchant/refs/heads/master/NEWS"
+distfiles="https://github.com/rrthomas/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
+checksum=8f19535adb5577b83b00e02f330fe9b9eb40dd21f19e2899636fc4d3a7696375
make_check=no # tests broken
-enchant2-devel_package() {
- depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+libenchant2_package() {
+ depends="libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
- vmove "usr/lib/*.a"
- vmove "usr/lib/enchant-2/*.a"
- vmove "usr/lib/*.so"
+ vmove "usr/lib/libenchant-2.*"
vmove usr/lib/pkgconfig
}
}
+
+enchant2-hunspell_package() {
+ depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - hunspell provider"
+ pkg_install() {
+ vmove "usr/lib/enchant-2/enchant_hunspell.so"
+ }
+}
+
+enchant2-aspell_package() {
+ depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - aspell provider"
+ pkg_install() {
+ vmove "usr/lib/enchant-2/enchant_aspell.so"
+ }
+}
+
+enchant2-nuspell_package() {
+ depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - nuspell provider"
+ pkg_install() {
+ vmove "usr/lib/enchant-2/enchant_nuspell.so"
+ }
+}
+
+enchant2-voikko_package() {
+ depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - voikko provider"
+ pkg_install() {
+ vmove "usr/lib/enchant-2/enchant_voikko.so"
+ }
+}
+
+enchant2-devel_package() {
+ depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - transitional meta package"
+ build_style=meta
+}
diff --git a/srcpkgs/libenchant2 b/srcpkgs/libenchant2
new file mode 120000
index 00000000000000..de6f1dfe3aebb7
--- /dev/null
+++ b/srcpkgs/libenchant2
@@ -0,0 +1 @@
+enchant2
\ No newline at end of file
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enchant2: update to 2.8.2.
2025-01-10 19:57 [PR PATCH] enchant2: update to 2.8.2 icp1994
@ 2025-01-10 20:15 ` icp1994
2025-01-12 18:29 ` leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2025-01-10 20:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/53920#issuecomment-2583968676
Comment:
This is somewhat of a moderate size refactor but the package doesn't have a maintainer to ping. @leahneukirchen if you are interested ...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enchant2: update to 2.8.2.
2025-01-10 19:57 [PR PATCH] enchant2: update to 2.8.2 icp1994
2025-01-10 20:15 ` icp1994
@ 2025-01-12 18:29 ` leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2025-01-12 18:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/53920#issuecomment-2585861134
Comment:
sgtm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-12 18:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-10 19:57 [PR PATCH] enchant2: update to 2.8.2 icp1994
2025-01-10 20:15 ` icp1994
2025-01-12 18:29 ` leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).