Hello community, here is the log from the commit of package wt for openSUSE:Factory checked in at 2018-01-10 23:38:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wt (Old) and /work/SRC/openSUSE:Factory/.wt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wt" Wed Jan 10 23:38:11 2018 rev:33 rq:563254 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/wt/wt.changes 2017-12-04 10:01:34.090175148 +0100 +++ /work/SRC/openSUSE:Factory/.wt.new/wt.changes 2018-01-10 23:38:13.699408294 +0100 @@ -1,0 +2,67 @@ +Mon Jan 8 13:26:18 UTC 2018 - [email protected] + +- Updated to 4.0.2 + * Release 4.0.2 (November 24, 2017) + This is a patch release that fixes a few problems with the build of + * Wt 4.0.1, and fixes a bug in Wt::Auth. + Release 4.0.1 (November 21, 2017) + This is a smaller release with mostly bugfixes, and some new features: + * Added WContainerWidget::addNew() and similar methods + Because writing code like this: + auto text = root()->addWidget(std::make_unique<Wt::WText>("Hello!")); + is a bit verbose, a shorthand was added that creates the widget and adds + it + to the container in one go: + auto text = root()->addNew<Wt::WText>("Hello!"); + addNew forwards its arguments to the constructor, just like + std::make_unique. Along those lines, we added + WContainerWidget::insertNew() + and WTemplate::bindNew(). + Added the <max-formdata-size> configuration option + Previously, the maximum size of form data sent by Wt in a single POST + request was capped to 5 MiB. In applications with a large amount of forms + with a lot of data, that may not be enough, so <max-formdata-size> can be + used to adjust this independently. Note that the maximum request size (and + by consequence, the form data size) is still capped by <max-request-size>. + * Release 4.0.0 (September 19, 2017) + This release has all of the added features of Wt 3.3.8, but comes with + many notable changes. In general, Wt 4 employs the more modern C++ style + of C++11 and beyond. Support for compilers without sufficient C++11 + support is dropped competely. Wt 4 aligns more with the C++ Core + Guidelines in a pragmatic way, while keeping the API familiar. + Changes in Wt's memory model + Header files now end in .h + Replacements for Boost + Removal of deprecated functionality + * Release 3.3.8 (August 16, 2017) + OpenID Connect support + Wt::Dbo: added sql_value_traits for Wt::Json::Object and Wt::Json::Array. + Added <allowed-hosts> configuration option for CORS + Other small improvements: + * Release 3.3.7 (March 31, 2017) + This release fixes many bugs, but also introduces some new features: + - WFileDropWidget + - Scroll visibility + - Touch events + - Combined session tracking mode + - Wraparound for WSpinBox and WTimeEdit + - Some minor extra features + * Release 3.3.6 (July 13, 2016) + This release has a focus on bug fixes and some new features: + - Support for WebSocket compression in wthttp + - Time entry improvements + - Skia version updated + - Wt::Dbo + For a full list of changes please refer to: + https://www.webtoolkit.eu/wt/doc/reference/html/Releasenotes.html +- boost_1_63_fix.patch: removed (obsoleted by update) +- Several-changes.patch + Asio-Fixed-for-older-versions-of-Boost.patch: + Fix issues with boost 1.66 (boo#1074999). +- Adding-missing-libraries-issue-6198.patch + Fix build. +- Reduce libboost-*-devel dependencies to the ones suggested by + upstream - see: https://redmine.emweb.be/issues/6198 - + added libboost-atomic-devel. + +------------------------------------------------------------------- Old: ---- 3.3.5.tar.gz boost_1_63_fix.patch New: ---- 4.0.2.tar.gz Adding-missing-libraries-issue-6198.patch Asio-Fixed-for-older-versions-of-Boost.patch Several-changes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wt.spec ++++++ --- /var/tmp/diff_new_pack.ags4ZY/_old 2018-01-10 23:38:14.443373391 +0100 +++ /var/tmp/diff_new_pack.ags4ZY/_new 2018-01-10 23:38:14.443373391 +0100 @@ -1,7 +1,7 @@ # # spec file for package wt # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,29 +18,30 @@ %define WTSRVDIR /srv/wt %define WTRUNDIR %{WTSRVDIR}/run -%define mysqllib libwtdbomysql39 -%define pglib libwtdbopostgres39 +%define so_version 45 Name: wt -Version: 3.3.5 +Version: 4.0.2 Release: 0 +# +# Summary: Web Toolkit License: GPL-2.0 Group: Development/Libraries/C and C++ Url: http://www.webtoolkit.eu/wt/ Source0: https://github.com/kdeforche/wt/archive/%{version}.tar.gz -Patch1: boost_1_63_fix.patch +Patch0: Several-changes.patch +Patch1: Asio-Fixed-for-older-versions-of-Boost.patch +Patch2: Adding-missing-libraries-issue-6198.patch BuildRequires: FastCGI-devel BuildRequires: GraphicsMagick-devel BuildRequires: Mesa-devel BuildRequires: apache-rpm-macros %if 0%{?suse_version} > 1315 -BuildRequires: libboost_date_time-devel +BuildRequires: libboost_atomic-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel -BuildRequires: libboost_random-devel -BuildRequires: libboost_regex-devel -BuildRequires: libboost_signals-devel +BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %else # wt will build with boost-devel < 1.36.0 but it won't work @@ -78,30 +79,29 @@ the library generates the necessary HTML, Javascript, CGI, and AJAX code. -%package dbo +%package -n libwtdbo%{so_version} Summary: Wt::Dbo ORM library and Sqlite3 back-end -Group: Development/Libraries +Group: Development/Libraries/C and C++ +Provides: %{name}-dbo = %{version} -%description dbo +%description -n libwtdbo%{so_version} This package contains the Wt::Dbo Object-Relational Mapping library and Sqlite3 back-end of it. -%package -n %{mysqllib} +%package -n libwtdbomysql%{so_version} Summary: MySQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries +Group: Development/Libraries/C and C++ Provides: %{name}-dbo-mysql = %{version} -Requires: %{name}-dbo = %{version} -%description -n %{mysqllib} +%description -n libwtdbomysql%{so_version} This package contains the MySQL back-end for the Wt::Dbo ORM library. -%package -n %{pglib} +%package -n libwtdbopostgres%{so_version} Summary: PostgreSQL back-end for the Wt::Dbo ORM library -Group: Development/Libraries +Group: Development/Libraries/C and C++ Provides: %{name}-dbo-postgres = %{version} -Requires: %{name}-dbo = %{version} -%description -n %{pglib} +%description -n libwtdbopostgres%{so_version} This package contains the PostgresSQL back-end for the Wt::Dbo ORM library. %package devel @@ -131,7 +131,9 @@ %prep %setup -q +%patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %cmake \ @@ -178,17 +180,17 @@ %postun -p /sbin/ldconfig -%post dbo -p /sbin/ldconfig +%post -n libwtdbo%{so_version} -p /sbin/ldconfig -%postun dbo -p /sbin/ldconfig +%postun -n libwtdbo%{so_version} -p /sbin/ldconfig -%post -n %{mysqllib} -p /sbin/ldconfig +%post -n libwtdbomysql%{so_version} -p /sbin/ldconfig -%postun -n %{mysqllib} -p /sbin/ldconfig +%postun -n libwtdbomysql%{so_version} -p /sbin/ldconfig -%post -n %{pglib} -p /sbin/ldconfig +%post -n libwtdbopostgres%{so_version} -p /sbin/ldconfig -%postun -n %{pglib} -p /sbin/ldconfig +%postun -n libwtdbopostgres%{so_version} -p /sbin/ldconfig %files %defattr(-,root,root) @@ -196,7 +198,6 @@ %{_libdir}/libwtfcgi.so.* %{_libdir}/libwthttp.so.* %{_libdir}/libwttest.so.* -%{_libdir}/libwtext.so.* %doc Changelog LICENSE %dir %{WTSRVDIR} %dir %{_sysconfdir}/wt @@ -204,16 +205,16 @@ %config(noreplace) %{_sysconfdir}/wt/wt_config.xml %attr(-,%{apache_user},%{apache_group}) %{WTRUNDIR} -%files dbo +%files -n libwtdbo%{so_version} %defattr(-,root,root) %{_libdir}/libwtdbo.so.* %{_libdir}/libwtdbosqlite3.so.* -%files -n %{mysqllib} +%files -n libwtdbomysql%{so_version} %defattr(-,root,root) %{_libdir}/libwtdbomysql.so.* -%files -n %{pglib} +%files -n libwtdbopostgres%{so_version} %defattr(-,root,root) %{_libdir}/libwtdbopostgres.so.* @@ -221,6 +222,7 @@ %defattr(-,root,root) %{_includedir}/Wt %{_libdir}/*.so +%{_libdir}/cmake/wt %doc %{_docdir}/%{name}-devel %changelog ++++++ 3.3.5.tar.gz -> 4.0.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/wt/3.3.5.tar.gz /work/SRC/openSUSE:Factory/.wt.new/4.0.2.tar.gz differ: char 12, line 1 ++++++ Adding-missing-libraries-issue-6198.patch ++++++ From: Roel Standaert <[email protected]> Date: Tue Jan 9 16:13:12 2018 +0100 Subject: Adding missing libraries (issue #6198) Patch-mainline: Upstream Git-repo: https://github.com/emweb/wt Git-commit: da3f9de92df90030990e211577e151ea44c3c265 References: Signed-off-by: Egbert Eich <[email protected]> --- src/CMakeLists.txt | 6 +++++- src/fcgi/CMakeLists.txt | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 80734fb..2863623 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -490,7 +490,11 @@ IF(ENABLE_LIBWTTEST) Wt/Test/WTestEnvironment.C ) - TARGET_LINK_LIBRARIES(wttest wt) + TARGET_LINK_LIBRARIES(wttest PUBLIC wt) + + IF(MULTI_THREADED_BUILD) + TARGET_LINK_LIBRARIES(wttest PRIVATE ${CMAKE_THREAD_LIBS_INIT}) + ENDIF(MULTI_THREADED_BUILD) INSTALL(TARGETS wttest EXPORT wt-target-test diff --git a/src/fcgi/CMakeLists.txt b/src/fcgi/CMakeLists.txt index 397b1c6..a390cf7 100644 --- a/src/fcgi/CMakeLists.txt +++ b/src/fcgi/CMakeLists.txt @@ -17,7 +17,15 @@ IF(CONNECTOR_FCGI) INCLUDE_DIRECTORIES(${FCGI_INCLUDE_DIRS}) ADD_LIBRARY(wtfcgi ${libfcgisources}) - TARGET_LINK_LIBRARIES(wtfcgi wt ${FCGI_LIB} ${FCGIPP_LIB}) + TARGET_LINK_LIBRARIES(wtfcgi PUBLIC wt PRIVATE ${FCGI_LIB} ${FCGIPP_LIB}) + + IF(WT_WITH_SSL) + TARGET_LINK_LIBRARIES(wtfcgi PRIVATE ${SSL_LIBRARIES}) + ENDIF(WT_WITH_SSL) + + IF(MULTI_THREADED_BUILD) + TARGET_LINK_LIBRARIES(wtfcgi PRIVATE ${CMAKE_THREAD_LIBS_INIT}) + ENDIF(MULTI_THREADED_BUILD) SET_TARGET_PROPERTIES( wtfcgi ++++++ Asio-Fixed-for-older-versions-of-Boost.patch ++++++ From: Roel Standaert <[email protected]> Date: Tue Dec 19 18:41:22 2017 +0100 Subject: Asio: Fixed for older versions of Boost Patch-mainline: Upstream Git-repo: https://github.com/emweb/wt Git-commit: 50864bc3d60cf6cf4e019d3eb25e8081b83393c5 References: boo#1074999 Signed-off-by: Egbert Eich <[email protected]> --- src/http/Connection.C | 7 +++++-- src/http/Connection.h | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/http/Connection.C b/src/http/Connection.C index 27380a8..a37ee9e 100644 --- a/src/http/Connection.C +++ b/src/http/Connection.C @@ -61,14 +61,17 @@ Connection::~Connection() LOG_DEBUG("~Connection"); } +#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) asio::ip::tcp::socket::native_handle_type Connection::native() { -#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) return socket().native_handle(); +} #else +asio::ip::tcp::socket::native_type Connection::native() +{ return socket().native(); -#endif } +#endif void Connection::finishReply() { diff --git a/src/http/Connection.h b/src/http/Connection.h index f925177..1abe1e4 100644 --- a/src/http/Connection.h +++ b/src/http/Connection.h @@ -88,7 +88,11 @@ public: protected: /// Get the native handle of the socket +#if (defined(WT_ASIO_IS_BOOST_ASIO) && BOOST_VERSION >= 106600) || (defined(WT_ASIO_IS_STANDALONE_ASIO) && ASIO_VERSION >= 101100) asio::ip::tcp::socket::native_handle_type native(); +#else + asio::ip::tcp::socket::native_type native(); +#endif void handleWriteResponse0(ReplyPtr reply, const Wt::AsioWrapper::error_code& e, ++++++ Several-changes.patch ++++++ ++++ 643 lines (skipped)
