commit:     9c287f16a2fa6e11c48b689274ee7a26e97c29c2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 07:11:52 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 07:12:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c287f16

app-i18n/freewnn: treeclean

Closes: https://bugs.gentoo.org/854579 (pkgremoved)
Closes: https://bugs.gentoo.org/871603 (pkgremoved)
Closes: https://bugs.gentoo.org/874114 (pkgremoved)
Closes: https://bugs.gentoo.org/934595 (pkgremoved)
Closes: https://bugs.gentoo.org/934652 (pkgremoved)
Closes: https://bugs.gentoo.org/936129 (pkgremoved)
Closes: https://bugs.gentoo.org/829613 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-i18n/freewnn/Manifest                          |   1 -
 .../files/freewnn-1.1.1-implicit-configure.patch   |  19 ---
 .../freewnn/files/freewnn-Wformat-security.patch   | 143 ---------------------
 app-i18n/freewnn/files/freewnn-uum-EUC-JP.patch    |  13 --
 app-i18n/freewnn/files/freewnn.confd-r1            |   1 -
 app-i18n/freewnn/files/freewnn.initd               |  16 ---
 app-i18n/freewnn/files/freewnn.initd-r1            |  17 ---
 app-i18n/freewnn/freewnn-1.1.1_alpha23-r2.ebuild   |  89 -------------
 app-i18n/freewnn/metadata.xml                      |  14 --
 profiles/package.mask                              |   9 --
 10 files changed, 322 deletions(-)

diff --git a/app-i18n/freewnn/Manifest b/app-i18n/freewnn/Manifest
deleted file mode 100644
index 56f6cf87b5dd..000000000000
--- a/app-i18n/freewnn/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST FreeWnn-1.1.1-a023.tar.bz2 3147378 BLAKE2B 
63f3fbf37b53e5e6f32f83513d45aaf4915cbd33789ab8edfc93b22de1fbbe242e52e7bd40ce7ef22e24ae1f4ee151261c2041af9c78720875303b5d2b6c18a8
 SHA512 
f0b8c657f0441463c752314b7d2fd603b4df056b049d247ecd77ff8b2f2f837fed7e75ce89deabca7061d3126afd51bf301bcdd3ac429056f43bfc8e0c7c8385

