From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0BB1138335 for ; Tue, 12 Mar 2019 11:46:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B21FCE0995; Tue, 12 Mar 2019 11:46:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BFB8E0995 for ; Tue, 12 Mar 2019 11:46:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A7EC335CE9 for ; Tue, 12 Mar 2019 11:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95DAC517 for ; Tue, 12 Mar 2019 11:46:14 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1552391090.3ccd9aa1149fdebc3a2ec1a7f7d969afe4b2fd77.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/enchant/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/enchant/enchant-1.6.1-r1.ebuild X-VCS-Directories: app-text/enchant/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 3ccd9aa1149fdebc3a2ec1a7f7d969afe4b2fd77 X-VCS-Branch: master Date: Tue, 12 Mar 2019 11:46:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e4e7928b-4c77-4ee9-8957-44664d7bffe6 X-Archives-Hash: 29d68f0c01407815db803ec800cfcbae commit: 3ccd9aa1149fdebc3a2ec1a7f7d969afe4b2fd77 Author: Mart Raudsepp gentoo org> AuthorDate: Tue Mar 12 11:33:51 2019 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Tue Mar 12 11:44:50 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ccd9aa1 app-text/enchant: really disable zemberek provider to avoid crashes Something trips up GSource iteration in main context with the zemberek provider. As we don't have zemberek-server anymore, just make sure it is not build wrongly due to configure bugs. Bug: https://bugs.gentoo.org/662484 Closes: https://bugs.gentoo.org/675908 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp gentoo.org> app-text/enchant/enchant-1.6.1-r1.ebuild | 59 ++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/app-text/enchant/enchant-1.6.1-r1.ebuild b/app-text/enchant/enchant-1.6.1-r1.ebuild new file mode 100644 index 00000000000..394541586a7 --- /dev/null +++ b/app-text/enchant/enchant-1.6.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit versionator + +MY_PV="$(replace_all_version_separators '-')" +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://abiword.github.io/enchant/" +SRC_URI="https://github.com/AbiWord/enchant/releases/download/${PN}-${MY_PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" + +IUSE="aspell +hunspell static-libs test" +REQUIRED_USE="|| ( hunspell aspell )" + +# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 +COMMON_DEPENDS=" + >=dev-libs/glib-2.6:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= )" +RDEPEND="${COMMON_DEPENDS}" + +DEPEND="${COMMON_DEPENDS} + virtual/pkgconfig +" +# test? ( dev-libs/unittest++ ) + +DOCS="AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-hunspell150_fix.patch +) + +src_prepare() { + default + sed -e "/SUBDIRS/ s/unittests//" -i "${S}"/Makefile.{am,in} || die + sed -e "s/build_zemberek=yes//" -i "${S}"/configure{.ac,} || die # bug 662484, shouldn't be an issue in 2.2 +} + +src_configure() { + econf \ + $(use_enable aspell) \ + $(use_enable hunspell myspell) \ + $(use_enable static-libs static) \ + --disable-hspell \ + --disable-ispell \ + --disable-uspell \ + --disable-voikko \ + --disable-zemberek \ + --with-myspell-dir="${EPREFIX}"/usr/share/myspell/ +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}