diff options
author | Alex Alexander <wired@gentoo.org> | 2009-11-18 22:12:47 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2009-11-18 22:12:47 +0000 |
commit | 7c9aa164b0df3d656a238b0e6a40bdb0baba6b16 (patch) | |
tree | 208427b8e5fad3bac7ef42294808037aa0d7d925 /eclass | |
parent | Add DEPEND on sys-apps/attr and acl USE flag (Bug #293476). (diff) | |
download | gentoo-2-7c9aa164b0df3d656a238b0e6a40bdb0baba6b16.tar.gz gentoo-2-7c9aa164b0df3d656a238b0e6a40bdb0baba6b16.tar.bz2 gentoo-2-7c9aa164b0df3d656a238b0e6a40bdb0baba6b16.zip |
added ewarn about 4.6 beta->rc binary compatibility breakage
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 50 |
1 files changed, 35 insertions, 15 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 227827e6a221..c09f029d7c32 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.51 2009/11/10 00:56:29 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.52 2009/11/18 22:12:47 wired Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -103,6 +103,23 @@ qt4-build_pkg_setup() { echo ebeep 3 fi + + if [[ "${P}" == "qt-core-4.6.0_rc1" ]]; then + ewarn + ewarn "Binary compatibility broke between 4.6.0_beta1 and 4.6.0_rc1." + ewarn "If you are upgrading from 4.6.0_beta1, you'll have to" + ewarn "re-emerge everything that depends on Qt." + ewarn "Use the following command:" + ewarn + ewarn " emerge -av1 \$(for pkg in \$(equery -q d \\" + ewarn " \$(qlist -IC x11-libs/qt-) | grep -v \"x11-libs/qt-\" |" + ewarn " sort -u); do echo \"=\$pkg\"; done)" + ewarn + ewarn "YOU'VE BEEN WARNED" + ewarn + ebeep 3 + fi + } # @ECLASS-VARIABLE: QT4_TARGET_DIRECTORIES @@ -481,20 +498,23 @@ qt4-build_pkg_postrm() { # breakages and proposed solutions. qt4-build_pkg_postinst() { generate_qconfigs - echo - ewarn "After a rebuild or upgrade of Qt, it can happen that Qt plugins (such as Qt" - ewarn "and KDE styles and widgets) can no longer be loaded. In this situation you" - ewarn "should recompile the packages providing these plugins. Also, make sure you" - ewarn "compile the Qt packages, and the packages that depend on it, with the same" - ewarn "GCC version and the same USE flag settings (especially the debug flag)." - ewarn - ewarn "Packages that typically need to be recompiled are kdelibs from KDE4, any" - ewarn "additional KDE4/Qt4 styles, qscintilla and PyQt4. Before filing a bug report," - ewarn "make sure all your Qt4 packages are up-to-date and built with the same" - ewarn "configuration." - ewarn - ewarn "For more information, see http://doc.trolltech.com/${PV%.*}/plugins-howto.html" - echo + + if [[ "${PN}" == "qt-core" ]]; then + echo + ewarn "After a rebuild or upgrade of Qt, it can happen that Qt plugins (such as Qt" + ewarn "and KDE styles and widgets) can no longer be loaded. In this situation you" + ewarn "should recompile the packages providing these plugins. Also, make sure you" + ewarn "compile the Qt packages, and the packages that depend on it, with the same" + ewarn "GCC version and the same USE flag settings (especially the debug flag)." + ewarn + ewarn "Packages that typically need to be recompiled are kdelibs from KDE4, any" + ewarn "additional KDE4/Qt4 styles, qscintilla and PyQt4. Before filing a bug report," + ewarn "make sure all your Qt4 packages are up-to-date and built with the same" + ewarn "configuration." + ewarn + ewarn "For more information, see http://doc.trolltech.com/${PV%.*}/plugins-howto.html" + echo + fi } # @FUNCTION: skip_qmake_build_patch |