* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
By moving the libraries we should finally be able to get rid of the inplace
upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries
were lying in /usr/local/lib, which would often get added by pkgconfig to the
linker paths via dependencies, the already installed libraries were linked
against, instead of the ones that were being built. This forced us to make
sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]
There are several new Qt5 ports which all have been created by Marie Loise Nolden
<nolden@kde.org>. Thanks again.
PR: 216797
Exp-Run by: antoine
Reviewed by: rakuco, mat, groot_kde.org
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9213
The GStreamer sndio plugin allows applications that use GStreamer to
play and record to/from an sndio server.
This includes WebKit-based browsers, video players like Totem, and
audio players like Rhythmbox.
WWW: https://github.com/t6/gstreamer1-plugins-sndio/
PR: 215904
Approved by: lme (mentor)
Differential Revision: https://reviews.freebsd.org/D9622
src/player.cpp: In member function 'void Player::HandlePrefsChanged(Event*)':
src/player.cpp:1970:40: error: 'stoi' was not declared in this scope
nPort = stoi(buffer.substr(pos));
^
Reported by: marino
Pointy hat to: jbeich (forgot libc++ leaks C++11)
In file included from /usr/local/lib/gcc5/include/c++/string:52:0,
from /usr/local/include/wx-2.8/wx/string.h:176,
from /usr/local/include/wx-2.8/wx/memory.h:16,
from /usr/local/include/wx-2.8/wx/object.h:20,
from /usr/local/include/wx-2.8/wx/event.h:17,
from /usr/local/include/wx-2.8/wx/window.h:19,
from /usr/local/include/wx-2.8/wx/control.h:23,
from /usr/local/include/wx-2.8/wx/checkbox.h:19,
from settingsbook.cpp:4:
/usr/local/lib/gcc5/include/c++/bits/basic_string.h: In instantiation of 'union std::__cxx11::basic_string<wxPoint>::<anonymous>':
/usr/local/lib/gcc5/include/c++/bits/basic_string.h:119:7: required from 'class std::__cxx11::basic_string<wxPoint>'
fxplotwindow.h:12:32: required from here
/usr/local/lib/gcc5/include/c++/bits/basic_string.h:121:53: error: member 'wxPoint std::__cxx11::basic_string<wxPoint>::<anonymous union>::_M_local_buf [2]' with constructor not allowed in union
_CharT _M_local_buf[_S_local_capacity + 1];
^
/usr/local/lib/gcc5/include/c++/bits/basic_string.h:121:53: note: unrestricted unions only available with -std=c++11 or -std=gnu++11
PR: 216707
Reported by: antoine (via exp-run)
src/Http.cpp:771:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
char* cp = strstr(buffer, "Content-Length:");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:401:15: error: cannot initialize a variable of type 'char *' with an rvalue
of type 'const char *'
char* extension = strrchr(url, '.');
^ ~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:561:11: error: cannot initialize a variable of type 'char *' with an rvalue
of type 'const char *'
char* cp = strstr(buffer, "Content-Length:");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:575:11: error: cannot initialize a variable of type 'char *' with an rvalue
of type 'const char *'
char* cp = strstr(buffer, "Last-Modified:");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:799:24: error: assigning to 'char *' from incompatible type 'const char *'
file = strchr(item->SourceURL().c_str() + 7, '/');
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/player.cpp:552:21: error: assigning to 'char *' from incompatible type 'const char *'
extension = strrchr(url.c_str(), '.');
^~~~~~~~~~~~~~~~~~~~~~~~~
src/player.cpp:1109:17: error: assigning to 'char *' from incompatible type 'const char *'
temp_proto = strstr(title, "://");
^~~~~~~~~~~~~~~~~~~~
src/player.cpp:1129:15: error: assigning to 'char *' from incompatible type 'const char *'
temp_ext = strrchr(title, '.');
^~~~~~~~~~~~~~~~~~~
src/player.cpp:1964:14: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char *port = strchr(buffer.c_str(),':');
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
src/playlist.cpp:1964:15: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char* extension = strrchr(url, '.');
^ ~~~~~~~~~~~~~~~~~
src/playlist.cpp:2045:15: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char* extension = strrchr(url, '.');
^ ~~~~~~~~~~~~~~~~~
src/ThemeZip.cpp:150:15: error: assigning to 'char *' from incompatible type 'const char *'
pPtr = strrchr(oFile.c_str(), DIR_MARKER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/wavoutpmo.cpp:127:10: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char *pPtr = strrchr(GetUrl().c_str(), DIR_MARKER);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ZinfTheme.cpp:1768:26: error: assigning to 'char *' from incompatible type 'const char *'
pExtension = strrchr((*i).c_str(), '.');
^~~~~~~~~~~~~~~~~~~~~~~~~~
pPtr = strrchr(m_oPath.c_str(), '/');
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/src/cdpmo.cpp:116:10: error: cannot initialize a variable of type 'char *' with an rvalue of
type 'const char *'
char *tracknumber = strrchr(url, '/');
^ ~~~~~~~~~~~~~~~~~
unix/src/GTKPreferenceWindow.cpp:1755:20: error: cannot initialize a variable of type 'char *' with
an rvalue of type 'const char *'
char *name = strrchr((*i).second.c_str(), '/');
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/src/gtkmusicbrowser.cpp:1206:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
char *ext = strrchr(m_currentListName.c_str(), '.');
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc.cpp:109:14: error: assigning to 'char *' from incompatible type 'const char *'
cp = strrchr(url, '.');
^~~~~~~~~~~~~~~~~
id3lib.cpp:366:11: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char *ptr = strrchr(url, '.');
^ ~~~~~~~~~~~~~~~~~
id3lib.cpp:426:11: error: assigning to 'char *' from incompatible type 'const char *'
ptr = strrchr(url, '.');
^~~~~~~~~~~~~~~~~
id3lib.cpp:488:11: error: cannot initialize a variable of type 'char *' with an rvalue of type
'const char *'
char *ptr = strrchr(url.c_str(), '.');
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
vorbis.cpp:151:11: error: assigning to 'char *' from incompatible type 'const char *'
ptr = strrchr(url, '.');
^~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
Bugfixes:
- gbsplay:
- cpu emulation fixes:
- RLCA/RLA/RRCA/RRA did not set ZF
- fix botched SBC zero flag handling
- fix slight bug in ADC/SBC
- fix INC/DEC SP, CP A and half-carry flag in DEC
- fix PUSH/POP AF
- fix trigger handling on noise channel
- fix error on midi plugout where a write to the file could occur
before the file was opened
- fix garbled screen on exit in verbose mode (gbsplay -v)
- fix status display: respect channel in left/right total volume
- fix impulse generator: generate a header file at compile-time
Enhancements:
- gbsplay:
- more accurate sound:
- calculate LFSR correctly
- play first nibble on DAC-channel from fresh buffer
- correct noise channel speed
- use more DMG-like DC-offsets
- more accurate cpu cycle accounting
- remove DC offset from DAC-channel
- show register contents in verbose mode (gbsplay -v)
- add basic GBR file support
- support ugetab int vector extension (gbs spec 1.04u)
- add 'iodumper' plugout for testing
- add support for blargg-gb-tests debug output
MFH: 2017Q1
- Success in opening /dev/dsp* O_RDWR does not mean the device
supports play/recording. Add an extra check to see if the requested
mode is really supported.
- sndiod cannot currently be started in jails as root, because it
tries to setpriority(-20). Allow setpriority to fail and start the
daemon anyway.
- Fallback to /dev/dsp instead of /dev/dsp0 when using libsndio directly
without a running sndiod.
- Implement sio_setvol in the OSS backend for application level volume
control with just libsndio.
PR: 216571
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
httpstream.cpp:366:4: error: assigning to 'char *' from incompatible type 'const char *'
p = strstr(url, HTTP_PREFIX); if (!p) goto out;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
src/widget/wdisplay.cpp:89:19: error: ordered comparison between pointer and zero ('QPixmap **' and 'int')
if (m_pPixmaps>0)
~~~~~~~~~~^~
PR: 216354
Reported by: antoine (via exp-run)
Submitted by: tcberner
Rationale:
Marking port broken on armv6 was done based on the results of a bulk build
of the ports tree as of r431452, i.e. before the fix for this particular
link error was committed in r431615.