summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-09-06 03:46:31 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-09-06 03:46:31 +0000
commitc69ae541d43b78c269419138d62a2585115d47a8 (patch)
tree7bc3a67722e863373d0aca9d71306171b72a74ac /dev-libs/libchewing
parentInitial import. Submitted by Hong Hao, bug 236368. (diff)
downloadgentoo-2-c69ae541d43b78c269419138d62a2585115d47a8.tar.gz
gentoo-2-c69ae541d43b78c269419138d62a2585115d47a8.tar.bz2
gentoo-2-c69ae541d43b78c269419138d62a2585115d47a8.zip
import fedora patches, bug 236799.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-libs/libchewing')
-rw-r--r--dev-libs/libchewing/ChangeLog10
-rw-r--r--dev-libs/libchewing/libchewing-0.2.6.ebuild24
-rw-r--r--dev-libs/libchewing/libchewing-0.3.0-r1.ebuild42
3 files changed, 50 insertions, 26 deletions
diff --git a/dev-libs/libchewing/ChangeLog b/dev-libs/libchewing/ChangeLog
index 14e7b39dabd4..4707d6772597 100644
--- a/dev-libs/libchewing/ChangeLog
+++ b/dev-libs/libchewing/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libchewing
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/ChangeLog,v 1.11 2006/11/05 15:43:52 usata Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/ChangeLog,v 1.12 2008/09/06 03:46:31 matsuu Exp $
+
+*libchewing-0.3.0-r1 (06 Sep 2008)
+
+ 06 Sep 2008; MATSUU Takuto <matsuu@gentoo.org> -libchewing-0.2.6.ebuild,
+ +libchewing-0.3.0-r1.ebuild:
+ import fedora patches, bug 236799. Added ~amd64. Removed old versions.
*libchewing-0.3.0 (05 Nov 2006)
*libchewing-0.2.7 (05 Nov 2006)
diff --git a/dev-libs/libchewing/libchewing-0.2.6.ebuild b/dev-libs/libchewing/libchewing-0.2.6.ebuild
deleted file mode 100644
index 54d7bba9cdb1..000000000000
--- a/dev-libs/libchewing/libchewing-0.2.6.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/libchewing-0.2.6.ebuild,v 1.1 2005/06/26 15:19:58 usata Exp $
-
-IUSE=""
-DESCRIPTION="Library for Chinese Phonetic input method"
-HOMEPAGE="http://chewing.csie.net/"
-SRC_URI="http://chewing.csie.net/download/libchewing/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
-DEPEND="virtual/libc"
-
-src_compile() {
- econf || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
diff --git a/dev-libs/libchewing/libchewing-0.3.0-r1.ebuild b/dev-libs/libchewing/libchewing-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..b5ab6ebd88ea
--- /dev/null
+++ b/dev-libs/libchewing/libchewing-0.3.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/libchewing-0.3.0-r1.ebuild,v 1.1 2008/09/06 03:46:31 matsuu Exp $
+
+inherit eutils multilib
+
+IUSE=""
+DESCRIPTION="Library for Chinese Phonetic input method"
+HOMEPAGE="http://chewing.csie.net/"
+SRC_URI="http://chewing.csie.net/download/libchewing/${P}.tar.gz
+ http://gentoo-china-overlay.googlecode.com/svn/distfiles/${P}-fc9-patches.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack "${P}".tar.gz
+ #patches from federa core
+ epatch "${DISTDIR}/${P}"-fc9-patches.tar.bz2
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ if [[ -e "${ROOT}"/usr/$(get_libdir)/libchewing.so.1 ]] ; then
+ ewarn "You must re-compile all packages that are linked against"
+ ewarn "<libchewing-0.2.7 by using revdep-rebuild from gentoolkit:"
+ ewarn "# revdep-rebuild --library libchewing.so.1"
+ fi
+
+ if [[ -e "${ROOT}"/usr/$(get_libdir)/libchewing.so.2 ]] ; then
+ ewarn "You must re-compile all packages that are linked against"
+ ewarn "<libchewing-0.3.0 by using revdep-rebuild from gentoolkit:"
+ ewarn "# revdep-rebuild --library libchewing.so.2"
+ fi
+}