summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-02 10:24:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-02 10:24:00 +0000
commitef96a73890729ca117fc9caf953b5e13c834e3cc (patch)
tree4ee52d6d0b0c9e360628bd5958583f487d3eca72 /app-i18n
parentFix minor issues pointed out by repoman. (diff)
downloadgentoo-2-ef96a73890729ca117fc9caf953b5e13c834e3cc.tar.gz
gentoo-2-ef96a73890729ca117fc9caf953b5e13c834e3cc.tar.bz2
gentoo-2-ef96a73890729ca117fc9caf953b5e13c834e3cc.zip
Version bump and add a patch to fix build with --as-needed (closes bug #246898).
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/nabi/ChangeLog11
-rw-r--r--app-i18n/nabi/files/nabi-0.99.3-asneeded.patch13
-rw-r--r--app-i18n/nabi/nabi-0.99.3.ebuild52
3 files changed, 74 insertions, 2 deletions
diff --git a/app-i18n/nabi/ChangeLog b/app-i18n/nabi/ChangeLog
index 5023b2c494ba..09f3916026ad 100644
--- a/app-i18n/nabi/ChangeLog
+++ b/app-i18n/nabi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/nabi
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nabi/ChangeLog,v 1.25 2008/06/22 00:06:39 wormo Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nabi/ChangeLog,v 1.26 2009/06/02 10:24:00 flameeyes Exp $
+
+*nabi-0.99.3 (02 Jun 2009)
+
+ 02 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> +nabi-0.99.3.ebuild,
+ +files/nabi-0.99.3-asneeded.patch:
+ Version bump and add a patch to fix build with --as-needed (closes bug
+ #246898).
21 Jun 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
nabi-0.17.ebuild:
diff --git a/app-i18n/nabi/files/nabi-0.99.3-asneeded.patch b/app-i18n/nabi/files/nabi-0.99.3-asneeded.patch
new file mode 100644
index 000000000000..a2b7c5c88f35
--- /dev/null
+++ b/app-i18n/nabi/files/nabi-0.99.3-asneeded.patch
@@ -0,0 +1,13 @@
+Index: nabi-0.99.3/src/Makefile.am
+===================================================================
+--- nabi-0.99.3.orig/src/Makefile.am
++++ nabi-0.99.3/src/Makefile.am
+@@ -29,6 +29,6 @@ nabi_SOURCES = \
+ sctc.h util.h util.c \
+ main.c
+
+-nabi_LDFLAGS = @LIBHANGUL_LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lX11 @GTK_LIBS@
+-nabi_LDADD = ../IMdkit/libXimd.a
++nabi_LDADD = @LIBHANGUL_LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lX11 @GTK_LIBS@ \
++ ../IMdkit/libXimd.a
+
diff --git a/app-i18n/nabi/nabi-0.99.3.ebuild b/app-i18n/nabi/nabi-0.99.3.ebuild
new file mode 100644
index 000000000000..3bb9efc1a319
--- /dev/null
+++ b/app-i18n/nabi/nabi-0.99.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nabi/nabi-0.99.3.ebuild,v 1.1 2009/06/02 10:24:00 flameeyes Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Simple Hanguk X Input Method"
+HOMEPAGE="http://nabi.kldp.net/"
+SRC_URI="http://kldp.net/frs/download.php/4929/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=x11-libs/gtk+-2.4
+ >=app-i18n/libhangul-0.0.8"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ local myconf=
+
+ # Broken configure: --disable-debug also enables debug
+ use debug && \
+ myconf="${myconf} --enable-debug"
+
+ econf ${myconf}
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ elog "You MUST add environment variable..."
+ elog
+ elog "export XMODIFIERS=\"@im=nabi\""
+ elog
+}