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 CA0E7138334 for ; Tue, 12 Feb 2019 17:05:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA0F1E084E; Tue, 12 Feb 2019 17:05:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8AF4DE084E for ; Tue, 12 Feb 2019 17:05:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3A79C33F698 for ; Tue, 12 Feb 2019 17:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF9DA53E for ; Tue, 12 Feb 2019 17:05:32 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1549991117.b0a9e5897fb7e5181783e3684894f5babe93eaad.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/, net-irc/irssi/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch net-irc/irssi/irssi-1.2.0-r1.ebuild X-VCS-Directories: net-irc/irssi/ net-irc/irssi/files/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: b0a9e5897fb7e5181783e3684894f5babe93eaad X-VCS-Branch: master Date: Tue, 12 Feb 2019 17:05:32 +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: 85d639b4-a9fa-4767-87a1-fec6b1e6cc4f X-Archives-Hash: ecd18a5c15be1718741c32da9cfb5888 commit: b0a9e5897fb7e5181783e3684894f5babe93eaad Author: Mikle Kolyada gentoo org> AuthorDate: Tue Feb 12 17:03:17 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Tue Feb 12 17:05:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a9e589 net-irc/irssi: fix libutf8proc header location Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../irssi-1.2.0-fix-libutf8proc-include.patch | 25 ++++++++ net-irc/irssi/irssi-1.2.0-r1.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch b/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch new file mode 100644 index 00000000000..019c2660eec --- /dev/null +++ b/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch @@ -0,0 +1,25 @@ +From 138596d84dfa060b5d035b96e7d1a57a7cbcd7b0 Mon Sep 17 00:00:00 2001 +From: Mikle Kolyada +Date: Tue, 12 Feb 2019 19:38:36 +0300 +Subject: [PATCH] wcwidth-wrapper.c: fix libutf8proc include path + +--- + src/core/wcwidth-wrapper.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/wcwidth-wrapper.c b/src/core/wcwidth-wrapper.c +index 03d0dc0c..b0df662f 100644 +--- a/src/core/wcwidth-wrapper.c ++++ b/src/core/wcwidth-wrapper.c +@@ -27,7 +27,7 @@ + #include "utf8.h" + + #ifdef HAVE_LIBUTF8PROC +-#include ++#include + #endif + + /* wcwidth=2 since unicode 5.2.0 */ +-- +2.19.2 + diff --git a/net-irc/irssi/irssi-1.2.0-r1.ebuild b/net-irc/irssi/irssi-1.2.0-r1.ebuild new file mode 100644 index 00000000000..dd02f3d769d --- /dev/null +++ b/net-irc/irssi/irssi-1.2.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GENTOO_DEPEND_ON_PERL="no" + +inherit ltprune perl-module + +# Keep for _rc compability +MY_P="${P/_/-}" + +DESCRIPTION="A modular textUI IRC client with IPv6 support" +HOMEPAGE="https://irssi.org/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="otr +perl selinux socks5 +proxy libressl" + +COMMON_DEPEND=" + sys-libs/ncurses:0= + >=dev-libs/glib-2.6.0 + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + otr? ( >=dev-libs/libgcrypt-1.2.0:0= + >=net-libs/libotr-4.1.0 ) + perl? ( dev-lang/perl:= ) + socks5? ( >=net-proxy/dante-1.1.18 )" + +DEPEND=" + ${COMMON_DEPEND} + virtual/pkgconfig" + +RDEPEND=" + ${COMMON_DEPEND} + dev-libs/libutf8proc + selinux? ( sec-policy/selinux-irc ) + perl? ( !net-im/silc-client )" + +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-fix-libutf8proc-include.patch + if has_version '>=dev-libs/libressl-2.7.3'; then + eapply "${FILESDIR}"/libressl.patch + fi +} + +src_configure() { + econf \ + --with-perl-lib=vendor \ + --enable-true-color \ + $(use_with otr) \ + $(use_with proxy) \ + $(use_with perl) \ + $(use_with socks5 socks) +} + +src_install() { + default + use perl && perl_delete_localpod + prune_libtool_files --modules +}