From 0735b7c70f35339a20b45aee2a0a0ad80d118550 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Jul 2023 04:15:42 +0100 Subject: gentoo auto-resync : 07:07:2023 - 04:15:41 --- net-irc/irssi/Manifest | 4 +- ...irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch | 43 +++++++++++++ net-irc/irssi/irssi-1.4.4-r1.ebuild | 72 ++++++++++++++++++++++ net-irc/irssi/irssi-9999.ebuild | 4 ++ 4 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch create mode 100644 net-irc/irssi/irssi-1.4.4-r1.ebuild (limited to 'net-irc/irssi') diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest index 2203d6d5bec8..021b7b4c0f11 100644 --- a/net-irc/irssi/Manifest +++ b/net-irc/irssi/Manifest @@ -1,4 +1,6 @@ +AUX irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch 1115 BLAKE2B f5d6b1da6d0978b412437f65fe8eaeb99d9f31493050641b6c0780cc17ccc717b3e51799a7008716573236df86218c8f28a434ee193be340d57d6f8a329028d8 SHA512 2d6aeeef705fe2268c629c2a778aabce8260957e288a900af2596396bc0149eeb3dbba644e13b985e5b78a27cd48bfdb8ff1bcb063c8f060aab3527d8cf455f6 DIST irssi-1.4.4.tar.xz 1213784 BLAKE2B 5b77ca692130a87228eea05f9a8d2da65a7c483e031d8c12dbd29bb9cd629444aae28bc3ffe0dc862891f59047997a323cea3b4d9d388573d4f06b569abbf950 SHA512 da28ac7a527be301d0615d6d733e4cf4e09bb6d4f5c70bc33ff70e22439a01f197bb5d91b4432ca74d3ac2dbb3235f30d53efc63a4279de8664923c2ccdbdbea +EBUILD irssi-1.4.4-r1.ebuild 1547 BLAKE2B 7e44e57eb345713c8756933555be1c35c512396d210b261b8730047ef665ded91b8d25eb7dec4130157ffef8041209c30d4077a8fb21f1d00f5fa89c2db00ff7 SHA512 698d7e2956c709040319423269a3b459f56e686574b27fed73e093cf9debaa49bbf23c5de3081fbc835e02d3ccb721a257608b2bdc0b8ec5552a7480eaad0d46 EBUILD irssi-1.4.4.ebuild 1470 BLAKE2B f4bc0dd1153af7d877b821c1947d37cdc673c3b4906a49e933838b2f9f39cbf8effef86feee50506cfe154fbe041277fa96ff05b67c6fa547275995218bcafc3 SHA512 ee466dc69cbca650165b365e5458c6be2b2e92d0e3b791a2ec7d066ca2f5927954d3a54b07a8458def80c644fc38c56c695927334b18fa1d3197d77677870c98 -EBUILD irssi-9999.ebuild 1478 BLAKE2B 91eb5e40169f18737592c068145b073c6149bfe129a38c4a937808d4606feeef069948cb24ba589d7811e9b84f7f06742b5ac6bc60a402c27dbf402a698fd356 SHA512 0ad5313a4cd76e7fb25cd76c6782e94e82dac2f6deb6651ba8227e7ba2790dcc251d67f5bbcc6f6306898decad727c9ec881ccbe3c38e9bd2c1b9c7bb1f057d2 +EBUILD irssi-9999.ebuild 1550 BLAKE2B 3b7d813f9724d2e7c504ebf43f4112f33d200304fa5d05bdd8cd52139154c8ae7d7d8ffefae3215811c674b66f998ce10ffe9af7560d8161bd6588b4deed0cd2 SHA512 75ac58dd5b92803203d1f9d1d3907128178cb04597af3ba022fa87e8d66fd2717edb9c702305223fb0f2aa040b9f0654586d85701957584d3b75bc578f9df501 MISC metadata.xml 593 BLAKE2B 869f0327264b4d69859afdab67f120897d76cbecd35669023075ea276b7f1ccfcfe1148d8ef0ddd9e5cc00aaa2cd785c32f237772afbee0a717a9c378bd81dbd SHA512 e985b1c654fa7e91d5f271403c062eedc71e749da0beb9a8a3eb29254553a7c466158bc737b7c62e9377baab96fdc828cb6841991a06c4d03f747d952bb20f05 diff --git a/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch b/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch new file mode 100644 index 000000000000..517618e15098 --- /dev/null +++ b/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch @@ -0,0 +1,43 @@ +https://patch-diff.githubusercontent.com/raw/irssi/irssi/pull/1474.patch +From: Ailin Nemui +Date: Tue, 4 Jul 2023 10:27:09 +0200 +Subject: [PATCH] fix usage of $type in ExtUtils::ParseXS 3.50 + +--- a/src/perl/common/typemap ++++ b/src/perl/common/typemap +@@ -28,5 +28,5 @@ T_IrssiObj + $arg = iobject_bless((SERVER_REC *)$var); + + T_PlainObj +- $arg = plain_bless($var, \"$type\"); ++ $arg = plain_bless($var, \"$ntype\"); + +--- a/src/perl/irc/typemap ++++ b/src/perl/irc/typemap +@@ -36,5 +36,5 @@ T_DccObj + $arg = simple_iobject_bless((DCC_REC *)$var); + + T_PlainObj +- $arg = plain_bless($var, \"$type\"); ++ $arg = plain_bless($var, \"$ntype\"); + +--- a/src/perl/textui/typemap ++++ b/src/perl/textui/typemap +@@ -18,7 +18,7 @@ T_BufferLineWrapper + OUTPUT + + T_PlainObj +- $arg = plain_bless($var, \"$type\"); ++ $arg = plain_bless($var, \"$ntype\"); + + T_BufferLineWrapper + $arg = perl_buffer_line_bless($var); +--- a/src/perl/ui/typemap ++++ b/src/perl/ui/typemap +@@ -13,5 +13,5 @@ T_PlainObj + OUTPUT + + T_PlainObj +- $arg = plain_bless($var, \"$type\"); ++ $arg = plain_bless($var, \"$ntype\"); + diff --git a/net-irc/irssi/irssi-1.4.4-r1.ebuild b/net-irc/irssi/irssi-1.4.4-r1.ebuild new file mode 100644 index 000000000000..0a53a51c01ca --- /dev/null +++ b/net-irc/irssi/irssi-1.4.4-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GENTOO_DEPEND_ON_PERL="no" +inherit perl-module meson + +DESCRIPTION="A modular textUI IRC client with IPv6 support" +HOMEPAGE="https://irssi.org/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + # Keep for _rc compability + MY_P="${P/_/-}" + + SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="otr +perl selinux +proxy" + +RDEPEND=" + >=dev-libs/glib-2.6.0 + dev-libs/openssl:= + sys-libs/ncurses:= + otr? ( + >=dev-libs/libgcrypt-1.2.0:= + >=net-libs/libotr-4.1.0 + ) + perl? ( dev-lang/perl:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/perl + virtual/pkgconfig" +RDEPEND+=" selinux? ( sec-policy/selinux-irc )" + +PATCHES=( + "${FILESDIR}"/${P}-fix-usage-of-type-in-ExtUtils.patch +) + +src_configure() { + local emesonargs=( + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + -Dwith-perl-lib=vendor + -Dwith-otr=$(usex otr) + -Dwith-proxy=$(usex proxy) + -Dwith-perl=$(usex perl) + + # Carried over from autotools (for now?), bug #677804 + -Ddisable-utf8proc=yes + -Dwith-fuzzer=no + -Dinstall-glib=no + ) + + meson_src_configure +} + +src_test() { + # We don't want perl-module's src_test + meson_src_test +} + +src_install() { + meson_src_install + + use perl && perl_delete_localpod +} diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild index 40772b5198b3..c5cc0db2269a 100644 --- a/net-irc/irssi/irssi-9999.ebuild +++ b/net-irc/irssi/irssi-9999.ebuild @@ -39,6 +39,10 @@ BDEPEND="dev-lang/perl virtual/pkgconfig" RDEPEND+=" selinux? ( sec-policy/selinux-irc )" +PATCHES=( + "${FILESDIR}/${PN}-fix-usage-of-\$type-in-ExtUtils.patch" +) + src_configure() { local emesonargs=( -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} -- cgit v1.2.3