Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/imsettings: ChangeLog imsettings-1.0.1.ebuild
Date: Tue, 01 Feb 2011 00:07:50
Message-Id: 20110201000739.7B68920054@flycatcher.gentoo.org
1 matsuu 11/02/01 00:07:39
2
3 Modified: ChangeLog
4 Added: imsettings-1.0.1.ebuild
5 Log:
6 Version bumped.
7
8 (Portage version: 2.1.9.35/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 app-i18n/imsettings/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imsettings/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imsettings/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imsettings/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 31 Jan 2011 18:24:05 -0000 1.2
24 +++ ChangeLog 1 Feb 2011 00:07:39 -0000 1.3
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/imsettings
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.2 2011/01/31 18:24:05 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.3 2011/02/01 00:07:39 matsuu Exp $
30 +
31 +*imsettings-1.0.1 (01 Feb 2011)
32 +
33 + 01 Feb 2011; MATSUU Takuto <matsuu@g.o> +imsettings-1.0.1.ebuild:
34 + Version bumped.
35
36 31 Jan 2011; Samuli Suominen <ssuominen@g.o> imsettings-1.0.0.ebuild,
37 metadata.xml:
38
39
40
41 1.1 app-i18n/imsettings/imsettings-1.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imsettings/imsettings-1.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imsettings/imsettings-1.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: imsettings-1.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.0.1.ebuild,v 1.1 2011/02/01 00:07:39 matsuu Exp $
51
52 EAPI=3
53
54 DESCRIPTION="Delivery framework for general Input Method configuration"
55 HOMEPAGE="http://code.google.com/p/imsettings/"
56 SRC_URI="http://imsettings.googlecode.com/files/${P}.tar.bz2"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="qt4 static-libs xfconf"
62
63 # X11 connections are required for test.
64 RESTRICT="test"
65
66 RDEPEND=">=dev-libs/check-0.9.4
67 >=dev-libs/glib-2.26
68 sys-apps/dbus
69 >=x11-libs/gtk+-2.12:2
70 >=x11-libs/libgxim-0.3.1
71 x11-libs/libnotify
72 x11-libs/libX11
73 qt4? ( x11-libs/qt-core:4 )
74 xfconf? ( xfce-base/xfconf )"
75 DEPEND="${RDEPEND}
76 dev-util/pkgconfig"
77
78 MY_XINPUTSH="90-xinput"
79
80 src_prepare() {
81 # Prevent automagic linking to libxfconf-0.
82 if ! use xfconf; then
83 sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die
84 fi
85 }
86
87 src_configure() {
88 econf \
89 $(use_enable static-libs static) \
90 --with-xinputsh="${MY_XINPUTSH}"
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die
95
96 find "${ED}" -name '*.la' -exec rm -f '{}' +
97
98 fperms 0755 /usr/libexec/xinputinfo.sh || die
99 fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}" || die
100
101 dodoc AUTHORS ChangeLog NEWS README || die
102 }
103
104 pkg_postinst() {
105 if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then
106 ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc"
107 fi
108 }