From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CA9FE1381F3 for ; Tue, 11 Jun 2013 11:56:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A01BDE0807; Tue, 11 Jun 2013 11:56:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AF91E0807 for ; Tue, 11 Jun 2013 11:56:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 502A833DDD8 for ; Tue, 11 Jun 2013 11:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CEAB4E468F for ; Tue, 11 Jun 2013 11:56:23 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1370951642.49db3672ccbc304e56e6ecc7849c71c8ea7d9dd9.kensington@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtgui/ X-VCS-Repository: proj/qt X-VCS-Files: dev-qt/qtgui/qtgui-4.8.9999.ebuild X-VCS-Directories: dev-qt/qtgui/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 49db3672ccbc304e56e6ecc7849c71c8ea7d9dd9 X-VCS-Branch: master Date: Tue, 11 Jun 2013 11:56:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dfd25f32-bec1-442f-9975-08e60bdd6547 X-Archives-Hash: e47793f992bf3470549e36cb82e6354b commit: 49db3672ccbc304e56e6ecc7849c71c8ea7d9dd9 Author: Michael Palimaka gentoo org> AuthorDate: Tue Jun 11 11:54:02 2013 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Tue Jun 11 11:54:02 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=49db3672 [dev-qt/qtgui] Export GTK2_RC_FILES wrt bug #388551. Package-Manager: portage-2.1.12.4 --- dev-qt/qtgui/qtgui-4.8.9999.ebuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dev-qt/qtgui/qtgui-4.8.9999.ebuild b/dev-qt/qtgui/qtgui-4.8.9999.ebuild index 3755bf8..bbeabfd 100644 --- a/dev-qt/qtgui/qtgui-4.8.9999.ebuild +++ b/dev-qt/qtgui/qtgui-4.8.9999.ebuild @@ -187,6 +187,13 @@ src_install() { newicon tools/qtconfig/images/appicon.png qtconfig.png make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings' + # see bug 388551 + cat <<-EOF > "${T}"/qtgui.sh + export GTK2_RC_FILES=\${HOME}/.gtkrc-2.0 + EOF + insinto /etc/profile.d + doins "${T}"/qtgui.sh + use dbus && newicon tools/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png } @@ -195,12 +202,4 @@ pkg_postinst() { # raster is the default graphicssystem, set it on first install eselect qtgraphicssystem set raster --use-old - - if use gtkstyle; then - # see bug 388551 - elog "For Qt's GTK style to work, you need to either export" - elog "the following variable into your environment:" - elog ' GTK2_RC_FILES="$HOME/.gtkrc-2.0"' - elog "or alternatively install gnome-base/libgnomeui" - fi }