Hello community, here is the log from the commit of package umbrello for openSUSE:Factory checked in at 2017-06-15 11:24:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/umbrello (Old) and /work/SRC/openSUSE:Factory/.umbrello.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "umbrello" Thu Jun 15 11:24:12 2017 rev:52 rq:502145 version:17.04.2 Changes: -------- --- /work/SRC/openSUSE:Factory/umbrello/umbrello.changes 2017-05-24 16:49:59.369746578 +0200 +++ /work/SRC/openSUSE:Factory/.umbrello.new/umbrello.changes 2017-06-15 11:24:13.720323623 +0200 @@ -1,0 +2,12 @@ +Wed Jun 07 17:43:06 CEST 2017 - [email protected] + +- Update to 17.04.2 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.04.2.php +- Changes since 17.04.1: + * Fix 'Building Umbrello 2.21.90.89e79b8 with optional LLVM fails'. (kde#379293) + * Fix 'umbrello/KF5 does not show the KF5 crash dialog'. (kde#374415) + * Add some error message to debug output in case of file saving fails. + +------------------------------------------------------------------- Old: ---- umbrello-17.04.1.tar.xz New: ---- umbrello-17.04.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ umbrello.spec ++++++ --- /var/tmp/diff_new_pack.NaG00X/_old 2017-06-15 11:24:14.404227082 +0200 +++ /var/tmp/diff_new_pack.NaG00X/_new 2017-06-15 11:24:14.408226517 +0200 @@ -16,7 +16,7 @@ # Name: umbrello -Version: 17.04.1 +Version: 17.04.2 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) ++++++ umbrello-17.04.1.tar.xz -> umbrello-17.04.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-17.04.1/CMakeLists.txt new/umbrello-17.04.2/CMakeLists.txt --- old/umbrello-17.04.1/CMakeLists.txt 2017-05-08 13:12:11.000000000 +0200 +++ new/umbrello-17.04.2/CMakeLists.txt 2017-06-05 21:12:48.000000000 +0200 @@ -3,7 +3,7 @@ # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "17") set (KDE_APPLICATIONS_VERSION_MINOR "04") -set (KDE_APPLICATIONS_VERSION_MICRO "1") +set (KDE_APPLICATIONS_VERSION_MICRO "2") set(UMBRELLO_VERSION_MAJOR "2") MATH(EXPR UMBRELLO_VERSION_MINOR "18+${KDE_APPLICATIONS_VERSION_MINOR}") @@ -162,6 +162,7 @@ Completion Config CoreAddons + Crash DocTools I18n IconThemes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-17.04.1/umbrello/CMakeLists.txt new/umbrello-17.04.2/umbrello/CMakeLists.txt --- old/umbrello-17.04.1/umbrello/CMakeLists.txt 2017-05-08 13:12:11.000000000 +0200 +++ new/umbrello-17.04.2/umbrello/CMakeLists.txt 2017-06-05 21:12:48.000000000 +0200 @@ -580,7 +580,11 @@ ${CMAKE_CURRENT_SOURCE_DIR}/pics/global/128-apps-umbrello.png ) add_executable(umbrello ${umbrello_SRCS}) - target_link_libraries(umbrello libumbrello KF5::WindowSystem) + target_link_libraries(umbrello + libumbrello + KF5::Crash + KF5::WindowSystem + ) set_target_properties(umbrello PROPERTIES OUTPUT_NAME umbrello5) endif() if(LIB_BUILD_MODE EQUAL SHARED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-17.04.1/umbrello/main.cpp new/umbrello-17.04.2/umbrello/main.cpp --- old/umbrello-17.04.1/umbrello/main.cpp 2017-05-08 13:12:11.000000000 +0200 +++ new/umbrello-17.04.2/umbrello/main.cpp 2017-06-05 21:12:48.000000000 +0200 @@ -28,6 +28,7 @@ #include <ktip.h> #if QT_VERSION >= 0x050000 +#include <KCrash> #include <QApplication> #include <QCommandLineParser> #endif @@ -102,6 +103,7 @@ { #if QT_VERSION >= 0x050000 QApplication app(argc, argv); + KCrash::initialize(); KLocalizedString::setApplicationDomain("umbrello"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-17.04.1/umbrello/umldoc.cpp new/umbrello-17.04.2/umbrello/umldoc.cpp --- old/umbrello-17.04.1/umbrello/umldoc.cpp 2017-05-08 13:12:11.000000000 +0200 +++ new/umbrello-17.04.2/umbrello/umldoc.cpp 2017-06-05 21:12:48.000000000 +0200 @@ -810,6 +810,7 @@ // now check if we can write to the file if (archive->open(QIODevice::WriteOnly) == false) { + uError() << "could not open" << archive->fileName(); #if QT_VERSION >= 0x050000 KMessageBox::error(0, i18n("There was a problem saving: %1", url.url(QUrl::PreferLocalFile)), i18n("Save Error")); #else @@ -828,6 +829,7 @@ #endif tmp_xmi_file.setAutoRemove(false); if (!tmp_xmi_file.open()) { + uError() << "could not open" << tmp_xmi_file.fileName(); #if QT_VERSION >= 0x050000 KMessageBox::error(0, i18n("There was a problem saving: %1", url.url(QUrl::PreferLocalFile)), i18n("Save Error")); #else @@ -849,6 +851,7 @@ archive->addLocalFile(tmp_xmi_file.fileName(), tmpQString); if (!archive->close()) { + uError() << "could not close" << archive->fileName(); #if QT_VERSION >= 0x050000 KMessageBox::error(0, i18n("There was a problem saving: %1", url.url(QUrl::PreferLocalFile)), i18n("Save Error")); #else @@ -870,6 +873,8 @@ #else uploaded = KIO::NetAccess::upload(tmp_tgz_file.fileName(), m_doc_url, UMLApp::app()); #endif + if (!uploaded) + uError() << "could not upload file" << tmp_tgz_file.fileName() << "to" << url; } // now the archive was written to disk (or remote) so we can delete the @@ -897,6 +902,7 @@ // lets open the file for writing if (!tmpfile.open()) { + uError() << "could not open" << tmpfile.fileName(); #if QT_VERSION >= 0x050000 KMessageBox::error(0, i18n("There was a problem saving: %1", url.url(QUrl::PreferLocalFile)), i18n("Save Error")); #else @@ -916,6 +922,8 @@ #else uploaded = KIO::NetAccess::upload(tmpfile.fileName(), m_doc_url, UMLApp::app()); #endif + if (!uploaded) + uError() << "could not upload file" << tmpfile.fileName() << "to" << url; } else { // now remove the original file @@ -937,7 +945,7 @@ KJobWidgets::setWindow(fcj, (QWidget*)UMLApp::app()); fcj->exec(); if (fcj->error()) { - DEBUG(DBG_SRC) << "UMLDoc::saveDocument moving with error = " << tmpfile.fileName() << " to " << url; + uError() << "Could not move" << tmpfile.fileName() << "to" << url; KMessageBox::error(0, i18n("There was a problem saving: %1", url.url(QUrl::PreferLocalFile)), i18n("Save Error")); #else if (KIO::NetAccess::synchronousRun(fcj, (QWidget*)UMLApp::app()) == false) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-17.04.1/unittests/CMakeLists.txt new/umbrello-17.04.2/unittests/CMakeLists.txt --- old/umbrello-17.04.1/unittests/CMakeLists.txt 2017-05-08 13:12:11.000000000 +0200 +++ new/umbrello-17.04.2/unittests/CMakeLists.txt 2017-06-05 21:12:48.000000000 +0200 @@ -120,7 +120,7 @@ find_package(LLVM CONFIG) find_package(CLANG QUIET) -if(LLVM_FOUND) +if(LLVM_FOUND AND CLANG_FOUND) message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}") message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") @@ -129,10 +129,8 @@ include_directories(${LLVM_INCLUDE_DIRS}) add_definitions(${LLVM_DEFINITIONS}) - if(CLANG_FOUND) - include_directories(${CLANG_INCLUDE_DIRS}) - add_definitions(${CLANG_DEFINITIONS}) - endif() + include_directories(${CLANG_INCLUDE_DIRS}) + add_definitions(${CLANG_DEFINITIONS}) # Now build our tools add_executable(testllvm testllvm.cpp)
