Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 388551
Collapse All | Expand All

(-)file_not_specified_in_diff (-9 / +9 lines)
Line  Link Here
0
-- qtgui-4.8.4-r1.ebuild
0
++ qtgui-4.8.4-r2.ebuild
Lines 215-220 Link Here
215
	make_desktop_entry designer Designer designer 'Qt;Development;GUIDesigner'
215
	make_desktop_entry designer Designer designer 'Qt;Development;GUIDesigner'
216
	make_desktop_entry linguist Linguist linguist 'Qt;Development;Translation'
216
	make_desktop_entry linguist Linguist linguist 'Qt;Development;Translation'
217
	make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings'
217
	make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings'
218
219
	# see bug 388551
220
	cat <<-EOF > "${T}"/qtgui.sh
221
	export GTK2_RC_FILES=\${HOME}/.gtkrc-2.0
222
	EOF
223
	insinto /etc/profile.d
224
	doins "${T}"/qtgui.sh
225
218
}
226
}
219
227
220
pkg_postinst() {
228
pkg_postinst() {
Lines 222-233 Link Here
222
230
223
	# raster is the default graphicssystem, set it on first install
231
	# raster is the default graphicssystem, set it on first install
224
	eselect qtgraphicssystem set raster --use-old
232
	eselect qtgraphicssystem set raster --use-old
225
226
	if use gtkstyle; then
227
		# see bug 388551
228
		elog "For Qt's GTK style to work, you need to either export"
229
		elog "the following variable into your environment:"
230
		elog '  GTK2_RC_FILES="$HOME/.gtkrc-2.0"'
231
		elog "or alternatively install gnome-base/libgnomeui"
232
	fi
233
}
233
}

Return to bug 388551