From 7d22f1e01554537fdda6d5bcc033cbdf7bd39505 Mon Sep 17 00:00:00 2001 From: Ben de Groot Date: Fri, 13 Jul 2012 11:12:20 +0000 Subject: Add elog message to inform users about how to use gtkstyle, bug #388551 (Portage version: 2.2.0_alpha117/cvs/Linux x86_64) --- x11-libs/qt-gui/ChangeLog | 6 +++++- x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild | 12 +++++++++++- x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild | 9 ++++++++- x11-libs/qt-gui/qt-gui-4.8.2.ebuild | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) (limited to 'x11-libs/qt-gui') diff --git a/x11-libs/qt-gui/ChangeLog b/x11-libs/qt-gui/ChangeLog index 997a8c7bc599..49c21b6c0437 100644 --- a/x11-libs/qt-gui/ChangeLog +++ b/x11-libs/qt-gui/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/qt-gui # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.194 2012/07/09 12:20:40 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.195 2012/07/13 11:12:20 yngwin Exp $ + + 13 Jul 2012; Ben de Groot qt-gui-4.7.4-r1.ebuild, + qt-gui-4.8.1-r1.ebuild, qt-gui-4.8.2.ebuild: + Add elog message to inform users about how to use gtkstyle, bug #388551 09 Jul 2012; Johannes Huber -files/qt-gui-4.6-libpng-1.5.patch: diff --git a/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild b/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild index 7c09d00d74e4..9ab9f5bf10b5 100644 --- a/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild +++ b/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild,v 1.11 2012/05/21 19:53:24 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.7.4-r1.ebuild,v 1.12 2012/07/13 11:12:20 yngwin Exp $ EAPI="3" inherit eutils confutils qt4-build @@ -186,3 +186,13 @@ src_install() { 'Qt;Development;GUIDesigner' \ || die "designer make_desktop_entry failed" } + +pkg_postinstall() { + 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 +} diff --git a/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild b/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild index c3ec4a94603a..5a5a0bc0263c 100644 --- a/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild +++ b/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild,v 1.10 2012/07/08 17:51:31 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.8.1-r1.ebuild,v 1.11 2012/07/13 11:12:20 yngwin Exp $ EAPI=4 @@ -235,4 +235,11 @@ pkg_postinst() { elog "Run" elog " eselect qtgraphicssystem" elog "for more information." + 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 } diff --git a/x11-libs/qt-gui/qt-gui-4.8.2.ebuild b/x11-libs/qt-gui/qt-gui-4.8.2.ebuild index fdeab71da5c0..39023ca06ada 100644 --- a/x11-libs/qt-gui/qt-gui-4.8.2.ebuild +++ b/x11-libs/qt-gui/qt-gui-4.8.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.8.2.ebuild,v 1.7 2012/07/09 04:27:00 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.8.2.ebuild,v 1.8 2012/07/13 11:12:20 yngwin Exp $ EAPI=4 @@ -239,4 +239,11 @@ pkg_postinst() { elog "Run" elog " eselect qtgraphicssystem" elog "for more information." + 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 } -- cgit v1.2.3-65-gdbad