diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-06-27 09:45:06 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-06-27 09:45:06 +0000 |
commit | f6d042c95e42c28360a12fbbaa5ae39d3cec57ba (patch) | |
tree | 5055a1b2f721f3408392cad25ee05944eb25095c /app-i18n | |
parent | Modified Files: (diff) | |
download | gentoo-2-f6d042c95e42c28360a12fbbaa5ae39d3cec57ba.tar.gz gentoo-2-f6d042c95e42c28360a12fbbaa5ae39d3cec57ba.tar.bz2 gentoo-2-f6d042c95e42c28360a12fbbaa5ae39d3cec57ba.zip |
db4 issues
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/xsim/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/xsim/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/xsim/files/digest-xsim-0.3.9.4-r2 | 1 | ||||
-rw-r--r-- | app-i18n/xsim/xsim-0.3.9.4-r2.ebuild | 62 |
4 files changed, 72 insertions, 2 deletions
diff --git a/app-i18n/xsim/ChangeLog b/app-i18n/xsim/ChangeLog index f5db4e2715e8..ee30fddb71ef 100644 --- a/app-i18n/xsim/ChangeLog +++ b/app-i18n/xsim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/xsim # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v 1.4 2003/06/07 01:40:22 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v 1.5 2003/06/27 09:44:57 liquidx Exp $ + +*xsim-0.3.9.4-r2 (27 Jun 2003) + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> xsim-0.3.9.4-r2.ebuild: + made db4 compat (ie. removed db3 restriction) (#23513) 07 Jun 2003; Alastair Tse <liquidx@gentoo.org> xsim-0.3.9.4-r1.ebuild: added sed-4 deps diff --git a/app-i18n/xsim/Manifest b/app-i18n/xsim/Manifest index 8288522c60fe..da812acef009 100644 --- a/app-i18n/xsim/Manifest +++ b/app-i18n/xsim/Manifest @@ -1,6 +1,8 @@ -MD5 4f30d4cf0d137165e3be145db57d59af ChangeLog 716 +MD5 3183615b567e6a6a5b0bda54416c38c4 ChangeLog 879 MD5 3de8fb9e6e3f43b304f4020b36ad26d6 xsim-0.3.9.4.ebuild 1268 +MD5 b8f15f06316b3117294cb027cb099a7b xsim-0.3.9.4-r2.ebuild 1685 MD5 476cae3d8bebb1f979e726535c50032e xsim-0.3.9.4-r1.ebuild 1804 MD5 b09020ab653fd5cd1b693e3def773f0b files/digest-xsim-0.3.9.4 65 MD5 b09020ab653fd5cd1b693e3def773f0b files/digest-xsim-0.3.9.4-r1 65 MD5 922ec332bf51c73ead1e3082d62d23c8 files/xsim-0.3.9.4-db3.patch 934 +MD5 b09020ab653fd5cd1b693e3def773f0b files/digest-xsim-0.3.9.4-r2 65 diff --git a/app-i18n/xsim/files/digest-xsim-0.3.9.4-r2 b/app-i18n/xsim/files/digest-xsim-0.3.9.4-r2 new file mode 100644 index 000000000000..828534bc83f4 --- /dev/null +++ b/app-i18n/xsim/files/digest-xsim-0.3.9.4-r2 @@ -0,0 +1 @@ +MD5 645d68ee8c565c04782068c4546504d9 xsim-0.3.9.4.tar.gz 1025640 diff --git a/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild new file mode 100644 index 000000000000..d15ddc825fac --- /dev/null +++ b/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v 1.1 2003/06/27 09:44:58 liquidx Exp $ + +[ -n "`use kde`" ] && inherit kde + +DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server." +HOMEPAGE="http://developer.berlios.de/projects/xsim/" +SRC_URI="http://download.berlios.de/xsim/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="kde" + +DEPEND="virtual/glibc + >=sys-libs/db-3 + >=sys-apps/sed-4 + kde? ( >=kde-base/kdelibs-3 )" + +src_unpack() { + unpack ${A} + + cd ${S} + einfo "Patching ./configure to respect CFLAGS .." + sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" configure + +} + +src_compile() { + + local myconf + + use kde \ + && myconf="${myconf} --with-kde3=${KDEDIR} --with-qt3=${QTDIR} --enable-status-kde3" + + econf ${myconf} || die "configure failed" + emake xsim_etcp=/etc || die "make failed" +} + +src_install () { + einstall xsim_datp=${D}/usr/lib/xsim/dat \ + xsim_libp=${D}/usr/lib/xsim/plugins \ + xsim_binp=${D}/usr/bin \ + xsim_etcp=${D}/etc \ + install-data install || die "install failed" + + sed -i -e "s#DICT_LOCAL\(.*\)/usr/dat#DICT_LOCAL\1/usr/lib/xsim/dat#" \ + -e "s#PLUGIN_LOCAL\(.*\)/usr/plugins#PLUGIN_LOCAL\1/usr/lib/xsim/plugins#" \ + ${D}/etc/xsimrc + + dodoc ChangeLog COPYING INSTALL README* TODO +} + +pkg_postinst() { + einfo "XSIM needs write access to /usr/lib/xsim/dat/chardb, so if you" + einfo "not running it as root, you need to do the following:" + echo + einfo " cp -r /usr/lib/xsim/dat \${HOME}/.xsim" + einfo " sed -i \"s#DICT_LOCAL.*#DICT_LOCAL \${HOME}/.xsim#\" > \${HOME}/.xsim/xsimrc" + echo +} |