summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-08-16 10:10:52 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-08-16 10:12:13 +0300
commit81100fa99cb20062830ddae39218416c3f726c3f (patch)
treed6a5b25a7e398419f4a00c38de1c664e8f576e5a /app-i18n
parentapp-dicts/wnn-ldic: treeclean (diff)
downloadgentoo-81100fa99cb20062830ddae39218416c3f726c3f.tar.gz
gentoo-81100fa99cb20062830ddae39218416c3f726c3f.tar.bz2
gentoo-81100fa99cb20062830ddae39218416c3f726c3f.zip
app-i18n/im-freewnn: treeclean
Closes: https://bugs.gentoo.org/922462 (pkgremoved) Closes: https://bugs.gentoo.org/919304 (pkgremoved) Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/im-freewnn/Manifest1
-rw-r--r--app-i18n/im-freewnn/files/im-freewnn-gentoo.patch112
-rw-r--r--app-i18n/im-freewnn/files/im-freewnn-headers.patch30
-rw-r--r--app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch11
-rw-r--r--app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild48
-rw-r--r--app-i18n/im-freewnn/metadata.xml8
6 files changed, 0 insertions, 210 deletions
diff --git a/app-i18n/im-freewnn/Manifest b/app-i18n/im-freewnn/Manifest
deleted file mode 100644
index b2bf40aabe3b..000000000000
--- a/app-i18n/im-freewnn/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST im-freewnn-0.0.2.tar.gz 322963 BLAKE2B c089688a52c86cc8c0050987a17d294365e29ef33e70258efaad719876d079e997a7255b86a8b23b6c3bb2c779702e6dd8d6eb9825943f9a7034757ac27e5e51 SHA512 c942d320433d0b1ff15fc1566eff183f5761ce14cb0575834f4ee80504be6d286068203c22ffea81345dab3db11a873f0a559b3d38ba8505f4966f9532a06358
diff --git a/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch b/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch
deleted file mode 100644
index 90e042fc4193..000000000000
--- a/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch
+++ /dev/null
@@ -1,112 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,4 +1,4 @@
--moduledir = ${libdir}/gtk-2.0/2.4.0/immodules
-+moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules
- ## Makefile.am for gtk+/modules/input
- if PLATFORM_WIN32
- no_undefined = -no-undefined
-@@ -6,11 +6,11 @@
-
- SUBDIRS = po
-
--INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/wnn -DIM_LOCALEDIR=\"${datadir}/locale\"
-+INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\"
-
- DEPS =
-
--LDADDS = @GTK_DEP_LIBS@ -lcrypt
-+LDADDS = @GTK_DEP_LIBS@
-
- EXTRA_DIST= \
- im-freewnn.spec
-@@ -38,7 +38,7 @@
- candwin.h \
- candwin.c
-
--im_freewnn_la_LIBADD = $(LDADDS) -lcrypt
-+im_freewnn_la_LIBADD = $(LDADDS)
-
- module_LTLIBRARIES = \
- im-freewnn.la
---- a/configure.in
-+++ b/configure.in
-@@ -21,8 +21,10 @@
-
- GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags`
- GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs`
-+GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
- AC_SUBST(GTK_DEP_CFLAGS)
- AC_SUBST(GTK_DEP_LIBS)
-+AC_SUBST(GTK_BINARY_VERSION)
-
- LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
- LT_CURRENT=2
-@@ -48,11 +50,9 @@
- AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
-
- dnl FreeWnn check
--ldflags_backup="$LDFLAGS"
--LDFLAGS="$LDFLAGS -lcrypt"
- AC_CHECK_HEADER(wnn/jlib.h,,)
-+AC_CHECK_LIB(crypt, crypt,,)
- AC_CHECK_LIB(wnn, jl_open_lang,,)
--LDFLAGS="$ldflags_backup"
-
- AC_OUTPUT([
- Makefile
---- a/freewnn-modewin.h
-+++ b/freewnn-modewin.h
-@@ -23,7 +23,7 @@
-
- #include <gtk/gtk.h>
-
--#include <jllib.h>
-+#include <wnn/jllib.h>
-
- #include "freewnn-register-win.h"
- #include "freewnn-config.h"
---- a/freewnn-register-win.c
-+++ b/freewnn-register-win.c
-@@ -18,7 +18,7 @@
- *
- */
-
--#include <jllib.h>
-+#include <wnn/jllib.h>
- #include <gtk/gtk.h>
-
- #include <gdk/gdkkeysyms.h>
---- a/freewnn-register-win.h
-+++ b/freewnn-register-win.h
-@@ -22,7 +22,7 @@
- #define _FREEWNN_REGIST_WIN
-
- #include <gtk/gtk.h>
--#include <jllib.h>
-+#include <wnn/jllib.h>
-
- typedef struct _FreeWnnRegisterWin FreeWnnRegisterWin;
-
---- a/freewnn-utils.h
-+++ b/freewnn-utils.h
-@@ -18,7 +18,7 @@
- * Boston, MA 02111-1307, USA.
- */
-
--#include <jllib.h>
-+#include <wnn/jllib.h>
- #include <glib.h>
-
- w_char* char2wchar(unsigned char* str);
---- a/im-freewnn.h
-+++ b/im-freewnn.h
-@@ -26,7 +26,7 @@
-
- #include <gtk/gtk.h>
- #include <gtk/gtkimmodule.h>
--#include <jllib.h>
-+#include <wnn/jllib.h>
-
- #include "freewnn-modewin.h"
- #include "freewnn-utils.h"
diff --git a/app-i18n/im-freewnn/files/im-freewnn-headers.patch b/app-i18n/im-freewnn/files/im-freewnn-headers.patch
deleted file mode 100644
index 290aee97bd89..000000000000
--- a/app-i18n/im-freewnn/files/im-freewnn-headers.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/freewnn-utils.c
-+++ b/freewnn-utils.c
-@@ -18,6 +18,9 @@
- * Boston, MA 02111-1307, USA.
- */
-
-+#include <stdlib.h>
-+#include <string.h>
-+
- #include "freewnn-utils.h"
- #include "kata2hkata.h"
-
---- a/im-freewnn.c
-+++ b/im-freewnn.c
-@@ -26,6 +26,7 @@
- */
-
- #include <stdio.h>
-+#include <stdlib.h>
-
- #include <string.h>
- #include "keytable.h"
-@@ -33,6 +34,7 @@
- #include <gdk/gdkkeysyms.h>
-
- #include "im-freewnn-intl.h"
-+#include "freewnn-utils-ui.h"
- #include "convtable.h"
- #include "im-freewnn.h"
-
diff --git a/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch b/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch
deleted file mode 100644
index 6b3c70769907..000000000000
--- a/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/im-freewnn.c
-+++ b/im-freewnn.c
-@@ -236,7 +236,7 @@
- return;
- }
-
-- jl_set_env_wnnrc(wenv, "/etc/FreeWnn/ja/wnnenvrc", printConfirm, printError);
-+ jl_set_env_wnnrc(wenv, "@GENTOO_PORTAGE_EPREFIX@/usr/lib/wnn/ja_JP/wnnenvrc", printConfirm, printError);
-
- cf->modewin = freewnn_modewin_new(cf->wnnbuf, &cf->functable);
- cf->candwin = candwin_new();
diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild b/app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild
deleted file mode 100644
index 75c8b2d07e01..000000000000
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools gnome2-utils prefix
-
-DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
-HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/"
-SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-
-RDEPEND="
- app-i18n/freewnn
- x11-libs/gtk+:2"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-gentoo.patch
- "${FILESDIR}"/${PN}-headers.patch
- "${FILESDIR}"/${PN}-wnnenvrc.patch
-)
-
-src_prepare() {
- default
- eprefixify ${PN}.c
-
- eautoreconf
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- gnome2_query_immodules_gtk2
-}
-
-pkg_postrm() {
- gnome2_query_immodules_gtk2
-}
diff --git a/app-i18n/im-freewnn/metadata.xml b/app-i18n/im-freewnn/metadata.xml
deleted file mode 100644
index 491c88b3a31f..000000000000
--- a/app-i18n/im-freewnn/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
-</pkgmetadata>