From d43c5433c5c7f8eee76d3c5442d0c4ff41d81de1 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Mon, 31 Jan 2011 18:24:05 +0000 Subject: Prevent automagic linking to libxfconf-0 and rename USE="xfce" to USE="xfconf" wrt #353117. (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) --- app-i18n/imsettings/ChangeLog | 7 ++++++- app-i18n/imsettings/imsettings-1.0.0.ebuild | 17 +++++++++++++---- app-i18n/imsettings/metadata.xml | 2 +- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/app-i18n/imsettings/ChangeLog b/app-i18n/imsettings/ChangeLog index ff266be822d6..2b00036e2038 100644 --- a/app-i18n/imsettings/ChangeLog +++ b/app-i18n/imsettings/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/imsettings # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.1 2011/01/08 06:15:28 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.2 2011/01/31 18:24:05 ssuominen Exp $ + + 31 Jan 2011; Samuli Suominen imsettings-1.0.0.ebuild, + metadata.xml: + Prevent automagic linking to libxfconf-0 and rename USE="xfce" to + USE="xfconf" wrt #353117. *imsettings-1.0.0 (08 Jan 2011) diff --git a/app-i18n/imsettings/imsettings-1.0.0.ebuild b/app-i18n/imsettings/imsettings-1.0.0.ebuild index f66a7395ab37..98fc47948688 100644 --- a/app-i18n/imsettings/imsettings-1.0.0.ebuild +++ b/app-i18n/imsettings/imsettings-1.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.0.0.ebuild,v 1.1 2011/01/08 06:15:28 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.0.0.ebuild,v 1.2 2011/01/31 18:24:05 ssuominen Exp $ EAPI=3 @@ -11,7 +11,7 @@ SRC_URI="http://imsettings.googlecode.com/files/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="qt4 static-libs xfce" +IUSE="qt4 static-libs xfconf" # X11 connections are required for test. RESTRICT="test" @@ -24,21 +24,30 @@ RDEPEND=">=dev-libs/check-0.9.4 x11-libs/libnotify x11-libs/libX11 qt4? ( x11-libs/qt-core:4 ) - xfce? ( xfce-base/xfconf )" + xfconf? ( xfce-base/xfconf )" DEPEND="${RDEPEND} dev-util/pkgconfig" MY_XINPUTSH="90-xinput" +src_prepare() { + # Prevent automagic linking to libxfconf-0. + if ! use xfconf; then + sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die + fi +} + src_configure() { econf \ $(use_enable static-libs static) \ - --with-xinputsh="${MY_XINPUTSH}" || die + --with-xinputsh="${MY_XINPUTSH}" } src_install() { emake DESTDIR="${D}" install || die + find "${ED}" -name '*.la' -exec rm -f '{}' + + fperms 0755 /usr/libexec/xinputinfo.sh || die fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}" || die diff --git a/app-i18n/imsettings/metadata.xml b/app-i18n/imsettings/metadata.xml index 8cf5c37610e7..ab4f7701afa5 100644 --- a/app-i18n/imsettings/metadata.xml +++ b/app-i18n/imsettings/metadata.xml @@ -3,6 +3,6 @@ cjk - Enable integration in XFCE desktop + Enable integration in the Xfce desktop environment with xfce-base/xfconf -- cgit v1.2.3-65-gdbad