diff options
author | Akinori Hattori <hattya@gentoo.org> | 2013-02-27 13:02:06 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2013-02-27 13:02:06 +0000 |
commit | be9d9ae160134a6c5dc0f7924b46a992b22e43bd (patch) | |
tree | 6ea24205f7861bd3e78155627582cfa786b79511 /app-i18n | |
parent | remove old ebuild (diff) | |
download | gentoo-2-be9d9ae160134a6c5dc0f7924b46a992b22e43bd.tar.gz gentoo-2-be9d9ae160134a6c5dc0f7924b46a992b22e43bd.tar.bz2 gentoo-2-be9d9ae160134a6c5dc0f7924b46a992b22e43bd.zip |
remove old ebuilds and unused files wrt bug #342541
(Portage version: 2.1.11.50/cvs/Linux i686, signed Manifest commit with key EC917A6D)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/freewnn/ChangeLog | 12 | ||||
-rw-r--r-- | app-i18n/freewnn/files/a017/FreeWnn-1.1.1-a017.dif | 547 | ||||
-rw-r--r-- | app-i18n/freewnn/files/a017/FreeWnn-lib64.patch | 11 | ||||
-rw-r--r-- | app-i18n/freewnn/files/a017/FreeWnn-s390x.patch | 217 | ||||
-rw-r--r-- | app-i18n/freewnn/files/a017/FreeWnn-sighandler.patch | 39 | ||||
-rw-r--r-- | app-i18n/freewnn/files/a017/FreeWnn-uum.patch | 54 | ||||
-rw-r--r-- | app-i18n/freewnn/files/freewnn-1.1.1_alpha20-gentoo.diff | 24 | ||||
-rw-r--r-- | app-i18n/freewnn/freewnn-1.1.1_alpha20-r1.ebuild | 51 | ||||
-rw-r--r-- | app-i18n/freewnn/freewnn-1.1.1_alpha20.ebuild | 50 | ||||
-rw-r--r-- | app-i18n/freewnn/freewnn-1.1.1_alpha21.ebuild | 51 |
10 files changed, 10 insertions, 1046 deletions
diff --git a/app-i18n/freewnn/ChangeLog b/app-i18n/freewnn/ChangeLog index 55b1cd042444..18c4aed936a5 100644 --- a/app-i18n/freewnn/ChangeLog +++ b/app-i18n/freewnn/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-i18n/freewnn -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/ChangeLog,v 1.45 2011/11/07 08:49:51 naota Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/ChangeLog,v 1.46 2013/02/27 13:02:05 hattya Exp $ + + 27 Feb 2013; Akinori Hattori <hattya@gentoo.org> + -files/a017/FreeWnn-1.1.1-a017.dif, -files/a017/FreeWnn-lib64.patch, + -files/a017/FreeWnn-s390x.patch, -files/a017/FreeWnn-sighandler.patch, + -files/a017/FreeWnn-uum.patch, -files/freewnn-1.1.1_alpha20-gentoo.diff, + -freewnn-1.1.1_alpha20-r1.ebuild, -freewnn-1.1.1_alpha20.ebuild, + -freewnn-1.1.1_alpha21.ebuild: + remove old ebuilds and unused files wrt bug #342541 22 Oct 2011; Naohiro Aota <naota@gentoo.org> freewnn-1.1.1_alpha21-r1.ebuild, +files/freewnn-1.1.1_alpha21-ldflags.patch: diff --git a/app-i18n/freewnn/files/a017/FreeWnn-1.1.1-a017.dif b/app-i18n/freewnn/files/a017/FreeWnn-1.1.1-a017.dif deleted file mode 100644 index 310d002f4183..000000000000 --- a/app-i18n/freewnn/files/a017/FreeWnn-1.1.1-a017.dif +++ /dev/null @@ -1,547 +0,0 @@ ---- Xsi/PubdicPlus/pod.c -+++ Xsi/PubdicPlus/pod.c 2001/09/04 16:59:45 -@@ -26,13 +26,15 @@ - - #include <stdio.h> - --#define bzero(a, c) memset(a, 0, c) -- - #if __STDC__ - #include <stddef.h> -+#include <stdlib.h> -+#include <string.h> - #else - extern char *malloc (); - #endif -+ -+#define bzero(a, c) memset(a, 0, c) - - #define POD_WCHAR - ---- Xsi/Wnn/include/jllib.h -+++ Xsi/Wnn/include/jllib.h 2001/09/04 18:55:55 -@@ -248,58 +248,58 @@ - #define jl_set_lang(buf, lang) js_set_lang((buf)->env, lang) - - /* extern function defines */ --extern struct wnn_buf *jl_open_lang (); --extern struct wnn_env *jl_connect_lang (); --extern struct wnn_env *jl_env_get (); --extern struct wnn_jdata *jl_word_info_e (); --extern w_char *jl_hinsi_name_e (); -+extern struct wnn_buf *jl_open_lang (const char *, const char *, const char *, const char *, int (*) (const char *), int (*) (const char *), int); -+extern struct wnn_env *jl_connect_lang (const char *, const char *, const char *, const char *, int (*) (const char *), int (*) (const char *), int); -+extern struct wnn_env *jl_env_get (struct wnn_buf *); -+extern struct wnn_jdata *jl_word_info_e (struct wnn_env *, int, int); -+extern w_char *jl_hinsi_name_e (struct wnn_env *, int); - --extern void jl_close (); --extern int jl_dic_add_e (); --extern int jl_dic_comment_set_e (); --extern int jl_dic_delete_e (); --extern int jl_dic_list_e (); --extern int jl_dic_save_all_e (); --extern int jl_dic_save_e (); --extern int jl_dic_use_e (); --extern void jl_disconnect (); --extern void jl_disconnect_if_server_dead (); --extern void jl_env_set (); --extern int jl_fuzokugo_get_e (); --extern int jl_fuzokugo_set_e (); --extern void jl_get_zenkouho_kanji (); --extern int jl_hinsi_dicts_e (); --extern int jl_hinsi_list_e (); --extern int jl_hinsi_number_e (); --extern int jl_isconnect_e (); --extern int jl_kanji_len (); --extern int jl_kill (); --extern int jl_nobi_conv (); --extern int jl_nobi_conv_e2 (); --extern int jl_param_get_e (); --extern int jl_param_set_e (); --extern int jl_ren_conv (); --extern int jl_set_env_wnnrc (); --extern int jl_set_env_wnnrc1 (); --extern int jl_set_jikouho (); --extern int jl_set_jikouho_dai (); --extern int jl_tan_conv (); --extern int jl_update_hindo (); --extern int jl_word_add_e (); --extern int jl_word_comment_set_e (); --extern int jl_word_delete_e (); --extern int jl_word_search_by_env_e (); --extern int jl_word_search_e (); --extern int jl_word_use_e (); --extern int jl_yomi_len (); --extern int jl_zenkouho (); --extern int jl_zenkouho_dai (); --extern int wnn_get_area (); -+extern void jl_close (struct wnn_buf *); -+extern int jl_dic_add_e (struct wnn_env *, char *, char *, int, int, int, int, char *, char *, int (*) (const char *), int (*) (const char *)); -+extern int jl_dic_comment_set_e (struct wnn_env *, int, w_char *); -+extern int jl_dic_delete_e (struct wnn_env *, int); -+extern int jl_dic_list_e (struct wnn_env *, WNN_DIC_INFO **); -+extern int jl_dic_save_all_e (struct wnn_env *); -+extern int jl_dic_save_e (struct wnn_env *, int); -+extern int jl_dic_use_e (struct wnn_env *, int, int); -+extern void jl_disconnect (struct wnn_env *); -+extern void jl_disconnect_if_server_dead (struct wnn_env *); -+extern void jl_env_set (struct wnn_buf *, struct wnn_env *); -+extern int jl_fuzokugo_get_e (struct wnn_env *, char *); -+extern int jl_fuzokugo_set_e (struct wnn_env *, char *); -+extern void jl_get_zenkouho_kanji (struct wnn_buf *, int, w_char *); -+extern int jl_hinsi_dicts_e (struct wnn_env *, int, int **); -+extern int jl_hinsi_list_e (struct wnn_env *, int, w_char *, w_char ***); -+extern int jl_hinsi_number_e (struct wnn_env *, w_char *); -+extern int jl_isconnect_e (struct wnn_env *); -+extern int jl_kanji_len (struct wnn_buf *, int, int); -+extern int jl_kill (struct wnn_buf *, int, int); -+extern int jl_nobi_conv (struct wnn_buf *, int, int, int, int, int); -+extern int jl_nobi_conv_e2 (struct wnn_buf *, struct wnn_env *, int, int, int, int, int); -+extern int jl_param_get_e (struct wnn_env *, struct wnn_param *); -+extern int jl_param_set_e (struct wnn_env *, struct wnn_param *); -+extern int jl_ren_conv (struct wnn_buf *, w_char *, int, int, int); -+extern int jl_set_env_wnnrc (struct wnn_env *, const char *, int (*) (const char *), int (*) (const char *)); -+extern int jl_set_env_wnnrc1 (struct wnn_env *, const char *, int (*) (const char *), int (*) (const char *), int); -+extern int jl_set_jikouho (struct wnn_buf *, int); -+extern int jl_set_jikouho_dai (struct wnn_buf *, int); -+extern int jl_tan_conv (struct wnn_buf *, w_char *, int, int, int, int); -+extern int jl_update_hindo (struct wnn_buf *, int, int); -+extern int jl_word_add_e (struct wnn_env *, int, w_char *, w_char *, w_char *, int, int); -+extern int jl_word_comment_set_e (struct wnn_env *, int, int, w_char *); -+extern int jl_word_delete_e (struct wnn_env *, int, int); -+extern int jl_word_search_by_env_e (struct wnn_env *, w_char *, struct wnn_jdata **); -+extern int jl_word_search_e (struct wnn_env *, int, w_char *, struct wnn_jdata **); -+extern int jl_word_use_e (struct wnn_env *, int, int); -+extern int jl_yomi_len (struct wnn_buf *, int, int); -+extern int jl_zenkouho (struct wnn_buf *, int, int, int); -+extern int jl_zenkouho_dai (struct wnn_buf *, int, int, int, int); -+extern int wnn_get_area (struct wnn_buf *, int, int, w_char *, int); - --extern char *wnn_perror (); --extern char *wnn_perror_lang (); -+extern char *wnn_perror (void); -+extern char *wnn_perror_lang (char *); - - #ifdef CONVERT_by_STROKE --extern void jl_get_zenkouho_yomi (); -+extern void jl_get_zenkouho_yomi (struct wnn_buf *, int, w_char *); - #endif - #endif /* JLLIB */ ---- Xsi/Wnn/jlib/jl.c -+++ Xsi/Wnn/jlib/jl.c 2001/09/04 19:06:21 -@@ -38,6 +38,8 @@ - #include "commonhd.h" - #include "wnn_config.h" - #include <stdio.h> -+#include <stdlib.h> -+#include <stdarg.h> - #include <sys/types.h> - #ifdef SYSVR2 - # include <string.h> -@@ -145,7 +147,7 @@ - static void make_space_for (); - static void make_space_for_bun (); - static void make_space_for_zenkouho (); --static void message_out (); -+static void message_out (int (*) (const char *), const char *, ...); - static int ren_conv1 (); - static void set_dai (); - static void set_sho (); -@@ -261,7 +263,7 @@ - static struct wnn_env * - find_same_env (js, env_n, lang) - register WNN_JSERVER_ID *js; -- register char *env_n; -+ register const char *env_n; - char *lang; - { - register int k; -@@ -300,7 +302,7 @@ - add_new_env (js, env, env_n, server_n, lang) - register WNN_JSERVER_ID *js; - register struct wnn_env *env; -- char *env_n, *server_n, *lang; -+ const char *env_n, *server_n, *lang; - { - register int k; - -@@ -421,15 +423,16 @@ - - struct wnn_env * - jl_connect_lang (env_n, server_n, lang, wnnrc_n, error_handler, message_handler, timeout) -- register char *env_n, *server_n, *wnnrc_n, *lang; -- int (*error_handler) (), (*message_handler) (); -+ register const char *env_n, *server_n, *wnnrc_n, *lang; -+ int (*error_handler) (const char *), (*message_handler) (const char *); - int timeout; - { - register WNN_JSERVER_ID *js = NULL; - struct wnn_env *env; - int env_exist; - char p_lang[16]; -- register char *p, *l; -+ register char *p; -+ const char *l; - extern char *getenv (); - extern char *_wnn_get_machine_of_serv_defs (); - -@@ -562,8 +565,8 @@ - - struct wnn_buf * - jl_open_lang (env_n, server_n, lang, wnnrc_n, error_handler, message_handler, timeout) -- char *env_n, *server_n, *wnnrc_n, *lang; -- int (*error_handler) (), (*message_handler) (); -+ const char *env_n, *server_n, *wnnrc_n, *lang; -+ int (*error_handler) (const char *), (*message_handler) (const char *); - int timeout; - { - register int k, dmy; -@@ -1490,7 +1493,7 @@ - int prio; - int rw, hrw, rev; - char *pwd_dic, *pwd_hindo; -- int (*error_handler) (), (*message_handler) (); -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - char tmp[256]; - char pwd[WNN_PASSWD_LEN], hpwd[WNN_PASSWD_LEN]; -@@ -1505,7 +1508,7 @@ - jl_disconnect (env); - return (-1); - } -- if ((int) error_handler == WNN_NO_CREATE || (rw == WNN_DIC_RDONLY)) -+ if (error_handler == (int (*) (const char *)) WNN_NO_CREATE || (rw == WNN_DIC_RDONLY)) - { - sprintf (tmp, "%s \"%s\" %s", msg_get (wnn_msg_cat, 200, NULL, env->lang), dic_name, msg_get (wnn_msg_cat, 201, NULL, env->lang)); - /* -@@ -1519,7 +1522,7 @@ - /* - "辞書ファイル \"%s\" が無いよ。作る?(Y/N)", - */ -- if ((int) error_handler == WNN_CREATE || call_error_handler (error_handler, tmp)) -+ if (error_handler == (int (*) (const char *)) WNN_CREATE || call_error_handler (error_handler, tmp)) - { - if (create_file (env, dic_name, JISHO, -1, /* -1 is dummy */ - pwd_dic, (hindo_name && *hindo_name) ? "" : pwd_hindo, error_handler, message_handler) == -1) -@@ -1544,7 +1547,7 @@ - jl_disconnect (env); - return (-1); - } -- if ((int) error_handler == WNN_NO_CREATE || (hrw == WNN_DIC_RDONLY)) -+ if (error_handler == (int (*) (const char *)) WNN_NO_CREATE || (hrw == WNN_DIC_RDONLY)) - { - sprintf (tmp, "%s \"%s\" %s", msg_get (wnn_msg_cat, 203, NULL, env->lang), hindo_name, msg_get (wnn_msg_cat, 201, NULL, env->lang)); - /* -@@ -1558,7 +1561,7 @@ - /* - "頻度ファイル \"%s\" が無いよ。作る?(Y/N)", - */ -- if ((int) error_handler == WNN_CREATE || call_error_handler (error_handler, tmp)) -+ if (error_handler == (int (*) (const char *)) WNN_CREATE || call_error_handler (error_handler, tmp)) - { - if (create_file (env, hindo_name, HINDO, fid, "", pwd_hindo, error_handler, message_handler) == -1) - return (-1); -@@ -1587,7 +1590,7 @@ - } - else if (wnn_errorno == WNN_HINDO_NO_MATCH) - { -- if ((int) error_handler == WNN_NO_CREATE) -+ if (error_handler == (int (*) (const char *)) WNN_NO_CREATE) - { - return (-1); - } -@@ -1595,7 +1598,7 @@ - /* - "辞書と頻度 \"%s\" の整合性が無いよ。作り直す?(Y/N)", - */ -- if (!((int) error_handler == WNN_CREATE || call_error_handler (error_handler, tmp))) -+ if (!(error_handler == (int (*) (const char *)) WNN_CREATE || call_error_handler (error_handler, tmp))) - { - return (-1); - } -@@ -1671,7 +1674,7 @@ - create_pwd_file (env, pwd_file, error_handler, message_handler) - register struct wnn_env *env; - char *pwd_file; -- int (*error_handler) (), (*message_handler) (); -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - FILE *fp; - char gomi[256]; -@@ -2731,17 +2734,17 @@ - int - jl_set_env_wnnrc (env, wnnrc_n, error_handler, message_handler) - register struct wnn_env *env; -- char *wnnrc_n; -- int (*error_handler) (), (*message_handler) (); -+ const char *wnnrc_n; -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - int level = 0; - int x; - wnn_errorno = 0; -- if ((int) error_handler == WNN_CREATE) -+ if (error_handler == (int (*) (const char *)) WNN_CREATE) - { - confirm_state = CREATE_WITHOUT_CONFIRM; - } -- else if ((int) error_handler == WNN_NO_CREATE) -+ else if (error_handler == (int (*) (const char *)) WNN_NO_CREATE) - { - confirm_state = NO_CREATE; - } -@@ -2757,8 +2760,8 @@ - int - jl_set_env_wnnrc1 (env, wnnrc_n, error_handler, message_handler, level) - register struct wnn_env *env; -- char *wnnrc_n; -- int (*error_handler) (), (*message_handler) (); -+ const char *wnnrc_n; -+ int (*error_handler) (const char *), (*message_handler) (const char *); - int level; - { - register int num; -@@ -2811,7 +2814,7 @@ - { - /* dic_add */ - int prio, rdonly, hrdonly, rev; -- int (*error_handler1) () = (int (*)()) 0; -+ int (*error_handler1) (const char *) = (int (*) (const char *)) 0; - expand_expr_all (s[0], env); - if (num < 3 || !REAL_PARAM (s[1])) - { -@@ -2837,11 +2840,11 @@ - else if (confirm_state == CREATE_WITHOUT_CONFIRM) - { - -- error_handler1 = (int (*)()) WNN_CREATE; -+ error_handler1 = (int (*) (const char *)) WNN_CREATE; - } - else if (confirm_state == NO_CREATE) - { -- error_handler1 = (int (*)()) WNN_NO_CREATE; -+ error_handler1 = (int (*) (const char *)) WNN_NO_CREATE; - } - if (jl_dic_add_e (env, s[0], s[1], rev, prio, rdonly, hrdonly, s[5], s[6], error_handler1, message_handler) == -1 && wnn_errorno != 0) - { -@@ -2972,7 +2975,7 @@ - - if (*s != '~' && *s != '@') - return (0); -- if ((int) strlen (s) >= EXPAND_PATH_LENGTH) -+ if (strlen (s) >= EXPAND_PATH_LENGTH) - return (-1); - - s1 = s; -@@ -2995,12 +2998,12 @@ - { - if (*s1) - { -- noerr = expandsuc = (NULL != (u = getpwnam (s1)) && (int) strlen (p = u->pw_dir) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (NULL != (u = getpwnam (s1)) && strlen (p = u->pw_dir) + strlen (tmp) < EXPAND_PATH_LENGTH); - - } - else - { -- noerr = expandsuc = (NULL != (p = getenv ("HOME")) && (int) strlen (p) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (NULL != (p = getenv ("HOME")) && strlen (p) + strlen (tmp) < EXPAND_PATH_LENGTH); - } - - } -@@ -3008,13 +3011,13 @@ - { /* then, *s must be '@' */ - if (!strcmp (s1, "HOME")) - { -- noerr = expandsuc = (NULL != (p = getenv ("HOME")) && (int) strlen (p) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (NULL != (p = getenv ("HOME")) && strlen (p) + strlen (tmp) < EXPAND_PATH_LENGTH); - } - else if (!strcmp (s1, "WNN_DIC_DIR")) - { - char buf[EXPAND_PATH_LENGTH]; - expandsuc = 1; -- noerr = (NULL != (p = getenv ("HOME")) && (int) strlen (p) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = (NULL != (p = getenv ("HOME")) && strlen (p) + strlen (tmp) < EXPAND_PATH_LENGTH); - strcpy (buf, p); - strcat (buf, "/"); - -@@ -3031,15 +3034,15 @@ - } - else if (!strcmp (s1, "LIBDIR")) - { -- noerr = expandsuc = ((int) strlen (p = LIBDIR) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (strlen (p = LIBDIR) + strlen (tmp) < EXPAND_PATH_LENGTH); - } - else if (!strcmp (s1, "ENV")) - { /* Added */ -- noerr = expandsuc = (NULL != (p = env_name (env)) && (int) strlen (p) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (NULL != (p = env_name (env)) && strlen (p) + strlen (tmp) < EXPAND_PATH_LENGTH); - } - else if (!strcmp (s1, "USR")) - { -- noerr = expandsuc = (NULL != (p = getlogname ()) && (int) strlen (p) + (int) strlen (tmp) < EXPAND_PATH_LENGTH); -+ noerr = expandsuc = (NULL != (p = getlogname ()) && strlen (p) + strlen (tmp) < EXPAND_PATH_LENGTH); - } - else - { /* @HOME, @LIBDIR @ENV igai ha kaenai */ -@@ -3063,7 +3066,7 @@ - - total = 0; - flag = 0; -- while (*st != NULL) -+ while (*st != 0) - { - if (isdigit (*st)) - { -@@ -3122,7 +3125,7 @@ - int d; - int fid; - char *pwd_dic, *pwd_hindo; -- int (*error_handler) (), (*message_handler) (); -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - char pwd[WNN_PASSWD_LEN], hpwd[WNN_PASSWD_LEN]; - int rev_dict_type; -@@ -3230,7 +3233,7 @@ - make_dir_rec1 (env, path, error_handler, message_handler) - struct wnn_env *env; - register char *path; -- int (*error_handler) (), (*message_handler) (); -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - char gomi[128]; - register char *c; -@@ -3253,7 +3256,7 @@ - make_dir1 (env, dirname, error_handler, message_handler) - register struct wnn_env *env; - register char *dirname; -- int (*error_handler) (), (*message_handler) (); -+ int (*error_handler) (const char *), (*message_handler) (const char *); - { - char gomi[128]; - if (dirname[0] == C_LOCAL) -@@ -3274,7 +3277,7 @@ - return (0); /* dir already exists */ - } - } -- if ((int) error_handler != WNN_CREATE) -+ if (error_handler != (int (*) (const char *)) WNN_CREATE) - { - sprintf (gomi, "%s \"%s\" %s%s", msg_get (wnn_msg_cat, 210, NULL, env->lang), dirname, msg_get (wnn_msg_cat, 201, NULL, env->lang), msg_get (wnn_msg_cat, 202, NULL, env->lang)); - /* -@@ -3311,8 +3314,8 @@ - - static int - call_error_handler (error_handler, c) -- int (*error_handler) (); -- char *c; -+ int (*error_handler) (const char *); -+ const char *c; - { - register int x; - x = error_handler (c); -@@ -3327,16 +3330,16 @@ - } - - static void --message_out (message_handler, format, s1, s2, s3, s4, s5, s6, s7, s8) -- int (*message_handler) (); -- char *format; -- int s1, s2, s3, s4, s5, s6, s7, s8; -+message_out (int (*message_handler) (const char *), const char *format, ...) - { - char buf[256]; -+ va_list args; - - if (message_handler) - { -- sprintf (buf, format, s1, s2, s3, s4, s5, s6, s7, s8); -+ va_start (args, format); -+ vsprintf (buf, format, args); -+ va_end (args); - (*message_handler) (buf); - } - } ---- Xsi/Wnn/jlib/js.c -+++ Xsi/Wnn/jlib/js.c 2001/09/04 17:34:48 -@@ -900,7 +900,7 @@ - free((char *)env); - */ - set_current_js (env->js_id); -- handler_of_jserver_dead (NULL); -+ handler_of_jserver_dead (-1); - snd_env_head (&tmp_env, JS_DISCONNECT); - snd_flush (); - x = get4com (); ---- Xsi/Wnn/jutil/atod.c -+++ Xsi/Wnn/jutil/atod.c 2001/09/04 16:59:45 -@@ -39,6 +39,8 @@ - - #include <stdio.h> - #include <ctype.h> -+#include <string.h> -+#include <stdlib.h> - #include "commonhd.h" - #include "wnn_config.h" - #include "jslib.h" ---- Xsi/Wnn/jutil/atorev.c -+++ Xsi/Wnn/jutil/atorev.c 2001/09/04 16:59:45 -@@ -35,6 +35,7 @@ - - #include <stdio.h> - #include <ctype.h> -+#include <stdlib.h> - #include "commonhd.h" - #include "jslib.h" - #include "jh.h" ---- Xsi/Wnn/jutil/dtoa.c -+++ Xsi/Wnn/jutil/dtoa.c 2001/09/04 16:59:45 -@@ -38,6 +38,8 @@ - #endif /* lint */ - - #include <stdio.h> -+#include <string.h> -+#include <stdlib.h> - #include "commonhd.h" - #include "wnn_config.h" - #include "jslib.h" ---- Xsi/Wnn/jutil/wddel.c -+++ Xsi/Wnn/jutil/wddel.c 2001/09/04 16:59:45 -@@ -38,6 +38,7 @@ - #endif /* lint */ - - #include <stdio.h> -+#include <stdlib.h> - #include "commonhd.h" - #include "wnn_config.h" - #include "jllib.h" ---- Xsi/Wnn/jutil/wdreg.c -+++ Xsi/Wnn/jutil/wdreg.c 2001/09/04 16:59:45 -@@ -38,6 +38,7 @@ - #endif /* lint */ - - #include <stdio.h> -+#include <stdlib.h> - #include <sys/types.h> - #include <sys/file.h> - #include "commonhd.h" ---- Xsi/Wnn/uum/history.c -+++ Xsi/Wnn/uum/history.c 2001/09/04 16:59:45 -@@ -30,6 +30,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include "commonhd.h" - #include "sdefine.h" - #include "sheader.h" ---- Xsi/Wnn/uum/sheader.h -+++ Xsi/Wnn/uum/sheader.h 2001/09/04 16:59:45 -@@ -320,6 +320,7 @@ - extern void set_keypad_on (); - extern void set_keypad_off (); - extern void set_scroll_region (); -+#define setenv fwnn_setenv - extern void setenv (); - extern int setutmp (); - extern int st_colum (); diff --git a/app-i18n/freewnn/files/a017/FreeWnn-lib64.patch b/app-i18n/freewnn/files/a017/FreeWnn-lib64.patch deleted file mode 100644 index 8f70a02de4eb..000000000000 --- a/app-i18n/freewnn/files/a017/FreeWnn-lib64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- FreeWnn-1.1.1-a017/Xsi/makerule.mk.in 2002/03/15 11:10:47 1.1 -+++ FreeWnn-1.1.1-a017/Xsi/makerule.mk.in 2002/03/15 11:11:14 -@@ -90,7 +90,7 @@ - ALLDEFINES = $(INCLUDES) -DFUNCPROTO=15 -DNARROWPROTO $(DEFINES) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) --LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -L/usr/lib/termcap -+LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -L@libdir@/termcap - - CCLINK = $(CC) - diff --git a/app-i18n/freewnn/files/a017/FreeWnn-s390x.patch b/app-i18n/freewnn/files/a017/FreeWnn-s390x.patch deleted file mode 100644 index a66e27ab4804..000000000000 --- a/app-i18n/freewnn/files/a017/FreeWnn-s390x.patch +++ /dev/null @@ -1,217 +0,0 @@ -diff -ru FreeWnn-1.1.1-a017.orig/Xsi/Wnn/jserver/de.c FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/de.c ---- FreeWnn-1.1.1-a017.orig/Xsi/Wnn/jserver/de.c 2000-03-20 17:31:43.000000000 +0100 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/de.c 2002-11-03 20:25:27.000000000 +0100 -@@ -158,11 +158,11 @@ - - int cur_clp; /** 現在のクライアントの番号 **/ - --static int *all_socks; /** ビットパターン -+static fd_set *all_socks; /** ビットパターン - which jserver to select を保持 **/ --static int *ready_socks; /** データのきているソケットの -+static fd_set *ready_socks; /** データのきているソケットの - ビットパターンを保持 **/ --static int *dummy1_socks, *dummy2_socks; -+static fd_set *dummy1_socks, *dummy2_socks; - - static int no_of_ready_socks; - static int sel_bwidth, /** bit width of all_socks **/ -@@ -171,9 +171,14 @@ - static int nofile; /** No. of files **/ - - #define BINTSIZE (sizeof(int)*8) -+/* - #define sock_set(array,pos) (array[pos/BINTSIZE] |= (1<<(pos%BINTSIZE))) - #define sock_clr(array,pos) (array[pos/BINTSIZE] &= ~(1<<(pos%BINTSIZE))) - #define sock_tst(array,pos) (array[pos/BINTSIZE] & (1<<(pos%BINTSIZE))) -+*/ -+#define sock_set(array,pos) FD_SET(pos,array) -+#define sock_clr(array,pos) FD_CLR(pos,array) -+#define sock_tst(array,pos) FD_ISSET(pos,array) - - struct msg_cat *wnn_msg_cat; - struct msg_cat *js_msg_cat; -@@ -312,7 +317,7 @@ - for (;;) - { - #ifdef DEBUG -- error1 ("main loop: ready_socks = %02X\n", ready_socks); -+ error1 ("main loop: ready_socks = %02lX\n", ready_socks[0]); - #endif - if (get_client () == -1) - break; -@@ -341,11 +346,11 @@ - - nofile = NOFILE; - sel_w = (nofile - 1) / BINTSIZE + 1; -- all_socks = (int *) calloc (sel_w, (sizeof (int))); -- ready_socks = (int *) malloc (sel_w * (sizeof (int))); -- dummy1_socks = (int *) malloc (sel_w * (sizeof (int))); -- dummy2_socks = (int *) malloc (sel_w * (sizeof (int))); -- sel_width = sel_w * sizeof (int); /* byte width */ -+ all_socks = (fd_set *) calloc (sel_w, (sizeof (fd_set))); -+ ready_socks = (fd_set *) malloc (sel_w * (sizeof (fd_set))); -+ dummy1_socks = (fd_set *) malloc (sel_w * (sizeof (fd_set))); -+ dummy2_socks = (fd_set *) malloc (sel_w * (sizeof (fd_set))); -+ sel_width = sel_w * sizeof (fd_set); /* byte width */ - sel_bwidth = sel_width * 8; /* bit width */ - } - -@@ -366,7 +371,7 @@ - xerror ("select error"); - } - #ifdef DEBUG -- error1 ("select OK, ready_socks[0]=%02X, n-r-s=%x\n", ready_socks[0], no_of_ready_socks); -+ error1 ("select OK, ready_socks[0]=%02lX, n-r-s=%x\n", ready_socks[0], no_of_ready_socks); - #endif - } - -diff -ru FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/jhlp.c FreeWnn-1.1.1-a017/Xsi/Wnn/uum/jhlp.c ---- FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/jhlp.c 2000-02-23 17:08:49.000000000 +0100 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/uum/jhlp.c 2002-11-03 22:25:09.000000000 +0100 -@@ -134,7 +134,7 @@ - static void do_end (), open_pty (), open_ttyp (), do_main (), exec_cmd (), parse_options (), setsize (), get_rubout (), usage (), change_size (), default_usage (); - - /** メイン */ --void -+int - main (argc, argv) - int argc; - char **argv; -@@ -923,7 +923,7 @@ - - /** メインループ */ - --int sel_ptn; -+fd_set sel_ptn; - int pty_bit; - int tty_bit; - int ptyfd; -@@ -947,7 +947,8 @@ - - pty_bit = 1 << ptyfd; - tty_bit = 1 << ttyfd; -- sel_ptn = pty_bit | tty_bit; -+ FD_SET (ptyfd, &sel_ptn); -+ FD_SET (ttyfd, &sel_ptn); - - if (henkan_off_flag == 0) - { -@@ -1020,8 +1021,9 @@ - static unsigned char *bufend = outbuf; - static unsigned char *bufstart = outbuf; - int n; -- int rfds; -- int i, j, mask; -+ fd_set rfds; -+ int i, j; -+ fd_set mask; - unsigned char *p; - extern int henkan_off_flag; - struct timeval time_out; /* If your OS's select was implemented as -@@ -1063,9 +1065,9 @@ - time_out.tv_usec = 200 * 1000; /* 200 msec 間待つのだゾ! */ - for (rfds = sel_ptn; - #ifdef linux -- (sel_ret = select (20, &rfds, 0, 0, NULL)) < 0 && errno == EINTR; -+ (sel_ret = select (20, &rfds, NULL, NULL, NULL)) < 0 && errno == EINTR; - #else -- (sel_ret = select (20, &rfds, 0, 0, &time_out)) < 0 && errno == EINTR; -+ (sel_ret = select (20, &rfds, NULL, NULL, &time_out)) < 0 && errno == EINTR; - #endif - rfds = sel_ptn) - ; -@@ -1084,7 +1086,7 @@ - */ - } - -- if (rfds & pty_bit) -+ if (FD_ISSET(ptyfd, &rfds)) - { - if ((n = read (ptyfd, buf, BUFSIZ)) <= 0) - { -@@ -1116,13 +1118,13 @@ - p += j; - i -= j; - } -- mask = 1 << ttyfd; -+ FD_SET(ttyfd, &mask); - select (32, 0, &mask, 0, 0); - } - pop_cursor (); - } - } -- if (rfds & tty_bit) -+ if (FD_ISSET(ttyfd, &rfds)) - { - if ((n = read (ttyfd, buf, BUFSIZ)) > 0) - { -@@ -1778,7 +1780,7 @@ - { - static unsigned char buf[BUFSIZ]; - int n; -- int rfds; -+ fd_set rfds; - - kk_restore_cursor (); - clr_line_all (); -@@ -1791,7 +1793,7 @@ - write (ptyfd, buf, n); - } - rfds = sel_ptn; -- select (20, &rfds, 0, 0, NULL); -+ select (20, &rfds, NULL, NULL, NULL); - if (rfds & pty_bit) - { - if ((n = read (ptyfd, buf, BUFSIZ)) <= 0) -diff -ru FreeWnn-1.1.1-a017.orig/Xsi/Xwnmo/xwnmo/do_socket.c FreeWnn-1.1.1-a017/Xsi/Xwnmo/xwnmo/do_socket.c ---- FreeWnn-1.1.1-a017.orig/Xsi/Xwnmo/xwnmo/do_socket.c 2000-02-23 18:03:22.000000000 +0100 -+++ FreeWnn-1.1.1-a017/Xsi/Xwnmo/xwnmo/do_socket.c 2002-11-03 20:25:17.000000000 +0100 -@@ -90,9 +90,9 @@ - XIMCmblk *cblk; - XIMCmblk *cur_cblk = NULL; - --int *all_socks; --int *ready_socks; --static int *dummy1_socks, *dummy2_socks; -+fd_set *all_socks; -+fd_set *ready_socks; -+static fd_set *dummy1_socks, *dummy2_socks; - static int sel_width; - - static int nofile; -@@ -114,9 +114,14 @@ - static int rc = 0; - - #define BINTSIZE (sizeof(int)*8) -+/* - #define sock_set(array,pos) (array[pos/BINTSIZE] |= (1<<(pos%BINTSIZE))) - #define sock_clr(array,pos) (array[pos/BINTSIZE] &= ~(1<<(pos%BINTSIZE))) --#define sock_tst(array,pos) (array[pos/BINTSIZE] & (1<<(pos%BINTSIZE))) -+#define sock_tst(array,pos) (array[pos/BINTSIZE] & (1<<(pos%BINTSIZE))) -+*/ -+#define sock_set(array,pos) FD_SET(pos,array) -+#define sock_clr(array,pos) FD_CLR(pos,array) -+#define sock_tst(array,pos) FD_ISSET(pos,array) - - extern int read (), write (); - ---- FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/error.c 2002/11/05 14:57:21 1.1 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/error.c 2002/11/05 14:58:12 -@@ -47,7 +47,7 @@ - void - error_exit1 (x, y1, y2, y3, y4, y5) - char *x; -- int y1, y2, y3, y4, y5; -+ long y1, y2, y3, y4, y5; - { - char buf[512]; - -@@ -112,7 +112,7 @@ - void - error1 (x, y1, y2, y3, y4, y5) - register char *x; -- int y1, y2, y3, y4, y5; -+ long y1, y2, y3, y4, y5; - { - char buf[512]; diff --git a/app-i18n/freewnn/files/a017/FreeWnn-sighandler.patch b/app-i18n/freewnn/files/a017/FreeWnn-sighandler.patch deleted file mode 100644 index 768cac2abcbc..000000000000 --- a/app-i18n/freewnn/files/a017/FreeWnn-sighandler.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- FreeWnn-1.1.1-a017.orig/Xsi/Wnn/jserver/de.c Mon Mar 20 17:31:43 2000 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/de.c Tue Aug 29 12:06:47 2000 -@@ -185,6 +185,19 @@ - - char cmd_name[80]; - -+#ifndef NOTFORK -+static void father_sighandler (const int sig) -+{ -+ if (signal(sig, SIG_DFL) == SIG_ERR) -+ _exit (2); -+ -+ if (sig == SIGTERM) -+ _exit(0); -+ else -+ _exit(-1); -+} -+#endif -+ - /* No arguments are used. Only options. */ - int - main (argc, argv) -@@ -228,14 +241,14 @@ - #ifndef NOTFORK - if (fork ()) - { -- signal (SIGCHLD, _exit); -+ signal (SIGCHLD, father_sighandler); - signal (SIGHUP, SIG_IGN); - signal (SIGINT, SIG_IGN); - signal (SIGQUIT, SIG_IGN); - #ifdef SIGTSTP - signal (SIGTSTP, SIG_IGN); - #endif -- signal (SIGTERM, _exit); -+ signal (SIGTERM, father_sighandler); - pause (); - } - #endif /* !NOTFORK */ diff --git a/app-i18n/freewnn/files/a017/FreeWnn-uum.patch b/app-i18n/freewnn/files/a017/FreeWnn-uum.patch deleted file mode 100644 index 75a5e38e8c22..000000000000 --- a/app-i18n/freewnn/files/a017/FreeWnn-uum.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -ur FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/jhlp.c FreeWnn-1.1.1-a017/Xsi/Wnn/uum/jhlp.c ---- FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/jhlp.c Wed Feb 23 17:08:49 2000 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/uum/jhlp.c Wed Nov 1 19:33:54 2000 -@@ -638,7 +638,7 @@ - #ifdef SYSVR2 - #define index strchr - #endif /* SYSVR2 */ -- extern char *index (); -+/* extern char *index ();*/ - - strcpy (ostr, default_getoptstr); - strcat (ostr, lang_db->getoptstr); -@@ -1720,7 +1720,7 @@ - } - #endif /* defined(uniosu) */ - --#ifndef sgi -+#if !defined(sgi) && !defined(linux) - ptyname (nmbuf, ptynm, ptyno); - if (chown (nmbuf, 0, 0) == ERROR) - { -diff -ur FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/wnnrc_op.c FreeWnn-1.1.1-a017/Xsi/Wnn/uum/wnnrc_op.c ---- FreeWnn-1.1.1-a017.orig/Xsi/Wnn/uum/wnnrc_op.c Wed Feb 23 16:31:45 2000 -+++ FreeWnn-1.1.1-a017/Xsi/Wnn/uum/wnnrc_op.c Mon Oct 30 23:42:17 2000 -@@ -133,7 +133,7 @@ - struct passwd *u; - extern struct passwd *getpwnam (); - #if defined(SYSVR2) && !defined(AIXV3) -- extern char *strchr (); -+/* extern char *strchr (); */ - #endif /* defined(SYSVR2) && !defined(AIXV3) */ - - if (*s != '~' && *s != '@') -diff -u FreeWnn-1.1.1-a017.orig/Xsi/makerule.mk.in.~1~ FreeWnn-1.1.1-a017.orig/Xsi/makerule.mk.in ---- FreeWnn-1.1.1-a017.orig/Xsi/makerule.mk.in.~1~ Sun Feb 13 10:15:54 2000 -+++ FreeWnn-1.1.1-a017.orig/Xsi/makerule.mk.in Wed Nov 1 19:49:39 2000 -@@ -90,7 +90,7 @@ - ALLDEFINES = $(INCLUDES) -DFUNCPROTO=15 -DNARROWPROTO $(DEFINES) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) --LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -+LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -L/usr/lib/termcap - - CCLINK = $(CC) - -@@ -114,7 +114,7 @@ - WNNBINDIR = ${PREFIX}/bin - WNNINCDIR = @includedir@ - WNNLIBDIR = @libdir@ -- WNNTERM_LIB = -ltermcap -+ WNNTERM_LIB = -ltermcap -lcrypt - - PUBDICPLUSSRC = $(IMTOP)/PubdicPlus - WNNCONSDICSRC = $(IMTOP)/Wnn-consortium/dic diff --git a/app-i18n/freewnn/files/freewnn-1.1.1_alpha20-gentoo.diff b/app-i18n/freewnn/files/freewnn-1.1.1_alpha20-gentoo.diff deleted file mode 100644 index 8969034a118d..000000000000 --- a/app-i18n/freewnn/files/freewnn-1.1.1_alpha20-gentoo.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur FreeWnn-1.10-pl020.orig/configure FreeWnn-1.10-pl020/configure ---- FreeWnn-1.10-pl020.orig/configure 2002-09-02 02:48:20.000000000 +0900 -+++ FreeWnn-1.10-pl020/configure 2004-06-26 11:29:16.742279625 +0900 -@@ -2514,7 +2514,7 @@ - CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"} - case $host in - *-*-linux*) -- CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" -+ CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE" - CDEBUGFLAGS="-O2 -fno-strength-reduce" - ;; - *-*-freebsd*|*-*-netbsd*|*-*-openbsd*) -diff -Naur FreeWnn-1.10-pl020.orig/configure.in FreeWnn-1.10-pl020/configure.in ---- FreeWnn-1.10-pl020.orig/configure.in 2002-09-02 02:48:19.000000000 +0900 -+++ FreeWnn-1.10-pl020/configure.in 2004-06-26 11:30:21.886225442 +0900 -@@ -261,7 +261,7 @@ - CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"} - case $host in - *-*-linux*) -- CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" -+ CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE" - CDEBUGFLAGS="-O2 -fno-strength-reduce" - ;; - *-*-freebsd*|*-*-netbsd*|*-*-openbsd*) diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha20-r1.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha20-r1.ebuild deleted file mode 100644 index 2f1abe28c263..000000000000 --- a/app-i18n/freewnn/freewnn-1.1.1_alpha20-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha20-r1.ebuild,v 1.11 2007/04/28 15:42:16 tove Exp $ - -inherit eutils - -MY_P="FreeWnn-${PV/_alpha/-a0}" - -DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" -HOMEPAGE="http://www.freewnn.org/" -SRC_URI="ftp://ftp.freewnn.org/pub/FreeWnn/alpha/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc ~x86" -IUSE="X ipv6" - -DEPEND="X? ( x11-libs/libX11 x11-libs/libXmu x11-libs/libXt )" - -S="${WORKDIR}/FreeWnn-1.10-pl020" - -src_unpack() { - unpack ${A} - - cd "${S}" - #Change WNNOWNER to root so we don't need to add wnn user - sed -i -e "s/WNNOWNER = wnn/WNNOWNER = root/" makerule.mk.in || die - epatch "${FILESDIR}"/${P}-gentoo.diff -} - -src_compile() { - econf \ - --disable-cWnn \ - --disable-kWnn \ - --without-termcap \ - `use_with X x` \ - `use_with ipv6` || die "./configure failed" - - emake -j1 || die -} - -src_install() { - # install executables, libs ,dictionaries - make DESTDIR="${D}" install || die "installation failed" - # install man pages - make DESTDIR="${D}" install.man || die "installation of manpages failed" - # install docs - dodoc ChangeLog* INSTALL* CONTRIBUTORS - # install rc script - newinitd "${FILESDIR}"/freewnn.initd freewnn -} diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha20.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha20.ebuild deleted file mode 100644 index 4122d547734d..000000000000 --- a/app-i18n/freewnn/freewnn-1.1.1_alpha20.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha20.ebuild,v 1.14 2007/04/28 15:42:16 tove Exp $ - -MY_P="FreeWnn-${PV/_alpha/-a0}" - -DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" -HOMEPAGE="http://www.freewnn.org/" -SRC_URI="ftp://ftp.freewnn.org/pub/FreeWnn/alpha/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha -amd64 ia64" -IUSE="X ipv6" - -DEPEND="X? ( x11-libs/libX11 x11-libs/libXmu x11-libs/libXt )" - -S="${WORKDIR}/FreeWnn-1.10-pl020" - -src_unpack() { - unpack ${A} - - #Change WNNOWNER to root so we don't need to add wnn user - mv "${S}"/makerule.mk.in "${T}" - sed -e "s/WNNOWNER = wnn/WNNOWNER = root/" \ - "${T}"/makerule.mk.in > "${S}"/makerule.mk.in -} - -src_compile() { - econf \ - --disable-cWnn \ - --disable-kWnn \ - --without-termcap \ - `use_with X x` \ - `use_with ipv6` || die "./configure failed" - - emake -j1 || die - #make || die -} - -src_install() { - # install executables, libs ,dictionaries - make DESTDIR="${D}" install || die "installation failed" - # install man pages - make DESTDIR="${D}" install.man || die "installation of manpages failed" - # install docs - dodoc ChangeLog* INSTALL* CONTRIBUTORS - # install rc script - newinitd "${FILESDIR}"/freewnn.initd freewnn -} diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha21.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha21.ebuild deleted file mode 100644 index cbba37e3d654..000000000000 --- a/app-i18n/freewnn/freewnn-1.1.1_alpha21.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha21.ebuild,v 1.11 2007/07/12 13:04:22 armin76 Exp $ - -inherit eutils - -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/freewnn/17724/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha ~amd64 hppa ia64 ppc ppc64 ~sparc x86" -IUSE="X ipv6" - -DEPEND="X? ( x11-libs/libX11 x11-libs/libXmu x11-libs/libXt )" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - - cd "${S}" - #Change WNNOWNER to root so we don't need to add wnn user - sed -i -e "s/WNNOWNER = wnn/WNNOWNER = root/" makerule.mk.in || die -} - -src_compile() { - econf \ - --disable-cWnn \ - --disable-kWnn \ - --without-termcap \ - $(use_with X x) \ - $(use_with ipv6) \ - || die "./configure failed" - emake -j1 || die -} - -src_install() { - # install executables, libs ,dictionaries - make DESTDIR="${D}" install || die "installation failed" - # install man pages - make DESTDIR="${D}" install.man || die "installation of manpages failed" - # install docs - dodoc ChangeLog* INSTALL* CONTRIBUTORS - # install rc script - newinitd "${FILESDIR}"/freewnn.initd freewnn -} |