summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-i18n/scim-skk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-i18n/scim-skk')
-rw-r--r--app-i18n/scim-skk/Manifest1
-rw-r--r--app-i18n/scim-skk/files/scim-skk-0.5.2-gcc43.patch11
-rw-r--r--app-i18n/scim-skk/metadata.xml8
-rw-r--r--app-i18n/scim-skk/scim-skk-0.5.2-r1.ebuild54
4 files changed, 74 insertions, 0 deletions
diff --git a/app-i18n/scim-skk/Manifest b/app-i18n/scim-skk/Manifest
new file mode 100644
index 000000000000..e7748bad6605
--- /dev/null
+++ b/app-i18n/scim-skk/Manifest
@@ -0,0 +1 @@
+DIST scim-skk-0.5.2.tar.gz 534157 SHA256 17e755db22cd135a47381eae6f924f68f2c8d2991cec1a4b635ad294653d7b2d SHA512 7fdcfeb3442fff58d483e6fe028ea7e1dc203a670f2cdf6d9dbcda70df06d39839132f8358df4527a9c0b27f5e1b42d71985f0ce69a78b91ee6819e2571409e7 WHIRLPOOL cfd894d4989323d44acbec51130c297672b4beb8d013cd7f617a94b7e2f10e7241ba7f4728f36d23f90ba918b57b0193017a61f502020771d89a83f7d1e33ec1
diff --git a/app-i18n/scim-skk/files/scim-skk-0.5.2-gcc43.patch b/app-i18n/scim-skk/files/scim-skk-0.5.2-gcc43.patch
new file mode 100644
index 000000000000..8223eb3502ce
--- /dev/null
+++ b/app-i18n/scim-skk/files/scim-skk-0.5.2-gcc43.patch
@@ -0,0 +1,11 @@
+--- a/src/scim_skk_imengine_setup.cpp
++++ b/src/scim_skk_imengine_setup.cpp
+@@ -39,6 +39,8 @@
+ #include "scim_skk_intl.h"
+ #include "scim_skk_setup_dictionaries.h"
+
++#include <cstring>
++
+ using namespace scim;
+
+ namespace scim_skk {
diff --git a/app-i18n/scim-skk/metadata.xml b/app-i18n/scim-skk/metadata.xml
new file mode 100644
index 000000000000..8c34088ee307
--- /dev/null
+++ b/app-i18n/scim-skk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cjk</herd>
+ <upstream>
+ <remote-id type="sourceforge-jp">scim-imengine</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/scim-skk/scim-skk-0.5.2-r1.ebuild b/app-i18n/scim-skk/scim-skk-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..0799cd660ad9
--- /dev/null
+++ b/app-i18n/scim-skk/scim-skk-0.5.2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="Japanese input method SKK IMEngine for SCIM"
+HOMEPAGE="http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMSKK"
+SRC_URI="mirror://sourceforge.jp/scim-imengine/18121/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+DEPEND="|| ( >=app-i18n/scim-1.2 >=app-i18n/scim-cvs-1.2 )"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )
+ nls? ( virtual/libintl )"
+DEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ --disable-dependency-tracking \
+ --disable-static || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO
+}
+
+pkg_postinst() {
+ elog
+ elog "To use SCIM, you should use the following in your user startup scripts"
+ elog "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
+}