public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/
Date: Mon, 21 Nov 2016 19:37:54 +0000 (UTC)	[thread overview]
Message-ID: <1479757068.c2ee671811b725d5d3a87d81a766093474f25e77.pesa@gentoo> (raw)

commit:     c2ee671811b725d5d3a87d81a766093474f25e77
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 19:37:09 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 19:37:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ee6718

dev-qt/qt-creator: version bump

Gentoo-Bug: 592148
Gentoo-Bug: 596178

Package-Manager: portage-2.3.2

 dev-qt/qt-creator/Manifest                         |  1 +
 dev-qt/qt-creator/metadata.xml                     |  2 ++
 ...creator-9999.ebuild => qt-creator-4.1.0.ebuild} | 33 ++++++++++++++--------
 dev-qt/qt-creator/qt-creator-9999.ebuild           | 33 ++++++++++++++--------
 4 files changed, 47 insertions(+), 22 deletions(-)

diff --git a/dev-qt/qt-creator/Manifest b/dev-qt/qt-creator/Manifest
index 44ab5e3..29e324c 100644
--- a/dev-qt/qt-creator/Manifest
+++ b/dev-qt/qt-creator/Manifest
@@ -1,2 +1,3 @@
 DIST qt-creator-opensource-src-3.6.1.tar.gz 23144233 SHA256 e53611f80332cd1d171a9b91f8467b6182186cbec6b4a9301f32367368f15de2 SHA512 be869de5fdaf7294dca95e540b7b9228015132071aaf5315a3c8b2da3043a03528b3d75e94a7fffc567bd802dba1a48568c4a335926c1d5e1e18beaae48ecc9f WHIRLPOOL c62cb18d5c9be0fac2ea9ef355d820a29183e3b0226c1fb70bef9dc7402dd16886ceacd4029764204bde4595d77098641080ad8fdf4f58e97ebb96e3abf3ae65
 DIST qt-creator-opensource-src-4.0.3.tar.gz 21972901 SHA256 a213a9b66e7e0eb906036a1587256fc0f7bac33912d9ae5e6117459231f56449 SHA512 7b06b9d2cb050008cbbceeb2f18ad2264a2366db9ad37474b63d0a6d30a3bde86ecb770678beb88af4d5be7550e947c689d23956e2062796cbf9476006c0528a WHIRLPOOL 7d515a038dec69980305a43545d952a1083f00add756e82cd0b568bc2c31c8eb81667822295b352cad2c54c3a447a31e9c8203db25d945023fc70ff2f0d01cd5
+DIST qt-creator-opensource-src-4.1.0.tar.xz 16291164 SHA256 d00f84539203c8456a6ebca149228cd22d1bae7f41c95c88f6fc63a02aeed8c3 SHA512 73d1d73d80faeb8ce9052f23720bbc312214256d3b9867447058ce878dca85457ba6f9c69281b95f622f8bc3d9c1739641960c48c6eebba3c48806126e6b57cf WHIRLPOOL 84521639a1054d294144f181175ed696c86d37e1a67373f5e6dbf147a99b2ff9d5216630bce2c91178c066f42778b658e7bd21fd5c9e1b5143183d6986f6c7fc

diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml
index 7356ce9..0add88d 100644
--- a/dev-qt/qt-creator/metadata.xml
+++ b/dev-qt/qt-creator/metadata.xml
@@ -22,6 +22,8 @@
 		<flag name="glsl">Enable GLSL source code editor</flag>
 		<flag name="ios">Build plugin for Apple iOS devices</flag>
 		<flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag>
+		<flag name="modeling">Enable graphical model editor plugin</flag>
+		<flag name="nim">Enable Nim source code editor</flag>
 		<flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
 		<flag name="python">Enable Python source code editor</flag>
 		<flag name="qbs">Enable QBS project manager plugin</flag>

diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-4.1.0.ebuild
similarity index 83%
copy from dev-qt/qt-creator/qt-creator-9999.ebuild
copy to dev-qt/qt-creator/qt-creator-4.1.0.ebuild
index 0a6f46b..f2e2ab2 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-4.1.0.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 PLOCALES="cs de fr ja pl ru sl uk zh_CN zh_TW"
 
-inherit eutils l10n qmake-utils toolchain-funcs virtualx
+inherit eutils l10n qmake-utils toolchain-funcs virtualx xdg
 
 DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
 HOMEPAGE="http://doc.qt.io/qtcreator/"
