Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/im-ja: im-ja-1.5-r3.ebuild ChangeLog im-ja-1.5.ebuild im-ja-1.5-r1.ebuild
Date: Sun, 01 Jun 2014 18:18:17
Message-Id: 20140601181814.3CB4E2004F@flycatcher.gentoo.org
1 pacho 14/06/01 18:18:14
2
3 Modified: ChangeLog
4 Added: im-ja-1.5-r3.ebuild
5 Removed: im-ja-1.5.ebuild im-ja-1.5-r1.ebuild
6 Log:
7 Use gnome2.eclass, readme.gentoo, drop support for old gnome-panel and fix underlinking (#510784, #510786, #510790, #510792), drop old
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.71 app-i18n/im-ja/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/im-ja/ChangeLog?rev=1.71&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/im-ja/ChangeLog?rev=1.71&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/im-ja/ChangeLog?r1=1.70&r2=1.71
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-i18n/im-ja/ChangeLog,v
21 retrieving revision 1.70
22 retrieving revision 1.71
23 diff -u -r1.70 -r1.71
24 --- ChangeLog 9 Oct 2013 02:04:16 -0000 1.70
25 +++ ChangeLog 1 Jun 2014 18:18:14 -0000 1.71
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-i18n/im-ja
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/ChangeLog,v 1.70 2013/10/09 02:04:16 naota Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/ChangeLog,v 1.71 2014/06/01 18:18:14 pacho Exp $
32 +
33 +*im-ja-1.5-r3 (01 Jun 2014)
34 +
35 + 01 Jun 2014; Pacho Ramos <pacho@g.o>
36 + +files/im-ja-1.5-underlinking.patch, +im-ja-1.5-r3.ebuild,
37 + -im-ja-1.5-r1.ebuild, -im-ja-1.5.ebuild:
38 + Use gnome2.eclass, readme.gentoo, drop support for old gnome-panel and fix
39 + underlinking (#510784, #510786, #510790, #510792), drop old
40
41 09 Oct 2013; Naohiro Aota <naota@g.o> im-ja-1.5-r2.ebuild:
42 sed AM_CONFIG_HEADER with AC_CONFIG_HEADERS. #467568
43
44
45
46 1.1 app-i18n/im-ja/im-ja-1.5-r3.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/im-ja/im-ja-1.5-r3.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/im-ja/im-ja-1.5-r3.ebuild?rev=1.1&content-type=text/plain
50
51 Index: im-ja-1.5-r3.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/im-ja-1.5-r3.ebuild,v 1.1 2014/06/01 18:18:14 pacho Exp $
56
57 EAPI="5"
58 GNOME2_LA_PUNT="yes"
59 GCONF_DEBUG="no"
60
61 inherit autotools gnome2 eutils multilib readme.gentoo
62
63 DESCRIPTION="A Japanese input module for GTK2 and XIM"
64 HOMEPAGE="http://im-ja.sourceforge.net/"
65 SRC_URI="http://im-ja.sourceforge.net/${P}.tar.gz
66 http://im-ja.sourceforge.net/old/${P}.tar.gz"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ppc ~x86"
71 IUSE="canna freewnn skk anthy"
72 # --enable-debug causes build failure with gtk+-2.4
73 #IUSE="${IUSE} debug"
74
75 RDEPEND="
76 >=dev-libs/glib-2.4:2
77 >=dev-libs/atk-1.6
78 >=x11-libs/gtk+-2.4:2
79 >=x11-libs/pango-1.2.1
80 >=gnome-base/gconf-2.4:2
81 >=gnome-base/libglade-2.4:2.0
82 >=gnome-base/libgnomeui-2.4
83 freewnn? ( app-i18n/freewnn )
84 canna? ( app-i18n/canna )
85 skk? ( virtual/skkserv )
86 anthy? ( app-i18n/anthy )
87 "
88 DEPEND="${RDEPEND}
89 dev-lang/perl
90 dev-util/intltool
91 dev-perl/URI
92 virtual/pkgconfig
93 "
94
95 DISABLE_AUTOFORMATTING="yes"
96 DOC_CONTENTS="This version of im-ja comes with experimental XIM support.
97 If you'd like to try it out, run im-ja-xim-server and set
98 environment variable XMODIFIERS to @im=im-ja-xim-server
99 e.g.)
100 $ export XMODIFIERS=@im=im-ja-xim-server (sh)
101 > setenv XMODIFIERS @im=im-ja-xim-server (csh)"
102
103 src_prepare() {
104 epatch "${FILESDIR}/${P}-gentoo.patch" \
105 "${FILESDIR}"/${P}-pofiles.patch \
106 "${FILESDIR}/${P}-underlinking.patch"
107
108 sed -ie 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in || die
109
110 eautoreconf
111 gnome2_src_prepare
112 }
113
114 src_configure() {
115 local myconf
116 # You cannot use `use_enable ...` here. im-ja's configure script
117 # doesn't distinguish --enable-canna from --disable-canna, so
118 # --enable-canna stands for --disable-canna in the script ;-(
119 use canna || myconf="$myconf --disable-canna"
120 use freewnn || myconf="$myconf --disable-wnn"
121 use anthy || myconf="$myconf --disable-anthy"
122 use skk || myconf="$myconf --disable-skk"
123 #use debug && myconf="$myconf --enable-debug"
124
125 gnome2_src_configure \
126 --disable-gnome \
127 $myconf
128 }
129
130 src_install() {
131 gnome2_src_install
132
133 sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
134 insinto /etc/X11/xinit/xinput.d
135 doins "${T}/${PN}.conf"
136
137 readme.gentoo_create_doc
138 }
139
140 pkg_postinst() {
141 gnome2_query_immodules_gtk2
142 gnome2_pkg_postinst
143 readme.gentoo_print_elog
144 }
145
146 pkg_postrm() {
147 gnome2_query_immodules_gtk2
148 gnome2_pkg_postrm
149 }