summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-01-03 18:58:25 +0000
committerMamoru Komachi <usata@gentoo.org>2005-01-03 18:58:25 +0000
commit140629a37388926f44ff9da4ae4cdbab1b2f84ae (patch)
treecb026a955bc2f98548591830da69e7c4fc2be3cc /app-i18n/uim
parentadding ppc64 cascading profile, probably some tweaks yet to be done (diff)
downloadhistorical-140629a37388926f44ff9da4ae4cdbab1b2f84ae.tar.gz
historical-140629a37388926f44ff9da4ae4cdbab1b2f84ae.tar.bz2
historical-140629a37388926f44ff9da4ae4cdbab1b2f84ae.zip
Fixed config file path.
Diffstat (limited to 'app-i18n/uim')
-rw-r--r--app-i18n/uim/ChangeLog5
-rw-r--r--app-i18n/uim/Manifest28
-rw-r--r--app-i18n/uim/uim-0.4.5-r1.ebuild14
3 files changed, 34 insertions, 13 deletions
diff --git a/app-i18n/uim/ChangeLog b/app-i18n/uim/ChangeLog
index 7846d6a09704..352893f47eb4 100644
--- a/app-i18n/uim/ChangeLog
+++ b/app-i18n/uim/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-i18n/uim
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.78 2005/01/03 02:38:02 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.79 2005/01/03 18:58:25 usata Exp $
+
+ 04 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> uim-0.4.5-r1.ebuild:
+ Fixed config file path.
03 Jan 2005; MATSUU Takuto <matsuu@gentoo.org> uim-0.4.5.ebuild:
Marked as stable on amd64 and sparc.
diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest
index c063d51e69c0..3031bd389437 100644
--- a/app-i18n/uim/Manifest
+++ b/app-i18n/uim/Manifest
@@ -1,14 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 1e92b25bd5a16190e31facde998f8b0f ChangeLog 12109
+MD5 f5659d73ef347dcb529d867d6d5b4272 metadata.xml 642
+MD5 13b00719e566723c9d684cac75c7439e uim-0.4.5.ebuild 2267
MD5 213b2d58200cf110447792600d84114c uim-0.3.4.2.ebuild 1634
-MD5 6d242be81b4f8e51e63c5997d12f4523 uim-0.4.2.1.ebuild 1795
+MD5 ef31c4677563ac0d7a5a4849d2f21b2a uim-0.4.5-r1.ebuild 2633
MD5 18acee6c4d7c6c7f8ef204bc9fc30f57 uim-0.4.1.ebuild 1785
-MD5 fda6896511e165de64d7ac9b84bbcdb8 uim-0.4.5-r1.ebuild 2467
-MD5 c53f48280f39886581b3119b4fd8f55c ChangeLog 12013
-MD5 13b00719e566723c9d684cac75c7439e uim-0.4.5.ebuild 2267
-MD5 f5659d73ef347dcb529d867d6d5b4272 metadata.xml 642
-MD5 43709db248e2be1d40952ce99d3cae00 files/uim-gtk-query-immodules-gentoo.diff 552
-MD5 9a217f32ead72ea9956d7c5eb90ca610 files/digest-uim-0.4.5-r1 128
-MD5 bb951055d72fd152ee21f5f8cfc9140f files/digest-uim-0.4.1 61
+MD5 6d242be81b4f8e51e63c5997d12f4523 uim-0.4.2.1.ebuild 1795
MD5 fc4ac83ce1c4a273be674bbcdb3dea5b files/digest-uim-0.4.5 62
-MD5 8441b16a6e27ce2428f377da2a8eb07e files/uim-pinyin-big5-gentoo.diff 275
MD5 b9c8399a56165f6cfe164b17a273ea2a files/digest-uim-0.3.4.2 63
+MD5 9a217f32ead72ea9956d7c5eb90ca610 files/digest-uim-0.4.5-r1 128
+MD5 43709db248e2be1d40952ce99d3cae00 files/uim-gtk-query-immodules-gentoo.diff 552
+MD5 bb951055d72fd152ee21f5f8cfc9140f files/digest-uim-0.4.1 61
MD5 00537e2c63ca679a4889917d52b74a60 files/digest-uim-0.4.2.1 63
+MD5 8441b16a6e27ce2428f377da2a8eb07e files/uim-pinyin-big5-gentoo.diff 275
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB2ZP9VWNWqTUmv+0RAlbHAJ4l1/8TfANCSx1DJ1y7KyUsEOK8tACfYETY
+5nZmpzTOPPYXbA2OcHk4pjM=
+=r+mc
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/uim/uim-0.4.5-r1.ebuild b/app-i18n/uim/uim-0.4.5-r1.ebuild
index 4c21fbc7a3bb..f8c2e6573940 100644
--- a/app-i18n/uim/uim-0.4.5-r1.ebuild
+++ b/app-i18n/uim/uim-0.4.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.4.5-r1.ebuild,v 1.2 2005/01/01 14:42:20 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.4.5-r1.ebuild,v 1.3 2005/01/03 18:58:25 usata Exp $
inherit eutils flag-o-matic
@@ -30,6 +30,14 @@ DEPEND="${RDEPEND}
>=sys-apps/sed-4
nls? ( sys-devel/gettext )"
+get_gtk_confdir() {
+ if useq amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && useq x86 ) ; then
+ echo "/etc/gtk-2.0/${CHOST}"
+ else
+ echo "/etc/gtk-2.0"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${S}
@@ -77,9 +85,9 @@ pkg_postinst() {
ewarn "Available input methods can be found by running uim-im-switcher."
ewarn
- use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules
}
pkg_postrm() {
- use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules
}