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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5852315802F for ; Wed, 8 Mar 2023 15:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64337E0870; Wed, 8 Mar 2023 15:29:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48E4CE0870 for ; Wed, 8 Mar 2023 15:29:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 534CD341406 for ; Wed, 8 Mar 2023 15:29:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D17B4888 for ; Wed, 8 Mar 2023 15:29:21 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1678288969.7a5ec9aba929de9e3058779243913969ac6b6ac9.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/weechat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/weechat/metadata.xml net-irc/weechat/weechat-3.8.ebuild X-VCS-Directories: net-irc/weechat/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 7a5ec9aba929de9e3058779243913969ac6b6ac9 X-VCS-Branch: master Date: Wed, 8 Mar 2023 15:29:21 +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: d0ac51a6-07dd-4654-9b4c-66a6b98b42fc X-Archives-Hash: ab15e0da5e702adefd6d47cd08d77fd6 commit: 7a5ec9aba929de9e3058779243913969ac6b6ac9 Author: Ryan Qian bitbili net> AuthorDate: Sun Feb 26 09:05:23 2023 +0000 Commit: Matthew Smith gentoo org> CommitDate: Wed Mar 8 15:22:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5ec9ab net-irc/weechat: add new USE flag 'enchant' for spell checker plugin Version 3.8 already has compile support for enchant-2, both enchant and enchant-2 now work well for Spell checker plugin. Signed-off-by: Ryan Qian bitbili.net> Closes: https://github.com/gentoo/gentoo/pull/29802 Acked-by: Zoltan Puskas sinustrom.info> Signed-off-by: Matthew Smith gentoo.org> net-irc/weechat/metadata.xml | 1 + net-irc/weechat/weechat-3.8.ebuild | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/net-irc/weechat/metadata.xml b/net-irc/weechat/metadata.xml index d2ef9242b266..f8a6ae8d9289 100644 --- a/net-irc/weechat/metadata.xml +++ b/net-irc/weechat/metadata.xml @@ -13,6 +13,7 @@ Enable plugin for alias control Enable buflist plugin Enable encoding conversions + Enable spell checker plugin via Enchant instead of GNU Aspell Enable exec plugin Enable fast set plugin Enable FIFO support (sh pipes) diff --git a/net-irc/weechat/weechat-3.8.ebuild b/net-irc/weechat/weechat-3.8.ebuild index 12b8e8a9bda7..a10572d3f909 100644 --- a/net-irc/weechat/weechat-3.8.ebuild +++ b/net-irc/weechat/weechat-3.8.ebuild @@ -32,9 +32,10 @@ PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spe # dev-lang/php eclass support is lacking, php plugins don't work. bug #705702 SCRIPT_LANGS="guile lua +perl +python ruby tcl" LANGS=" cs de es fr it ja pl ru" -IUSE="doc man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" +IUSE="doc enchant man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" REQUIRED_USE=" + enchant? ( spell ) lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} ) test? ( nls ) @@ -61,7 +62,10 @@ RDEPEND=" ) ) selinux? ( sec-policy/selinux-irc ) - spell? ( app-text/aspell ) + spell? ( + enchant? ( app-text/enchant:* ) + !enchant? ( app-text/aspell ) + ) tcl? ( >=dev-lang/tcl-8.4.15:0= ) " @@ -136,6 +140,7 @@ src_configure() { -DENABLE_BUFLIST=$(usex buflist) -DENABLE_CHARSET=$(usex charset) -DENABLE_DOC=$(usex doc) + -DENABLE_ENCHANT=$(usex enchant) -DENABLE_EXEC=$(usex exec) -DENABLE_FIFO=$(usex fifo) -DENABLE_FSET=$(usex fset)