Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wt for openSUSE:Factory checked in 
at 2024-06-05 17:39:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wt (Old)
 and      /work/SRC/openSUSE:Factory/.wt.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wt"

Wed Jun  5 17:39:57 2024 rev:46 rq:1178503 version:4.10.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/wt/wt.changes    2023-01-10 15:00:13.449344990 
+0100
+++ /work/SRC/openSUSE:Factory/.wt.new.24587/wt.changes 2024-06-05 
17:40:22.549683912 +0200
@@ -1,0 +2,10 @@
+Tue Jun  4 09:10:52 UTC 2024 - Adam Majer <[email protected]>
+
+- Update to 4.10.4
+  For changes, see
+  https://www.webtoolkit.eu/wt/doc/reference/html/Releasenotes.html
+
+- boost_fixes.patch: compilation fixes with latest Boost
+- missing_libs.patch: add missing libX11 linking
+
+-------------------------------------------------------------------

Old:
----
  wt-4.8.1.tar.gz

New:
----
  boost_fixes.patch
  missing_libs.patch
  wt-4.10.4.tar.gz

BETA DEBUG BEGIN:
  New:
- boost_fixes.patch: compilation fixes with latest Boost
- missing_libs.patch: add missing libX11 linking
  New:- boost_fixes.patch: compilation fixes with latest Boost
- missing_libs.patch: add missing libX11 linking
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wt.spec ++++++
--- /var/tmp/diff_new_pack.6L7hUo/_old  2024-06-05 17:40:23.653724102 +0200
+++ /var/tmp/diff_new_pack.6L7hUo/_new  2024-06-05 17:40:23.653724102 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wt
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,17 @@
 
 %define WTSRVDIR /srv/wt
 %define WTRUNDIR %{WTSRVDIR}/run
-%define so_version 4_8_1
+%define so_version 4_10_4
 Name:           wt
-Version:        4.8.1
+Version:        4.10.4
 Release:        0
 Summary:        Web Toolkit
 License:        GPL-2.0-only
 Group:          Development/Libraries/C and C++
 URL:            https://www.webtoolkit.eu/wt/
 Source0:        
https://github.com/emweb/wt/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch1:         boost_fixes.patch
+Patch2:         missing_libs.patch
 BuildRequires:  FastCGI-devel
 BuildRequires:  GraphicsMagick-devel
 BuildRequires:  Mesa-devel
@@ -45,7 +47,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
 BuildRequires:  zlib-devel
-BuildRequires:  cmake(Qt5Core)
+BuildRequires:  cmake(Qt6Core)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(sqlite3)
 Requires:       FastCGI
@@ -53,15 +55,11 @@
 Recommends:     %{name}-dbo = %{version}
 Suggests:       %{name}-dbo-mysql = %{version}
 Suggests:       %{name}-dbo-postgres = %{version}
-%if 0%{?suse_version} > 1315
 BuildRequires:  libboost_atomic-devel
 BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_program_options-devel
 BuildRequires:  libboost_system-devel
 BuildRequires:  libboost_thread-devel
-%else
-BuildRequires:  boost-devel >= 1.50.0
-%endif
 
 %description
 Wt is a C++ library and application server for developing and
@@ -129,6 +127,8 @@
 %cmake \
     -DENABLE_FIREBIRD=OFF \
     -DENABLE_QT4=OFF \
+    -DENABLE_QT5=OFF \
+    -DENABLE_QT6=ON \
     -DSHARED_LIBS=ON \
     -DMULTI_THREADED=ON \
     -DUSE_SYSTEM_SQLITE3=ON \

++++++ boost_fixes.patch ++++++
Index: wt-4.10.4/src/web/FileUtils.C
===================================================================
--- wt-4.10.4.orig/src/web/FileUtils.C
+++ wt-4.10.4/src/web/FileUtils.C
@@ -7,6 +7,7 @@
 #include "web/FileUtils.h"
 
 #include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>
 
 #include "web/WebUtils.h"
 #include "Wt/WException.h"
Index: wt-4.10.4/src/http/Server.C
===================================================================
--- wt-4.10.4.orig/src/http/Server.C
+++ wt-4.10.4/src/http/Server.C
@@ -331,8 +331,8 @@ std::vector<asio::ip::address> Server::r
       LOG_DEBUG_S(&wt_, "Failed to resolve hostname \"" << address << "\" as 
IPv4: " <<
                   Wt::AsioWrapper::system_error(errc).what());
     // Resolve IPv6
-    query = 
Wt::AsioWrapper::asio::ip::tcp::resolver::query(Wt::AsioWrapper::asio::ip::tcp::v6(),
 address, "http");
-    for (Wt::AsioWrapper::asio::ip::tcp::resolver::iterator it = 
resolver.resolve(query, errc);
+    asio::ip::tcp::resolver::query query6(asio::ip::tcp::v6(), address, 
"http");
+    for (Wt::AsioWrapper::asio::ip::tcp::resolver::iterator it = 
resolver.resolve(query6, errc);
          !errc && it != end; ++it) {
       result.push_back(it->endpoint().address());
     }

++++++ missing_libs.patch ++++++
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o: in function 
`Wt::WGLWidget::render(Wt::WFlags<Wt::RenderFlag>)':
[   51s] 
/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:120:(.text+0x8608):
 undefined reference to `XOpenDisplay'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:168:(.text+0x86eb):
 undefined reference to `XFree'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:187:(.text+0x872f):
 undefined reference to `XSync'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:201:(.text+0x8771):
 undefined reference to `XSync'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:213:(.text+0x8992):
 undefined reference to `XCloseDisplay'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:205:(.text+0x89b3):
 undefined reference to `XCloseDisplay'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:189:(.text+0x89bd):
 undefined reference to `XCloseDisplay'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans21.ltrans.o:/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:161:(.text+0x89ca):
 undefined reference to `XCloseDisplay'
[   51s] 
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: 
/tmp/cc2L3fxe.ltrans99.ltrans.o: in function 
`Wt::WServerGLWidget::~WServerGLWidget()':
[   51s] 
/home/abuild/rpmbuild/BUILD/wt-4.10.4/src/Wt/WServerGLWidget.C:225:(.text+0x45e7):
 undefined reference to `XCloseDisplay'
[   51s] collect2: error: ld returned 1 exit status

Index: wt-4.10.4/src/CMakeLists.txt
===================================================================
--- wt-4.10.4.orig/src/CMakeLists.txt
+++ wt-4.10.4/src/CMakeLists.txt
@@ -647,7 +647,7 @@ ELSE("${WT_WRASTERIMAGE_IMPLEMENTATION}"
 ENDIF("${WT_WRASTERIMAGE_IMPLEMENTATION}" STREQUAL "GraphicsMagick")
 
 if(WT_USE_OPENGL)
-  target_link_libraries(wt PRIVATE OpenGL::GL GLEW::GLEW)
+  target_link_libraries(wt PRIVATE OpenGL::GL GLEW::GLEW X11)
 else()
   MESSAGE("** Disabling server-side opengl rendering for WGLWidget: requires 
gl, glew and WRasterImage (GraphicsMagick or Direct2D).")
 endif()

++++++ wt-4.8.1.tar.gz -> wt-4.10.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/wt/wt-4.8.1.tar.gz 
/work/SRC/openSUSE:Factory/.wt.new.24587/wt-4.10.4.tar.gz differ: char 16, line 
1

Reply via email to