summaryrefslogtreecommitdiff
path: root/app-i18n/scim
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/scim')
-rw-r--r--app-i18n/scim/Manifest10
-rw-r--r--app-i18n/scim/files/xinput-scim9
-rw-r--r--app-i18n/scim/metadata.xml14
-rw-r--r--app-i18n/scim/scim-1.4.14.ebuild105
-rw-r--r--app-i18n/scim/scim-1.4.16.ebuild98
-rw-r--r--app-i18n/scim/scim-1.4.17.ebuild98
6 files changed, 334 insertions, 0 deletions
diff --git a/app-i18n/scim/Manifest b/app-i18n/scim/Manifest
new file mode 100644
index 000000000000..0fb6994c2d3d
--- /dev/null
+++ b/app-i18n/scim/Manifest
@@ -0,0 +1,10 @@
+AUX xinput-scim 240 SHA256 f2dd0ba47112298f4da79692f89d1447c0d707fffcd280ff782839d8457ac5f8 SHA512 1cfe95fdbf840b9fa43c980bb3f2e16fc6008714f8807650582ca906cb91ddd28b3b7b3c9f1325035e2c614d587d172071b2b7e3c6b30ca3128902b335773893 WHIRLPOOL 5dce31583a8c1787d7f7d543b6aced08c6f75aac09795fcfbabfc45c2e0168d6431051f1bcceddb343686311b9fb930203b388b6702f93adf0467fbc59ef127a
+DIST scim-1.4.14.tar.gz 1519287 SHA256 e91e4cfed92f3e19d229f702eda03038b3f9a0ce6c4e625b0be51134c19b7678 SHA512 00fe7a1b40b69aae123c0a1e67eb3744ad1e6b1e66726bb011a7426bd28012c52b346c62f08c7ecf0977ac3e88ee416337c9fa89b39142d5eea338d99641f5df WHIRLPOOL cb32326b30ff17ca4815267898de715e50893e77c28a48c55cf708f818fff4aea9e2114f982302c0fd6fd4e1fc45f2ca8490603db0de49ed4159914e1edd516d
+DIST scim-1.4.16.tar.gz 1361105 SHA256 54173a4faa50c81c754e46458bb809428a6f4a2fd9e62c9b443648c6953b4cec SHA512 23fe60202d74dd8cba84da40f80b6998d96180b08a618b052dde54b4d16a65246608344f63d6dd9b3d8a98102adcfd4831d850d81348539074273a2062c133d8 WHIRLPOOL 3955cad6eb3d8abf780af76d78f8025a1b8425e1f68df52517d999bd9369980a605ac40c3f7c3812b3b65b2cf7dff55a384238f7adfd689841a83475ed5b09e3
+DIST scim-1.4.17.tar.gz 1285383 SHA256 573add90f266b2351a04950fcf0f558459997ea23d0266b43f586acea009f922 SHA512 a7e0696330bca6fdf929ec0565ab4af1b4d0e5f73592cf5cccf1af6412eb351cd5a5ec9a3e5b83b24d6abad89bbb38a375cbbb0fd978f2fa17f6d64b69da0e3a WHIRLPOOL b28d609b306756c352445568e3e2bdbc10e6a89859d671fcca0d3008d3894f53288eff48ec52fb0d3a8244b7803feb89590fc8ba2f3bd0982bab916f904e2150
+EBUILD scim-1.4.14.ebuild 2685 SHA256 f84838b6155f8ff410615192962c78a28a665e9ee2f1d18e4d82bfdbd8d5d232 SHA512 dec5a027f66361a4faa930bfa51d618208be71f05c7172171a8dfaf968d3969bd26e940bd34ffd00c414f57786362cc9aca35ccbb5e49774200abd8ab08adafb WHIRLPOOL 909fc6ada0360591324c95028c9fff8ed4774fd1d75ce67a11684efcd08e576ccdad18708b692f0040747382ba1fd77a072891e827cf8f0a54682e265a460f2f
+EBUILD scim-1.4.16.ebuild 2491 SHA256 5bfbb0719ac6812268e0356aa356a0972a84a7dec265e2155eec69e9a357451a SHA512 892f71b5a5ee38454db9474d0b3a9799353ae30ebd88b0ad37b27b974cd7ec3636caa260c20bed7a1a777363e66e7149fc14238aa2cae3ffa64bfd7085bfbd62 WHIRLPOOL 142ad6422a69d1957a220ab06994465dfc2c7bc6f88c0e4622ff5f8b15d5125b50353d10f32202a664de68ffa07feecf517cdfe26da0d24c1f716bcee2ea6e91
+EBUILD scim-1.4.17.ebuild 2491 SHA256 5bfbb0719ac6812268e0356aa356a0972a84a7dec265e2155eec69e9a357451a SHA512 892f71b5a5ee38454db9474d0b3a9799353ae30ebd88b0ad37b27b974cd7ec3636caa260c20bed7a1a777363e66e7149fc14238aa2cae3ffa64bfd7085bfbd62 WHIRLPOOL 142ad6422a69d1957a220ab06994465dfc2c7bc6f88c0e4622ff5f8b15d5125b50353d10f32202a664de68ffa07feecf517cdfe26da0d24c1f716bcee2ea6e91
+MISC ChangeLog 2764 SHA256 99301e868a49ce7f2af88567d95c34b8b9f39993aecd4c8aee34f14dcf542379 SHA512 98009474c841cf9790cbec96eda081249c3174c4c6b5a572f55d0a059f7e494001db39eaa898d9baf76fc7ae83f5a0ff044f6d7558d7ecda7d186dccac9cace0 WHIRLPOOL 0a136b1652717da32cddec53ec20bfecd509e432920b070042199bb7e9bc16d6e31c5041c352e617a7c57103910fe696204f6946579c8712838932aa8b144bde
+MISC ChangeLog-2015 23042 SHA256 a8be51c18c66e1dd1474a58f9bca2f8b71a18d4a74ae2f02030452e584c30794 SHA512 4690f1298c0b6062e88e7197fd2b7c75001610528a963189c837b1cee5fa406655712c1bceba10fa90495657cb11f57a6fbe6cf6f8e0c286819afb531b9057b7 WHIRLPOOL e55439af7bceeb66ce5a4a88c90a326fc516f5d6edb7930e49d5f3ba1d265fc2a479f22873b45b49104db9bd44d684b7f0cf1b3367a5d6cffa16b668012d0e20
+MISC metadata.xml 396 SHA256 2a0623b6ed3dc75bf2c263924c546ef455d0b11b0279cbe67392f7de0d3043e3 SHA512 89418967f338111cae8dac484c2411891e9d496253fe59a38ec87a179da4d7ff415bd8942923a9231f6c80d48b457cafd43f2015df13a3d8749a22c0412ce9a0 WHIRLPOOL 0f58f310f42a4656a4aeb9046239c243473e2f9eca4322e4972b1588d5ff25eea4bd88e523c66cf9d7bb0c28ebaad0bb66e4ae6c8781c906df82c8cec25dc2b8
diff --git a/app-i18n/scim/files/xinput-scim b/app-i18n/scim/files/xinput-scim
new file mode 100644
index 000000000000..1d2ef452cbc6
--- /dev/null
+++ b/app-i18n/scim/files/xinput-scim
@@ -0,0 +1,9 @@
+XIM=SCIM
+XIM_PROGRAM="@EPREFIX@/usr/bin/scim"
+XIM_ARGS="-d --no-socket"
+GTK_IM_MODULE=scim
+QT_IM_MODULE=scim
+PREFERENCE_PROGRAM="@EPREFIX@/usr/bin/scim-setup"
+SHORT_DESC="SCIM"
+LONG_DESC="Smart Common Input Method platform"
+ICON=scim-setup
diff --git a/app-i18n/scim/metadata.xml b/app-i18n/scim/metadata.xml
new file mode 100644
index 000000000000..3590c797aa6c
--- /dev/null
+++ b/app-i18n/scim/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <use>
+ <flag name="gtk3">Enable support for <pkg>x11-libs/gtk+</pkg>:3</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">scim</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/scim/scim-1.4.14.ebuild b/app-i18n/scim/scim-1.4.14.ebuild
new file mode 100644
index 000000000000..d2595037a5cf
--- /dev/null
+++ b/app-i18n/scim/scim-1.4.14.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+inherit eutils flag-o-matic multilib gnome2-utils autotools-utils
+
+DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
+HOMEPAGE="http://www.scim-im.org/"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="doc gtk3"
+
+RDEPEND="x11-libs/libX11
+ dev-libs/glib:2
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
+ >=dev-libs/atk-1
+ >=x11-libs/pango-1
+ !app-i18n/scim-cvs"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ >=app-text/docbook-xsl-stylesheets-1.73.1 )
+ dev-lang/perl
+ virtual/pkgconfig
+ >=dev-util/intltool-0.33
+ sys-devel/libtool"
+AUTOTOOLS_IN_SOURCE_BUILD=1
+DOCS=(
+ README
+ AUTHORS
+ ChangeLog
+ docs/developers
+ docs/scim.cfg
+)
+
+src_configure() {
+ local gtk_version
+ if use gtk3; then
+ gtk_version="--with-gtk-version=3"
+ else
+ gtk_version="--with-gtk-version=2"
+ fi
+
+ # bug #83625
+ filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
+ local myeconfargs=(
+ $(use_with doc doxygen)
+ --enable-ld-version-script
+ $gtk_version
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && emake docs
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/docs/html/")
+ autotools-utils_src_install
+
+ sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
+ insinto /etc/X11/xinit/xinput.d
+ doins "${T}/${PN}.conf"
+}
+
+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 "export GTK_IM_MODULE=\"scim\""
+ elog "export QT_IM_MODULE=\"scim\""
+ elog
+ elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
+ elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
+ elog
+ elog "To use Chinese input methods:"
+ elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
+ elog "To use Korean input methods:"
+ elog " # emerge app-i18n/scim-hangul"
+ elog "To use Japanese input methods:"
+ elog " # emerge app-i18n/scim-anthy"
+ elog "To use various input methods (more than 30 languages):"
+ elog " # emerge app-i18n/scim-m17n"
+ elog
+ elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
+ elog "/SupportedUnicodeLocales entry."
+ elog
+ ewarn
+ ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
+ ewarn
+
+ gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+ gnome2_query_immodules_gtk2
+}
diff --git a/app-i18n/scim/scim-1.4.16.ebuild b/app-i18n/scim/scim-1.4.16.ebuild
new file mode 100644
index 000000000000..d6b9778d4236
--- /dev/null
+++ b/app-i18n/scim/scim-1.4.16.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic multilib gnome2-utils autotools
+
+DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
+HOMEPAGE="https://sourceforge.net/projects/scim"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc gtk3"
+
+RDEPEND="x11-libs/libX11
+ dev-libs/glib:2
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
+ >=dev-libs/atk-1
+ >=x11-libs/pango-1"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ >=app-text/docbook-xsl-stylesheets-1.73.1 )
+ dev-lang/perl
+ virtual/pkgconfig
+ >=dev-util/intltool-0.33
+ sys-devel/libtool"
+DOCS=(
+ README
+ AUTHORS
+ ChangeLog
+ docs/developers
+ docs/scim.cfg
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # bug #83625
+ filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
+ econf $(use_with doc doxygen) \
+ --enable-ld-version-script \
+ $(usex gtk3 --with-gtk-version={3,2})
+}
+
+src_compile() {
+ default
+ use doc && emake docs
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${S}/docs/html/" )
+ default
+
+ sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
+ insinto /etc/X11/xinit/xinput.d
+ doins "${T}/${PN}.conf"
+}
+
+pkg_postinst() {
+ elog
+ elog "To use SCIM with both GTK 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 "export GTK_IM_MODULE=\"scim\""
+ elog "export QT_IM_MODULE=\"scim\""
+ elog
+ elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
+ elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
+ elog
+ elog "To use Chinese input methods:"
+ elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
+ elog "To use Korean input methods:"
+ elog " # emerge app-i18n/scim-hangul"
+ elog "To use Japanese input methods:"
+ elog " # emerge app-i18n/scim-anthy"
+ elog "To use various input methods (more than 30 languages):"
+ elog " # emerge app-i18n/scim-m17n"
+ elog
+ elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
+ elog "/SupportedUnicodeLocales entry."
+ elog
+ ewarn
+ ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
+ ewarn
+
+ gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+ gnome2_query_immodules_gtk2
+}
diff --git a/app-i18n/scim/scim-1.4.17.ebuild b/app-i18n/scim/scim-1.4.17.ebuild
new file mode 100644
index 000000000000..d6b9778d4236
--- /dev/null
+++ b/app-i18n/scim/scim-1.4.17.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic multilib gnome2-utils autotools
+
+DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
+HOMEPAGE="https://sourceforge.net/projects/scim"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc gtk3"
+
+RDEPEND="x11-libs/libX11
+ dev-libs/glib:2
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
+ >=dev-libs/atk-1
+ >=x11-libs/pango-1"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ >=app-text/docbook-xsl-stylesheets-1.73.1 )
+ dev-lang/perl
+ virtual/pkgconfig
+ >=dev-util/intltool-0.33
+ sys-devel/libtool"
+DOCS=(
+ README
+ AUTHORS
+ ChangeLog
+ docs/developers
+ docs/scim.cfg
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # bug #83625
+ filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
+ econf $(use_with doc doxygen) \
+ --enable-ld-version-script \
+ $(usex gtk3 --with-gtk-version={3,2})
+}
+
+src_compile() {
+ default
+ use doc && emake docs
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${S}/docs/html/" )
+ default
+
+ sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
+ insinto /etc/X11/xinit/xinput.d
+ doins "${T}/${PN}.conf"
+}
+
+pkg_postinst() {
+ elog
+ elog "To use SCIM with both GTK 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 "export GTK_IM_MODULE=\"scim\""
+ elog "export QT_IM_MODULE=\"scim\""
+ elog
+ elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
+ elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
+ elog
+ elog "To use Chinese input methods:"
+ elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
+ elog "To use Korean input methods:"
+ elog " # emerge app-i18n/scim-hangul"
+ elog "To use Japanese input methods:"
+ elog " # emerge app-i18n/scim-anthy"
+ elog "To use various input methods (more than 30 languages):"
+ elog " # emerge app-i18n/scim-m17n"
+ elog
+ elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
+ elog "/SupportedUnicodeLocales entry."
+ elog
+ ewarn
+ ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
+ ewarn
+
+ gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+ gnome2_query_immodules_gtk2
+}