diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-11-17 09:31:57 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-11-17 09:31:57 +0000 |
commit | 3832e874c39776ed6c7ad974aa1e29c698286360 (patch) | |
tree | 49544132bdc7253e222fa35896aac5af9d3a920e /dev-util/qt-creator | |
parent | version bump (diff) | |
download | gentoo-2-3832e874c39776ed6c7ad974aa1e29c698286360.tar.gz gentoo-2-3832e874c39776ed6c7ad974aa1e29c698286360.tar.bz2 gentoo-2-3832e874c39776ed6c7ad974aa1e29c698286360.zip |
Revbump to fix building when qml is disabled. Bug #345757
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/qt-creator')
-rw-r--r-- | dev-util/qt-creator/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/qt-creator/qt-creator-2.1.0_beta2-r1.ebuild (renamed from dev-util/qt-creator/qt-creator-2.1.0_beta2.ebuild) | 36 |
2 files changed, 32 insertions, 15 deletions
diff --git a/dev-util/qt-creator/ChangeLog b/dev-util/qt-creator/ChangeLog index 06143399b505..b994a3ab4ba4 100644 --- a/dev-util/qt-creator/ChangeLog +++ b/dev-util/qt-creator/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-util/qt-creator # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.64 2010/11/15 21:35:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.65 2010/11/17 09:31:57 hwoarang Exp $ + +*qt-creator-2.1.0_beta2-r1 (17 Nov 2010) + + 17 Nov 2010; Markos Chandras <hwoarang@gentoo.org> + -qt-creator-2.1.0_beta2.ebuild, +qt-creator-2.1.0_beta2-r1.ebuild: + Revbump to fix broken package when building with -qml. At this point, qml + is by far the safest choice in order to have a fully working qt-creator. + Building with -qml is ideal for pure C++ development yet many qt-creator + plugins will be missing because of this. Bug #345757 15 Nov 2010; Markos Chandras <hwoarang@gentoo.org> qt-creator-2.0.1.ebuild, qt-creator-2.1.0_beta2.ebuild, metadata.xml: diff --git a/dev-util/qt-creator/qt-creator-2.1.0_beta2.ebuild b/dev-util/qt-creator/qt-creator-2.1.0_beta2-r1.ebuild index 2bad29125448..0c2e31b46d6c 100644 --- a/dev-util/qt-creator/qt-creator-2.1.0_beta2.ebuild +++ b/dev-util/qt-creator/qt-creator-2.1.0_beta2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-2.1.0_beta2.ebuild,v 1.4 2010/11/15 21:35:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-2.1.0_beta2-r1.ebuild,v 1.1 2010/11/17 09:31:57 hwoarang Exp $ EAPI="2" LANGS="de es fr it ja pl ru sl" @@ -19,7 +19,6 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="bineditor bookmarks +cmake cvs debug +designer doc examples fakevim git mercurial perforce +qml qtscript rss subversion" - QTVER="4.7.1:4" DEPEND=">=x11-libs/qt-assistant-${QTVER}[doc?] >=x11-libs/qt-sql-${QTVER} @@ -57,21 +56,30 @@ src_prepare() { plugin="cmakeprojectmanager" elif [[ ${plugin} == "qtscript" ]]; then plugin="qtscripteditor" - elif [[ ${plugin} == "qml" ]]; then - plugins="qmljseditor" - sed -i -e "/^include(qml\/qml.pri)/d" \ - src/plugins/debugger/debugger.pro \ - -e "/plugin_qt4projectmanager/s:^:#:" \ - src/plugins/plugins.pro \ - || die "failed to disable qml plugins" - fi - if [[ ${plugin} == "designer" ]]; then - sed -i "/plugin_qt4projectmanager/s:^:#:" \ - src/plugins/plugins.pro \ - || die "Failed to disable qt4projectmanager plugin" + # Make sure that qt4project manager does NOT depend + # on designer + elif [[ ${plugin} == "designer" ]];then + plugin="designer" + sed -i -e "/designer/d" \ + src/plugins/qt4projectmanager/qt4projectmanager_dependencies.pri \ + || die "failed to disable qml plugin" fi + # Now disable the plugins sed -i "/plugin_${plugin}/s:^:#:" src/plugins/plugins.pro \ || die "Failed to disable ${plugin} plugin" + # qml needs special treatment + if [[ ${plugin} == "qml" ]]; then + # remove qml support from debugger and qt4project manager + sed -i -e "/^include(qml\/qml.pri)/d" \ + src/plugins/debugger/debugger.pro \ + -e "/qmljseditor/d" \ + src/plugins/qt4projectmanager/qt4projectmanager_dependencies.pri + # drop all the qml plugins + for x in qmlprojectmanager qmljsinspector qmljseditor qmldesigner; do + sed -i "/plugin_${x}/s:^:#:" src/plugins/plugins.pro \ + || die "Failed to disable ${x} plugin" + done + fi fi done |