1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Remove japanese/slirc. The port has been BROKEN of over 4 months

and is now also broken against its master port causing a warning
during INDEX generation.
This commit is contained in:
Erwin Lansing 2009-06-13 14:49:49 +00:00
parent 463dc72b96
commit 122b39c26e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235685
11 changed files with 1 additions and 364 deletions

1
MOVED
View File

@ -3982,3 +3982,4 @@ lang/perl5.6||2009-06-08|Has expired: no longer under development, use lang/perl
multimedia/dplay|multimedia/playd|2009-06-10|Port renamed
www/epiphany-webkit|www/epiphany|2009-06-10|Webkit backend isn't supported.
devel/avr-gcc-devel|devel/avr-gcc|2009-06-11|AVR-GCC 4.3.x becomes the default version.
japanese/slirc||2009-06-13|Removed

View File

@ -316,7 +316,6 @@
SUBDIR += skkinput3
SUBDIR += skkserv
SUBDIR += slimeforest
SUBDIR += slirc
SUBDIR += slrn
SUBDIR += srd-fpw
SUBDIR += srd-fpw-package

View File

@ -1,31 +0,0 @@
# New ports collection makefile for: SLirc-ja
# Date created: 6 Jan 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
CATEGORIES= japanese
MAINTAINER= ports@FreeBSD.org
MASTERDIR= ${.CURDIR}/../../irc/slirc
MD5_FILE= ${.CURDIR}/distinfo
EXTRA_FILESDIR= ${.CURDIR}/files
EXTRA_PATCHES= ${EXTRA_FILESDIR}/patch-*
BROKEN= Does not compile with devel/libslang2
SLANG_INCDIR= ${PREFIX}/include/slang
LIB_DEPENDS_LIBSLANG?= slang.2:${PORTSDIR}/japanese/libslang
MAKE_ARGS_JA= KANJI="-DKANJI"
PLIST_JA= ""
DOCS= README.ja
post-patch:
${CP} ${EXTRA_FILESDIR}/README.ja ${WRKSRC}/
.include "${MASTERDIR}/Makefile"

View File

@ -1,3 +0,0 @@
MD5 (slirc-0.12.tgz) = d5210681b5719d095ffa7f683e98860c
SHA256 (slirc-0.12.tgz) = 547785a305041e1051d06c0453db5354732f7c89f0cda2dc76227ba723009dbe
SIZE (slirc-0.12.tgz) = 122782

View File

