summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-01-11 12:49:42 +0000
committerMamoru Komachi <usata@gentoo.org>2004-01-11 12:49:42 +0000
commit4fa27a56bda5ecc9940c42bc84a372720688f3d9 (patch)
tree40883d6a8a2419d08f8242f36f306753600ab625 /app-i18n/im-ja
parentAdded debug IUSE flag. (diff)
downloadhistorical-4fa27a56bda5ecc9940c42bc84a372720688f3d9.tar.gz
historical-4fa27a56bda5ecc9940c42bc84a372720688f3d9.tar.bz2
historical-4fa27a56bda5ecc9940c42bc84a372720688f3d9.zip
Added debug IUSE flag.
Diffstat (limited to 'app-i18n/im-ja')
-rw-r--r--app-i18n/im-ja/Manifest4
-rw-r--r--app-i18n/im-ja/files/digest-im-ja-0.9-r11
-rw-r--r--app-i18n/im-ja/im-ja-0.9-r1.ebuild69
3 files changed, 72 insertions, 2 deletions
diff --git a/app-i18n/im-ja/Manifest b/app-i18n/im-ja/Manifest
index fe9eafd505b3..215c5999a11b 100644
--- a/app-i18n/im-ja/Manifest
+++ b/app-i18n/im-ja/Manifest
@@ -1,10 +1,10 @@
MD5 a5dcb7ee4e6dff2f4dcfc927b82c42b1 im-ja-0.8.ebuild 1250
MD5 481b8e51272ff74476353632e2100fd7 im-ja-0.7_p2.ebuild 1262
MD5 59c2acaff19053260577ae4c23644b14 im-ja-0.9.ebuild 1675
-MD5 dc93cc5a0c3064bc06c25a77fa3b1b11 ChangeLog 2182
+MD5 d0cfe566d81b4a86332f2887ffc679d5 ChangeLog 2292
MD5 e6a4d014e5f606f6a37e9d2e6906a988 metadata.xml 605
MD5 475bf8e566d1f6b647d0afd9ee4903cd im-ja-0.6.ebuild 1714
-MD5 14dc789aefc72d8efb2c3732e5e9cc7b im-ja-0.9-r1.ebuild 1761
+MD5 e06fe4c7bbac2b42789ce4fe77b10e00 im-ja-0.9-r1.ebuild 1764
MD5 6f3230b84289fc2f9a9a255f604f324b files/digest-im-ja-0.7_p2 63
MD5 131326130e94a82f0581cd5ed17c7160 files/im-ja-0.6-gentoo.diff 290
MD5 0d70fbe4f0f67a7a474c20b9f047c60b files/digest-im-ja-0.6 61
diff --git a/app-i18n/im-ja/files/digest-im-ja-0.9-r1 b/app-i18n/im-ja/files/digest-im-ja-0.9-r1
new file mode 100644
index 000000000000..c4b327706e2a
--- /dev/null
+++ b/app-i18n/im-ja/files/digest-im-ja-0.9-r1
@@ -0,0 +1 @@
+MD5 2bde9e0d85b39591d132c700d5d87047 im-ja-0.9.tar.gz 717708
diff --git a/app-i18n/im-ja/im-ja-0.9-r1.ebuild b/app-i18n/im-ja/im-ja-0.9-r1.ebuild
new file mode 100644
index 000000000000..0979fba4dc8f
--- /dev/null
+++ b/app-i18n/im-ja/im-ja-0.9-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/im-ja-0.9-r1.ebuild,v 1.1 2004/01/11 12:49:34 usata Exp $
+
+inherit gnome2
+
+IUSE="gnome canna freewnn debug"
+
+DESCRIPTION="A Japanese input module for GTK2 and XIM"
+HOMEPAGE="http://im-ja.sourceforge.net/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz
+ ${HOMEPAGE}old/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+SLOT="0"
+
+S=${WORKDIR}/${P}
+
+DOCS="AUTHORS README ChangeLog TODO"
+
+DEPEND="dev-lang/perl
+ dev-perl/URI
+ ${RDEPEND}"
+RDEPEND="virtual/glibc
+ >=dev-libs/glib-2.2.1
+ >=dev-libs/atk-1.2.2
+ >=x11-libs/gtk+-2.2.1
+ >=x11-libs/pango-1.2.1
+ >=gnome-base/gconf-2.2
+ >=gnome-base/libglade-2.0
+ gnome? ( >=gnome-base/gnome-panel-2.0 )
+ freewnn? ( app-i18n/freewnn )
+ canna? ( app-i18n/canna )"
+
+use debug && RESTRICT="nostrip"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-canna-3.7-gentoo.diff
+}
+
+src_compile() {
+ local myconf
+ use gnome || myconf="$myconf --disable-gnome"
+ use canna || myconf="$myconf --disable-canna"
+ use freewnn || myconf="$myconf --disable-wnn"
+ use debug && myconf="$myconf --enable-debug"
+ gnome2_src_compile $myconf
+}
+
+pkg_postinst(){
+ gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
+ gnome2_pkg_postinst
+ einfo
+ einfo "This version of im-ja comes with experimental XIM support."
+ einfo "If you'd like to try it out, run im-ja-xim-server and set"
+ einfo "environment variable XMODIFIERS to @im=im-ja-xim-server"
+ einfo "e.g.)"
+ einfo "\t$ export XMODIFIERS=@im=im-ja-xim-server (sh)"
+ einfo "\t> setenv XMODIFIERS @im=im-ja-xim-server (csh)"
+ einfo
+}
+
+pkg_postrm(){
+ gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
+ gnome2_pkg_postrm
+}