@@ -22,18 +22,17 @@ else
 	MY_PV=${PV/_/-}
 	MY_P=${PN}-opensource-src-${MY_PV}
 	[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
-	SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
+	SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~x86"
 	S=${WORKDIR}/${MY_P}
 fi
 
 # TODO: unbundle sqlite
-#	allow disabling modeleditor plugin
-#	it should be possible to skip building some internal libs (clangbackendipc, glsl, modelinglib, sqlite) when the plugins that use them are disabled
 
 QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal bazaar
 	clangcodemodel clangstaticanalyzer clearcase cmake:cmakeprojectmanager cvs git glsl:glsleditor
-	ios mercurial perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt)
+	ios mercurial modeling:modeleditor nim perforce python:pythoneditor qbs:qbsprojectmanager qnx
+	subversion valgrind winrt)
 IUSE="doc systemd test webengine webkit ${QTC_PLUGINS[@]%:*}"
 
 REQUIRED_USE="?? ( webengine webkit )"
@@ -58,9 +57,9 @@ RDEPEND="
 	>=dev-qt/qtwidgets-${QT_PV}
 	>=dev-qt/qtx11extras-${QT_PV}
 	>=dev-qt/qtxml-${QT_PV}
-	>=sys-devel/gdb-7.5[client,python]
-	clangcodemodel? ( >=sys-devel/clang-3.6.2:= )
-	qbs? ( >=dev-util/qbs-1.5.2 )
+	sys-devel/gdb[client,python]
+	clangcodemodel? ( >=sys-devel/clang-3.8.0:= )
+	qbs? ( >=dev-util/qbs-1.6.0 )
 	systemd? ( sys-apps/systemd:= )
 	webengine? ( >=dev-qt/qtwebengine-${QT_PV} )
 	webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
@@ -80,7 +79,7 @@ unset x
 PDEPEND="
 	autotools? ( sys-devel/autoconf )
 	bazaar? ( dev-vcs/bzr )
-	clangstaticanalyzer? ( sys-devel/clang )
+	clangstaticanalyzer? ( >=sys-devel/clang-3.8.0 )
 	cmake? ( dev-util/cmake )
 	cvs? ( dev-vcs/cvs )
 	git? ( dev-vcs/git )
@@ -117,6 +116,17 @@ src_prepare() {
 		fi
 	done
 
+	# avoid building unused support libraries
+	if ! use clangcodemodel; then
+		sed -i -e '/clangbackendipc/d' src/libs/libs.pro || die
+	fi
+	if ! use glsl; then
+		sed -i -e '/glsl/d' src/libs/libs.pro || die
+	fi
+	if ! use modeling; then
+		sed -i -e '/modelinglib/d' src/libs/libs.pro || die
+	fi
+
 	# automagic dep on qtwebkit (bug 538236)
 	if ! use webkit; then
 		sed -i -e 's/isEmpty(QT\.webkitwidgets\.name)/true/' \
@@ -172,6 +182,7 @@ src_install() {
 		docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch
 	fi
 
-	# install desktop file
-	make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
+	# create a desktop file
+	make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Development;IDE;Qt;' \
+		'MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;'
 }

diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 0a6f46b..f2e2ab2 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 PLOCALES="cs de fr ja pl ru sl uk zh_CN zh_TW"
 
-inherit eutils l10n qmake-utils toolchain-funcs virtualx
+inherit eutils l10n qmake-utils toolchain-funcs virtualx xdg
 
 DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
 HOMEPAGE="http://doc.qt.io/qtcreator/"
@@ -22,18 +22,17 @@ else
 	MY_PV=${PV/_/-}
 	MY_P=${PN}-opensource-src-${MY_PV}
 	[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
-	SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
+	SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~x86"
 	S=${WORKDIR}/${MY_P}
 fi
 
 # TODO: unbundle sqlite
-#	allow disabling modeleditor plugin
-#	it should be possible to skip building some internal libs (clangbackendipc, glsl, modelinglib, sqlite) when the plugins that use them are disabled
 
 QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal bazaar
 	clangcodemodel clangstaticanalyzer clearcase cmake:cmakeprojectmanager cvs git glsl:glsleditor
-	ios mercurial perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt)
+	ios mercurial modeling:modeleditor nim perforce python:pythoneditor qbs:qbsprojectmanager qnx
+	subversion valgrind winrt)
 IUSE="doc systemd test webengine webkit ${QTC_PLUGINS[@]%:*}"
 
 REQUIRED_USE="?? ( webengine webkit )"