diff --git a/app-i18n/freewnn/files/freewnn-1.1.1-implicit-configure.patch 
b/app-i18n/freewnn/files/freewnn-1.1.1-implicit-configure.patch
deleted file mode 100644
index a46f2f405e5d..000000000000
--- a/app-i18n/freewnn/files/freewnn-1.1.1-implicit-configure.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/configure.in     2024-06-19 23:14:54.243999953 +0300
-+++ b/configure.in     2024-06-19 23:15:21.253961581 +0300
-@@ -549,6 +549,7 @@
- #ifdef HAVE_TERMCAP_H
- # include <termcap.h>
- #endif
-+#include <stdlib.h>
- main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }],
-       res="OK", res="FAIL", res="FAIL")
-       if test "$res" = "OK"; then
-@@ -571,6 +572,8 @@
- #ifdef HAVE_TERMCAP_H
- # include <termcap.h>
- #endif
-+#include <stdlib.h>
-+#include <string.h>
- main()
- {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); 
}],
-       [ AC_MSG_RESULT([no -- we are in termcap land])

diff --git a/app-i18n/freewnn/files/freewnn-Wformat-security.patch 
b/app-i18n/freewnn/files/freewnn-Wformat-security.patch
deleted file mode 100644
index b5b68314060d..000000000000
--- a/app-i18n/freewnn/files/freewnn-Wformat-security.patch
+++ /dev/null
@@ -1,143 +0,0 @@
---- a/Wnn/uum/jhlp.c
-+++ b/Wnn/uum/jhlp.c
-@@ -1135,7 +1135,7 @@
-       else
-         {
-           signal (SIGCHLD, SIG_IGN);
--          printf (MSG_GET (3));
-+          printf ("%s", MSG_GET (3));
-           /*
-              printf("\r\n����򽪤��ޤ���\r\n");
-            */
-@@ -1212,8 +1212,8 @@
- 
-   if ((buf = (unsigned char *) malloc (maxchg * 4)) == NULL)
-     {
--      printf (MSG_GET (2));
--      printf (MSG_GET (3));
-+      printf ("%s", MSG_GET (2));
-+      printf ("%s", MSG_GET (3));
-       /*
-          printf("malloc �˼��Ԥ��ޤ���������򽪤��ޤ���\r\n");
-        */
---- a/Wnn/uum/jis_in.c
-+++ b/Wnn/uum/jis_in.c
-@@ -64,7 +64,7 @@
- 
- completely_start:
-   throw_c (0);                  /* �⡼��ɽ���θ�˽Ф� */
--  printf (MSG_GET (6));
-+  printf ("%s", MSG_GET (6));
-   /*
-      printf("JIS������: ");
-    */
---- a/Wnn/uum/jutil.c
-+++ b/Wnn/uum/jutil.c
-@@ -489,7 +489,7 @@
-   /*
-      printf("������ɤ߹��Ǥ��ޤ���");
-    */
--  printf (MSG_GET (60));
-+  printf ("%s", MSG_GET (60));
-   flush ();
- 
-   if ((id = jl_dic_add (bun_data_, fname, hfname, 0, prio, rdonly, hrdonly, 
NULL, NULL, yes_or_no_or_newline, print_msg1)) == -1 && wnn_errorno != -1)
-@@ -571,7 +571,7 @@
-   int x;
-   throw_c (0);
-   clr_line ();
--  printf (string);
-+  printf ("%s", string);
-   flush ();
-   for (;;)
-     {
---- a/Wnn/uum/kensaku.c
-+++ b/Wnn/uum/kensaku.c
-@@ -112,7 +112,7 @@
-       u_s_on ();
-       w_printf (kana_buf, maxlength - strlen (MSG_GET (27)) - 2);
-       u_s_off ();
--      printf (MSG_GET (27));
-+      printf ("%s", MSG_GET (27));
-       flush ();
-       keyin ();
-       return (NULL);
---- a/Wnn/uum/kuten.c
-+++ b/Wnn/uum/kuten.c
-@@ -63,7 +63,7 @@
- 
- completely_start:
-   throw_c (0);                  /* �⡼��ɽ���θ�˽Ф� */
--  printf (MSG_GET (7));
-+  printf ("%s", MSG_GET (7));
-   /*
-      printf("���� : ");
-    */
---- a/Wnn/uum/prologue.c
-+++ b/Wnn/uum/prologue.c
-@@ -144,7 +144,7 @@
-       /*
-          fprintf(stderr,"����malloc��ǽ��\n");
-        */
--      fprintf (stderr, MSG_GET (2));
-+      fprintf (stderr, "%s", MSG_GET (2));
-       return (-1);
-     }
- 
---- a/Wnn/uum/screen.c
-+++ b/Wnn/uum/screen.c
-@@ -547,7 +547,7 @@
- {
-   push_cursor ();
-   throw_c (0);
--  printf (msg);
-+  printf ("%s", msg);
-   pop_cursor ();
-   flush ();
- }
---- a/Wnn/uum/sdefine.h
-+++ b/Wnn/uum/sdefine.h
-@@ -191,8 +191,8 @@
- 
- 
- #define flush() fflush(stdout)
--#define print_msg(X) {push_cursor();throw_c(0); 
clr_line();printf(X);flush();pop_cursor();}
--#define print_msg_getc(X) {push_cursor();throw_c(0); 
clr_line();printf(X);flush();keyin();pop_cursor();}
-+#define print_msg(X) {push_cursor();throw_c(0); clr_line();printf("%s", 
X);flush();pop_cursor();}
-+#define print_msg_getc(X) {push_cursor();throw_c(0); clr_line();printf("%s", 
X);flush();keyin();pop_cursor();}
- 
- 
- #define UNDER_LINE_MODE (0x02 | 0x08 | 0x20)
---- a/Wnn/uum/select_ele.c
-+++ b/Wnn/uum/select_ele.c
-@@ -224,7 +224,7 @@
- 
-   throw_c (0);
-   clr_line ();
--  printf (msg);
-+  printf ("%s", msg);
-   for (k = dd[cc]; k < dd[cc + 1]; k++)
-     {
-       cp = findcp (k, cc);
---- a/Wnn/uum/termio.c
-+++ b/Wnn/uum/termio.c
-@@ -100,7 +100,7 @@
- 
-   if ((strlen (Term_Name) > 2) && (strcmp (Term_Name + (strlen (Term_Name) - 
2), "-j") == 0))
-     {
--      fprintf (stderr, MSG_GET (4));
-+      fprintf (stderr, "%s", MSG_GET (4));
-       /*
-          fprintf(stderr,"Uum:���������Ϥ������ޤ���\n");
-        */
---- a/Wnn/uum/wnnrc_op.c
-+++ b/Wnn/uum/wnnrc_op.c
-@@ -754,7 +754,7 @@
-       return fp;
-     }
- error:
--  fprintf (stderr, MSG_GET (14));
-+  fprintf (stderr, "%s", MSG_GET (14));
- /*
-     fprintf(stderr , "uumrc �ե����뤬����ޤ���");
- */

diff --git a/app-i18n/freewnn/files/freewnn-uum-EUC-JP.patch 
b/app-i18n/freewnn/files/freewnn-uum-EUC-JP.patch
deleted file mode 100644
index 919492d912c6..000000000000
--- a/app-i18n/freewnn/files/freewnn-uum-EUC-JP.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Wnn/include/wnn_config.h
-+++ b/Wnn/include/wnn_config.h
-@@ -149,8 +149,8 @@
- #define TTY_KCODE J_EUJIS
- #define PTY_KCODE J_EUJIS
- # else /* !DGUX */
--#define TTY_KCODE J_JIS
--#define PTY_KCODE J_JIS
-+#define TTY_KCODE J_EUJIS
-+#define PTY_KCODE J_EUJIS
- # endif
- #endif
- 

diff --git a/app-i18n/freewnn/files/freewnn.confd-r1 
b/app-i18n/freewnn/files/freewnn.confd-r1
deleted file mode 100644
index c64e27196d50..000000000000
--- a/app-i18n/freewnn/files/freewnn.confd-r1
+++ /dev/null
@@ -1 +0,0 @@
-FREEWNN_OPTS=""

diff --git a/app-i18n/freewnn/files/freewnn.initd 
b/app-i18n/freewnn/files/freewnn.initd
deleted file mode 100644
index ef4e20cf37c8..000000000000
--- a/app-i18n/freewnn/files/freewnn.initd
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/bin/Wnn4/jserver"
-
-depend() {
-       use logger
-       need net
-}
-
-stop() {
-       ebegin "Stopping ${name:-${RC_SVCNAME}}"
-       /usr/bin/Wnn4/wnnkill
-       eend ${?}
-}

diff --git a/app-i18n/freewnn/files/freewnn.initd-r1 
b/app-i18n/freewnn/files/freewnn.initd-r1
deleted file mode 100644
index 57fd448f801c..000000000000
--- a/app-i18n/freewnn/files/freewnn.initd-r1
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/jserver"
-command_args="${FREEWNN_OPTS}"
-
-depend() {
-       use logger
-       need net
-}
-
-stop() {
-       ebegin "Stopping ${name:-${RC_SVCNAME}}"
-       /usr/sbin/wnnkill
-       eend ${?}
-}

diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha23-r2.ebuild 
b/app-i18n/freewnn/freewnn-1.1.1_alpha23-r2.ebuild
deleted file mode 100644
index 293df70e0050..000000000000
--- a/app-i18n/freewnn/freewnn-1.1.1_alpha23-r2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-MY_P="FreeWnn-${PV/_alpha/-a0}"
-
-DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System"
-HOMEPAGE="http://freewnn.sourceforge.jp/ http://www.freewnn.org/";
-SRC_URI="mirror://sourceforge.jp/${PN}/63271/${MY_P}.tar.bz2"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-IUSE="+uum"
-
-RDEPEND="
-       sys-apps/tcp-wrappers
-       virtual/libcrypt:=
-       uum? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-uum-EUC-JP.patch
-       "${FILESDIR}"/${PN}-Wformat-security.patch
-       "${FILESDIR}"/${PN}-1.1.1-implicit-configure.patch
-)
-
-# linked for tests which we skip
-QA_CONFIG_IMPL_DECL_SKIP=( hosts_access )
-
-src_prepare() {
-       sed -i \
-               -e "s/WNNOWNER = wnn/WNNOWNER = root/" \
-               -e "s|@mandir@/|@mandir@/ja/|" \
-               -e "s/@INSTPGMFLAGS@//" \
-               makerule.mk.in || die
-
-       # bug #542534
-       sed -i \
-               -e "s/egrep -v/grep -Eav/" \
-               PubdicPlus/Makefile.in \
-               Wnn/pubdicplus/Makefile.in \
-               cWnn/[ct]dic/Makefile.in \
-               kWnn/kdic/Makefile.in  || die
-
-       default
-       eautoreconf
-}
-
-src_configure() {
-       local myeconfargs=(
-               $(use_enable uum client)
-               --enable-ipv6
-               --disable-cWnn
-               --disable-kWnn
-               --disable-traditional-layout
-               --enable-static # needed for correct compilation
-               --with-term-libs="$( $(tc-getPKG_CONFIG) --libs ncurses )"
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       default
-
-       local m
-       for m in $(find Wnn/man -name "*.man"); do
-               iconv --from-code=EUC-JP --to-code=UTF-8 --output="${m}".UTF-8 
"${m}" || die
-               mv "${m}"{.UTF-8,} || die
-       done
-}
-
-src_install() {
-       emake DESTDIR="${ED}" install install.man
-
-       find "${ED}" \( -name "*.la" -o -name "*.a" \) -delete || die
-
-       local DOCS=( ChangeLog* CONTRIBUTORS )
-       einstalldocs
-
-       newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
-       newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
-}

diff --git a/app-i18n/freewnn/metadata.xml b/app-i18n/freewnn/metadata.xml
deleted file mode 100644
index f51feef0fab6..000000000000
--- a/app-i18n/freewnn/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="project">
-    <email>[email protected]</email>
-    <name>Cjk</name>
-  </maintainer>
-  <use>
-    <flag name="uum">Build uum</flag>
-  </use>
-  <upstream>
-    <remote-id type="osdn">freewnn</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 5855c952e498..662de3abfa0e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -211,15 +211,6 @@ games-strategy/crimson
 # dependencies left. Removal on 2024-08-17.
 dev-ruby/rmagick:4
 
-# Eli Schwartz <[email protected]> (2024-07-15)
-# FreeWnn has no activity upstream on its (very slow!) development site
-# since 2015. Website is gone. Various build failures, fails to build
-# with gcc 14.  All of its reverse dependencies are even more dead, as
-# they do not even have distfiles anymore.
-# Removal on 2024-08-14.  Bug 936129.
-# Bug #829613, #854579, #871603, #874114, #934595.
-app-i18n/freewnn
-
 # Leonardo Hernández Hernández <[email protected]> (2024-07-07)
 # New major ffmpeg version. Tracker bug #928905.
 >=media-video/ffmpeg-7.0

Reply via email to