@ -1,65 +0,0 @@
SLirc 0.11.10ja6
$BI~It(B $BE590(B <tnh@aurora.dti.ne.jp>
SLirc$B$K$D$$$F(B
$B%*%j%8%J%k$+$i$NJQ99(B
$B%3%s%Q%$%k!&4D6-@_Dj(B
$BIT6q9g!?%P%0(B
$B$=$NB>(B
SLirc$B$K$D$$$F(B
Dave Cridland $B;a$H(B Stan Brooks $B;a$K$h$k(B IRC Client $B$G$9!#(B
$BFCD'$H$7$F(B
o $BB.$/$F2wE,(B
o $B%+%i%U%k$G$+$C$3$$$$(B
o S-lang $B8@8l$G3HD%$G$-$k(B
$B$H$$$&$b$N$,$"$j$^$9!#(B
$BF|K\8lBP1~(B SLirc $B$O(B SLirc $B$rF|K\8lBP1~$K$7$?$b$N$G$9!#(B
$B%*%j%8%J%k$+$i$NJQ99(B
IRC $B%5!<%P$HF|K\8l$NAw<u?.$,$G$-$^$9!#(B
$BF~NO%P%C%U%!$GF|K\8l$,@5>o$KJT=8$G$-$^$9!#(B
$B%3%s%Q%$%k!&4D6-@_Dj(B
$B!&%3%s%Q%$%k(B
$B%3%s%Q%$%k;~$K%*%W%7%g%s$H$7$F(B -DKANJI $B$r;XDj$7$F$/$@$5$$!#(B
$B!&4D6-@_Dj(B
config.sl, colours.sl $B$r(B ~/.slirc/scripts $B$K%3%T!<$7$^$9!#(B
mkdir -p ~/.slirc/scripts
cp /usr/lib/slirc/scripts/config.sl ~/.slirc/scripts
cp /usr/lib/slirc/scripts/colours.sl ~/.slirc/scripts
$B<!$K(B ~/.slirc/scripts/config.sl $B$r@_Dj$7$^$9!#(B
() = s_putlast(servers,"$B%5!<%PL>(B:$B%]!<%HHV9f(B::$B%K%C%/%M!<%`(B");
variable chan_on_connect = "$B@\B3$9$k%A%c%M%k(B";
$B%K%C%/%M!<%`$O(B9$BJ8;z0JFb$G!"H>3Q1Q?t$7$+$D$+$($J$$$N$GCm0U$7$F$/$@$5$$!#(B
$B<!$K4D6-JQ?t(B IRCNAME $B$r(B .profile $BEy$K@_Dj$7$^$9!#(B
export IRCNAME="$BK\L>(B"
$B0J>e$G@_Dj$O40N;$G$9!#(B
$BIT6q9g!?%P%0(B
$BF~NO%P%C%U%!$KD9$$F|K\8l$rF~NO$9$k$HI=<($,$_$@$l$k>l9g$,$"$j$^$9!#(B
$B$=$NB>(B
$B%P%0$r8+$D$1$?$j=$@5$5$l$?J}$,$$$i$C$7$c$?$i!"I~ItE590(B
<tnh@aurora.dti.ne.jp>$B$^$GO"Mm$7$F2<$5$$!#(B

View File

@ -1,109 +0,0 @@
--- scripts/editor.sl.orig Mon Jun 7 16:07:23 1999
+++ scripts/editor.sl Sat Jan 6 21:23:30 2001
@@ -35,6 +35,13 @@
{
irc_edit_insert_pos--;
buf = chop_last(irc_buffer);
+#ifdef KANJI
+ if(iskanji(irc_buffer[irc_edit_insert_pos]))
+ {
+ irc_edit_insert_pos--;
+ buf = substr(irc_buffer, 1, irc_edit_insert_pos);
+ }
+#endif
irc_set_buffer(buf);
}
else
@@ -42,6 +49,14 @@
irc_edit_insert_pos--;
buf = substr(irc_buffer, 1, irc_edit_insert_pos)
+ substr(irc_buffer, irc_edit_insert_pos + 2, -1);
+#ifdef KANJI
+ if(iskanji(irc_buffer[irc_edit_insert_pos]))
+ {
+ irc_edit_insert_pos--;
+ buf = substr(irc_buffer, 1, irc_edit_insert_pos)
+ + substr(irc_buffer, irc_edit_insert_pos + 3, -1);
+ }
+#endif
irc_set_buffer(buf);
}
!if(irc_edit_insert_pos)
@@ -67,10 +82,25 @@
if(ch < 0x0a0) return; % ISO-LATIN-1 are 0xa0-0xff
}
variable buf;
+#ifdef KANJI
+ variable keysym;
+#endif
if(irc_edit_insert_pos >= strlen(irc_buffer))
{
+#ifdef KANJI
+ buf = irc_buffer + char(ch);
+ irc_edit_insert_pos = strlen(buf);
+ if (iskanji(ch))
+ {
+ keysym = irc_get_input();
+ buf = irc_buffer + char(ch) + char(keysym);
+ irc_edit_insert_pos = strlen(buf);
+ }
+ irc_set_buffer(buf);
+#else
irc_set_buffer(irc_buffer + char(ch));
irc_edit_insert_pos = strlen(irc_buffer);
+#endif
}
else
{
@@ -78,12 +108,30 @@
{
buf = char(ch) + irc_buffer;
irc_edit_insert_pos = 1;
+#ifdef KANJI
+ if (iskanji(ch))
+ {
+ keysym = irc_get_input();
+ buf = char(ch) + char(keysym) + irc_buffer;
+ irc_edit_insert_pos = 2;
+ }
+#endif
}
else
{
buf = substr(irc_buffer, 1, irc_edit_insert_pos)
+ char(ch)
+ substr(irc_buffer, irc_edit_insert_pos + 1, -1);
+#ifdef KANJI
+ if (iskanji(ch))
+ {
+ keysym = irc_get_input();
+ buf = substr(irc_buffer, 1, irc_edit_insert_pos)
+ + char(ch) + char(keysym)
+ + substr(irc_buffer, irc_edit_insert_pos + 1, -1);
+ irc_edit_insert_pos++;
+ }
+#endif
irc_edit_insert_pos++;
}
irc_set_buffer(buf);
@@ -96,10 +144,20 @@
{
if(irc_edit_insert_pos > 0)
irc_edit_insert_pos --;
+#ifdef KANJI
+ if(irc_edit_insert_pos > 0)
+ if(iskanji(irc_buffer[irc_edit_insert_pos]))
+ irc_edit_insert_pos--;
+#endif
}
define do_scroll_right()
{
+#ifdef KANJI
+ if(irc_edit_insert_pos < strlen(irc_buffer))
+ if(iskanji(irc_buffer[irc_edit_insert_pos]))
+ irc_edit_insert_pos++;
+#endif
if(irc_edit_insert_pos < strlen(irc_buffer))
irc_edit_insert_pos++;
}

View File

@ -1,11 +0,0 @@
--- scripts/init.sl.orig Sun Aug 22 03:22:41 1999
+++ scripts/init.sl Sat Jan 6 21:23:30 2001
@@ -56,7 +56,7 @@
return;
}
variable w = vf_write(irc_server, st);
- if (w == strlen(st)) return;
+ if (w >= strlen(st)) return;
irc_Inff("incomplete server write: %d/%d",w,strlen(st));
% () = fflush(irc_server);
}

View File

@ -1,10 +0,0 @@
--- lru.c.orig Mon Aug 23 16:16:41 2004
+++ lru.c Mon Aug 23 16:16:54 2004
@@ -285,6 +285,7 @@
case 'm':
}
SLsmg_set_color(Col);
+ break;
}
SLsmg_write_nchars(el->str, len);
} while ((el = el->next) != el0);

View File

@ -1,40 +0,0 @@
--- slirc.c.orig Tue Aug 24 00:15:11 1999
+++ slirc.c Sat Jan 6 21:23:30 2001
@@ -8,6 +8,9 @@
#include <signal.h>
#include <slang.h>
+#ifdef KANJI
+#include <slkanji.h>
+#endif
#include "slirc.h"
@@ -135,7 +138,16 @@
char *cp,*pm;
char stop, ch;
+#ifdef KANJI
+ char *KBuf;
+ int KSiz;
+ KSiz = strlen(cp0);
+ KBuf = kSLCodeConv(cp0, &KSiz, JIS, kSLcode, 1);
+ cp = strmcpy(RBuf, KBuf, sizeof(RBuf));
+ SLfree(KBuf);
+#else
cp = strmcpy(RBuf, cp0, sizeof(RBuf));
+#endif
/* now cp points to the terminating null in RBuf */
while(1) {
if (cp > RBuf && *(cp-1) == '\n') { /* back up past '\n' if is one. */
@@ -1031,6 +1043,10 @@
}
SLsmg_init_smg(); /* this does get_screen_size inside. */
SLang_set_abort_signal(NULL);
+#ifdef KANJI
+ kSLcode = EUC;
+ init_SLKanji();
+#endif
InitMainScreen();
SLang_VMessage_Hook = Local_vmessage;
SLang_Load_File_Hook = Local_SLang_load_file;

View File

@ -1,50 +0,0 @@
--- vfile-module.c.orig Tue Aug 24 00:08:56 1999
+++ vfile-module.c Sat Jan 6 21:53:38 2001
@@ -54,6 +54,9 @@
#include <sys/wait.h>
#include <slang.h>
+#ifdef KANJI
+#include <slkanji.h>
+#endif
/* we need stripped-down version of SLang_Object_Type for cookies: */
typedef struct {
@@ -1331,6 +1334,9 @@
unsigned long ip;
void *data;
char *s = NULL;
+#ifdef KANJI
+ char *s2 = NULL;
+#endif
SLang_BString_Type *bs = NULL;
SLang_Array_Type *at = NULL;
SLang_MMT_Type *mmt = NULL;
@@ -1351,8 +1357,15 @@
case SLANG_STRING_TYPE:
if (SLang_pop_slstring(&s)) return -1;
type = strlen(s);
+#ifdef KANJI
+ s2 = kSLCodeConv(s,&type,kSLcode,JIS,0);
+ type = strlen(s2);
+ if (len < 0 || len > type) len = type;
+ data = s2;
+#else
if (len < 0 || len > type) len = type;
data = s;
+#endif
break;
case SLANG_BSTRING_TYPE:
if (SLang_pop_bstring(&bs)) return -1;
@@ -1397,6 +1410,11 @@
if (at) SLang_free_array (at);
if (bs) SLbstring_free(bs);
SLang_free_slstring(s); /* NULL is ok */
+#ifdef KANJI
+ if(s2 != NULL)
+ SLfree(s2);
+#endif
+
if (mmt) SLang_free_mmt(mmt);
return ct;
}

View File

@ -1,44 +0,0 @@
--- windoze.c.orig Sun Aug 22 20:15:00 1999
+++ windoze.c Sat Jan 6 21:23:35 2001
@@ -15,6 +15,9 @@
#include <errno.h>
#include <stdio.h>
#include <slang.h>
+#ifdef KANJI
+#include <slkanji.h>
+#endif
#include <time.h>
#include <string.h>
#include "slirc.h"
@@ -124,7 +127,19 @@
while (*p && isspace(*p)) p++ ;
q = p;
if (*p) {
+#ifdef KANJI
+ for (q = p; q < (p+tw); q++) {
+ if(iskanji(*q)) {
+ q++;
+ }
+ }
+ if (q > (p+tw)) {
+ q -= 2;
+ }
+ if (q > txth) q = txth;
+#else
q += tw; if (q > txth) q = txth;
+#endif
/* go back up to 1/3 of text-width looking for a word-break */
if (*q && !isspace(*q)) {
char *r,*rlow;
@@ -256,6 +271,11 @@
} else if (*cp == CTRL_O) {
bold = 0;
SLsmg_set_color(ColNorm);
+#ifdef KANJI
+ } else if (iskanji(*cp)){
+ SLsmg_write_nstring(cp,2);
+ cp++;
+#endif
} else if (*cp != '')
SLsmg_write_char(*cp);
}