@@ -58,9 +57,9 @@ RDEPEND="
 	>=dev-qt/qtwidgets-${QT_PV}
 	>=dev-qt/qtx11extras-${QT_PV}
 	>=dev-qt/qtxml-${QT_PV}
-	>=sys-devel/gdb-7.5[client,python]
-	clangcodemodel? ( >=sys-devel/clang-3.6.2:= )
-	qbs? ( >=dev-util/qbs-1.5.2 )
+	sys-devel/gdb[client,python]
+	clangcodemodel? ( >=sys-devel/clang-3.8.0:= )
+	qbs? ( >=dev-util/qbs-1.6.0 )
 	systemd? ( sys-apps/systemd:= )
 	webengine? ( >=dev-qt/qtwebengine-${QT_PV} )
 	webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
@@ -80,7 +79,7 @@ unset x
 PDEPEND="
 	autotools? ( sys-devel/autoconf )
 	bazaar? ( dev-vcs/bzr )
-	clangstaticanalyzer? ( sys-devel/clang )
+	clangstaticanalyzer? ( >=sys-devel/clang-3.8.0 )
 	cmake? ( dev-util/cmake )
 	cvs? ( dev-vcs/cvs )
 	git? ( dev-vcs/git )
@@ -117,6 +116,17 @@ src_prepare() {
 		fi
 	done
 
+	# avoid building unused support libraries
+	if ! use clangcodemodel; then
+		sed -i -e '/clangbackendipc/d' src/libs/libs.pro || die
+	fi
+	if ! use glsl; then
+		sed -i -e '/glsl/d' src/libs/libs.pro || die
+	fi
+	if ! use modeling; then
+		sed -i -e '/modelinglib/d' src/libs/libs.pro || die
+	fi
+
 	# automagic dep on qtwebkit (bug 538236)
 	if ! use webkit; then
 		sed -i -e 's/isEmpty(QT\.webkitwidgets\.name)/true/' \
@@ -172,6 +182,7 @@ src_install() {
 		docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch
 	fi
 
-	# install desktop file
-	make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
+	# create a desktop file
+	make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Development;IDE;Qt;' \
+		'MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;'
 }


             reply	other threads:[~2016-11-21 19:38 UTC|newest]

Thread overview: 178+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 19:37 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29 17:07 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/ Ionen Wolkens
2024-10-22  8:04 Jakov Smolić
2024-10-02  4:35 Ionen Wolkens
2024-10-02  4:35 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-08-25  5:26 Arthur Zamarin
2024-08-07 14:32 Ionen Wolkens
2024-07-25 15:59 Ionen Wolkens
2024-07-25 15:59 Ionen Wolkens
2024-07-25  6:26 Ionen Wolkens
2024-07-25  6:26 Ionen Wolkens
2024-07-04  1:54 Ionen Wolkens
2024-07-02 15:10 Ionen Wolkens
2024-06-19 19:43 Arthur Zamarin
2024-06-18 18:14 Ionen Wolkens
2024-06-06 15:47 Ionen Wolkens
2024-05-13 13:23 Arthur Zamarin
2024-05-13  5:49 Ionen Wolkens
2024-05-07 14:28 Ionen Wolkens
2024-05-06  1:37 Ionen Wolkens
2024-04-04 16:39 Ionen Wolkens
2024-04-04 16:39 Ionen Wolkens
2024-04-02 15:50 Ionen Wolkens
2024-03-20  7:17 Ionen Wolkens
2024-02-28 19:56 Arthur Zamarin
2024-02-25 18:46 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-10 11:26 Ionen Wolkens
2024-02-08  3:16 Ionen Wolkens
2024-01-09 18:06 Arthur Zamarin
2024-01-08 12:59 Ionen Wolkens
2023-12-12 13:17 Ionen Wolkens
2023-11-24  0:05 Ionen Wolkens
2023-11-17  5:14 Ionen Wolkens
2023-10-22  5:55 Ionen Wolkens
2023-09-28 13:07 Ionen Wolkens
2023-09-26  8:06 Ionen Wolkens
2023-09-20  8:32 Ionen Wolkens
2023-09-11 21:20 Ionen Wolkens
2022-11-07  6:57 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-10-29 15:08 Sam James
2022-10-29 15:08 Sam James
2022-02-20 18:17 Davide Pesavento
2021-12-02 19:09 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-22  1:41 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 20:10 Davide Pesavento
2021-11-21 20:02 Davide Pesavento
2021-07-11  5:37 Davide Pesavento
2021-07-11  5:37 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-02-09 19:59 Sam James
2020-09-08 18:08 Andreas Sturmlechner
2020-07-30 22:11 Michał Górny
2020-07-13 16:26 Sam James
2020-07-12  3:50 Davide Pesavento
2020-07-12  3:50 Davide Pesavento
2020-07-12  2:02 Davide Pesavento
2020-07-11 23:16 Davide Pesavento
2020-07-11 23:16 Davide Pesavento
2020-07-11 20:30 Davide Pesavento
2020-07-11  6:21 Davide Pesavento
2020-07-11  6:21 Davide Pesavento
2020-07-11  3:45 Davide Pesavento
2020-07-11  3:29 Davide Pesavento
2020-07-11  3:21 Davide Pesavento
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-05-06  3:01 Jason A. Donenfeld
2020-04-27 13:56 Mikle Kolyada
2019-12-03  1:19 Davide Pesavento
2019-10-27  5:52 Davide Pesavento
2019-10-27  5:52 Davide Pesavento
2019-10-26 20:13 Davide Pesavento
2019-10-26 19:29 Davide Pesavento
2019-08-04  1:25 Davide Pesavento
2019-07-06 19:30 Davide Pesavento
2019-07-06 19:30 Davide Pesavento
2019-06-07  5:10 Davide Pesavento
2019-06-07  5:10 Davide Pesavento
2019-05-12  2:38 Davide Pesavento
2019-05-11  6:40 Davide Pesavento
2019-03-16 22:42 Andreas Sturmlechner
2019-03-12  7:10 Andreas Sturmlechner
2018-12-24  6:35 Davide Pesavento
2018-12-23 18:42 Davide Pesavento
2018-12-23  8:49 Davide Pesavento
2018-07-20  2:58 Davide Pesavento
2018-07-20  2:58 Davide Pesavento
2018-06-16 17:09 Davide Pesavento
2018-06-16 17:09 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-20 23:56 Davide Pesavento
2018-05-20 23:49 Davide Pesavento
2018-03-24  1:29 Davide Pesavento
2018-03-24  1:25 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-03-16 20:07 Davide Pesavento
2018-02-07 13:28 Jason Donenfeld
2018-02-07 13:11 Jason Donenfeld
2018-01-23 23:06 Davide Pesavento
2018-01-23 23:06 Davide Pesavento
2018-01-05 15:38 Ulrich Müller
2017-10-08 23:48 Davide Pesavento
2017-10-08 22:55 Davide Pesavento
2017-10-05 19:08 Davide Pesavento
2017-09-16 21:02 Davide Pesavento
2017-09-03  1:14 Davide Pesavento
2017-08-19 17:15 Davide Pesavento
2017-08-19 17:15 Davide Pesavento
2017-07-23  3:01 Michael Palimaka
2017-07-18 18:43 Davide Pesavento
2017-07-18 18:43 Davide Pesavento
2017-05-26 22:57 Davide Pesavento
2017-05-26 22:57 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-15  5:48 Davide Pesavento
2017-03-14 22:23 Davide Pesavento
2017-03-14 22:23 Davide Pesavento
2016-12-18  3:59 Davide Pesavento
2016-11-21 19:37 Davide Pesavento
2016-07-09 14:06 Davide Pesavento
2016-07-09 14:06 Davide Pesavento
2016-06-16 16:49 Davide Pesavento
2016-06-16 16:20 Michael Palimaka
2016-06-16 11:46 Davide Pesavento
2016-06-10  0:54 Davide Pesavento
2016-06-10  0:54 Davide Pesavento
2016-06-08 16:50 Davide Pesavento
2016-05-13 16:15 Davide Pesavento
2016-04-29 17:47 Davide Pesavento
2016-04-23 12:09 Davide Pesavento
2016-04-21  1:45 Davide Pesavento
2016-04-02 18:40 Davide Pesavento
2016-04-02 18:40 Davide Pesavento
2016-01-24 23:59 Davide Pesavento
2015-12-17  2:34 Davide Pesavento
2015-10-23 20:13 Davide Pesavento
2015-10-18  2:20 Davide Pesavento
2015-10-18  1:48 Davide Pesavento
2015-09-20 22:27 Davide Pesavento
2015-09-20 21:58 Davide Pesavento
2015-09-14  0:21 Davide Pesavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479757068.c2ee671811b725d5d3a87d81a766093474f25e77.pesa@gentoo \
    --to=pesa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox