[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

Raphael Kubo da Costa  changed:

   What|Removed |Added

 Status|In Discussion   |Issue Resolved
 Resolution|--- |FIXED

--- Comment #14 from Raphael Kubo da Costa  ---
Landed at long last!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #13 from commit-h...@freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Wed Nov  5 09:39:30 UTC 2014
New revision: 372179
URL: https://svnweb.freebsd.org/changeset/ports/372179

Log:
  Update Qt5 ports to 5.3.2.

  Proudly presented by the KDE on FreeBSD team, with several guest stars.

  This update took way longer than initially expected due to us previously
  accumulating assumptions and changes to Qt's build system that finally bit
  us back with the 5.3 release series, so we had to do a fair amount of
  cleanup.

  New ports:
  - comms/qt5-serialport: Qt functions to access serial ports, originally
  based on work by Fernando Apesteguia. [1]
  - devel/qt5-qdoc: Qt documentation generator, the Qt5 equivalent of
devel/qt4-qdoc3. Originally worked on by Tobias Berner.
It had already been half-split from devel/qt5-buildtools,
we just needed to finish the work.

  Dead ports:
  - devel/qt5-qmldevtools: Merged into lang/qt5-qml.

  Minor changes:
  - devel/qt5: Add x11/qt5-x11extras and the new ports to the dependency list.
  - graphics/qt5-imageformats: The port now supports the JPEG2000, WEBP,
   Direct Draw Surface and ICNS formats.
  - multimedia/qt5-multimedia: The ALSA and PULSEAUDIO options are now
   mutually exclusive due to changes introduced in
   Qt 5.3.0 (the ALSA code is now a proper plugin
   that is only built if PulseAudio is not used).
  - x11/qt5-x11extras: Add USE_LDCONFIG since the port installs a shared
   library.

  The big changes:
  - bsd.qt.mk: Set QMAKESPEC instead of QMAKEPATH. [3]
QMAKEPATH does much more than we want now that we call qmake from the top
of ${WRKSRC}. qmake uses QMAKEPATH when evaluating the QMAKE_MKSPECS
property, which is in turn used by qt_config.pri to load the .pri files in
mkspecs/modules.

In practice, this means that if people have an older Qt installation those
files will be used and QT_CONFIG will have values such as "gui" even if
one is building a port like textproc/qt5-xml, which passes -no-gui to the
configure script. Consequently, unintended code paths may be enabled or
the configuration step can just fail if the .pro files expect values that
are not present in the system-wide, older .pri files.

We avoid all those problems if we use QMAKESPEC, as qmake does not take
its value into account when evaluating the QMAKE_MKSPECS property and will
only parse the files in the mkspec's directory (mkspecs/freebsd-clang, for
example, instead of all the files in mkspecs).

  - Stop explicitly passing ${LOCALBASE} to the compiler. [3]
qmake's behavior has changed in Qt 5, and the paths set in QMAKE_INCDIR
and QMAKE_LIBDIR in the mkspecs are passed before any others, such as the
ones in the build directory themselves.

In practice, this means that we end up with linker calls like this:

c++ -o libfoo.so foo.o bar.o -L/usr/local/lib -L/wrkdir/build/lib
-lQt5Gui -lQt5Core

So if one already has Qt installed in the system, the older, already
present version of the libraries in /usr/local/lib will be used instead of
the newly-built ones in /wrkdir/build/lib.

QTBUG-40825 discusses this behavior upstream, but there has been no
agreement on a solution yet.

For now, the solution adopted is to make the compiler and the linker aware
of those paths but only try them last after all others, and this is
achieved by setting the CPATH and LIBRARY_PATH environment variables when
qmake is being used.

In addition to setting them in CONFIGURE_ENV and MAKE_ENV, we also need to
stop changing QMAKE_INCDIR and QMAKE_LIBDIR as well as filter those paths
from the pkg-config calls qtbase's configure script makes.

  - Call qmake from the root of the ${WRKSRC}.

In Qt 5.3, Qt's build infrastructure has undergone some changes that make
our previous approach of calling qmake from the directories we want to
build stop working. Things would break even more in Qt 5.4, in which
qtbase's configure script does not accept the -process, -fully-process and
-dont-process arguments anymore (it always behaves as if -process had been
used).

Bite the bullet and start calling qmake from ${WRKSRC}. The largest part of
this change involves changing lines in Makefiles from
  WRKSRC_SUBDIR=foo/bar
to
  BUILD_WRKSRC=${WRKSRC}/foo/bar
  INSTALL_WRKSRC=${WRKSRC}/foo/bar
as well as adding patches to .pro files to avoid entering other
subdirectories and removing post-configure targets that are not necessary
anymore.

Since qmake needs to be called from the top of ${WRKSRC} anyway, we can
also simpl

[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

Antoine Brodin  changed:

   What|Removed |Added

   Assignee|anto...@freebsd.org |rak...@freebsd.org

--- Comment #12 from Antoine Brodin  ---
Exp-run results:

http://package18.nyi.freebsd.org/build.html?mastername=91amd64-default-PR194566&build=2014-10-26_15h40m31s

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #11 from Raphael Kubo da Costa  ---
I've removed multimedia/qt5-multimedia/pkg-plist.svnpatch.rej from patch v2. As
for the qt5-qml error, it looks like a problem with your `svn patch' call:
`make patch' worked fine here, and from the error message and the fact that the
log says 5.3.2_1 instead of 5.3.2 it appears qt5-qml/Makefile was not patched.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #10 from Antoine Brodin  ---
The qt5-qml patch fails to apply:

http://package18.nyi.freebsd.org/data/91amd64-default-PR194566/2014-10-26_14h44m21s/logs/errors/qt5-qml-5.3.2_1.log

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #9 from Antoine Brodin  ---
There is a strange file in the patch:
+++ multimedia/qt5-multimedia/pkg-plist.svnpatch.rej

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #8 from Raphael Kubo da Costa  ---
Sorry about that. Patch v2 should be correct now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #7 from Raphael Kubo da Costa  ---
Argh. Yes, it's necessary, hold on.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #6 from Antoine Brodin  ---
patching Mk/Uses/qmake.mk is no longer necessary?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

Raphael Kubo da Costa  changed:

   What|Removed |Added

   Assignee|rak...@freebsd.org  |anto...@freebsd.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #5 from Raphael Kubo da Costa  ---
https://people.freebsd.org/~rakuco/exp-runs/qt-5.3.2-v2.patch is up and should
fix the failures with base GCC (luminance-qt5 has also been fixed separately
meanwhile).

Please `svn rm devel/qt5-qmldevtools` before starting the build, as the patch
doesn't remove the directory :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

Antoine Brodin  changed:

   What|Removed |Added

   Assignee|anto...@freebsd.org |rak...@freebsd.org

--- Comment #4 from Antoine Brodin  ---
Exp-run results on 91amd64 (gcc):

http://package18.nyi.freebsd.org/build.html?mastername=91amd64-default-PR194566&build=2014-10-24_23h59m47s

New failures:

+ {"origin"=>"devel/qt5-qmldevtools", "pkgname"=>"qt5-qmldevtools-5.3.2_1",
"phase"=>"configure", "errortype"=>"???"}
+ {"origin"=>"lang/qt5-qml", "pkgname"=>"qt5-qml-5.3.2", "phase"=>"build",
"errortype"=>"new_compiler_error"}

Failure log:

http://package18.nyi.freebsd.org/data/91amd64-default-PR194566/2014-10-24_23h59m47s/logs/errors/qt5-qml-5.3.2.log

17 ports skipped due to the qt5-qml failure:

+ {"origin"=>"astro/stellarium", "pkgname"=>"stellarium-0.13.1",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"audio/kid3-qt5", "pkgname"=>"kid3-qt5-3.1_3",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"devel/qt5", "pkgname"=>"qt5-5.3.2", "depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"devel/qt5-assistant", "pkgname"=>"qt5-assistant-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"devel/qt5-designer", "pkgname"=>"qt5-designer-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"devel/qt5-linguist", "pkgname"=>"qt5-linguist-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"devel/qt5-linguisttools", "pkgname"=>"qt5-linguisttools-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"games/dustrac", "pkgname"=>"dustrac-1.7.2_1",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"graphics/luminance-qt5", "pkgname"=>"luminance-hdr-qt5-2.4.0_4",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"lang/basic256", "pkgname"=>"basic256-1.1.3.0_1",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"mail/trojita", "pkgname"=>"trojita-0.4.1_2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"multimedia/qt5-multimedia", "pkgname"=>"qt5-multimedia-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"www/otter-browser", "pkgname"=>"otter-browser-0.9.02_1",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"www/webkit-qt5", "pkgname"=>"qt5-webkit-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"x11-toolkits/qt5-declarative",
"pkgname"=>"qt5-declarative-5.3.2", "depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"x11-toolkits/qt5-quick", "pkgname"=>"qt5-quick-5.3.2",
"depends"=>"qt5-qml-5.3.2"}
+ {"origin"=>"x11-toolkits/qt5-quickcontrols",
"pkgname"=>"qt5-quickcontrols-5.3.2", "depends"=>"qt5-qml-5.3.2"}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #3 from Raphael Kubo da Costa  ---
Hmm, apparently my patch doesn't svn rm devel/qt5-qmldevtools. It should, so no
need to worry about the failure there.

I've sent a patch to fix luminance-qt5 (bug 194596).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

--- Comment #2 from Antoine Brodin  ---
Exp-run results on 10.1 amd64:

http://package18.nyi.freebsd.org/build.html?mastername=101amd64-default-PR194566&build=2014-10-23_23h58m12s

2 new failures:

+ {"origin"=>"devel/qt5-qmldevtools", "pkgname"=>"qt5-qmldevtools-5.3.2_1",
"phase"=>"configure", "errortype"=>"???"}
+ {"origin"=>"graphics/luminance-qt5", "pkgname"=>"luminance-hdr-qt5-2.4.0_4",
"phase"=>"build", "errortype"=>"???"}

Failure logs:

http://package18.nyi.freebsd.org/data/101amd64-default-PR194566/2014-10-23_23h58m12s/logs/errors/qt5-qmldevtools-5.3.2_1.log
http://package18.nyi.freebsd.org/data/101amd64-default-PR194566/2014-10-23_23h58m12s/logs/errors/luminance-hdr-qt5-2.4.0_4.log

I will continue with 9.1 am64 (gcc)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 194566] [exp-run] Update Qt5 to 5.3.2

2014-10-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194566

Antoine Brodin  changed:

   What|Removed |Added

 Status|Needs Triage|In Discussion
 CC||port...@freebsd.org
   Assignee|port...@freebsd.org |anto...@freebsd.org

--- Comment #1 from Antoine Brodin  ---
Take for exp-run

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information