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-hangul
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-hangul')
-rw-r--r--app-i18n/scim-hangul/Manifest2
-rw-r--r--app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.3.patch23
-rw-r--r--app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch12
-rw-r--r--app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch11
-rw-r--r--app-i18n/scim-hangul/metadata.xml8
-rw-r--r--app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild47
-rw-r--r--app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild53
7 files changed, 156 insertions, 0 deletions
diff --git a/app-i18n/scim-hangul/Manifest b/app-i18n/scim-hangul/Manifest
new file mode 100644
index 000000000000..3909950f78b4
--- /dev/null
+++ b/app-i18n/scim-hangul/Manifest
@@ -0,0 +1,2 @@
+DIST scim-hangul-0.3.2.tar.gz 1176577 SHA256 b7c67778f5dd8ec29b96c1477ef008e10fae436928975fc46fbeb7a546d4462b SHA512 e8905320ff8aeeddf0041987ac5a63a19fb75bea44ffc55b5d28b825e064d6881ee0187b55025d69dad35af85da86818afa3ac39f1f10991021a7fbed3e1462e WHIRLPOOL 8a167250f8cda2e72235986b3f6d231951a0ecfd44755a7b256783d158079d2013f2e22545bf5a31907acebadc701f1fbc22eef9222dabe3525772bfb5e8d96e
+DIST scim-hangul-0.4.0.tar.gz 456953 SHA256 7f116c87e78da51363fb4968d627364718de6ec02aa6c6119451fdf403e668c0 SHA512 2f0285268deac35763c67487a40b718bf846d63634701a2a68d85109f686421f2c935b1f2998487b1f017c1a5e5bf453c56933ab4984f7464e1613d7e0b3131b WHIRLPOOL a370963855fb1c684af3d20fedeccf45fe0af1ac8dead1bf1f0c303d090f97921ee7d0e78e01fb667fb55cff33fc0ff73f63607aabc50ab2e4b688a9d16c96b1
diff --git a/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.3.patch b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.3.patch
new file mode 100644
index 000000000000..b7698793ac8e
--- /dev/null
+++ b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.3.patch
@@ -0,0 +1,23 @@
+diff -up scim-hangul-0.3.2/src/scim_hangul_imengine.cpp.gcc43~ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp
+--- scim-hangul-0.3.2/src/scim_hangul_imengine.cpp.gcc43~ 2008-01-13 08:01:34.000000000 +0000
++++ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp 2008-01-13 08:01:34.000000000 +0000
+@@ -29,6 +29,7 @@
+ #define Uses_SCIM_LOOKUP_TABLE
+ #define Uses_SCIM_CONFIG_BASE
+
++#include <cstring>
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif
+diff -up scim-hangul-0.3.2/src/scim_hangul_imengine_setup.cpp.gcc43~ scim-hangul-0.3.2/src/scim_hangul_imengine_setup.cpp
+--- scim-hangul-0.3.2/src/scim_hangul_imengine_setup.cpp.gcc43~ 2008-01-13 08:01:37.000000000 +0000
++++ scim-hangul-0.3.2/src/scim_hangul_imengine_setup.cpp 2008-01-13 08:01:37.000000000 +0000
+@@ -28,7 +28,8 @@
+
+ #define Uses_SCIM_CONFIG_BASE
+
++#include <cstring>
+ #include <gtk/gtk.h>
+
+ #ifdef HAVE_CONFIG_H
+
diff --git a/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch
new file mode 100644
index 000000000000..918de9e11367
--- /dev/null
+++ b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch
@@ -0,0 +1,12 @@
+diff --git a/src/scim_hangul_imengine.cpp b/src/scim_hangul_imengine.cpp
+index 7d70654..d678902 100644
+--- a/src/scim_hangul_imengine.cpp
++++ b/src/scim_hangul_imengine.cpp
+@@ -30,6 +30,7 @@
+ #define Uses_SCIM_CONFIG_BASE
+
+ #include <cstring>
++#include <unistd.h>
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif
diff --git a/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch b/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch
new file mode 100644
index 000000000000..bc1fd4b673ee
--- /dev/null
+++ b/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch
@@ -0,0 +1,11 @@
+--- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400
++++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400
+@@ -346,7 +346,7 @@
+ for (i = 0; i < n; i++) {
+ const char* name = hangul_ic_get_keyboard_name(i);
+ #if GTK_CHECK_VERSION(2, 24, 0)
+- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name);
++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name);
+ #else
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name);
+ #endif
diff --git a/app-i18n/scim-hangul/metadata.xml b/app-i18n/scim-hangul/metadata.xml
new file mode 100644
index 000000000000..24424e8cb6de
--- /dev/null
+++ b/app-i18n/scim-hangul/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">scim</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild b/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild
new file mode 100644
index 000000000000..132353f6d189
--- /dev/null
+++ b/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit base
+
+DESCRIPTION="Hangul IMEngine for SCIM ported from imhangul"
+HOMEPAGE="http://www.scim-im.org/"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+RDEPEND="|| ( >=app-i18n/scim-0.99.8 >=app-i18n/scim-cvs-0.99.8 )
+ >=app-i18n/libhangul-0.0.4
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}/${P}+gcc-4.3.patch"
+ "${FILESDIR}/${P}+gcc-4.7.patch" )
+
+src_configure() {
+ econf \
+ --disable-skim-support \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog* NEWS README*
+}
+
+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
+}
diff --git a/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild b/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild
new file mode 100644
index 000000000000..1e03bc091181
--- /dev/null
+++ b/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="Hangul IMEngine for SCIM ported from imhangul"
+HOMEPAGE="http://www.scim-im.org/"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="|| ( >=app-i18n/scim-0.99.8 >=app-i18n/scim-cvs-0.99.8 )
+ >=app-i18n/libhangul-0.0.4
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.2+gcc-4.3.patch"
+ "${FILESDIR}/${PN}-0.3.2+gcc-4.7.patch"
+ "${FILESDIR}/${PN}-0.4.0+gtk.patch" )
+
+DOCS=(AUTHORS NEWS)
+
+src_configure() {
+ local myeconfargs=(
+ --disable-skim-support
+ $(use_enable nls)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc ChangeLog* README*
+}
+
+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
+}