From 54c312bfe69c0115f4f905aca69a64c9eaa8ce62 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sat, 4 Dec 2010 21:32:34 +0000 Subject: Garbage collect old ports: 2010-11-15 archivers/linux-par2cmdline: Native version available 2010-11-15 audio/bmp-musepack: does not build with audio/musepack 2010-11-15 audio/libmpcdec: superseded by audio/musepack 2010-11-15 audio/py-musepack: does not build with audio/musepack 2010-12-01 chinese/chinput3: Development has ceased. 2010-12-01 emulators/dynagen-devel: Please install emulators/dynagen instead 2010-11-24 net-p2p/gift-fasttrack: unmaintained upstream 2010-11-24 net-p2p/gift-gnutella: unmaintained upstream 2010-11-24 net-p2p/gift-openft: unmaintained upstream 2010-11-24 net-p2p/pyslsk: unmantained upstream, use net-p2p/nicotine-plus 2010-11-11 security/pamsfs: SFS is dead, this project is dead, and site is gone 2010-11-10 www/p5-Catalyst-Plugin-CommandLine: The module is not needed any more. With new Catalyst (at least 5.7014) it works out of the box. --- chinese/Makefile | 1 - chinese/chinput3/Makefile | 56 ----------------- chinese/chinput3/distinfo | 3 - chinese/chinput3/files/patch-cce-cin2tab.c | 11 ---- chinese/chinput3/files/patch-cce-xl_hzinput | 22 ------- chinese/chinput3/files/patch-register | 11 ---- .../chinput3/files/patch-server-TLS_AsciiConvertor | 11 ---- .../chinput3/files/patch-server-TLS_HzConvertTable | 13 ---- chinese/chinput3/files/patch-server-TLS_ImmOp | 11 ---- chinese/chinput3/files/patch-server-TLS_LibMain | 11 ---- chinese/chinput3/files/patch-server-TLS_MemFile | 20 ------ .../patch-src_Chinput-3.0.2_resource_Chinput.ad | 13 ---- .../files/patch-src_Chinput-3.0.2_src_init.c | 32 ---------- chinese/chinput3/files/patch-turbo-cin2tab | 73 ---------------------- chinese/chinput3/files/pkg-message.in | 10 --- chinese/chinput3/pkg-descr | 5 -- chinese/chinput3/pkg-plist | 31 --------- 17 files changed, 334 deletions(-) delete mode 100644 chinese/chinput3/Makefile delete mode 100644 chinese/chinput3/distinfo delete mode 100644 chinese/chinput3/files/patch-cce-cin2tab.c delete mode 100644 chinese/chinput3/files/patch-cce-xl_hzinput delete mode 100644 chinese/chinput3/files/patch-register delete mode 100644 chinese/chinput3/files/patch-server-TLS_AsciiConvertor delete mode 100644 chinese/chinput3/files/patch-server-TLS_HzConvertTable delete mode 100644 chinese/chinput3/files/patch-server-TLS_ImmOp delete mode 100644 chinese/chinput3/files/patch-server-TLS_LibMain delete mode 100644 chinese/chinput3/files/patch-server-TLS_MemFile delete mode 100644 chinese/chinput3/files/patch-src_Chinput-3.0.2_resource_Chinput.ad delete mode 100644 chinese/chinput3/files/patch-src_Chinput-3.0.2_src_init.c delete mode 100644 chinese/chinput3/files/patch-turbo-cin2tab delete mode 100644 chinese/chinput3/files/pkg-message.in delete mode 100644 chinese/chinput3/pkg-descr delete mode 100644 chinese/chinput3/pkg-plist (limited to 'chinese') diff --git a/chinese/Makefile b/chinese/Makefile index c3652032fe40..877d473315f9 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -22,7 +22,6 @@ SUBDIR += c2t SUBDIR += cce SUBDIR += celvis - SUBDIR += chinput3 SUBDIR += chm2html SUBDIR += cless SUBDIR += cmexfonts diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile deleted file mode 100644 index ecacc2750fb5..000000000000 --- a/chinese/chinput3/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# Ports collection makefile for: chinput3 -# Date created: 03/31/2002 -# Whom: Shen Chuan-Hsing -# -# $FreeBSD$ -# $MCom: ports/chinese/chinput3/Makefile,v 1.1 2006/10/04 13:15:20 ahze Exp $ - -PORTNAME= chinput -PORTVERSION= 3.0.2.5 -PORTREVISION= 11 -CATEGORIES= chinese x11 -MASTER_SITES= http://ftp.jaist.ac.jp/pub/FreeBSD/distfiles/ \ - http://www.gtlib.gatech.edu/pub/FreeBSD/distfiles/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Chinese GB2312,BIG5 code input server - -BROKEN= does not build -DEPRECATED= Development has ceased. -EXPIRATION_DATE= 2010-12-01 - -LATEST_LINK= zh-chinput3 -USE_XORG= x11 xt -USE_GETTEXT= yes -USE_GNOME= gtk12 imlib -USE_LDCONFIG= ${PREFIX}/lib/Chinput/im/ - -PKGMESSAGE= ${WRKDIR}/pkg-message -SUB_FILES= pkg-message - -.include - -.if ${ARCH} != "i386" -BROKEN= Does not compile on !i386 -.endif - -post-patch: - @${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \ - ${WRKSRC}/src/Chinput-*/src/*.c - @${FIND} ${WRKSRC} -type f | \ - ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' - @${REINPLACE_CMD} -e 's|XLIB)|XLIB) -L${LOCALBASE}/lib -lintl|' \ - ${WRKSRC}/src/ZWinControl/Makefile - -pre-build: - @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ - -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \ - s|-I/usr/include|-I${LOCALBASE}/include|; \ - s|-L/usr/lib|-L${LOCALBASE}/lib|; \ - s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|; \ - s|/usr/X11R6|${LOCALBASE}|' - -post-install: - @${CAT} ${PKGMESSAGE} - -.include diff --git a/chinese/chinput3/distinfo b/chinese/chinput3/distinfo deleted file mode 100644 index 95ab98af938d..000000000000 --- a/chinese/chinput3/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (chinput-3.0.2.5.tar.gz) = dee38df80e6408aca70ee4f367cc988a -SHA256 (chinput-3.0.2.5.tar.gz) = d5385896b14bea80e951595d7ae65ca117def876f8c738453143a1a3f32968af -SIZE (chinput-3.0.2.5.tar.gz) = 3012129 diff --git a/chinese/chinput3/files/patch-cce-cin2tab.c b/chinese/chinput3/files/patch-cce-cin2tab.c deleted file mode 100644 index 6e5b82b7189f..000000000000 --- a/chinese/chinput3/files/patch-cce-cin2tab.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unicon-im/ImmModules/cce/cin2tab.c.orig 2008-01-25 14:10:07.000000000 -0800 -+++ src/unicon-im/ImmModules/cce/cin2tab.c 2008-01-25 14:32:40.000000000 -0800 -@@ -162,7 +162,7 @@ - int i,k; - char fname[64], fname_cin[64], fname_tab[64]; - char fname_phr[64],fname_lx[64]; --char tt[128]; -+unsigned char tt[128]; - unsigned char *cmd, *arg; - hz_input_table InpTable; - int TotalKeyNum; diff --git a/chinese/chinput3/files/patch-cce-xl_hzinput b/chinese/chinput3/files/patch-cce-xl_hzinput deleted file mode 100644 index f66a37c089a8..000000000000 --- a/chinese/chinput3/files/patch-cce-xl_hzinput +++ /dev/null @@ -1,22 +0,0 @@ ---- src/unicon-im/ImmModules/cce/xl_hzinput.c.orig 2008-01-25 14:10:07.000000000 -0800 -+++ src/unicon-im/ImmModules/cce/xl_hzinput.c 2008-01-25 15:49:32.000000000 -0800 -@@ -124,7 +124,7 @@ - - static void GetAssociatePhrases (HzInputTable_T *pClient, unsigned char *p) - { -- int index,len = strlen(p); -+ int index,len = strlen((const char*)p); - - if (pClient->InputCount <= pClient->InputMatch) /* All Match */ - { -@@ -291,8 +291,8 @@ - { - fseek( pClient->cur_table->AssocFile, index << 2, SEEK_SET ); - fread( &PhraseNo, sizeof(int), 1, pClient->cur_table->AssocFile ); -- LoadPhrase(pClient, PhraseNo, str ); -- strcpy(pClient->seltab[pClient->CurSelNum],str+2); -+ LoadPhrase(pClient, PhraseNo, (char*)str ); -+ strcpy(pClient->seltab[pClient->CurSelNum],(char*)str+2); - CurLen += strlen(pClient->seltab[pClient->CurSelNum++]); - index++; - } diff --git a/chinese/chinput3/files/patch-register b/chinese/chinput3/files/patch-register deleted file mode 100644 index a66ecb01e99b..000000000000 --- a/chinese/chinput3/files/patch-register +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Chinput-3.0.2/src/IMdkit/lib/i18nClbk.c.orig 2008-01-25 14:16:09.000000000 -0800 -+++ src/Chinput-3.0.2/src/IMdkit/lib/i18nClbk.c 2008-01-25 14:13:15.000000000 -0800 -@@ -129,7 +129,7 @@ - XIMPreeditDrawCallbackStruct *draw = - (XIMPreeditDrawCallbackStruct *) &preedit_CB->todo.draw; - CARD16 connect_id = call_data->any.connect_id; -- register int feedback_count; -+ int feedback_count; - register int i; - BITMASK32 status = 0x0; - diff --git a/chinese/chinput3/files/patch-server-TLS_AsciiConvertor b/chinese/chinput3/files/patch-server-TLS_AsciiConvertor deleted file mode 100644 index 32ad094c0a30..000000000000 --- a/chinese/chinput3/files/patch-server-TLS_AsciiConvertor +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unicon-im/server/TLS_AsciiConvertor.cpp.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/server/TLS_AsciiConvertor.cpp 2008-01-25 15:46:52.000000000 -0800 -@@ -202,7 +202,7 @@ - - int IsSymbol (unsigned char key) - { -- char *szSymbol = ";:'\"<,>.?/[{]{"; -+ const char *szSymbol = ";:'\"<,>.?/[{]{"; - int i, len = strlen (szSymbol); - for (i = 0; i < len; i++) - if (key == szSymbol[i]) diff --git a/chinese/chinput3/files/patch-server-TLS_HzConvertTable b/chinese/chinput3/files/patch-server-TLS_HzConvertTable deleted file mode 100644 index 81034adb889c..000000000000 --- a/chinese/chinput3/files/patch-server-TLS_HzConvertTable +++ /dev/null @@ -1,13 +0,0 @@ ---- src/unicon-im/server/TLS_HzConvertTable.h.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/server/TLS_HzConvertTable.h 2008-01-25 15:23:12.000000000 -0800 -@@ -19,8 +19,8 @@ - */ - - typedef struct _GB2BIG5 { -- char *gb; -- char *big5; -+ const char *gb; -+ const char *big5; - } GB2BIG5; - - #define TABLENUM sizeof(g2b)/sizeof(g2b[0]) diff --git a/chinese/chinput3/files/patch-server-TLS_ImmOp b/chinese/chinput3/files/patch-server-TLS_ImmOp deleted file mode 100644 index 27bc6d304333..000000000000 --- a/chinese/chinput3/files/patch-server-TLS_ImmOp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unicon-im/server/TLS_ImmOp.cpp.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/server/TLS_ImmOp.cpp 2008-01-25 14:20:30.000000000 -0800 -@@ -23,7 +23,7 @@ - * Author: see CREDITS - */ - --#include -+#include - #include - #include - #include diff --git a/chinese/chinput3/files/patch-server-TLS_LibMain b/chinese/chinput3/files/patch-server-TLS_LibMain deleted file mode 100644 index 0662815f5ec7..000000000000 --- a/chinese/chinput3/files/patch-server-TLS_LibMain +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unicon-im/server/TLS_LibMain.cpp.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/server/TLS_LibMain.cpp 2008-01-25 14:21:32.000000000 -0800 -@@ -35,7 +35,7 @@ - #include - #include - #include --#include -+#include - //#include - - #include diff --git a/chinese/chinput3/files/patch-server-TLS_MemFile b/chinese/chinput3/files/patch-server-TLS_MemFile deleted file mode 100644 index e2ddab5b0451..000000000000 --- a/chinese/chinput3/files/patch-server-TLS_MemFile +++ /dev/null @@ -1,20 +0,0 @@ ---- src/unicon-im/server/TLS_MemFile.cpp.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/server/TLS_MemFile.cpp 2008-01-25 14:22:31.000000000 -0800 -@@ -23,7 +23,7 @@ - * Author: see CREDITS - */ - --#include -+#include - #include - #include - #include -@@ -32,6 +32,8 @@ - - #include - -+using namespace std; -+ - TLS_CMemFile::TLS_CMemFile (unsigned long max0) - { - buf = (char *) malloc (max0); diff --git a/chinese/chinput3/files/patch-src_Chinput-3.0.2_resource_Chinput.ad b/chinese/chinput3/files/patch-src_Chinput-3.0.2_resource_Chinput.ad deleted file mode 100644 index 2464e63e2876..000000000000 --- a/chinese/chinput3/files/patch-src_Chinput-3.0.2_resource_Chinput.ad +++ /dev/null @@ -1,13 +0,0 @@ ---- src/Chinput-3.0.2/resource/Chinput.ad.orig 2008-03-25 12:16:09.000000000 -0700 -+++ src/Chinput-3.0.2/resource/Chinput.ad 2008-03-25 12:21:36.000000000 -0700 -@@ -2,8 +2,8 @@ - !It based on chinput - - --chinput.gblocale = zh_CN.EUC --chinput.big5locale = zh_CN.EUC -+chinput.gblocale = zh_CN.GB2312 -+chinput.big5locale = zh_CN.GB2312 - - ! - ! input style: AUTO, ROOT, OVERSPOT, ONSPOT, OFFSPOT diff --git a/chinese/chinput3/files/patch-src_Chinput-3.0.2_src_init.c b/chinese/chinput3/files/patch-src_Chinput-3.0.2_src_init.c deleted file mode 100644 index 34ad8740ad5b..000000000000 --- a/chinese/chinput3/files/patch-src_Chinput-3.0.2_src_init.c +++ /dev/null @@ -1,32 +0,0 @@ ---- src/Chinput-3.0.2/src/init.c.orig 2008-03-25 11:18:01.000000000 -0700 -+++ src/Chinput-3.0.2/src/init.c 2008-03-25 12:23:41.000000000 -0700 -@@ -94,6 +94,13 @@ - load_font(&font_info, font_latin); - } - -+static int is_locale_supported(char *locale) { -+ char *setlocale_string = setlocale(LC_ALL, locale); -+ int success = (setlocale_string != NULL && strcmp(setlocale_string, locale)==0 && XSupportsLocale()); -+ if (!success && locale[0] != 0 && setlocale_string != NULL && setlocale_string[0] != 0) { -+ fprintf(stderr, "Error : requested locale '%s' not supported\n"); -+ } -+} - - void HZinitServerGC(void) - { -@@ -103,12 +110,9 @@ - char fontname[256]; - - //create font set -- if(strcmp(setlocale(LC_ALL, gb18030locale), gb18030locale) || -- !XSupportsLocale()){ -- if(strcmp(setlocale(LC_ALL, gbklocale), gbklocale) || -- !XSupportsLocale()){ -- if(strcmp(setlocale(LC_ALL, gblocale), gblocale) || -- !XSupportsLocale()){ -+ if(!is_locale_supported(gb18030locale)){ -+ if(!is_locale_supported(gbklocale)){ -+ if(!is_locale_supported(gblocale)){ - fprintf(stderr, "Error : Chinese Locale not supported!\n"); - exit(1); - } diff --git a/chinese/chinput3/files/patch-turbo-cin2tab b/chinese/chinput3/files/patch-turbo-cin2tab deleted file mode 100644 index a35219d62ded..000000000000 --- a/chinese/chinput3/files/patch-turbo-cin2tab +++ /dev/null @@ -1,73 +0,0 @@ ---- src/unicon-im/ImmModules/turbo/cin2tab.c.orig 2008-01-25 14:10:08.000000000 -0800 -+++ src/unicon-im/ImmModules/turbo/cin2tab.c 2008-01-25 14:37:33.000000000 -0800 -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include // for tolower - #include "xl_hzinput.h" - #include "xl_sysphrase.h" - #include "xl_phrase.h" -@@ -194,24 +195,24 @@ - /************** Now some basic information ************************/ - strcpy(InpTable.magic_number,MAGIC_NUMBER); - cmd_arg(tt, &cmd, &arg); -- if (strcmp(cmd,"%ename") || !(*arg) ) -+ if (strcmp((const char*)cmd,"%ename") || !(*arg) ) - print_error("%d: %%ename english_name expected", lineno); - arg[CIN_ENAME_LENGTH-1]=0; - strcpy(InpTable.ename,arg); - - cmd_arg(tt, &cmd, &arg); -- if (strcmp(cmd,"%prompt") || !(*arg) ) -+ if (strcmp((const char*)cmd,"%prompt") || !(*arg) ) - print_error("%d: %%prompt prompt_name expected", lineno); - arg [CIN_CNAME_LENGTH-1]=0; - strcpy(InpTable.cname, arg); - - cmd_arg(tt,&cmd, &arg); -- if (strcmp(cmd,"%selkey") || !(*arg) ) -+ if (strcmp((const char*)cmd,"%selkey") || !(*arg) ) - print_error("%d: %%selkey select_key_list expected", lineno); - strcpy(InpTable.selkey,arg); - - cmd_arg(tt,&cmd, &arg); -- if (strcmp(cmd,"%last_full") || !(*arg)) -+ if (strcmp((const char*)cmd,"%last_full") || !(*arg)) - InpTable.last_full = 1; - else - { -@@ -222,21 +223,21 @@ - cmd_arg(tt, &cmd, &arg); - } - -- if (strcmp(cmd,"%dupsel") || !(*arg) ) -+ if (strcmp((const char*)cmd,"%dupsel") || !(*arg) ) - print_error("%d: %%dupsel NO of dup sel keys expected", lineno); - InpTable.MaxDupSel=atoi(arg); - - /*************** now the keyname ****************************/ - - cmd_arg(tt,&cmd, &arg); -- if (strcmp(cmd,"%keyname") || strcmp(arg,"begin")) -+ if (strcmp((const char*)cmd,"%keyname") || strcmp((const char*)arg,"begin")) - print_error("%d: %%keyname begin expected", lineno); - - TotalKeyNum=0; - while(1) - { - cmd_arg(tt,&cmd, &arg); -- if (!strcmp(cmd,"%keyname")) break; -+ if (!strcmp((const char*)cmd,"%keyname")) break; - k = tolower(cmd[0]); /* k = char */ - if (InpTable.KeyMap[k]) - print_error("%d: key %c is already used",lineno, k); -@@ -265,7 +266,7 @@ - cmd_arg(tt,&cmd,&arg); - if (!cmd[0] || !arg[0]) - break; -- len = strlen(cmd); -+ len = strlen((const char*)cmd); - if (len > InpTable.MaxPress) - InpTable.MaxPress=len; - if (len > 10) diff --git a/chinese/chinput3/files/pkg-message.in b/chinese/chinput3/files/pkg-message.in deleted file mode 100644 index 7d5d4165a98e..000000000000 --- a/chinese/chinput3/files/pkg-message.in +++ /dev/null @@ -1,10 +0,0 @@ -------------------------------------------------------------------------------- -Please check the following files: - %%LOCALBASE%%/lib/X11/locale/zh_CN/XI18N_OBJS -If not exist, copy %%LOCALBASE%%/lib/X11/locale/zh/XI18N_OBJS to it. - -Remember to set environment varible XMODIFIERS: - csh/tcsh: setenv XMODIFIERS @im=Chinput - sh/bash: export XMODIFIERS='@im=Chinput' -and set LANG, LC_CTYPE to zh_CN.GB2312. -------------------------------------------------------------------------------- diff --git a/chinese/chinput3/pkg-descr b/chinese/chinput3/pkg-descr deleted file mode 100644 index 84b92b65e17c..000000000000 --- a/chinese/chinput3/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Ported from Chinput3 on Linux platform . - -Chinese GB,BIG5 code input server. - -WWW: http://www.opencjk.org/~yumj/ diff --git a/chinese/chinput3/pkg-plist b/chinese/chinput3/pkg-plist deleted file mode 100644 index 780ac2a060f2..000000000000 --- a/chinese/chinput3/pkg-plist +++ /dev/null @@ -1,31 +0,0 @@ -bin/chinput -bin/kpengine -bin/zwincontrol -lib/Chinput/Chinput.ad -lib/Chinput/hzbig5.dat -lib/Chinput/hzgb.dat -lib/Chinput/im/libimm_server.so -lib/Chinput/im/libimmclient.a -lib/Chinput/im/cce_pinyin.so -lib/Chinput/im/cce_hzinput.so -lib/Chinput/im/TL_hzinput.so -lib/Chinput/im/sys-gb.tab -lib/Chinput/im/sys-big5.tab -lib/Chinput/im/bin/cin2tab -lib/Chinput/im/bin/txt2tab -lib/Chinput/im/bin/tab2txt -lib/Chinput/im/cce/pinyin.map -lib/Chinput/im/cce/sysphrase.tab -lib/Chinput/im/cce/usrphrase.tab -lib/Chinput/im/gb/sp.tab -lib/Chinput/im/gb/WuBi.tab -lib/Chinput/im/gb/CCDOSPY.tab -lib/Chinput/im/gbk/gbkpy_mb.tab -lib/Chinput/im/tl_sysphrase.gb.bin -share/locale/zh_CN/LC_MESSAGES/zwincontrol.mo -@dirrm lib/Chinput/im/gbk -@dirrm lib/Chinput/im/gb -@dirrm lib/Chinput/im/cce -@dirrm lib/Chinput/im/bin -@dirrm lib/Chinput/im -@dirrm lib/Chinput -- cgit v1.2.3