diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-i18n/uim/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-i18n/uim/files')
-rw-r--r-- | app-i18n/uim/files/50uim-gentoo.el | 4 | ||||
-rw-r--r-- | app-i18n/uim/files/uim-1.5.4-zhTW.patch | 12 | ||||
-rw-r--r-- | app-i18n/uim/files/uim-1.6.0-gentoo.patch | 11 | ||||
-rw-r--r-- | app-i18n/uim/files/uim-1.8.6-libressl.patch | 79 | ||||
-rw-r--r-- | app-i18n/uim/files/xinput-uim | 6 |
5 files changed, 112 insertions, 0 deletions
diff --git a/app-i18n/uim/files/50uim-gentoo.el b/app-i18n/uim/files/50uim-gentoo.el new file mode 100644 index 000000000000..350f6216139f --- /dev/null +++ b/app-i18n/uim/files/50uim-gentoo.el @@ -0,0 +1,4 @@ +;;; app-i18n/uim site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'uim-mode "uim" nil t) diff --git a/app-i18n/uim/files/uim-1.5.4-zhTW.patch b/app-i18n/uim/files/uim-1.5.4-zhTW.patch new file mode 100644 index 000000000000..3836a210caa8 --- /dev/null +++ b/app-i18n/uim/files/uim-1.5.4-zhTW.patch @@ -0,0 +1,12 @@ +diff -Naur uim-1.5.4.orig/xim/convdisp.cpp uim-1.5.4/xim/convdisp.cpp +--- uim-1.5.4.orig/xim/convdisp.cpp 2008-02-13 23:43:42.000000000 +0900 ++++ uim-1.5.4/xim/convdisp.cpp 2008-12-10 02:04:35.000000000 +0900 +@@ -69,7 +69,7 @@ + #endif + + const char *fontset_zhCN = "-sony-fixed-medium-r-normal--16-*-*-*-c-80-iso8859-1, -isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"; +-const char *fontset_zhTW = "-sony-fixed-medium-r-normal--16-*-*-*-c-80-iso8859-1, -taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0"; ++const char *fontset_zhTW = "-sony-fixed-medium-r-normal--16-*-*-*-c-80-iso8859-1, -eten-fixed-medium-r-normal--16-150-75-75-c-160-big5.eten-0"; + const char *fontset_ja = "-sony-fixed-medium-r-normal--16-*-*-*-c-80-iso8859-1, -jis-fixed-medium-r-normal--16-*-75-75-c-160-jisx0208.1983-0, -sony-fixed-medium-r-normal--16-*-*-*-c-80-jisx0201.1976-0"; + const char *fontset_ko = "-sony-fixed-medium-r-normal--16-*-*-*-c-80-iso8859-1, -daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0"; + diff --git a/app-i18n/uim/files/uim-1.6.0-gentoo.patch b/app-i18n/uim/files/uim-1.6.0-gentoo.patch new file mode 100644 index 000000000000..206a1cdfb1e0 --- /dev/null +++ b/app-i18n/uim/files/uim-1.6.0-gentoo.patch @@ -0,0 +1,11 @@ +diff -Naur uim-1.6.0.orig/configure.ac uim-1.6.0/configure.ac +--- uim-1.6.0.orig/configure.ac 2010-08-02 09:30:14.000000000 +0900 ++++ uim-1.6.0/configure.ac 2010-08-14 08:30:34.000000000 +0900 +@@ -1696,6 +1696,7 @@ + + QT_CONFIG_OPTS="release" + fi ++QT_CONFIG_OPTS="$QT_CONFIG_OPTS nostrip" + + AC_ARG_ENABLE(warnings-into-error, + AC_HELP_STRING([--enable-warnings-into-error], diff --git a/app-i18n/uim/files/uim-1.8.6-libressl.patch b/app-i18n/uim/files/uim-1.8.6-libressl.patch new file mode 100644 index 000000000000..b14de58433aa --- /dev/null +++ b/app-i18n/uim/files/uim-1.8.6-libressl.patch @@ -0,0 +1,79 @@ +From 7a281b1131399f04627986e6f9a54499b08e239d Mon Sep 17 00:00:00 2001 +From: Felix Janda <felix.janda@posteo.de> +Date: Thu, 21 Apr 2016 23:12:10 +0200 +Subject: [PATCH] Make openssl SSLv2 and SSLv3 support optional + +Fixes compilation with libressl +--- + uim/openssl.c | 30 ++++++++++++++++++++++++++++++ + 1 file changed, 30 insertions(+) + +diff --git a/uim/openssl.c b/uim/openssl.c +index ba1b238..35ca1ca 100644 +--- a/uim/openssl.c ++++ b/uim/openssl.c +@@ -208,34 +208,64 @@ c_SSL_write(uim_lisp s_, uim_lisp buf_) + static uim_lisp + c_SSLv2_method(void) + { ++#ifndef OPENSSL_NO_SSL2 + return MAKE_PTR(SSLv2_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv2_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + static uim_lisp + c_SSLv2_server_method(void) + { ++#ifndef OPENSSL_NO_SSL2 + return MAKE_PTR(SSLv2_server_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv2_server_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + static uim_lisp + c_SSLv2_client_method(void) + { ++#ifndef OPENSSL_NO_SSL2 + return MAKE_PTR(SSLv2_client_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv2_client_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + + /* SSLv3 */ + static uim_lisp + c_SSLv3_method(void) + { ++#ifndef OPENSSL_NO_SSL3 + return MAKE_PTR(SSLv3_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv3_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + static uim_lisp + c_SSLv3_server_method(void) + { ++#ifndef OPENSSL_NO_SSL3 + return MAKE_PTR(SSLv3_server_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv3_server_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + static uim_lisp + c_SSLv3_client_method(void) + { ++#ifndef OPENSSL_NO_SSL3 + return MAKE_PTR(SSLv3_client_method()); ++#else ++ uim_notify_fatal(N_("uim-openssl: SSLv3_client_method() is not supported on this system")); ++ return uim_scm_f(); ++#endif + } + + /* SSLv3 but can rollback to v2 */ diff --git a/app-i18n/uim/files/xinput-uim b/app-i18n/uim/files/xinput-uim new file mode 100644 index 000000000000..a0969dd9f01a --- /dev/null +++ b/app-i18n/uim/files/xinput-uim @@ -0,0 +1,6 @@ +XIM=uim +XIM_PROGRAM="@EPREFIX@/usr/bin/uim-xim" +XIM_ARGS= +GTK_IM_MODULE=uim +QT_IM_MODULE=uim +SHORT_DESC=UIM |