Hello community,

here is the log from the commit of package doxygen for openSUSE:Factory checked 
in at 2018-07-04 23:48:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/doxygen (Old)
 and      /work/SRC/openSUSE:Factory/.doxygen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "doxygen"

Wed Jul  4 23:48:01 2018 rev:73 rq:617747 version:1.8.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/doxygen/doxywizard.changes       2018-01-09 
14:37:12.680768133 +0100
+++ /work/SRC/openSUSE:Factory/.doxygen.new/doxywizard.changes  2018-07-04 
23:48:06.160358129 +0200
@@ -1,0 +2,6 @@
+Tue Jun 19 09:51:37 UTC 2018 - [email protected]
+
+- fix build with qt 5.11
+  + doxywizard-qt-5.11.patch
+
+-------------------------------------------------------------------

New:
----
  doxywizard-qt-5.11.patch

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

Other differences:
------------------
++++++ doxygen.spec ++++++
--- /var/tmp/diff_new_pack.iPJ7Jj/_old  2018-07-04 23:48:07.644356486 +0200
+++ /var/tmp/diff_new_pack.iPJ7Jj/_new  2018-07-04 23:48:07.648356482 +0200
@@ -21,7 +21,7 @@
 Release:        0
 Summary:        Automated C, C++, and Java Documentation Generator
 # qtools are used for building and they are GPL-3.0 licensed
-License:        GPL-2.0+ AND GPL-3.0
+License:        GPL-2.0-or-later AND GPL-3.0-only
 Group:          Development/Tools/Doc Generators
 Url:            http://www.stack.nl/~dimitri/doxygen/
 Source0:        
http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
@@ -80,7 +80,7 @@
 install -m 644 doc/doxygen.1 %{buildroot}%{_mandir}/man1/
 
 %files
-%doc LICENSE
+%license LICENSE
 %attr(644,root,root) %{_mandir}/man1/doxygen.1%{?ext_man}
 %attr(755,root,root) %{_bindir}/*
 

++++++ doxywizard.spec ++++++
--- /var/tmp/diff_new_pack.iPJ7Jj/_old  2018-07-04 23:48:07.668356460 +0200
+++ /var/tmp/diff_new_pack.iPJ7Jj/_new  2018-07-04 23:48:07.668356460 +0200
@@ -21,13 +21,14 @@
 Release:        0
 Summary:        Graphical User Interface for Doxygen
 # qtools are used for building and they are GPL-3.0 licensed
-License:        GPL-2.0+ AND GPL-3.0
+License:        GPL-2.0-or-later AND GPL-3.0-only
 Group:          Development/Tools/Doc Generators
 Url:            http://www.stack.nl/~dimitri/doxygen/
 Source:         
http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
 Source1:        doxywizard.desktop
 # PATCH-FIX-UPSTREAM: add missing returns to non-void functions
 Patch3:         vhdlparser-no-return.patch
+Patch4:         doxywizard-qt-5.11.patch
 BuildRequires:  bison
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  flex
@@ -54,6 +55,7 @@
 %prep
 %setup -q -n doxygen-%{version}
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="%{optflags} -fPIC"

++++++ doxywizard-qt-5.11.patch ++++++
--- a/addon/doxywizard/CMakeLists.txt   
+++ a/addon/doxywizard/CMakeLists.txt   
@@ -4,9 +4,6 @@ if (NOT force_qt4)
   if (Qt5Core_FOUND)
     message(STATUS "Using Qt5")
     find_package(Qt5 COMPONENTS Widgets Gui Xml)
-    macro(qt_use_modules)
-        qt5_use_modules(${ARGN})
-    endmacro()
     macro(qt_wrap_cpp)
         qt5_wrap_cpp(${ARGN})
     endmacro()
@@ -23,8 +20,6 @@ if (NOT Qt5Core_FOUND)
     message(STATUS "Using Qt4")
   endif()
   find_package(Qt4 REQUIRED COMPONENTS QtCore QtXml QtGui)
-  macro(qt_use_modules)
-  endmacro()
   macro(qt_wrap_cpp)
       qt4_wrap_cpp(${ARGN})
   endmacro()
@@ -104,9 +99,11 @@ ${GENERATED_SRC_WIZARD}/configdoc.cpp
 ${doxywizard_MOC}
 ${doxywizard_RESOURCES_RCC}
 )
-qt_use_modules(doxywizard Core Gui Widgets Xml)
-target_link_libraries(doxywizard
-${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY}
-)
+
+if(Qt5Core_FOUND)
+  target_link_libraries(doxywizard Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml)
+else()
+  target_link_libraries(doxywizard ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})
+endif()
 
 install(TARGETS doxywizard DESTINATION bin)


Reply via email to