diff options
Diffstat (limited to 'app-i18n/scim-uim')
-rw-r--r-- | app-i18n/scim-uim/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/scim-uim/files/scim-uim-0.2.0-gcc43.patch | 11 | ||||
-rw-r--r-- | app-i18n/scim-uim/files/scim-uim-0.2.0-uim-1.5.patch | 12 | ||||
-rw-r--r-- | app-i18n/scim-uim/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild | 45 |
5 files changed, 84 insertions, 0 deletions
diff --git a/app-i18n/scim-uim/Manifest b/app-i18n/scim-uim/Manifest new file mode 100644 index 000000000000..e1b93d03341a --- /dev/null +++ b/app-i18n/scim-uim/Manifest @@ -0,0 +1,5 @@ +AUX scim-uim-0.2.0-gcc43.patch 420 BLAKE2B 491828a4fa94ed7f0343b449b35e911666dd9abe8627264caa79f9d20605bd9a075e7165b367fee4669db0d4178c385fc4d4937491dd5bc5c31af1af2ab5cd6f SHA512 8baec8863a00d1a870f9c557340f089f51e991acec994a3445bc378f95b226aeb46018ba11b8dc605b90ab35f7923bfc029fa40e1e01e17caba1e3ca99e07c09 +AUX scim-uim-0.2.0-uim-1.5.patch 367 BLAKE2B e73cefa76abb64816265ee870c44d39966606624c649d97c09d5e5cf5494af34f49c9770ad103f7af2afa8eedc662098565c68a12fc70b0fc936e384a19035d8 SHA512 2c68a8fa1e5d99e624145ce9a85aeb1a286e4a4afe33d92c32c13ad3e14060afa8f730d58146d9a2b134b9565172a909138742357b640ba000a7129e5e65e485 +DIST scim-uim-0.2.0.tar.gz 344389 BLAKE2B da0cd29036cf3fd4a94ca0f5c9e72566ccb37c4d64019645b9ea04d9859d33d1614d8cf786ca67a0d2c474b79b13d7d100ddf815b982ba414ac950306ae00448 SHA512 18df8de8ebc02289e21bf54c921b5425f67ef3c379b3c3e4392431dc3b1d9d7f12a25bcbcaaddd264913bacf61ba2be9339845700f541c22f73981e99824c6e9 +EBUILD scim-uim-0.2.0-r2.ebuild 931 BLAKE2B df9a4bb7d1b155f9e1baba29a78e3879616b25e5222afc5d938768f0ac94bd07cfb603bc87695e8c87e4d91a825b6aa94a8da66991001db045d7f7a3c526930e SHA512 533313a1588e72431a6e759f21eddcffde6c7eccc142e8ef4ca651b8124ad2817ca917e78984f96f3057ee2bd401f6c0a70960b08e9cbca57055a3249283e60f +MISC metadata.xml 308 BLAKE2B 1bdcfa2996c5ba60e52eddb6446bbc6978ebee7f1f2f4658c44438b886a89cf46a3fddea53c479151e5e023e5681dca5f01264a26ca108c895ac6758f01d6430 SHA512 9f18bf632f3eff9a6498145c2b4c04d51bb119c67351216ab757cd3cea2364c60bef683769218c0596ef6bd29235e51df6a64f9ab1234665fc2191e18fc51cc7 diff --git a/app-i18n/scim-uim/files/scim-uim-0.2.0-gcc43.patch b/app-i18n/scim-uim/files/scim-uim-0.2.0-gcc43.patch new file mode 100644 index 000000000000..a956dd29e56b --- /dev/null +++ b/app-i18n/scim-uim/files/scim-uim-0.2.0-gcc43.patch @@ -0,0 +1,11 @@ +diff -Naur scim-uim-0.2.0.orig/src/scim_uim_imengine.cpp scim-uim-0.2.0/src/scim_uim_imengine.cpp +--- scim-uim-0.2.0.orig/src/scim_uim_imengine.cpp 2007-04-10 14:43:59.000000000 +0900 ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp 2008-11-02 19:00:55.000000000 +0900 +@@ -32,6 +32,7 @@ + #include <config.h> + #endif + ++#include <cstring> + #include <scim.h> + #include "scim_uim_imengine.h" + #include <uim/uim-compat-scm.h> diff --git a/app-i18n/scim-uim/files/scim-uim-0.2.0-uim-1.5.patch b/app-i18n/scim-uim/files/scim-uim-0.2.0-uim-1.5.patch new file mode 100644 index 000000000000..d186b441bb8d --- /dev/null +++ b/app-i18n/scim-uim/files/scim-uim-0.2.0-uim-1.5.patch @@ -0,0 +1,12 @@ +--- scim-uim-0.2.0/src/scim_uim_imengine.cpp ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp +@@ -35,7 +35,8 @@ + #include <cstring> + #include <scim.h> + #include "scim_uim_imengine.h" +-#include <uim/uim-compat-scm.h> ++#include <uim/uim-scm.h> ++#include <uim/uim-util.h> + + #define scim_module_init uim_LTX_scim_module_init + #define scim_module_exit uim_LTX_scim_module_exit
\ No newline at end of file diff --git a/app-i18n/scim-uim/metadata.xml b/app-i18n/scim-uim/metadata.xml new file mode 100644 index 000000000000..01855eefe13f --- /dev/null +++ b/app-i18n/scim-uim/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">scim</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild new file mode 100644 index 000000000000..8b9fe22e0718 --- /dev/null +++ b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="An input module for Smart Common Input Method (SCIM) which uses uim as backend" +HOMEPAGE="http://www.scim-im.org/" +SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + >=app-i18n/uim-1.5.0 + >=app-i18n/scim-1.4.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-uim-1.5.patch +) + +src_configure() { + econf --disable-static +} + +src_install() { + default + + # plugin module, no point in .la files + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog + elog "To use SCIM with both GTK2 and XIM, you should use the following" + elog "in your user startup scripts such as .gnomerc or .xinitrc:" + elog + elog "LANG='your_language' scim -d" + elog "export XMODIFIERS=@im=SCIM" + elog +} |