summaryrefslogtreecommitdiff
path: root/app-text/hunspell
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-text/hunspell
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-text/hunspell')
-rw-r--r--app-text/hunspell/Manifest1
-rw-r--r--app-text/hunspell/files/hunspell-1.7.0-tinfo.patch61
-rw-r--r--app-text/hunspell/files/hunspell-1.7.2-renameexes.patch149
-rw-r--r--app-text/hunspell/hunspell-1.7.2-r1.ebuild81
-rw-r--r--app-text/hunspell/hunspell-1.7.2.ebuild82
-rw-r--r--app-text/hunspell/metadata.xml15
6 files changed, 0 insertions, 389 deletions
diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest
deleted file mode 100644
index 6cdfe356aec2..000000000000
--- a/app-text/hunspell/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hunspell-1.7.2.tar.gz 1536202 BLAKE2B dba8b2b505a040e3a4df488f702dafe4fd226271e67a68e1c1f9c953cc86dfa6f0049d205a8c6616b779d559b82cc8595bf2b4e86ed63e3b42cc9e20b1fecc18 SHA512 49b3619bff12e111b6cc3f3d9463612b116f9b2a976896718e65f5bc4a83ece11100aaf56a4d18127ea39107446c495e12affe5ff3c9159ae8aba70e512f44ac
diff --git a/app-text/hunspell/files/hunspell-1.7.0-tinfo.patch b/app-text/hunspell/files/hunspell-1.7.0-tinfo.patch
deleted file mode 100644
index 121c53e4595e..000000000000
--- a/app-text/hunspell/files/hunspell-1.7.0-tinfo.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From b9a07b1ff100d5efeb5698d0ffe1c56935c681b8 Mon Sep 17 00:00:00 2001
-From: zimous <zimous@matfyz.cz>
-Date: Mon, 2 Sep 2019 12:46:53 +0200
-Subject: [PATCH] Fix build against ncurses with separate tinfo lib
-
-Gentoo-bug: https://bugs.gentoo.org/692614
----
- configure.ac | 22 ++++++++++++++++++----
- 1 file changed, 18 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 9426a94..958375f 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -52,11 +52,23 @@ AC_ARG_WITH(
- AS_IF([test "x$with_ui" != xno], [
- AC_CHECK_LIB([ncursesw],[tparm],[
- CURSESLIB=-lncursesw
-+ AC_CHECK_LIB([tinfow],[tgetent], [
-+ CURSESLIB="$CURSESLIB -ltinfow"
-+ ])
- ],[AC_CHECK_LIB([curses],[tparm],[
- CURSESLIB=-lcurses
-+ AC_CHECK_LIB([tinfo],[tgetent], [
-+ CURSESLIB="$CURSESLIB -ltinfo"
-+ ])
- ],[AC_CHECK_LIB([ncurses],[tparm],[
- CURSESLIB=-lncurses
-- ])])])
-+ AC_CHECK_LIB([tinfo],[tgetent], [
-+ CURSESLIB="$CURSESLIB -ltinfo"
-+ ])
-+ ],
-+ [-ltinfo])],
-+ [-ltinfo])],
-+ [-ltinfow])
- if test "$CURSESLIB" != "" ; then
- echo Compiling with curses user interface.
- AC_CHECK_HEADERS([curses.h])
-@@ -78,13 +90,15 @@ AC_ARG_WITH(
- )
- READLINELIB=""
- AS_IF([test "x$with_readline" != xno],
-- [AC_CHECK_LIB([tinfo],[tgetent], [
-+ [AC_CHECK_LIB([tinfow],[tgetent], [
-+ TERMLIB=-ltinfow
-+ ],[AC_CHECK_LIB([tinfo],[tgetent], [
- TERMLIB=-ltinfo
-- ],[AC_CHECK_LIB([curses],[tparm],[
-+ ],[AC_CHECK_LIB([curses],[tparm],[
- TERMLIB=-lncurses
- ],[AC_CHECK_LIB([termcap],[tgetent],[
- TERMLIB=-ltermcap
-- ])])])
-+ ])])])])
- LDSAVE=$LDFLAGS
- LDFLAGS="$LDFLAGS $TERMLIB"
- AC_CHECK_LIB([readline],[readline],[
---
-2.24.1
-
diff --git a/app-text/hunspell/files/hunspell-1.7.2-renameexes.patch b/app-text/hunspell/files/hunspell-1.7.2-renameexes.patch
deleted file mode 100644
index 52696b968608..000000000000
--- a/app-text/hunspell/files/hunspell-1.7.2-renameexes.patch
+++ /dev/null
@@ -1,149 +0,0 @@
-From d3e2d1d29615f4861fd3354353d426bd8701389d Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Tue, 13 Nov 2018 10:37:42 +0100
-Subject: [PATCH] Rename some executables which have too generic names
-
-to be placed in /usr/bin - this patch prefixes them with 'hunspell-'
-
-Real authorship is a bit unclear as Gentoo is using this kind of patch since
-hunspell-1.1.3 which was added to Gentoo back in 2006-01-29 and the
-corresponding bug report didn't mention the patch at all:
-
-https://bugs.gentoo.org/114482
-https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/hunspell/files/hunspell-1.1.3-renameexes.patch?hideattic=0&view=log
----
- src/tools/Makefile.am | 14 +++++++-------
- src/tools/chmorph.cxx | 6 +++---
- src/tools/munch.cxx | 4 ++--
- src/tools/unmunch.cxx | 4 ++--
- tests/Makefile.am | 2 +-
- tests/test.sh | 2 +-
- 7 files changed, 18 insertions(+), 18 deletions(-)
-
-diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
-index 1786e8e..190bffe 100644
---- a/src/tools/Makefile.am
-+++ b/src/tools/Makefile.am
-@@ -1,4 +1,4 @@
--bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip
-+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip
-
- AM_CPPFLAGS=-I${top_builddir}/src/hunspell -I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
-
-@@ -6,8 +6,8 @@ hzip_SOURCES=hzip.cxx
- hunzip_SOURCES=hunzip.cxx
- hunzip_LDADD = ../hunspell/libhunspell-1.7.la
-
--munch_SOURCES=munch.cxx munch.h
--unmunch_SOURCES=unmunch.cxx unmunch.h
-+hunspell_munch_SOURCES=munch.cxx munch.h
-+hunspell_unmunch_SOURCES=unmunch.cxx unmunch.h
-
- example_SOURCES=example.cxx
- example_LDADD = ../hunspell/libhunspell-1.7.la
-@@ -17,11 +17,11 @@ nodist_hunspell_SOURCES= ../../config.h
- hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
- ../hunspell/libhunspell-1.7.la @CURSESLIB@ @READLINELIB@
-
--analyze_SOURCES=analyze.cxx
--analyze_LDADD = ../hunspell/libhunspell-1.7.la
-+hunspell_analyze_SOURCES=analyze.cxx
-+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.7.la
-
--chmorph_SOURCES=chmorph.cxx
--chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.7.la
-+hunspell_chmorph_SOURCES=chmorph.cxx
-+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.7.la
-
- noinst_PROGRAMS=example
-
-diff --git a/src/tools/chmorph.cxx b/src/tools/chmorph.cxx
-index 6e5add6..163186d 100644
---- a/src/tools/chmorph.cxx
-+++ b/src/tools/chmorph.cxx
-@@ -55,11 +55,11 @@ int main(int, char** argv) {
- if (!argv[i]) {
- fprintf(
- stderr,
-- "chmorph - change affixes by morphological analysis and generation\n"
-- "correct syntax is:\nchmorph affix_file "
-+ "hunspell-chmorph - change affixes by morphological analysis and generation\n"
-+ "correct syntax is:\nhunspell-chmorph affix_file "
- "dictionary_file file_to_convert STRING1 STRING2\n"
- "STRINGS may be arbitrary parts of the morphological descriptions\n"
-- "example: chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
-+ "example: hunspell-chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
- " (convert informal Hungarian second person texts to formal third "
- "person texts)\n");
- exit(1);
-diff --git a/src/tools/munch.cxx b/src/tools/munch.cxx
-index 5f51fc6..c8f8beb 100644
---- a/src/tools/munch.cxx
-+++ b/src/tools/munch.cxx
-@@ -78,14 +78,14 @@ int main(int argc, char** argv) {
- wf = mystrdup(argv[1]);
- } else {
- fprintf(stderr, "correct syntax is:\n");
-- fprintf(stderr, "munch word_list_file affix_file\n");
-+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
- exit(1);
- }
- if (argv[2]) {
- af = mystrdup(argv[2]);
- } else {
- fprintf(stderr, "correct syntax is:\n");
-- fprintf(stderr, "munch word_list_file affix_file\n");
-+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
- exit(1);
- }
-
-diff --git a/src/tools/unmunch.cxx b/src/tools/unmunch.cxx
-index 82c2f9d..663e8ea 100644
---- a/src/tools/unmunch.cxx
-+++ b/src/tools/unmunch.cxx
-@@ -73,14 +73,14 @@ int main(int argc, char** argv) {
- wf = mystrdup(argv[1]);
- } else {
- fprintf(stderr, "correct syntax is:\n");
-- fprintf(stderr, "unmunch dic_file affix_file\n");
-+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
- exit(1);
- }
- if (argv[2]) {
- af = mystrdup(argv[2]);
- } else {
- fprintf(stderr, "correct syntax is:\n");
-- fprintf(stderr, "unmunch dic_file affix_file\n");
-+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
- exit(1);
- }
-
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 6dc3e93..88d882c 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -4,7 +4,7 @@ SUBDIRS = suggestiontest
-
- TEST_EXTENSIONS = .dic
- AM_TESTS_ENVIRONMENT = export HUNSPELL=$(top_builddir)/src/tools/hunspell; \
-- export ANALYZE=$(top_builddir)/src/tools/analyze; \
-+ export ANALYZE=$(top_builddir)/src/tools/hunspell-analyze; \
- export LIBTOOL=$(top_builddir)/libtool;
- DIC_LOG_COMPILER = $(top_srcdir)/tests/test.sh
-
-diff --git a/tests/test.sh b/tests/test.sh
-index 3fcf42c..8580d09 100755
---- a/tests/test.sh
-+++ b/tests/test.sh
-@@ -64,7 +64,7 @@ fi
- shopt -s expand_aliases
-
- [[ "$HUNSPELL" = "" ]] && HUNSPELL="$(dirname $0)"/../src/tools/hunspell
--[[ "$ANALYZE" = "" ]] && ANALYZE="$(dirname $0)"/../src/tools/analyze
-+[[ "$ANALYZE" = "" ]] && ANALYZE="$(dirname $0)"/../src/tools/hunspell-analyze
- [[ "$LIBTOOL" = "" ]] && LIBTOOL="$(dirname $0)"/../libtool
- alias hunspell='"$LIBTOOL" --mode=execute "$HUNSPELL"'
- alias analyze='"$LIBTOOL" --mode=execute "$ANALYZE"'
---
-2.19.1
-
diff --git a/app-text/hunspell/hunspell-1.7.2-r1.ebuild b/app-text/hunspell/hunspell-1.7.2-r1.ebuild
deleted file mode 100644
index 36fcf7449aa6..000000000000
--- a/app-text/hunspell/hunspell-1.7.2-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id is
-it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
-inherit autotools flag-o-matic
-
-DESCRIPTION="Spell checker, morphological analyzer library and command-line tool"
-HOMEPAGE="https://hunspell.github.io/"
-SRC_URI="https://github.com/hunspell/hunspell/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="ncurses nls readline static-libs"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos ~x64-solaris"
-
-RDEPEND="
- virtual/libiconv
- ncurses? ( sys-libs/ncurses:= )
- readline? ( sys-libs/readline:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=sys-devel/gettext-0.18
-"
-
-PDEPEND=""
-for lang in ${LANGS}; do
- IUSE+=" l10n_${lang}"
- case ${lang} in
- de-1901) dict="de_1901" ;;
- pt-BR) dict="pt-br" ;;
- *) dict="${lang}" ;;
- esac
- PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
-done
-unset dict lang LANGS
-
-DOCS=( AUTHORS ChangeLog NEWS THANKS license.{hunspell,myspell} README )
-
-PATCHES=(
- # Upstream package creates some executables which names are too generic
- # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
- # It modifies a Makefile.am file, hence eautoreconf.
- "${FILESDIR}/hunspell-1.7.2-renameexes.patch"
-
- "${FILESDIR}/hunspell-1.7.0-tinfo.patch" # bug #692614
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- # Missing somehow...
- [[ ${CHOST} == *-darwin* ]] && append-libs -liconv
-
- # I wanted to put the include files in /usr/include/hunspell.
- # You can do that, libreoffice can find them anywhere, just
- # ping me when you do so ; -- scarabeus
- local myeconfargs=(
- "$(use_enable nls)"
- "$(use_with ncurses ui)"
- "$(use_with readline readline)"
- "$(use_enable static-libs static)"
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${ED}" -type f -name '*.la' -delete || die
- einstalldocs
-
- # Bug #908872
- keepdir "/usr/share/myspell"
-}
diff --git a/app-text/hunspell/hunspell-1.7.2.ebuild b/app-text/hunspell/hunspell-1.7.2.ebuild
deleted file mode 100644
index 71128b1e9633..000000000000
--- a/app-text/hunspell/hunspell-1.7.2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id is
-it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
-inherit autotools flag-o-matic
-
-DESCRIPTION="Spell checker, morphological analyzer library and command-line tool"
-HOMEPAGE="https://hunspell.github.io/"
-SRC_URI="https://github.com/hunspell/hunspell/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="ncurses nls readline static-libs"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos ~x64-solaris"
-
-RDEPEND="
- ncurses? ( sys-libs/ncurses:= )
- readline? ( sys-libs/readline:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/gettext"
-
-PDEPEND=""
-for lang in ${LANGS}; do
- IUSE+=" l10n_${lang}"
- case ${lang} in
- de-1901) dict="de_1901" ;;
- pt-BR) dict="pt-br" ;;
- *) dict="${lang}" ;;
- esac
- PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
-done
-unset dict lang LANGS
-
-DOCS=( AUTHORS ChangeLog NEWS THANKS license.{hunspell,myspell} README )
-
-PATCHES=(
- # Upstream package creates some executables which names are too generic
- # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
- # It modifies a Makefile.am file, hence eautoreconf.
- "${FILESDIR}/hunspell-1.7.2-renameexes.patch"
-
- "${FILESDIR}/hunspell-1.7.0-tinfo.patch" # bug #692614
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- # Missing somehow...
- [[ ${CHOST} == *-darwin* ]] && append-libs -liconv
-
- # I wanted to put the include files in /usr/include/hunspell.
- # You can do that, libreoffice can find them anywhere, just
- # ping me when you do so ; -- scarabeus
- local myeconfargs=(
- $(use_enable nls)
- $(use_with ncurses ui)
- $(use_with readline readline)
- $(use_enable static-libs static)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- einstalldocs
-
- find "${ED}" -type f -name '*.la' -delete || die
-
- # bug #342449
- pushd "${ED}"/usr/$(get_libdir)/ >/dev/null || die
- ln -s lib${PN}{-$(ver_cut 1).$(ver_cut 2).so.0.0.1,.so} || die
- popd >/dev/null || die
-}
diff --git a/app-text/hunspell/metadata.xml b/app-text/hunspell/metadata.xml
deleted file mode 100644
index 8c5ebb71fbc5..000000000000
--- a/app-text/hunspell/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>zurabid2016@gmail.com</email>
- <name>Zurab Kvachadze</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="github">hunspell/hunspell</remote-id>
- </upstream>
-</pkgmetadata>