summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-02-10 11:27:08 +0000
committerMamoru Komachi <usata@gentoo.org>2005-02-10 11:27:08 +0000
commit0f78f6640104a070e0a55bc28e478e82dc586713 (patch)
tree5191edb996a2eff05400fa6f21b7ec9b308e0016
parentBump to RSBAC v1.2.4 (diff)
downloadgentoo-2-0f78f6640104a070e0a55bc28e478e82dc586713.tar.gz
gentoo-2-0f78f6640104a070e0a55bc28e478e82dc586713.tar.bz2
gentoo-2-0f78f6640104a070e0a55bc28e478e82dc586713.zip
Changed xcin library path. (to not install files under X11 distribution's directory)
(Portage version: 2.0.51-r15)
-rw-r--r--app-i18n/xcin/ChangeLog8
-rw-r--r--app-i18n/xcin/Manifest9
-rw-r--r--app-i18n/xcin/files/digest-xcin-2.5.3_pre3-r11
-rw-r--r--app-i18n/xcin/xcin-2.5.3_pre3-r1.ebuild72
4 files changed, 87 insertions, 3 deletions
diff --git a/app-i18n/xcin/ChangeLog b/app-i18n/xcin/ChangeLog
index 474d67d45ea0..6515ed20041f 100644
--- a/app-i18n/xcin/ChangeLog
+++ b/app-i18n/xcin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/xcin
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.10 2005/01/01 14:43:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.11 2005/02/10 11:27:08 usata Exp $
+
+*xcin-2.5.3_pre3-r1 (10 Feb 2005)
+
+ 10 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +xcin-2.5.3_pre3-r1.ebuild:
+ Changed xcin library path. (to not install files under X11 distribution's
+ directory)
*xcin-2.5.3_pre3 (22 Jun 2004)
diff --git a/app-i18n/xcin/Manifest b/app-i18n/xcin/Manifest
index 387a37206174..f3ba29c45450 100644
--- a/app-i18n/xcin/Manifest
+++ b/app-i18n/xcin/Manifest
@@ -1,3 +1,6 @@
+MD5 6e0a75004077f669a871415ed75c19a5 xcin-2.5.3_pre2.ebuild 1533
+MD5 45a11282435d9bb690c2e388324c7c82 xcin-2.5.2.3.ebuild 1012
+MD5 ed1bd0fc43e505a440167f394c3a3986 ChangeLog 1378
MD5 833cb01ffd330ff300748b51f54f1a84 ChangeLog 1381
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
MD5 55911801e909883c8b9fc023e5fc4fdb xcin-2.5.2.3.ebuild 1017
@@ -5,10 +8,12 @@ MD5 56d9126ce612d693e3a6060b7976af1a xcin-2.5.3_pre2.ebuild 1535
MD5 00ed1551785d7f1af988a3cdf9014dbc xcin-2.5.3_pre3.ebuild 1691
MD5 698d94bfd746092fb8e1eda636dba660 files/digest-xcin-2.5.2.3 65
MD5 5aced2b4a30907127ff8090d320e0f8e files/digest-xcin-2.5.3_pre2 147
+MD5 31ddfe2e1c6e6354ab2dec0a41d28bdf files/xcin-2.5.2.3-gentoo.patch 1535
MD5 ef91a9aa450278758e82e712b3296141 files/gentoo-xcinrc 7927
-MD5 6e5bc36880a6b30cee3b3670725cb85b files/xcin-2.5.3_pre2-db3.patch 439
+MD5 e7e5e0b30c75b104c2335d6d9c4c1729 files/digest-xcin-2.5.3_pre3-r1 83
+MD5 aff10d274d928e8d522824906fed2cf1 files/xcin-chewing.diff 14766
MD5 e7e5e0b30c75b104c2335d6d9c4c1729 files/digest-xcin-2.5.3_pre3 83
-MD5 31ddfe2e1c6e6354ab2dec0a41d28bdf files/xcin-2.5.2.3-gentoo.patch 1535
+MD5 6e5bc36880a6b30cee3b3670725cb85b files/xcin-db3.patch 439
MD5 3cff29c7fef9ace734719fe5434e43c1 files/xcin-2.5.3_pre2-gentoo.patch 468
MD5 aff10d274d928e8d522824906fed2cf1 files/xcin-chewing.diff 14766
MD5 6e5bc36880a6b30cee3b3670725cb85b files/xcin-db3.patch 439
diff --git a/app-i18n/xcin/files/digest-xcin-2.5.3_pre3-r1 b/app-i18n/xcin/files/digest-xcin-2.5.3_pre3-r1
new file mode 100644
index 000000000000..812d1f218707
--- /dev/null
+++ b/app-i18n/xcin/files/digest-xcin-2.5.3_pre3-r1
@@ -0,0 +1 @@
+MD5 9afe2b49e46c4442b5fc7f58a3c72113 xcin-2.5.3.pre3-20.10.firefly.src.rpm 1731777
diff --git a/app-i18n/xcin/xcin-2.5.3_pre3-r1.ebuild b/app-i18n/xcin/xcin-2.5.3_pre3-r1.ebuild
new file mode 100644
index 000000000000..b10fd4d9e6b2
--- /dev/null
+++ b/app-i18n/xcin/xcin-2.5.3_pre3-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r1.ebuild,v 1.1 2005/02/10 11:27:08 usata Exp $
+
+inherit rpm eutils
+
+XCINRPMSRC="${P/_/.}-20.10.firefly.src.rpm"
+
+DESCRIPTION="Chinese X Input Method"
+HOMEPAGE="http://xcin.linux.org.tw/
+ http://firefly.idv.tw/test/Forum.php?Board=1"
+SRC_URI="http://firefly.idv.tw/setfont-xft/Fedora/Core_1/SRPMS/${XCINRPMSRC}"
+
+LICENSE="XCIN"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="nls unicode"
+
+DEPEND="dev-libs/libchewing
+ nls? ( sys-devel/gettext )
+ >=app-i18n/libtabe-0.2.5
+ unicode? ( media-fonts/hkscs-ming )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ rpm_src_unpack
+
+ cd ${S}
+ epatch ${FILESDIR}/xcin-chewing.diff
+
+ # gcc3.2 changed the way we deal with -I. So until the configure script
+ # is updated we need this hack as a work around.
+ EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P/pre3/pre2}-gentoo.patch
+ EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-db3.patch
+
+ # begin firefly unicode patches
+ cd ${S}
+ for I in ${WORKDIR}/*.patch;do
+ epatch ${I}
+ done
+
+ # paar's fix
+ mv ${S}/xcin/cin/big5/* ${S}/cin/big5/
+}
+
+src_compile() {
+ econf \
+ --with-xcin-rcdir=/etc \
+ --with-xcin-dir=/usr/lib/xcin25 \
+ --with-db-lib=/usr/lib \
+ --with-tabe-inc=/usr/include/tabe \
+ --with-tabe-lib=/usr/lib || die "./configure failed"
+ emake -j1 || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ program_prefix=${D} \
+ install || die
+ dodir /etc
+
+ insinto /etc
+ doins ${FILESDIR}/xcinrc
+ dodoc doc/*
+
+ for docdir in doc/En doc/En/internal doc/history doc/internal doc/modules; do
+ docinto ${docdir#doc/}
+ dodoc ${docdir}/*
+ done
+}