summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2004-04-05 14:36:15 +0000
committerAkinori Hattori <hattya@gentoo.org>2004-04-05 14:36:15 +0000
commit373b977da19c7a4be5c33e8e779b0537922184e8 (patch)
tree45cde5717758e26edd749f3cc33efbed342fa57c /app-i18n/uim-svn
parentMarking stable on hppa (Manifest recommit) (diff)
downloadgentoo-2-373b977da19c7a4be5c33e8e779b0537922184e8.tar.gz
gentoo-2-373b977da19c7a4be5c33e8e779b0537922184e8.tar.bz2
gentoo-2-373b977da19c7a4be5c33e8e779b0537922184e8.zip
update patch from app-i18n/uim.
Diffstat (limited to 'app-i18n/uim-svn')
-rw-r--r--app-i18n/uim-svn/ChangeLog6
-rw-r--r--app-i18n/uim-svn/files/uim-svn-gtk-query-immodules-gentoo.diff36
-rw-r--r--app-i18n/uim-svn/uim-svn-20040124.ebuild25
3 files changed, 37 insertions, 30 deletions
diff --git a/app-i18n/uim-svn/ChangeLog b/app-i18n/uim-svn/ChangeLog
index 7c828d228d41..826b796964c3 100644
--- a/app-i18n/uim-svn/ChangeLog
+++ b/app-i18n/uim-svn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/uim-svn
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.3 2004/01/28 09:44:54 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.4 2004/04/05 14:36:15 hattya Exp $
+
+ 05 Apr 2004; Akinori Hattori <hattya@gentoo.org> uim-svn-20040124.ebuild,
+ files/uim-svn-gtk-query-immodules-gentoo.diff:
+ update patch from app-i18n/uim.
28 Jan 2004; Akinori Hattori <hattya@gentoo.org uim-svn-20040124.ebuild:
Blocks app-i18n/uim.
diff --git a/app-i18n/uim-svn/files/uim-svn-gtk-query-immodules-gentoo.diff b/app-i18n/uim-svn/files/uim-svn-gtk-query-immodules-gentoo.diff
index 8eac36b6dc4a..99df5672eab1 100644
--- a/app-i18n/uim-svn/files/uim-svn-gtk-query-immodules-gentoo.diff
+++ b/app-i18n/uim-svn/files/uim-svn-gtk-query-immodules-gentoo.diff
@@ -1,17 +1,23 @@
-diff -urN uim-0.2.1.ORIG/gtk/Makefile.in uim-0.2.1/gtk/Makefile.in
---- uim-0.2.1.ORIG/gtk/Makefile.in 2003-12-21 23:58:14.000000000 +0900
-+++ uim-0.2.1/gtk/Makefile.in 2003-12-22 02:24:26.000000000 +0900
-@@ -535,11 +535,11 @@
+diff -urN uim-0.3.3.ORIG/gtk/Makefile.am uim-0.3.3/gtk/Makefile.am
+--- uim-0.3.3.ORIG/gtk/Makefile.am 2004-03-20 05:29:48.000000000 +0900
++++ uim-0.3.3/gtk/Makefile.am 2004-03-22 03:08:58.709699312 +0900
+@@ -19,16 +19,12 @@
+ IM_UIM_SOURCES = gtk-im-uim.c
- @GTK2_TRUE@install-data-hook:
- @GTK2_TRUE@ if test -f $(GTK_IMMODULES); then \
--@GTK2_TRUE@ gtk-query-immodules-2.0 > $(GTK_IMMODULES); \
-+@GTK2_TRUE@ gtk-query-immodules-2.0 > ${DESTDIR}/$(GTK_IMMODULES); \
- @GTK2_TRUE@ fi
- @GTK2_TRUE@uninstall-hook:
- @GTK2_TRUE@ if test -f $(GTK_IMMODULES); then \
--@GTK2_TRUE@ gtk-query-immodules-2.0 > $(GTK_IMMODULES); \
-+@GTK2_TRUE@ gtk-query-immodules-2.0 > ${DESTDIR}/$(GTK_IMMODULES); \
- @GTK2_TRUE@ fi
- @GTK2_FALSE@install-data-hook:
+ install-data-hook:
+- if test -f $(GTK_IMMODULES); then \
+- gtk-query-immodules-2.0 > $(GTK_IMMODULES); \
+- fi
++
+ uninstall-hook:
+- if test -f $(GTK_IMMODULES); then \
+- gtk-query-immodules-2.0 > $(GTK_IMMODULES); \
+- fi
++
+ else
+ install-data-hook:
+- uninstall-hook:
++uninstall-hook:
+
+ endif
diff --git a/app-i18n/uim-svn/uim-svn-20040124.ebuild b/app-i18n/uim-svn/uim-svn-20040124.ebuild
index 2636db222a41..729d6af1669c 100644
--- a/app-i18n/uim-svn/uim-svn-20040124.ebuild
+++ b/app-i18n/uim-svn/uim-svn-20040124.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.3 2004/01/28 09:44:54 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.4 2004/04/05 14:36:15 hattya Exp $
inherit subversion
@@ -11,12 +11,11 @@ HOMEPAGE="http://anthy.sourceforge.jp/"
SRC_URI=""
ESVN_REPO_URI="http://freedesktop.org:8080/svn/uim/trunk"
ESVN_BOOTSTRAP="autogen.sh"
+ESVN_PATCHES="*.diff"
LICENSE="GPL-2 | BSD"
-SLOT="0"
KEYWORDS="~x86"
-
-S="${WORKDIR}/${P}"
+SLOT="0"
DEPEND="${RDEPEND}
dev-lang/perl
@@ -31,8 +30,6 @@ use debug && RESTRICT="nostrip"
src_compile() {
- epatch ${FILESDIR}/${PN}-gtk-query-immodules-gentoo.diff
-
if [ -n "`use gtk`" ] ; then
sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \
Makefile.in `echo */Makefile.in`
@@ -45,31 +42,31 @@ src_compile() {
use debug && export CFLAGS="${CFLAGS} -g"
econf `use_enable nls` || die
emake || die
+
}
src_install () {
- if [ "`use gtk`" ] ; then
- dodir /etc/gtk-2.0
- fi
-
make DESTDIR=${D} install || die
- dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README*
+ dodoc [A-Z][A-Z]* ChangeLog* doc/[A-Z0-9][A-Z0-9]*
+
}
pkg_postinst() {
+ use gtk && gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+
einfo
einfo "To use uim-anthy you should emerge app-i18n/anthy or app-i18n/anthy-ss."
einfo "To use uim-skk you should emerge app-i18n/skk-jisyo."
einfo "To use uim-prime you should emerge app-i18n/prime."
einfo
+
}
pkg_postrm() {
- if [ "`use gtk`" ] ; then
- gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
- fi
+ use gtk && gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+
}