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