diff options
author | Davide Pesavento <pesa@gentoo.org> | 2013-09-29 10:26:40 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2013-09-29 10:26:40 +0000 |
commit | 3bdc918cf391269e6c84f4053d648bd5f0aca3d8 (patch) | |
tree | 103dd5b477595bb1d5b2ea582801fce732e8efec /dev-qt | |
parent | Upstream patch for fixing leaks, make tests exit with right result (diff) | |
download | gentoo-2-3bdc918cf391269e6c84f4053d648bd5f0aca3d8.tar.gz gentoo-2-3bdc918cf391269e6c84f4053d648bd5f0aca3d8.tar.bz2 gentoo-2-3bdc918cf391269e6c84f4053d648bd5f0aca3d8.zip |
Cleanup old versions.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qt-creator/ChangeLog | 6 | ||||
-rw-r--r-- | dev-qt/qt-creator/metadata.xml | 1 | ||||
-rw-r--r-- | dev-qt/qt-creator/qt-creator-2.5.2.ebuild | 143 | ||||
-rw-r--r-- | dev-qt/qt-creator/qt-creator-2.7.2.ebuild | 118 | ||||
-rw-r--r-- | dev-qt/qt-creator/qt-creator-2.8.0.ebuild | 125 |
5 files changed, 5 insertions, 388 deletions
diff --git a/dev-qt/qt-creator/ChangeLog b/dev-qt/qt-creator/ChangeLog index ef66fcaa685b..856e5abc05ce 100644 --- a/dev-qt/qt-creator/ChangeLog +++ b/dev-qt/qt-creator/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-qt/qt-creator # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.20 2013/08/29 07:28:57 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.21 2013/09/29 10:26:40 pesa Exp $ + + 29 Sep 2013; Davide Pesavento <pesa@gentoo.org> -qt-creator-2.5.2.ebuild, + -qt-creator-2.7.2.ebuild, -qt-creator-2.8.0.ebuild, metadata.xml: + Cleanup old versions. *qt-creator-2.8.1 (29 Aug 2013) diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml index 3eda5aae1936..92a5d234ab0b 100644 --- a/dev-qt/qt-creator/metadata.xml +++ b/dev-qt/qt-creator/metadata.xml @@ -10,7 +10,6 @@ <flag name="android">Build Android plugin</flag> <flag name="autotools">Enable autotools project manager plugin</flag> <flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</flag> - <flag name="botan-bundled">Use the bundled copy of <pkg>dev-libs/botan</pkg></flag> <flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag> <flag name="cmake">Enable cmake project manager plugin</flag> <flag name="fakevim">Enable support for vim-like key bindings</flag> diff --git a/dev-qt/qt-creator/qt-creator-2.5.2.ebuild b/dev-qt/qt-creator/qt-creator-2.5.2.ebuild deleted file mode 100644 index fdfa8d351c17..000000000000 --- a/dev-qt/qt-creator/qt-creator-2.5.2.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.5.2.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $ - -EAPI=4 - -LANGS="cs de es fr hu it ja pl ru sl uk zh_CN" - -inherit multilib eutils flag-o-matic qt4-r2 - -DESCRIPTION="Lightweight IDE for C++ development centering around Qt" -HOMEPAGE="http://qt.nokia.com/products/developer-tools" -LICENSE="LGPL-2.1" - -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git - https://git.gitorious.org/${PN}/${PN}.git" -else - MY_P=${PN}-${PV/_/-}-src - SRC_URI="http://get.qt.nokia.com/qtcreator/${MY_P}.tar.gz" - S=${WORKDIR}/${MY_P} -fi - -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" - -QTC_PLUGINS=(autotools:autotoolsprojectmanager bazaar cmake:cmakeprojectmanager - cvs fakevim git madde mercurial perforce subversion valgrind) -IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}" - -QT_PV="4.7.4:4" - -CDEPEND=" - >=dev-qt/qthelp-${QT_PV}[doc?] - >=dev-qt/qtcore-${QT_PV}[private-headers(+),ssl] - >=dev-qt/qtdeclarative-${QT_PV}[private-headers(+)] - >=dev-qt/qtgui-${QT_PV}[private-headers(+)] - >=dev-qt/qtscript-${QT_PV}[private-headers(+)] - >=dev-qt/qtsql-${QT_PV} - >=dev-qt/qtsvg-${QT_PV} - debug? ( >=dev-qt/qttest-${QT_PV} ) - !botan-bundled? ( =dev-libs/botan-1.8* ) -" -DEPEND="${CDEPEND} - !botan-bundled? ( virtual/pkgconfig ) -" -RDEPEND="${CDEPEND} - >=sys-devel/gdb-7.2[python] - examples? ( >=dev-qt/qtdemo-${QT_PV} ) -" -PDEPEND=" - autotools? ( sys-devel/autoconf ) - bazaar? ( dev-vcs/bzr ) - cmake? ( dev-util/cmake ) - cvs? ( dev-vcs/cvs ) - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - subversion? ( dev-vcs/subversion ) - valgrind? ( dev-util/valgrind ) -" - -src_prepare() { - qt4-r2_src_prepare - - # disable unwanted plugins - for plugin in "${QTC_PLUGINS[@]#[+-]}"; do - if ! use ${plugin%:*}; then - einfo "Disabling ${plugin%:*} plugin" - sed -i -e "/^[[:space:]]\+plugin_${plugin#*:}/d" src/plugins/plugins.pro \ - || die "failed to disable ${plugin} plugin" - fi - done - - if use perforce; then - echo - ewarn "You have enabled the perforce plugin." - ewarn "In order to use it, you need to manually download the perforce client from" - ewarn " http://www.perforce.com/perforce/downloads/index.html" - echo - fi - - # fix translations - sed -i -e "/^LANGUAGES/s:=.*:= ${LANGS}:" \ - share/qtcreator/translations/translations.pro || die - - if ! use botan-bundled; then - # identify system botan and pkg-config file - local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2) - local lib_botan=$(pkg-config --libs botan-${botan_version}) - einfo "Major version of system's botan library to be used: ${botan_version}" - - # drop bundled libBotan. Bug #383033 - rm -rf "${S}"/src/libs/3rdparty/botan || die - # remove references to bundled botan - sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die - for x in testrunner parsertests modeldemo; do - sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die - done - sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die - sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die - # link to system botan - sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die - sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die - # append botan refs to compiler flags - append-flags $(pkg-config --cflags --libs botan-${botan_version}) - fi -} - -src_configure() { - eqmake4 qtcreator.pro \ - IDE_LIBRARY_BASENAME="$(get_libdir)" \ - IDE_PACKAGE_MODE=true -} - -src_compile() { - emake - use doc && emake docs -} - -src_install() { - emake INSTALL_ROOT="${ED}usr" install - - # Install documentation - if use doc; then - insinto /usr/share/doc/${PF} - doins share/doc/qtcreator/qtcreator{,-dev}.qch - docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch - fi - - # Install icon & desktop file - doicon src/plugins/coreplugin/images/logo/128/qtcreator.png - make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE' - - # Remove unneeded translations - local lang - for lang in ${LANGS}; do - if ! has ${lang} ${LINGUAS}; then - rm "${ED}"usr/share/qtcreator/translations/qtcreator_${lang}.qm \ - || eqawarn "Failed to remove ${lang} translation" - fi - done -} diff --git a/dev-qt/qt-creator/qt-creator-2.7.2.ebuild b/dev-qt/qt-creator/qt-creator-2.7.2.ebuild deleted file mode 100644 index 394a27837565..000000000000 --- a/dev-qt/qt-creator/qt-creator-2.7.2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.2.ebuild,v 1.2 2013/08/15 08:04:02 pesa Exp $ - -EAPI=5 - -PLOCALES="cs de es fr hu it ja pl ru sl uk zh_CN zh_TW" - -inherit eutils l10n multilib qt4-r2 - -DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt" -HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator" -LICENSE="LGPL-2.1" - -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git - https://git.gitorious.org/${PN}/${PN}.git" -else - MY_PV=${PV/_/-} - MY_P=${PN}-${MY_PV}-src - [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development - SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz" - S=${WORKDIR}/${MY_P} -fi - -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" - -QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar - clearcase cmake:cmakeprojectmanager cvs fakevim git - madde mercurial perforce qnx subversion valgrind) -IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}" - -# minimum Qt version required -QT_PV="4.8.0:4" - -CDEPEND=" - =dev-libs/botan-1.10*[threads] - >=dev-qt/qtcore-${QT_PV}[ssl] - >=dev-qt/qtdeclarative-${QT_PV} - || ( - ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) - ( >=dev-qt/qtgui-${QT_PV} <dev-qt/qtgui-4.8.5:4 ) - ) - >=dev-qt/qthelp-${QT_PV}[doc?] - >=dev-qt/qtscript-${QT_PV} - >=dev-qt/qtsql-${QT_PV} - >=dev-qt/qtsvg-${QT_PV} -" -DEPEND="${CDEPEND} - virtual/pkgconfig - test? ( >=dev-qt/qttest-${QT_PV} ) -" -RDEPEND="${CDEPEND} - >=sys-devel/gdb-7.2[python] - examples? ( >=dev-qt/qtdemo-${QT_PV} ) -" -PDEPEND=" - autotools? ( sys-devel/autoconf ) - bazaar? ( dev-vcs/bzr ) - cmake? ( dev-util/cmake ) - cvs? ( dev-vcs/cvs ) - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - subversion? ( dev-vcs/subversion ) - valgrind? ( dev-util/valgrind ) -" - -src_prepare() { - qt4-r2_src_prepare - - # disable unwanted plugins - for plugin in "${QTC_PLUGINS[@]#[+-]}"; do - if ! use ${plugin%:*}; then - einfo "Disabling ${plugin%:*} plugin" - sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \ - || die "failed to disable ${plugin} plugin" - fi - done - - # fix translations - sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \ - share/qtcreator/translations/translations.pro || die -} - -src_configure() { - EQMAKE4_EXCLUDE="share/qtcreator/templates/*" \ - eqmake4 qtcreator.pro \ - IDE_LIBRARY_BASENAME="$(get_libdir)" \ - IDE_PACKAGE_MODE=1 \ - TEST=$(use test && echo 1 || echo 0) \ - USE_SYSTEM_BOTAN=1 -} - -src_test() { - echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}" - cd tests/auto || die - eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)" - emake check -} - -src_install() { - emake INSTALL_ROOT="${ED}usr" install - - dodoc dist/{changes-*,known-issues} - - # install documentation - if use doc; then - emake docs - insinto /usr/share/doc/${PF} - doins share/doc/qtcreator/qtcreator{,-dev}.qch - docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch - fi - - # install desktop file - make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE' -} diff --git a/dev-qt/qt-creator/qt-creator-2.8.0.ebuild b/dev-qt/qt-creator/qt-creator-2.8.0.ebuild deleted file mode 100644 index ceab0c05133d..000000000000 --- a/dev-qt/qt-creator/qt-creator-2.8.0.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.8.0.ebuild,v 1.2 2013/08/15 08:04:02 pesa Exp $ - -EAPI=5 - -PLOCALES="cs de es fr it ja pl ru sl uk zh_CN zh_TW" - -inherit eutils l10n multilib qt4-r2 - -DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt" -HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator" -LICENSE="LGPL-2.1" - -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git - https://git.gitorious.org/${PN}/${PN}.git" -else - MY_PV=${PV/_/-} - MY_P=${PN}-${MY_PV}-src - [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development - SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz" - S=${WORKDIR}/${MY_P} -fi - -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" - -QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar - clearcase cmake:cmakeprojectmanager cvs fakevim git - madde mercurial perforce qnx subversion valgrind) -IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}" - -# minimum Qt version required -QT_PV="4.8.0:4" - -CDEPEND=" - =dev-libs/botan-1.10*[threads] - >=dev-qt/qtcore-${QT_PV}[ssl] - >=dev-qt/qtdeclarative-${QT_PV} - || ( - ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) - ( >=dev-qt/qtgui-${QT_PV} <dev-qt/qtgui-4.8.5:4 ) - ) - >=dev-qt/qthelp-${QT_PV}[doc?] - >=dev-qt/qtscript-${QT_PV} - >=dev-qt/qtsql-${QT_PV} - >=dev-qt/qtsvg-${QT_PV} -" -DEPEND="${CDEPEND} - virtual/pkgconfig - test? ( >=dev-qt/qttest-${QT_PV} ) -" -RDEPEND="${CDEPEND} - >=sys-devel/gdb-7.2[python] - examples? ( >=dev-qt/qtdemo-${QT_PV} ) -" -PDEPEND=" - autotools? ( sys-devel/autoconf ) - bazaar? ( dev-vcs/bzr ) - cmake? ( dev-util/cmake ) - cvs? ( dev-vcs/cvs ) - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - subversion? ( dev-vcs/subversion ) - valgrind? ( dev-util/valgrind ) -" - -src_prepare() { - qt4-r2_src_prepare - - # disable unwanted plugins - for plugin in "${QTC_PLUGINS[@]#[+-]}"; do - if ! use ${plugin%:*}; then - einfo "Disabling ${plugin%:*} plugin" - sed -i -re "/^\s+${plugin#*:}\>/d" src/plugins/plugins.pro \ - || die "failed to disable ${plugin%:*} plugin" - fi - done - - # fix translations - sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \ - share/qtcreator/translations/translations.pro || die - - # remove bundled qbs for now - # TODO: package it and re-enable the plugin - rm -rf src/shared/qbs || die -} - -src_configure() { - EQMAKE4_EXCLUDE="share/qtcreator/templates/* - tests/*" - eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)" \ - IDE_PACKAGE_MODE=1 \ - TEST=$(use test && echo 1 || echo 0) \ - USE_SYSTEM_BOTAN=1 -} - -src_test() { - echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}" - cd tests/auto || die - - EQMAKE4_EXCLUDE="valgrind/*" - eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)" - - emake check -} - -src_install() { - emake INSTALL_ROOT="${ED}usr" install - - dodoc dist/{changes-*,known-issues} - - # install documentation - if use doc; then - emake docs - insinto /usr/share/doc/${PF} - doins share/doc/qtcreator/qtcreator{,-dev}.qch - docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch - fi - - # install desktop file - make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE' -} |