aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-01-01 00:57:23 +0000
committerRene Ladan <rene@FreeBSD.org>2021-01-01 00:57:23 +0000
commite095f78463023f59c04bdd21ffc95fada557410f (patch)
treeec5de6499c9c252b774be9acb5c807082d084bd2 /chinese
parent2735d517c12b82760759a6519959aea6bc21d383 (diff)
downloadports-e095f78463023f59c04bdd21ffc95fada557410f.tar.gz
ports-e095f78463023f59c04bdd21ffc95fada557410f.zip
Remove most expired ports that depend on Python 2.7:
Exceptions are: - mail/mailman, our listservers still use it - www/chromium, solely because of popular demand, upstream is (slowly) working on porting it to Python 3 - ports that have actual patches for Python 3 against them (Cinnamon and a few unrelated other ports) - llvm70 and qt5-webengine because they seem to have a lot of dependencies which need further analysis - sysutils/uefi-edk2-bhyve because bhyve seems to use them - python2 and python27 themselves I'm sure there will be complaints, but the nice thing about a version control system is that we can revert and adjust things. 2020-12-31 audio/ardour: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 audio/mixxx21: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 audio/xmms2: Uses Python 2.7 which is EOLed upstream 2020-12-31 chinese/sunpinyin: Uses Python 2.7 which is EOLed upstream 2020-12-31 databases/arangodb32: Uses Python 2.7 which is EOLed upstream 2020-12-31 databases/arangodb33: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/bzr: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/chromium-gn: Uses deprecated version of python, use devel/gn instead 2020-12-31 devel/electron4: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron6: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron7: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/gnatpython: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/godot2: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 devel/godot2-tools: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 devel/libhid: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/libosmocore: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/llvm60: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/mongo-cxx-driver: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-06-30 devel/p5-Log-Any-Adapter-Callback: Use devel/p5-Log-Any (Log::Any::Adapter::Capture) instead 2020-12-31 devel/py-backports.functools_lru_cache: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-backports.os: Python 2 is EOL upstream 2020-12-31 devel/py-backports.shutil_get_terminal_size: Python 2 is EOL upstream 2020-12-31 devel/py-backports_abc: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-cheetah: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-dis3: Python 2 only, backport of Python 3 2020-12-31 devel/py-enum34: Will be removed along with python27 2020-12-31 devel/py-functools32: Python 2 only, backport of Python 3 2020-12-31 devel/py-futures: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-more-itertools5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-pathlib: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-selectors2: Python 2 is EOL upstream 2020-12-31 devel/py-should_dsl: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-singledispatch: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-subprocess32: Python 2 only, following EOL of lang/python27 2020-12-31 devel/py-total-ordering: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-typing: Python 2 only, backport of Python 3 2020-12-31 devel/py-weakrefmethod: Python 2 only, backport of Python 3 2020-12-31 devel/rbtools: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/subversion-lts: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/viewvc: Uses Python 2.7 which is EOLed upstream 2020-12-31 dns/py-dns: Uses Python 2.7 which is EOLed upstream 2020-12-31 editors/atom: Uses Python 2.7 which is EOLed upstream 2020-12-31 emulators/fceux: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 emulators/gem5: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 emulators/nonpareil: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/0ad: Uses deprecated version of python 2020-12-31 games/dangerdeep: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/freera: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/glob2: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/marsnomercy: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/netpanzer: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/pingus: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/renpy: Uses deprecated version of python 2020-12-31 graphics/goxel: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 graphics/py-pillow6: Uses Python 2.7 which is EOLed upstream 2020-12-31 graphics/sk1libs: Uses Python 2.7 which is EOLed upstream 2020-12-31 graphics/uniconvertor: Uses deprecated version of python 2020-12-31 lang/julia10: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/pypy: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/pypy3: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey185: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey24: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey52: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey60: Requires python2 to build 2020-12-31 lang/tolua++: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 mail/getmail: Uses deprecated version of python 2020-12-31 math/gringo: Uses Python 2.7 which is EOLed upstream 2020-12-31 multimedia/ffmpeg2theora: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 multimedia/mimms: Uses Python 2.7 which is EOLed upstream 2020-12-31 net/py-ipaddress: Uses Python 2.7 which is EOLed upstream 2020-12-31 net-p2p/linuxdcpp: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 security/broccoli: Depends lang/python27 which is EOLed upstream 2020-12-31 security/orthrus: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 security/py-backports.ssl_match_hostname: Uses Python 2.7 which is EOLed upstream 2020-12-31 security/sandsifter: Uses deprecated version of python, see https://github.com/rigred/sandsifter/issues/10 2020-12-31 sysutils/cinnamon-control-center: Uses Python 2.7 which is EOLed upstream 2020-12-31 sysutils/ori: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 sysutils/osquery: Uses Python 2.7 which is EOLed upstream 2020-12-31 sysutils/py-shutilwhich: Python 2 only, backport of Python 3 2020-12-31 sysutils/uefi-edk2-bhyve-csm: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/cliqz: Uses deprecated version of python 2020-12-31 www/iridium: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/moinmoin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/node10: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/node12: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-OhlohWidgetsMacro: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-TracGoogleAnalytics: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-accountmanager: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-advancedticketworkflow: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-autocomplete: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ccselector: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-customfieldadmin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-datefield: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-defaultcc: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-devel: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-discussion: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-downloads: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-email2trac: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-email2trac-postfix: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-estimator: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fivestarvote: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fullblog: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fullblognotification: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-graphviz: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-iniadmin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-keywords: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-keywordsecretticket: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ldap: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ldapauthstore: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-math: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-mercurial: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-navadd: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-permredirect: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-privatetickets: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-pydotorgtheme: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-scrumburndown: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-spam-filter: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-subtickets: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tags: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-themeengine: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ticketimport: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tickettemplate: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-timingandestimation: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tocmacro: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tweakui: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-vote: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikigoodies: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikinotification: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikitemplates: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikitopdf: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wysiwyg: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-xmlrpc: Uses Python 2.7 which is EOLed upstream
Notes
Notes: svn path=/head/; revision=559792
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/sunpinyin/Makefile38
-rw-r--r--chinese/sunpinyin/distinfo6
-rw-r--r--chinese/sunpinyin/files/patch-SConstruct34
-rw-r--r--chinese/sunpinyin/files/patch-man_SConscript11
-rw-r--r--chinese/sunpinyin/files/patch-src_ime-core_imi__winHandler.cpp18
-rw-r--r--chinese/sunpinyin/files/patch-src_portability.h10
-rw-r--r--chinese/sunpinyin/files/patch-src_slm_thread_slmthread.cpp17
-rw-r--r--chinese/sunpinyin/files/patch-src_sunpinyin-dictgen.mk.in26
-rw-r--r--chinese/sunpinyin/files/patch-xdg35
-rw-r--r--chinese/sunpinyin/pkg-descr5
-rw-r--r--chinese/sunpinyin/pkg-plist51
12 files changed, 0 insertions, 252 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 465da7bcc5b1..4caa9330887f 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -130,7 +130,6 @@
SUBDIR += sourcehansans-tc-otf
SUBDIR += sourcehanserif-sc-otf
SUBDIR += sourcehanserif-tc-otf
- SUBDIR += sunpinyin
SUBDIR += taipeisanstc
SUBDIR += tin
SUBDIR += tintin++
diff --git a/chinese/sunpinyin/Makefile b/chinese/sunpinyin/Makefile
deleted file mode 100644
index 9bedb7c52bee..000000000000
--- a/chinese/sunpinyin/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# Created by: Zhihao Yuan <lichray@gmail.com>
-# $FreeBSD$
-
-PORTNAME= sunpinyin
-DISTVERSION= 2.0.4rc3
-PORTREVISION= 1
-CATEGORIES= chinese devel
-MASTER_SITES= SF/open-gram:2
-DISTFILES= lm_sc.3gm.arpa-20140820.tar.bz2:2 dict.utf8-20131214.tar.bz2:2
-
-MAINTAINER= lichray@gmail.com
-COMMENT= Statistical language model based input method engine
-
-LICENSE= LGPL21 CDDL
-LICENSE_COMB= dual
-
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-
-USE_GITHUB= yes
-GH_TAGNAME= a8bd811
-
-MAKE_ARGS+= --prefix=${PREFIX}
-USE_LDCONFIG= yes
-USES= gmake iconv perl5 pkgconfig python:2.7 scons:python2 shebangfix
-USE_PERL5= build
-SHEBANG_FILES= python/*.py
-LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-INSTALL_TARGET= install-lib install-headers --install-sandbox=${STAGEDIR}
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsunpinyin.so.3.0
- ${SETENV} PATH=${WRKSRC}/src:$${PATH} ${GMAKE} -C ${WRKDIR} \
- -f ${WRKSRC}/src/sunpinyin-dictgen.mk STAGEDIR=${STAGEDIR}
- ${INSTALL} -d ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/lm_sc.t3g ${WRKDIR}/pydict_sc.bin \
- ${STAGEDIR}${DATADIR}
-
-.include <bsd.port.mk>
diff --git a/chinese/sunpinyin/distinfo b/chinese/sunpinyin/distinfo
deleted file mode 100644
index 40a469cdf7b0..000000000000
--- a/chinese/sunpinyin/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-SHA256 (sunpinyin-sunpinyin-2.0.4rc3-a8bd811_GH0.tar.gz) = 762575e71a5e24c4efc291407302a161ad51b8bf8902d952b54076f4511997ef
-SIZE (sunpinyin-sunpinyin-2.0.4rc3-a8bd811_GH0.tar.gz) = 547083
-SHA256 (lm_sc.3gm.arpa-20140820.tar.bz2) = 751bab7c55ea93a2cedfb0fbb7eb09f67d4da9c2c55496e5f31eb8580f1d1e2f
-SIZE (lm_sc.3gm.arpa-20140820.tar.bz2) = 36623028
-SHA256 (dict.utf8-20131214.tar.bz2) = af70bc2bcd7af7468495774fed9e3a2de434650119fbc3d3388c2bcf7e0acb01
-SIZE (dict.utf8-20131214.tar.bz2) = 674512
diff --git a/chinese/sunpinyin/files/patch-SConstruct b/chinese/sunpinyin/files/patch-SConstruct
deleted file mode 100644
index ffd859c026ff..000000000000
--- a/chinese/sunpinyin/files/patch-SConstruct
+++ /dev/null
@@ -1,34 +0,0 @@
---- SConstruct.orig 2014-11-14 14:17:48 UTC
-+++ SConstruct
-@@ -215,10 +215,11 @@ def CreateEnvironment():
- make = 'gmake'
- tar = 'gtar'
- libln_builder = Builder(action='cd ${TARGET.dir} && ln -s ${SOURCE.name} ${TARGET.name}')
-- env = Environment(ENV=os.environ, CFLAGS=cflags, CXXFLAGS='',
-+ env = Environment(ENV=os.environ,
- MAKE=make, WGET=wget, W3M=w3m, TAR=tar,
-- CPPPATH=['.'] + allinc(),
-- tools=['default', 'textfile'])
-+ tools=['default', 'textfile'],
-+ **ARGUMENTS)
-+ env['CPPPATH'] = ['.'] + allinc()
- env.Append(BUILDERS={'InstallAsSymlink': libln_builder})
- env['ENDIANNESS'] = "be" if sys.byteorder == "big" else "le"
- return env
-@@ -375,7 +376,6 @@ def DoConfigure():
- conf.CheckFunc('getopt_long')
- conf.CheckFunc('getpagesize')
- conf.CheckFunc('get_opt')
-- conf.CheckCHeader('iconv.h')
- conf.CheckCHeader('inttypes.h')
- conf.CheckCHeader('locale.h')
- conf.CheckCHeader('libintl.h')
-@@ -463,7 +463,7 @@ def DoInstall():
- lib_target_bin),
- ]
-
-- lib_pkgconfig_target = env.Install(os.path.join(libdir, 'pkgconfig'),
-+ lib_pkgconfig_target = env.Install(os.path.join(env['PREFIX'], 'libdata/pkgconfig'),
- ['sunpinyin-2.0.pc'])
- bin_target = env.Install(bindir, bins)
- man1_target = env.Install(man1dir, man1s)
diff --git a/chinese/sunpinyin/files/patch-man_SConscript b/chinese/sunpinyin/files/patch-man_SConscript
deleted file mode 100644
index e04f8c8623af..000000000000
--- a/chinese/sunpinyin/files/patch-man_SConscript
+++ /dev/null
@@ -1,11 +0,0 @@
---- man/SConscript.orig 2014-11-14 14:17:48 UTC
-+++ man/SConscript
-@@ -1,7 +1,7 @@
- import os
- Import('env')
-
--pod2man = Builder(action = 'pod2man < $SOURCE > $TARGET')
-+pod2man = Builder(action = 'pod2man $SOURCE $TARGET')
- env.Append(BUILDERS = {'Man': pod2man})
-
- env.Man('mmseg.1', 'mmseg.pod')
diff --git a/chinese/sunpinyin/files/patch-src_ime-core_imi__winHandler.cpp b/chinese/sunpinyin/files/patch-src_ime-core_imi__winHandler.cpp
deleted file mode 100644
index 74fdf4f2fa59..000000000000
--- a/chinese/sunpinyin/files/patch-src_ime-core_imi__winHandler.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/ime-core/imi_winHandler.cpp.orig 2014-11-14 14:17:48 UTC
-+++ src/ime-core/imi_winHandler.cpp
-@@ -87,6 +87,7 @@ CIMIWinHandler::throwBackKey(unsigned ke
- void
- CIMIWinHandler::updateStatus(int key, int value)
- {
-+#ifdef DEBUG
- switch (key) {
- case STATUS_ID_CN:
- printf("CN status is "); break;
-@@ -101,6 +102,7 @@ CIMIWinHandler::updateStatus(int key, in
-
- printf("%d\n", value);
- fflush(stdout);
-+#endif
- }
-
- // -*- indent-tabs-mode: nil -*- vim:et:ts=4
diff --git a/chinese/sunpinyin/files/patch-src_portability.h b/chinese/sunpinyin/files/patch-src_portability.h
deleted file mode 100644
index 93c117af2c66..000000000000
--- a/chinese/sunpinyin/files/patch-src_portability.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/portability.h.orig 2014-11-14 14:17:48 UTC
-+++ src/portability.h
-@@ -42,6 +42,7 @@
- #include <stdio.h>
- #include <math.h>
- #include <stdint.h>
-+#include <stdlib.h>
- #include <string>
- #include <cstring>
-
diff --git a/chinese/sunpinyin/files/patch-src_slm_thread_slmthread.cpp b/chinese/sunpinyin/files/patch-src_slm_thread_slmthread.cpp
deleted file mode 100644
index 723c45843d74..000000000000
--- a/chinese/sunpinyin/files/patch-src_slm_thread_slmthread.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/slm/thread/slmthread.cpp.orig 2014-11-14 14:17:48 UTC
-+++ src/slm/thread/slmthread.cpp
-@@ -250,10 +250,10 @@ main(int argc, char* argv[])
-
- bool usingLogPr = slm.isUseLogPr();
-
-- #define EffectivePr(a) (float((usingLogPr) ? ((a) / log(2.0)) : (-log2((a)))))
-- #define OriginalPr(b) (float((usingLogPr) ? ((b) * log(2.0)) : (exp2(-(b)))))
-- #define EffectiveBow(a) (float((usingLogPr) ? (exp(-(a))) : ((a))))
-- #define OriginalBow(b) (float((usingLogPr) ? (-log((b))) : ((b))))
-+ #define EffectivePr(a) (float((usingLogPr) ? ((a) / logf(2.0f)) : (-log2f((a)))))
-+ #define OriginalPr(b) (float((usingLogPr) ? ((b) * logf(2.0f)) : (exp2f(-(b)))))
-+ #define EffectiveBow(a) (float((usingLogPr) ? (expf(-(a))) : ((a))))
-+ #define OriginalBow(b) (float((usingLogPr) ? (-logf((b))) : ((b))))
-
- printf("\nfirst pass..."); fflush(stdout);
- for (int lvl = 0; lvl <= slm.getN(); ++lvl) {
diff --git a/chinese/sunpinyin/files/patch-src_sunpinyin-dictgen.mk.in b/chinese/sunpinyin/files/patch-src_sunpinyin-dictgen.mk.in
deleted file mode 100644
index 4372c17738ef..000000000000
--- a/chinese/sunpinyin/files/patch-src_sunpinyin-dictgen.mk.in
+++ /dev/null
@@ -1,26 +0,0 @@
---- src/sunpinyin-dictgen.mk.in.orig 2014-11-14 14:17:48 UTC
-+++ src/sunpinyin-dictgen.mk.in
-@@ -42,22 +42,7 @@ DL_ROOT = ${DL_HOST}/open-gram
- DICT_PAT = 'dict\.utf8-[0-9]\+.tar.bz2'
- SLM_PAT = 'lm_sc\.3gm\.arpa-[0-9]\+.tar.bz2'
-
--DICT_AR = $(shell ${W3M} ${DL_LIST} | grep -o ${DICT_PAT} | sort | tail -n 1)
--SLM_AR = $(shell ${W3M} ${DL_LIST} | grep -o ${SLM_PAT} | sort | tail -n 1)
--
--all: install
--
--${DICT_AR}:
-- ${WGET} ${DL_ROOT}/$@
--
--dict.utf8: ${DICT_AR}
-- ${TAR} xmf $^
--
--${SLM_AR}:
-- ${WGET} ${DL_ROOT}/$@
--
--lm_sc.3gm.arpa: ${SLM_AR}
-- ${TAR} xmf $^
-+all: lm_sc.t3g pydict_sc.bin
-
- lm_sc.3gm: lm_sc.3gm.arpa dict.utf8
- slmpack $^ $@
diff --git a/chinese/sunpinyin/files/patch-xdg b/chinese/sunpinyin/files/patch-xdg
deleted file mode 100644
index 452c3aacb46f..000000000000
--- a/chinese/sunpinyin/files/patch-xdg
+++ /dev/null
@@ -1,35 +0,0 @@
---- src/ime-core/imi_options.cpp.orig 2014-11-14 14:17:48 UTC
-+++ src/ime-core/imi_options.cpp
-@@ -73,12 +73,15 @@ CSimplifiedChinesePolicy::loadResources(
-
- if (!m_user_data_dir.size()) {
- char path[256];
-- const char *home = getenv("HOME");
-- snprintf(path,
-- sizeof(path),
-- "%s/%s",
-- home,
-- SUNPINYIN_USERDATA_DIR_PREFIX);
-+ const char *home = getenv("XDG_CONFIG_HOME");
-+ if (home == NULL)
-+ snprintf(path, sizeof(path),
-+ "%s/.config/%s", getenv("HOME"),
-+ SUNPINYIN_USERDATA_DIR_PREFIX);
-+ else
-+ snprintf(path, sizeof(path),
-+ "%s/%s", home,
-+ SUNPINYIN_USERDATA_DIR_PREFIX);
- m_user_data_dir = path;
- }
-
---- src/ime-core/imi_options.h.orig 2014-11-14 14:17:48 UTC
-+++ src/ime-core/imi_options.h
-@@ -52,7 +52,7 @@
- #include "pinyin/hunpin_seg.h"
-
- #ifndef SUNPINYIN_USERDATA_DIR_PREFIX
--#define SUNPINYIN_USERDATA_DIR_PREFIX ".sunpinyin"
-+#define SUNPINYIN_USERDATA_DIR_PREFIX "sunpinyin"
- #endif
-
- struct CSimplifiedChinesePolicy : public IConfigurable {
diff --git a/chinese/sunpinyin/pkg-descr b/chinese/sunpinyin/pkg-descr
deleted file mode 100644
index 5e010cf93aa0..000000000000
--- a/chinese/sunpinyin/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-SunPinyin is a statistical language model based Chinese input method, which
-was firstly developed by Sun Beijing Globalization team, and opensource'd
-to community with OpenSolaris project, with LGPLv2 and CDDL dual-licenses.
-
-WWW: http://code.google.com/p/sunpinyin/
diff --git a/chinese/sunpinyin/pkg-plist b/chinese/sunpinyin/pkg-plist
deleted file mode 100644
index 9d178553e762..000000000000
--- a/chinese/sunpinyin/pkg-plist
+++ /dev/null
@@ -1,51 +0,0 @@
-include/sunpinyin-2.0/ime-core/ic_history.h
-include/sunpinyin-2.0/ime-core/imi_context.h
-include/sunpinyin-2.0/ime-core/imi_data.h
-include/sunpinyin-2.0/ime-core/imi_defines.h
-include/sunpinyin-2.0/ime-core/imi_funcobjs.h
-include/sunpinyin-2.0/ime-core/imi_glibHandler.h
-include/sunpinyin-2.0/ime-core/imi_keys.h
-include/sunpinyin-2.0/ime-core/imi_option_event.h
-include/sunpinyin-2.0/ime-core/imi_option_keys.h
-include/sunpinyin-2.0/ime-core/imi_options.h
-include/sunpinyin-2.0/ime-core/imi_uiobjects.h
-include/sunpinyin-2.0/ime-core/imi_view.h
-include/sunpinyin-2.0/ime-core/imi_view_classic.h
-include/sunpinyin-2.0/ime-core/imi_winHandler.h
-include/sunpinyin-2.0/ime-core/lattice_states.h
-include/sunpinyin-2.0/ime-core/userdict.h
-include/sunpinyin-2.0/ime-core/utils.h
-include/sunpinyin-2.0/lexicon/pytrie.h
-include/sunpinyin-2.0/lexicon/pytrie_gen.h
-include/sunpinyin-2.0/lexicon/trie_writer.h
-include/sunpinyin-2.0/pinyin/datrie.h
-include/sunpinyin-2.0/pinyin/datrie_impl.h
-include/sunpinyin-2.0/pinyin/hunpin_seg.h
-include/sunpinyin-2.0/pinyin/pinyin_data.h
-include/sunpinyin-2.0/pinyin/pinyin_seg.h
-include/sunpinyin-2.0/pinyin/quanpin_trie.h
-include/sunpinyin-2.0/pinyin/segmentor.h
-include/sunpinyin-2.0/pinyin/shuangpin_data.h
-include/sunpinyin-2.0/pinyin/shuangpin_seg.h
-include/sunpinyin-2.0/pinyin/syllable.h
-include/sunpinyin-2.0/portability.h
-include/sunpinyin-2.0/slm/ids2ngram/idngram.h
-include/sunpinyin-2.0/slm/ids2ngram/idngram_merge.h
-include/sunpinyin-2.0/slm/sim_dict.h
-include/sunpinyin-2.0/slm/sim_fmerge.h
-include/sunpinyin-2.0/slm/sim_sen.h
-include/sunpinyin-2.0/slm/sim_slm.h
-include/sunpinyin-2.0/slm/slm.h
-include/sunpinyin-2.0/slm/slmbuild/sim_slmbuilder.h
-include/sunpinyin-2.0/slm/slmpack/arpa_slm.h
-include/sunpinyin-2.0/slm/slmpack/common.h
-include/sunpinyin-2.0/slm/thread/ValueCompress.h
-include/sunpinyin-2.0/slm/tslmendian/slm_file.h
-include/sunpinyin-2.0/slm/tslmendian/writer.h
-include/sunpinyin-2.0/sunpinyin.h
-lib/libsunpinyin.so
-lib/libsunpinyin.so.3
-lib/libsunpinyin.so.3.0
-libdata/pkgconfig/sunpinyin-2.0.pc
-%%DATADIR%%/lm_sc.t3g
-%%DATADIR%%/pydict_sc.bin