summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamakura Makoto <yakina@gentoo.org>2003-06-13 10:32:57 +0000
committerYamakura Makoto <yakina@gentoo.org>2003-06-13 10:32:57 +0000
commit99f716c4f432eab71a509673e9189c5b7fe6e4bb (patch)
tree66ba8f1f46d2540c33e61ff0585244901f13ed9f
parentfix permission for gconf schemas (diff)
downloadhistorical-99f716c4f432eab71a509673e9189c5b7fe6e4bb.tar.gz
historical-99f716c4f432eab71a509673e9189c5b7fe6e4bb.tar.bz2
historical-99f716c4f432eab71a509673e9189c5b7fe6e4bb.zip
fix permission for gconf schemas
-rw-r--r--app-i18n/im-ja/Manifest4
-rw-r--r--app-i18n/im-ja/im-ja-0.5.ebuild9
2 files changed, 9 insertions, 4 deletions
diff --git a/app-i18n/im-ja/Manifest b/app-i18n/im-ja/Manifest
index 835c711ea038..0d21fb61c481 100644
--- a/app-i18n/im-ja/Manifest
+++ b/app-i18n/im-ja/Manifest
@@ -1,5 +1,5 @@
-MD5 959f85eb4cce6ac369d42f942be09b25 im-ja-0.5.ebuild 1591
+MD5 da4f9455f40d857fe5f3933e2b65c434 im-ja-0.5.ebuild 1591
MD5 25d6b2f2492dc872d23e3bcb4127db5a im-ja-0.4.ebuild 845
-MD5 963cb556266121a3bdd8bfaf650e3fec ChangeLog 692
+MD5 218266863185c2599c302040059ddefc ChangeLog 806
MD5 21cfa892d1937a4396772e7d1582316f files/digest-im-ja-0.4 61
MD5 8116d40492e309d8a6bcf4ff70bcb49f files/digest-im-ja-0.5 61
diff --git a/app-i18n/im-ja/im-ja-0.5.ebuild b/app-i18n/im-ja/im-ja-0.5.ebuild
index 5786d02575e4..283b5cb3617c 100644
--- a/app-i18n/im-ja/im-ja-0.5.ebuild
+++ b/app-i18n/im-ja/im-ja-0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.5.ebuild,v 1.1 2003/06/12 12:37:08 yakina Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/im-ja-0.5.ebuild,v 1.2 2003/06/13 10:32:51 yakina Exp $
DESCRIPTION="A Japanese input module for GTK2"
HOMEPAGE="http://im-ja.sourceforge.net/"
@@ -29,7 +29,8 @@ src_unpack() {
}
src_compile() {
- local myconf=--with-gconf-source="`gconftool-2 --get-default-source | sed -e \"s|xml::|xml::${D}|\"`"
+ local gconfdir="`gconftool-2 --get-default-source | sed -e \"s|^xml::/|$D|\"`"
+ local myconf="--with-gconf-source=xml::${gconfdir}"
use canna || myconf="$myconf --disable-canna"
use freewnn || myconf="$myconf --disable-wnn"
econf $myconf
@@ -37,7 +38,11 @@ src_compile() {
}
src_install () {
+ local gconfdir="`gconftool-2 --get-default-source | sed -e \"s|^xml::/|$D|\"`"
einstall
+ # /etc/gconf should be world readable
+ find ${gconfdir} -type d | xargs chmod -R +rx
+ find ${gconfdir} -type f | xargs chmod -R +r
dodoc AUTHORS COPYING README ChangeLog
}