public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: eclass/, dev-qt/qthelp/
@ 2014-06-01  2:41 Davide Pesavento
  0 siblings, 0 replies; 2+ messages in thread
From: Davide Pesavento @ 2014-06-01  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     3c86bbc62eb9fb28883d6c4eb8161ac70e0f8180
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu May 29 22:40:19 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 02:39:56 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=3c86bbc6

[qt4-build-multilib.eclass] Always run qmake in the build tree root.

---
 dev-qt/qthelp/qthelp-4.8.6.ebuild    | 4 ----
 dev-qt/qthelp/qthelp-4.8.9999.ebuild | 4 ----
 eclass/qt4-build-multilib.eclass     | 2 +-
 3 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/dev-qt/qthelp/qthelp-4.8.6.ebuild b/dev-qt/qthelp/qthelp-4.8.6.ebuild
index ff5f20b..fe1d048 100644
--- a/dev-qt/qthelp/qthelp-4.8.6.ebuild
+++ b/dev-qt/qthelp/qthelp-4.8.6.ebuild
@@ -93,10 +93,6 @@ src_configure() {
 src_compile() {
 	qt4-build-multilib_src_compile
 
-	# this generates a top-level Makefile containing the targets
-	# used below to build and install the documentation
-	"${S}"/bin/qmake || die
-
 	if use doc; then
 		emake docs
 	elif [[ ${QT4_BUILD_TYPE} == release ]]; then

diff --git a/dev-qt/qthelp/qthelp-4.8.9999.ebuild b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
index ff5f20b..fe1d048 100644
--- a/dev-qt/qthelp/qthelp-4.8.9999.ebuild
+++ b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
@@ -93,10 +93,6 @@ src_configure() {
 src_compile() {
 	qt4-build-multilib_src_compile
 
-	# this generates a top-level Makefile containing the targets
-	# used below to build and install the documentation
-	"${S}"/bin/qmake || die
-
 	if use doc; then
 		emake docs
 	elif [[ ${QT4_BUILD_TYPE} == release ]]; then

diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass
index af90b06..f36e781 100644
--- a/eclass/qt4-build-multilib.eclass
+++ b/eclass/qt4-build-multilib.eclass
@@ -380,7 +380,7 @@ qt4-build-multilib_src_configure() {
 	./configure ${conf} || die "configure failed"
 
 	local dir
-	for dir in ${QT4_TARGET_DIRECTORIES}; do
+	for dir in . ${QT4_TARGET_DIRECTORIES}; do
 		pushd ${dir} >/dev/null || die
 		einfo "Running qmake in: ${dir}"
 		"${S}"/bin/qmake \


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] proj/qt:master commit in: eclass/, dev-qt/qthelp/
@ 2014-06-01  2:41 Davide Pesavento
  0 siblings, 0 replies; 2+ messages in thread
From: Davide Pesavento @ 2014-06-01  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     e0d4ce2924287149fbb3d135b1096eae7f998168
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Fri May 30 16:42:26 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 02:39:56 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=e0d4ce29

[dev-qt/qthelp:4] Fix docs generation.

---
 dev-qt/qthelp/qthelp-4.8.6.ebuild    |  4 ++++
 dev-qt/qthelp/qthelp-4.8.9999.ebuild |  4 ++++
 eclass/qt4-build-multilib.eclass     | 13 ++++++-------
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/dev-qt/qthelp/qthelp-4.8.6.ebuild b/dev-qt/qthelp/qthelp-4.8.6.ebuild
index fe1d048..2525195 100644
--- a/dev-qt/qthelp/qthelp-4.8.6.ebuild
+++ b/dev-qt/qthelp/qthelp-4.8.6.ebuild
@@ -93,6 +93,10 @@ src_configure() {
 src_compile() {
 	qt4-build-multilib_src_compile
 
+	# qhelpgenerator needs libQtHelp.so.4
+	export LD_LIBRARY_PATH=${S}/lib
+	export DYLD_LIBRARY_PATH=${S}/lib:${S}/lib/QtHelp.framework
+
 	if use doc; then
 		emake docs
 	elif [[ ${QT4_BUILD_TYPE} == release ]]; then

diff --git a/dev-qt/qthelp/qthelp-4.8.9999.ebuild b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
index fe1d048..2525195 100644
--- a/dev-qt/qthelp/qthelp-4.8.9999.ebuild
+++ b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
@@ -93,6 +93,10 @@ src_configure() {
 src_compile() {
 	qt4-build-multilib_src_compile
 
+	# qhelpgenerator needs libQtHelp.so.4
+	export LD_LIBRARY_PATH=${S}/lib
+	export DYLD_LIBRARY_PATH=${S}/lib:${S}/lib/QtHelp.framework
+
 	if use doc; then
 		emake docs
 	elif [[ ${QT4_BUILD_TYPE} == release ]]; then

diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass
index f36e781..f19980b 100644
--- a/eclass/qt4-build-multilib.eclass
+++ b/eclass/qt4-build-multilib.eclass
@@ -64,13 +64,6 @@ qt4-build-multilib_pkg_setup() {
 		ewarn "Downgrading Qt is completely unsupported and can break your system!"
 		ewarn
 	fi
-
-	PATH="${S}/bin${PATH:+:}${PATH}"
-	if [[ ${CHOST} != *-darwin* ]]; then
-		LD_LIBRARY_PATH="${S}/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
-	else
-		DYLD_LIBRARY_PATH="${S}/lib${DYLD_LIBRARY_PATH:+:}${DYLD_LIBRARY_PATH}"
-	fi
 }
 
 # @ECLASS-VARIABLE: QT4_EXTRACT_DIRECTORIES
@@ -379,6 +372,12 @@ qt4-build-multilib_src_configure() {
 	einfo "Configuring with:" ${conf}
 	./configure ${conf} || die "configure failed"
 
+	# configure is stupid and assigns QMAKE_LFLAGS twice,
+	# thus the previous -rpath-link flag gets overwritten
+	# and some packages (e.g. qthelp) fail to link
+	sed -i -e '/^QMAKE_LFLAGS =/ s:$: $$QMAKE_LFLAGS:' \
+		.qmake.cache || die "sed .qmake.cache failed"
+
 	local dir
 	for dir in . ${QT4_TARGET_DIRECTORIES}; do
 		pushd ${dir} >/dev/null || die


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-01  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01  2:41 [gentoo-commits] proj/qt:master commit in: eclass/, dev-qt/qthelp/ Davide Pesavento
  -- strict thread matches above, loose matches on Subject: below --
2014-06-01  2:41 Davide Pesavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox