Mon Jul 24 22:21:42 2023 UTC ()
irssi-icb: update to 0.17
This changes the upstream to a fork of the previous one, with extra
commits bringing support for irssi 1.4. Besides fixing the build (and
that of meta-pkgs/bulk-small) this also:
* Adds a buildlink3.mk file to chat/irssi;
* And therefore can avoid extracting a copy of irssi to build;
* Leverages autoreconf to build without a release (git commit ID)
* Reduces the patches required to two.
This is inspired by FreeBSD's port of the same software (irc/irssi-icb).
Tested on NetBSD/amd64; reviewed by jperkin@.
(khorben)
diff -r1.34 -r1.35 pkgsrc/chat/irssi/Makefile.common
diff -r0 -r1.1 pkgsrc/chat/irssi/buildlink3.mk
diff -r1.49 -r1.50 pkgsrc/chat/irssi-icb/Makefile
diff -r1.41 -r1.42 pkgsrc/chat/irssi-icb/distinfo
diff -r1.2 -r0 pkgsrc/chat/irssi-icb/patches/patch-am
diff -r1.2 -r0 pkgsrc/chat/irssi-icb/patches/patch-an
diff -r0 -r1.1 pkgsrc/chat/irssi-icb/patches/patch-configure.ac
diff -r0 -r1.1 pkgsrc/chat/irssi-icb/patches/patch-src_core_icb-protocol.c
diff -r1.1 -r0 pkgsrc/chat/irssi-icb/patches/patch-src_core_Makefile.in
diff -r1.1 -r0 pkgsrc/chat/irssi-icb/patches/patch-src_core_icb-core.c
diff -r1.1 -r0 pkgsrc/chat/irssi-icb/patches/patch-src_fe-common_fe-icb.c
diff -r1.1 -r0 pkgsrc/chat/irssi-icb/patches/patch-src_fe-common_module-formats.c
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-am,v
anoncvs not yet been updated
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-an,v
anoncvs not yet been updated
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-src_core_Makefile.in,v
anoncvs not yet been updated
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-src_core_icb-core.c,v
anoncvs not yet been updated
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-src_fe-common_fe-icb.c,v
anoncvs not yet been updated
Tue Jul 25 07:21:42 2023
Mon Jun 26 19:37:13 2023
pkgsrc/chat/irssi-icb/patches/patch-src_fe-common_module-formats.c,v
anoncvs not yet been updated
--- pkgsrc/chat/irssi/Makefile.common 2023/05/13 13:06:46 1.34
+++ pkgsrc/chat/irssi/Makefile.common 2023/07/24 22:21:42 1.35
# $NetBSD: buildlink3.mk,v 1.1 2023/07/24 22:21:42 khorben Exp $
BUILDLINK_TREE+= irssi
.if !defined(IRSSI_BUILDLINK3_MK)
IRSSI_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.irssi+= irssi>=1.4.4
BUILDLINK_ABI_DEPENDS.irssi+= irssi>=1.4.4
BUILDLINK_PKGSRCDIR.irssi?= ../../chat/irssi
.endif # IRSSI_BUILDLINK3_MK
BUILDLINK_TREE+= -irssi
--- pkgsrc/chat/irssi-icb/Makefile 2022/07/07 16:28:55 1.49
+++ pkgsrc/chat/irssi-icb/Makefile 2023/07/24 22:21:42 1.50
--- pkgsrc/chat/irssi-icb/distinfo 2021/10/26 10:05:17 1.41
+++ pkgsrc/chat/irssi-icb/distinfo 2023/07/24 22:21:42 1.42
$NetBSD: patch-configure.ac,v 1.1 2023/07/24 22:21:42 khorben Exp $
--- configure.ac.orig 2016-06-24 06:33:59.000000000 +0000
+++ configure.ac
@@ -19,24 +19,11 @@ AC_ARG_WITH([irssi],
[],
[with_irssi=no])
-AS_IF([test "x$with_irssi" = "xno"], [
- AS_IF([test -f ../irssi-config],
- [with_irssi=".."],
- AS_IF([test -f ../irssi/irssi-config],
- [with_irssi="../.."],
- AS_IF([test -f ../../irssi/irssi-config],
- [with_irssi="../../irssi"],
- AS_ERROR([Could not determine irssi directory])))) ])
-
# fix relative paths
IRSSI_INCLUDE=`cd $with_irssi; pwd`
AC_SUBST(IRSSI_INCLUDE)
-AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"],
- [AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)]
-)
-
PKG_CHECK_MODULES(GLIB, glib-2.0)
AC_CONFIG_FILES([
$NetBSD: patch-src_core_icb-protocol.c,v 1.1 2023/07/24 22:21:42 khorben Exp $
--- src/core/icb-protocol.c.orig 2023-07-21 23:08:13.814105120 +0000
+++ src/core/icb-protocol.c
@@ -340,8 +340,8 @@ static void sig_server_connected(ICB_SER
return;
server->readtag =
- g_input_add(net_sendbuffer_handle(server->handle),
- G_INPUT_READ,
+ i_input_add(net_sendbuffer_handle(server->handle),
+ I_INPUT_READ,
(GInputFunction) icb_parse_incoming, server);
}