Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2024 18:03:40 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 82ae7cb22779 - main - chinese/tin: Remove port
Message-ID:  <202407141803.46EI3eQn076009@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82ae7cb22779a58369e746d7a69a5b7b5ac0979c

commit 82ae7cb22779a58369e746d7a69a5b7b5ac0979c
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-07-14 17:59:24 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-07-14 18:03:27 +0000

    chinese/tin: Remove port
    
    Unmaintained in tree for years and has failed to build (patch stage) for
    months
---
 MOVED                            |  1 +
 chinese/Makefile                 |  1 -
 chinese/tin/Makefile             | 18 ------------------
 chinese/tin/files/patch-attrib.c | 12 ------------
 chinese/tin/files/patch-cook.c   | 15 ---------------
 chinese/tin/files/patch-init.c   | 16 ----------------
 chinese/tin/files/patch-mail.c   | 14 --------------
 7 files changed, 1 insertion(+), 76 deletions(-)

diff --git a/MOVED b/MOVED
index 462171a0d466..5d0d02c8f5f7 100644
--- a/MOVED
+++ b/MOVED
@@ -3389,3 +3389,4 @@ sysutils/datadog-agent||2024-07-13|Has expired: Unfetchable and marked BROKEN fo
 converters/i18ntools||2024-07-13|Has expired: Depends on expired converters/tuc
 converters/tuc||2024-07-13|Has expired: Dead upstream and unfetchable
 sysutils/ipfs-go|sysutils/kubo-go|2024-07-13|Project was renamed upstream
+chinese/tin||2024-07-14|Removed, unmaintained and broken for months
diff --git a/chinese/Makefile b/chinese/Makefile
index 35df61a350cf..659a9cf045e6 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -126,7 +126,6 @@
     SUBDIR += sourcehanserif-sc-otf
     SUBDIR += sourcehanserif-tc-otf
     SUBDIR += taipeisanstc
-    SUBDIR += tin
     SUBDIR += tintin++
     SUBDIR += ttf2pt1
     SUBDIR += ttfm
diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile
deleted file mode 100644
index 0a56fbf8f593..000000000000
--- a/chinese/tin/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-CATEGORIES=	chinese
-
-MAINTAINER=	ports@FreeBSD.org
-
-CONFLICTS_INSTALL=	tin # bin/metamutt
-
-EXTRA_PATCHES=	${.CURDIR}/files/patch-attrib.c \
-		${.CURDIR}/files/patch-cook.c \
-		${.CURDIR}/files/patch-mail.c \
-		${.CURDIR}/files/patch-init.c
-
-MASTERDIR=	${.CURDIR}/../../news/tin
-
-post-patch: post-patch-zh
-post-patch-zh:
-	${REINPLACE_CMD} -e 's,iso-8859-1,Big5,g' ${WRKSRC}/doc/tin.defaults
-
-.include "${MASTERDIR}/Makefile"
diff --git a/chinese/tin/files/patch-attrib.c b/chinese/tin/files/patch-attrib.c
deleted file mode 100644
index aeb8b3e27145..000000000000
--- a/chinese/tin/files/patch-attrib.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/attrib.c.orig	2015-11-22 01:14:29.000000000 +0100
-+++ src/attrib.c	2016-02-21 20:49:48.322143000 +0100
-@@ -593,6 +593,9 @@
- 		add_scope("*");
- 		snprintf(buf, sizeof(buf), "%s", "~/.tin/headers");
- 		set_attrib(OPT_ATTRIB_X_HEADERS, "*", "", buf);
-+		num = 25;
-+		set_attrib(OPT_ATTRIB_MM_NETWORK_CHARSET, "*", "", (char *) &num);
-+		set_attrib(OPT_ATTRIB_UNDECLARED_CHARSET, "*", "", "Big5");
- 
- 		add_scope("*sources*");
- 		num = POST_PROC_SHAR;
diff --git a/chinese/tin/files/patch-cook.c b/chinese/tin/files/patch-cook.c
deleted file mode 100644
index 703092bb90ed..000000000000
--- a/chinese/tin/files/patch-cook.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/cook.c.orig	2015-12-23 19:42:27.000000000 +0100
-+++ src/cook.c	2016-02-21 20:50:33.672278000 +0100
-@@ -470,7 +470,12 @@
- 
- 		/* convert network to local charset, tex2iso, iso2asc etc. */
- 		ncharset = get_param(part->params, "charset");
-+#ifndef CHARSET_CONVERSION
- 		process_charsets(&line, &max_line_len, ncharset ? ncharset : "US-ASCII", tinrc.mm_local_charset, curr_group->attribute->tex2iso_conv && art->tex2iso);
-+#else
-+		/* use undeclared charset */
-+		process_charsets(&line, &max_line_len, get_param(part->params, "charset") ? get_param(part->params, "charset") : curr_group->attribute->undeclared_charset, tinrc.mm_local_charset, curr_group->attribute->tex2iso_conv && art->tex2iso);
-+#endif
- 
- #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
- 		if (IS_LOCAL_CHARSET("UTF-8"))
diff --git a/chinese/tin/files/patch-init.c b/chinese/tin/files/patch-init.c
deleted file mode 100644
index 33a648e340ea..000000000000
--- a/chinese/tin/files/patch-init.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/init.c.orig	2014-07-16 00:47:37.352661040 +0800
-+++ src/init.c	2014-07-16 00:48:08.424652944 +0800
-@@ -361,11 +361,11 @@
- #endif /* USE_INVERSE_HACK */
- 	TRUE,		/* keep_dead_articles */
- 	POSTED_FILE,	/* posted_articles_file */
--	FALSE,		/* mail_8bit_header */
-+	TRUE,		/* mail_8bit_header */
- 	FALSE,		/* mark_ignore_tags */
- 	TRUE,		/* mark_saved_read */
- 	TRUE,		/* pos_first_unread */
--	FALSE,		/* post_8bit_header */
-+	TRUE,		/* post_8bit_header */
- 	TRUE,		/* post_process_view */
- #ifndef DISABLE_PRINTING
- 	FALSE,		/* print_header */
diff --git a/chinese/tin/files/patch-mail.c b/chinese/tin/files/patch-mail.c
deleted file mode 100644
index cc7884cdd68b..000000000000
--- a/chinese/tin/files/patch-mail.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/mail.c.orig	2014-07-16 00:48:14.918652518 +0800
-+++ src/mail.c	2014-07-16 00:48:50.462660253 +0800
-@@ -514,7 +514,11 @@
- 			/*
- 			 * Protect against invalid character sequences.
- 			 */
-+#ifndef CHARSET_CONVERSION
- 			process_charsets(&r, &r_len, "UTF-8", tinrc.mm_local_charset, FALSE);
-+#else
-+			process_charsets(&r, &r_len, (CURR_GROUP.attribute->undeclared_charset) ? (CURR_GROUP.attribute->undeclared_charset) : "UTF-8", tinrc.mm_local_charset, FALSE);
-+#endif
- 			group->description = convert_to_printable(r, FALSE);
- 		}
- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407141803.46EI3eQn076009>