From nobody Mon Jul 18 19:30:49 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LmsWY3TMDz4WygT; Mon, 18 Jul 2022 19:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LmsWY33MXz3jT5; Mon, 18 Jul 2022 19:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658172649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HlEYnDTxwzlOAHi+0eOmHiIyU/n7rVRaQ9Ud1XW9dXw=; b=r/3rBRsN53YTl/UV0NoejHy7CTTNiC/PEpR89fk60m6bso1MMuEEqK69tmipvOMVpnSy0f YtGBDYwNdnfpVlKmiyDK+JTJWMPek8X9bQty8YGM8OhYK7A4jELdPUQa2cxELWg5/pLs2Q GsvsHD6vtsfiWNgFee8f6yM3SU9LTQNSMtX5jcrTmtREsKufSb0UNgkupsR6edkIK6Qagk hLBjY1ZGXTBw7YkutVh+7xdO0YhTOVgtK9FltXhhwoUBvvvhn0En9Onrh/lcRrjv89VXuC DgnvWsRc5UcxwpcioYmj534W6BP9QRzHr7pycBALRZ/yovg73VnM1Uxt+A9UbA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LmsWY26PJzqrY; Mon, 18 Jul 2022 19:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26IJUnZD039026; Mon, 18 Jul 2022 19:30:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26IJUn0b039025; Mon, 18 Jul 2022 19:30:49 GMT (envelope-from git) Date: Mon, 18 Jul 2022 19:30:49 GMT Message-Id: <202207181930.26IJUn0b039025@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 4f28535bc139 - main - irc/irssi: Update to 1.4.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f28535bc139671ebb94b60de7963573eb9a6b1e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658172649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HlEYnDTxwzlOAHi+0eOmHiIyU/n7rVRaQ9Ud1XW9dXw=; b=hWB3lcj81lJd881ZBWn7VUraspxCJPTpsTJXMX9KGb8ucWnor9uPpR5AXJHw0vzOzEUufB k8ZvP8oPleCpQihis8j3WY68NKORJ7zTgfZDjJdYwsDI+PwJ1okyKcRpAhJeLeSBg9IEUY oya85OMtMG8RAl6eelBdI4dVxA5obc0ubAtCDCvRAVB1XdyEprQ7UzAs7Z8ozsKtnhzKMJ z/koq1Kl/6xxCxDX7o8GMzTq7UFj94KXFZcLOvg0uJiFItrwDj1NpPakWCi3dIScUIhFdU SWWOZaIlQIn5ubvFA4G9w1APHFFPQtzYcd3MFisNP545xH0ISi6NEOMSk4tdDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658172649; a=rsa-sha256; cv=none; b=k/7h6KCgm81Z8GkeYg4Q0+ZLya7FQB6PXsGYl0sSAxVCVRV2RfMe72sqjxuA+1/LrSJpWI 9jr9HOXtgsUskfnPqi2Mbbe1ts/ayL2yT4rOj8o7C1x5kJjoxJrhRNKKcNdCo/9qzkIXGW HJaV7NtKz6oIC5NdqxJWFGEopfc97VS02u0ROPctVkPcap50ftLIS571Gk6xcIbYSug0Xo +tnV0CgPxFMtrA0BrpJM7AY2vYKwu8WJJYsw2HtLOfY/fKY/P9vbZDNhI3Z+g5WEHMStQM ELRVE/pigcXtCa9itxB8fdqxJu9kSHnwXrC/415hkgy8UG9Unq2UyJyhEpbXDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f28535bc139671ebb94b60de7963573eb9a6b1e commit 4f28535bc139671ebb94b60de7963573eb9a6b1e Author: Daniel Engberg AuthorDate: 2022-07-18 19:28:52 +0000 Commit: Daniel Engberg CommitDate: 2022-07-18 19:29:00 +0000 irc/irssi: Update to 1.4.2 Changelog: https://github.com/irssi/irssi/releases/tag/1.4.2 PR: 265269 Reviewed by: David O'Rourke (maintainer) --- irc/irssi/Makefile | 8 +- irc/irssi/distinfo | 14 +- ...git-01-f17fb682573985656fa26bf10370b9e1d88e3bdf | 172 --------------------- 3 files changed, 4 insertions(+), 190 deletions(-) diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index fd851551ca6e..d0e3f497ee8e 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -1,15 +1,9 @@ PORTNAME= irssi -DISTVERSION= 1.4.1 +DISTVERSION= 1.4.2 PORTEPOCH= 2 CATEGORIES?= irc MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ -PATCH_SITES= https://github.com/ailin-nemui/${PORTNAME}/commit/ -PATCHFILES= 3404d822c83546b031d47a99e37ae65b887bec94.patch:-p1 \ - c6a7f02042f63d01a38e8d522cff8f5d951afd51.patch:-p1 \ - 730c3c1a12f782b92d710883f52a106e37f148e4.patch:-p1 \ - 1b6b92ffff6950ee28c1b7936f53d83988843ed4.patch:-p1 - MAINTAINER= dor.bsd@xm0.uk COMMENT= Modular IRC client with many features diff --git a/irc/irssi/distinfo b/irc/irssi/distinfo index 746a37fe436a..ac8a34157659 100644 --- a/irc/irssi/distinfo +++ b/irc/irssi/distinfo @@ -1,11 +1,3 @@ -TIMESTAMP = 1657237620 -SHA256 (irssi-1.4.1.tar.xz) = 6a7692741bba16f3ba6f97cf7246421ac57055dcedcca9a4d21663f8efe47501 -SIZE (irssi-1.4.1.tar.xz) = 1210772 -SHA256 (3404d822c83546b031d47a99e37ae65b887bec94.patch) = 685f5d758de2ea1477564bb185ef99a931d4ffaaecea3a814cfad45f8c8e5b1d -SIZE (3404d822c83546b031d47a99e37ae65b887bec94.patch) = 4113 -SHA256 (c6a7f02042f63d01a38e8d522cff8f5d951afd51.patch) = 99d529d2572af57839c00b5a866934df1cfb21e51fd1b8827ba4b2d344810c18 -SIZE (c6a7f02042f63d01a38e8d522cff8f5d951afd51.patch) = 814 -SHA256 (730c3c1a12f782b92d710883f52a106e37f148e4.patch) = cd06d9fc2404e71435779fcd44628cf195a00302d72733d19dc9a04222e28beb -SIZE (730c3c1a12f782b92d710883f52a106e37f148e4.patch) = 4124 -SHA256 (1b6b92ffff6950ee28c1b7936f53d83988843ed4.patch) = 5b9886215e1000dd66aef062e2df94de9eefdb729811405b3e6f7df7265dbf40 -SIZE (1b6b92ffff6950ee28c1b7936f53d83988843ed4.patch) = 988 +TIMESTAMP = 1658075150 +SHA256 (irssi-1.4.2.tar.xz) = 79a4765d2dfe153c440a1775b074d5d0682b96814c7cf92325b5e15ce50e26a8 +SIZE (irssi-1.4.2.tar.xz) = 1211740 diff --git a/irc/irssi/files/patch-git-01-f17fb682573985656fa26bf10370b9e1d88e3bdf b/irc/irssi/files/patch-git-01-f17fb682573985656fa26bf10370b9e1d88e3bdf deleted file mode 100644 index 8c25fafc1b89..000000000000 --- a/irc/irssi/files/patch-git-01-f17fb682573985656fa26bf10370b9e1d88e3bdf +++ /dev/null @@ -1,172 +0,0 @@ -From f17fb682573985656fa26bf10370b9e1d88e3bdf Mon Sep 17 00:00:00 2001 -From: ailin-nemui -Date: Sat, 18 Jun 2022 12:42:47 +0200 -Subject: [PATCH] Merge pull request #1387 from ailin-nemui/textbufferview - -Textbufferview - -(cherry picked from commit 783dd375339c1c98be36e277d47afdd6918d6160) ---- - src/fe-text/textbuffer-commands.c | 1 + - src/fe-text/textbuffer-view.c | 54 +++++++++++++++++++------------ - 3 files changed, 37 insertions(+), 24 deletions(-) - -diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c -index f30eab0e06..6ed7c39c51 100644 ---- src/fe-text/textbuffer-commands.c -+++ src/fe-text/textbuffer-commands.c -@@ -393,6 +393,7 @@ static void cmd_scrollback_redraw(void) - - term_refresh_freeze(); - textbuffer_view_reset_cache(gui->view); -+ textbuffer_view_resize(gui->view, gui->view->width, gui->view->height); - gui_window_redraw(active_win); - term_refresh_thaw(); - } -diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c -index 79f3522c85..2cc6ce6dde 100644 ---- src/fe-text/textbuffer-view.c -+++ src/fe-text/textbuffer-view.c -@@ -402,10 +402,9 @@ view_update_line_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) - - if (rec->count > 1) { - for (pos = 0; lines != NULL; pos++) { -- void *data = lines->data; -+ LINE_CACHE_SUB_REC *data = lines->data; - -- memcpy(&rec->lines[pos], data, -- sizeof(LINE_CACHE_SUB_REC)); -+ memcpy(&rec->lines[pos], data, sizeof(LINE_CACHE_SUB_REC)); - - lines = g_slist_remove(lines, data); - g_free(data); -@@ -427,7 +426,7 @@ static void view_remove_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line, - - cache = g_hash_table_lookup(view->cache->line_cache, line); - if (cache != NULL) { -- g_free(cache); -+ line_cache_destroy(NULL, cache); - g_hash_table_remove(view->cache->line_cache, line); - } - } -@@ -438,7 +437,7 @@ static void view_update_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line, - view_remove_cache(view, line, update_counter); - - if (view->buffer->cur_line == line) -- view->cache->last_linecount = view_get_linecount(view, line); -+ view_get_linecount(view, line); - } - - void textbuffer_view_reset_cache(TEXT_BUFFER_VIEW_REC *view) -@@ -467,6 +466,7 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line, - unichar chr; - int xpos, color, drawcount, first, need_move, need_clrtoeol, char_width; - unsigned int fg24, bg24; -+ fg24 = bg24 = UINT_MAX; - - if (view->dirty) /* don't bother drawing anything - redraw is coming */ - return 0; -@@ -767,7 +767,6 @@ static void view_unregister_indent_func(TEXT_BUFFER_VIEW_REC *view, - /* recreate cache so it won't contain references - to the indent function */ - textbuffer_view_reset_cache(view); -- view->cache = textbuffer_cache_get(view->siblings, view->width); - } - - void textbuffer_views_unregister_indent_func(INDENT_FUNC indent_func) -@@ -1033,13 +1032,17 @@ void textbuffer_view_clear(TEXT_BUFFER_VIEW_REC *view) - /* Scroll the view up/down */ - void textbuffer_view_scroll(TEXT_BUFFER_VIEW_REC *view, int lines) - { -- int count; -+ int count, ypos; - -- g_return_if_fail(view != NULL); -+ g_return_if_fail(view != NULL); -+ -+ count = view_scroll(view, &view->startline, &view->subline, lines, TRUE); -+ -+ ypos = view->ypos + (lines < 0 ? count : -count); -+ textbuffer_view_init_ypos(view); -+ if (ypos != view->ypos) -+ textbuffer_view_resize(view, view->width, view->height); - -- count = view_scroll(view, &view->startline, &view->subline, -- lines, TRUE); -- view->ypos += lines < 0 ? count : -count; - view->bottom = view_is_bottom(view); - if (view->bottom) view->more_text = FALSE; - -@@ -1079,10 +1082,10 @@ LINE_CACHE_REC *textbuffer_view_get_line_cache(TEXT_BUFFER_VIEW_REC *view, - cache = g_hash_table_lookup(view->cache->line_cache, line); - if (cache == NULL) - cache = view_update_line_cache(view, line); -- else -+ else - cache->last_access = time(NULL); - -- return cache; -+ return cache; - } - - static void view_insert_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) -@@ -1263,12 +1266,13 @@ static void view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line, - view_bookmarks_check(view, line); - - if (view->buffer->cur_line == line) { -- /* the last line is being removed */ -+ /* the last line is being removed */ - LINE_REC *prevline; - -- prevline = view->buffer->first_line == line ? NULL : -- textbuffer_line_last(view->buffer)->prev; -- view->cache->last_linecount = prevline == NULL ? 0 : -+ prevline = view->buffer->first_line == line ? -+ NULL : -+ textbuffer_line_last(view->buffer)->prev; -+ if (prevline != NULL) - view_get_linecount(view, prevline); - } - -@@ -1474,8 +1478,10 @@ void textbuffer_view_set_window(TEXT_BUFFER_VIEW_REC *view, - - if (view->window != window) { - view->window = window; -- if (window != NULL) -+ if (window != NULL) { -+ textbuffer_view_resize(view, view->width, view->height); - view->dirty = TRUE; -+ } - } - } - -@@ -1504,12 +1510,18 @@ static int line_cache_check_remove(void *key, LINE_CACHE_REC *cache, - static int sig_check_linecache(void) - { - GSList *tmp, *caches; -- time_t now; -+ time_t now; - -- now = time(NULL); caches = NULL; -+ now = time(NULL); -+ caches = NULL; - for (tmp = views; tmp != NULL; tmp = tmp->next) { - TEXT_BUFFER_VIEW_REC *rec = tmp->data; - -+ if (rec->window != NULL) { -+ /* keep visible lines mapped */ -+ view_get_lines_height(rec, rec->startline, rec->subline, NULL); -+ } -+ - if (g_slist_find(caches, rec->cache) != NULL) - continue; - -@@ -1519,7 +1531,7 @@ static int sig_check_linecache(void) - &now); - } - -- g_slist_free(caches); -+ g_slist_free(caches); - return 1; - } -