public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/aspell/
Date: Fri, 12 Mar 2021 22:31:20 +0000 (UTC)	[thread overview]
Message-ID: <1615588112.4e2a96c5baf12681d7e74a3fb37d7ff9852ac45e.conikost@gentoo> (raw)

commit:     4e2a96c5baf12681d7e74a3fb37d7ff9852ac45e
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 22:59:50 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 22:28:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2a96c5

app-text/aspell: add more languages

Also slightly overhauled whole ebuild and removed old non-existent
blockers.

Closing #646650, as this qa warning does not trigger for me and
references an older version.

Taking ownership.

Closes: https://bugs.gentoo.org/646650
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-text/aspell/aspell-0.60.8-r1.ebuild | 112 ++++++++++++++++++++++++++++++++
 app-text/aspell/metadata.xml            |   5 +-
 2 files changed, 116 insertions(+), 1 deletion(-)

diff --git a/app-text/aspell/aspell-0.60.8-r1.ebuild b/app-text/aspell/aspell-0.60.8-r1.ebuild
new file mode 100644
index 00000000000..70e130e54c3
--- /dev/null
+++ b/app-text/aspell/aspell-0.60.8-r1.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic libtool toolchain-funcs
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="Free and Open Source spell checker designed to replace Ispell"
+HOMEPAGE="http://aspell.net/"
+SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+IUSE="nls unicode"
+
+# All available language app-dicts/aspell-* packages.
+LANGUAGES=( af am ar ast az be bg bn br ca cs csb cy da de de-1901 el en eo es et fa
+	fi fo fr fy ga gd gl grc gu gv he hi hil hr hsb hu hus hy ia id is it kn ku
+	ky la lt lv mg mi mk ml mn mr ms mt nb nds nl nn no ny or pa pl pt-PT pt-BR
+	qu ro ru rw sc sk sl sr sv sw ta te tet tk tl tn tr uk uz vi wa yi zu
+)
+
+for LANG in ${LANGUAGES[@]}; do
+	IUSE+=" l10n_${LANG}"
+
+	case ${LANG} in
+		de-1901)
+			DICT="de-alt"
+			;;
+		pt-BR)
+			DICT="pt-br"
+			;;
+		pt-PT)
+			DICT="pt"
+			;;
+		*)
+			DICT="${LANG}"
+			;;
+	esac
+
+	PDEPEND+=" l10n_${LANG}? ( app-dicts/aspell-${DICT} )"
+done
+unset DICT LANG LANGUAGES
+
+RDEPEND="
+	sys-libs/ncurses:0=[unicode?]
+	nls? ( virtual/libintl )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+
+HTML_DOCS=( manual/aspell{,-dev}.html )
+
+PATCHES=(
+	"${FILESDIR}/${PN}-0.60.5-nls.patch"
+	"${FILESDIR}/${PN}-0.60.5-solaris.patch"
+	"${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch"
+	"${FILESDIR}/${PN}-0.60.6.1-clang.patch"
+	"${FILESDIR}/${PN}-0.60.6.1-unicode.patch"
+)
+
+src_prepare() {
+	default
+
+	rm m4/lt* m4/libtool.m4 || die
+	eautoreconf
+	elibtoolize --reverse-deps
+
+	# Parallel install of libtool libraries doesn't always work.
+	# https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html
+	# This has to be after automake has run so that we don't clobber
+	# the default target that automake creates for us.
+	echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die
+
+	# The unicode patch breaks on Darwin as NCURSES_WIDECHAR won't get set any more.
+	[[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && append-cppflags -DNCURSES_WIDECHAR=1
+}
+
+src_configure() {
+	local myeconfargs=(
+		--disable-static
+		$(use_enable nls)
+		$(use_enable unicode)
+		--sysconfdir="${EPREFIX}"/etc/aspell
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	docinto examples
+	dodoc "${S}"/examples/*.c
+
+	# Install Aspell/Ispell compatibility scripts.
+	newbin scripts/ispell ispell-aspell
+	newbin scripts/spell spell-aspell
+
+	# As static build has been disabled,
+	# all .la files can be deleted unconditionally.
+	find "${ED}" -type f -name '*.la' -delete || die
+}

diff --git a/app-text/aspell/metadata.xml b/app-text/aspell/metadata.xml
index 7a38bb90096..3e3880cf105 100644
--- a/app-text/aspell/metadata.xml
+++ b/app-text/aspell/metadata.xml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>conikost@gentoo.org</email>
+		<name>Conrad Kostecki</name>
+	</maintainer>
 </pkgmetadata>


             reply	other threads:[~2021-03-12 22:31 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 22:31 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  9:05 [gentoo-commits] repo/gentoo:master commit in: app-text/aspell/ Arthur Zamarin
2024-08-26  6:28 Sam James
2024-08-26  6:28 Sam James
2024-08-26  6:28 Sam James
2024-08-26  6:28 Sam James
2024-08-26  6:28 Sam James
2024-08-26  6:28 Sam James
2024-02-22 20:33 Arthur Zamarin
2024-02-02  1:02 Sam James
2024-01-24  7:31 Sam James
2024-01-24  7:31 Sam James
2024-01-24  6:35 Sam James
2024-01-24  6:16 Sam James
2024-01-24  6:16 Sam James
2023-12-23 21:51 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2022-05-19  7:17 WANG Xuerui
2021-07-20 23:28 Conrad Kostecki
2021-04-22 20:19 Sam James
2021-04-12  1:32 Sam James
2021-04-12  1:27 Sam James
2020-03-15 21:15 Thomas Deutschmann
2020-03-13  9:26 Mart Raudsepp
2020-03-08  9:58 Sergei Trofimovich
2020-03-04  8:07 Agostino Sarubbo
2020-03-03 15:14 Agostino Sarubbo
2020-03-03 13:41 Agostino Sarubbo
2020-03-03 12:40 Agostino Sarubbo
2020-03-03 12:39 Agostino Sarubbo
2020-03-03 12:36 Agostino Sarubbo
2020-03-03 11:46 Agostino Sarubbo
2020-03-03 11:08 Agostino Sarubbo
2019-10-13 18:43 Lars Wendler
2019-07-30  0:29 Lars Wendler
2019-07-20 19:34 Lars Wendler
2018-12-29 17:32 Anthony G. Basile
2018-06-07 13:48 Mikle Kolyada
2018-04-05  6:08 Sergei Trofimovich
2018-02-02 23:36 Michael Palimaka
2018-02-02 23:36 Michael Palimaka
2018-01-29  8:22 Tobias Klausmann
2018-01-22 18:24 Markus Meier
2018-01-05 16:36 Ulrich Müller
2017-12-19  5:16 Jason Zaman
2017-12-11 20:54 Sergei Trofimovich
2017-12-10 22:59 Sergei Trofimovich
2017-12-09 19:02 Sergei Trofimovich
2017-10-03  9:26 Fabian Groffen
2017-01-30 10:22 Lars Wendler
2017-01-30 10:22 Lars Wendler
2017-01-02  9:54 Agostino Sarubbo
2016-12-20 14:30 Tobias Klausmann
2016-10-29 13:38 David Seifert
2016-10-25 22:40 Kristian Fiskerstrand
2016-10-05 18:56 Markus Meier
2016-10-01 13:59 Jeroen Roovers
2016-09-26 15:22 Tobias Klausmann
2016-06-24 21:21 Ulrich Müller
2016-05-06  1:25 Ulrich Müller
2015-12-25 16:57 Michael Palimaka
2015-12-19 19:00 Patrice Clement
2015-08-20 12:23 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615588112.4e2a96c5baf12681d7e74a3fb37d7ff9852ac45e.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox