Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package molsketch for openSUSE:Factory checked in at 2023-08-28 17:12:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/molsketch (Old) and /work/SRC/openSUSE:Factory/.molsketch.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "molsketch" Mon Aug 28 17:12:42 2023 rev:9 rq:1105587 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/molsketch/molsketch.changes 2022-12-14 14:12:04.963827932 +0100 +++ /work/SRC/openSUSE:Factory/.molsketch.new.1766/molsketch.changes 2023-08-28 17:12:43.479284612 +0200 @@ -1,0 +2,12 @@ +Tue Jul 11 10:16:01 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 0.8.0: + * Reimplemented rendering of atom labels (should also fix + bounding box issues for charges) + * Enable build with Qt 6 + * Dark mode icons +- Add molsketch-include-numeric-header.patch: add numeric header + and ensure std=c++17 is used during compilation. +- Use gcc9 for openSUSE Leap 15.x to use transform_reduce. + +------------------------------------------------------------------- Old: ---- Molsketch-0.7.3-src.tar.gz New: ---- Molsketch-0.8.0-src.tar.gz molsketch-include-numeric-header.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ molsketch.spec ++++++ --- /var/tmp/diff_new_pack.Qrn24L/_old 2023-08-28 17:12:44.679327707 +0200 +++ /var/tmp/diff_new_pack.Qrn24L/_new 2023-08-28 17:12:44.683327851 +0200 @@ -1,7 +1,7 @@ # # spec file for package molsketch # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,14 @@ # +%if 0%{?suse_version} < 1599 +%define gcc_ver 9 +%endif %define srcname Molsketch %define sover 1 %define soname %{sover} Name: molsketch -Version: 0.7.3 +Version: 0.8.0 Release: 0 Summary: 2D molecular structures editor License: GPL-2.0-or-later @@ -29,16 +32,13 @@ Source0: https://downloads.sourceforge.net/molsketch/Molsketch-%{version}-src.tar.gz # PATCH-FIX-UPSTREAM molsketch-cmake-qt5-add-translation.patch badshah...@gmail.com -- Use qt5_add_translation instead of qt_add_translation with cmake Patch0: molsketch-cmake-qt5-add-translation.patch +# PATCH-FIX-UPSTREAM molsketch-include-numeric-header.patch badshah...@gmail.com -- Include numeric header for transform_reduce +Patch1: molsketch-include-numeric-header.patch BuildRequires: cmake -BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: gcc-c++ +BuildRequires: gcc%{?gcc_ver}-c++ BuildRequires: hicolor-icon-theme -%if 0%{suse_version} >= 1550 || 0%{?sle_version} >= 150200 BuildRequires: rsvg-convert -%else -BuildRequires: rsvg-view -%endif BuildRequires: update-desktop-files BuildRequires: (pkgconfig(openbabel-2.0) or pkgconfig(openbabel-3)) BuildRequires: cmake(Qt5LinguistTools) @@ -63,6 +63,7 @@ Group: Development/Libraries/C and C++ Provides: lib%{name}%{soname} = %{version} Requires: libqt5-qttools +BuildArch: noarch %description devel 2D molecular structures editor. @@ -82,11 +83,14 @@ %prep %autosetup -n %{srcname}-%{version} -p1 -dos2unix -k -c ascii doc/cs/%{name}.adp %build %cmake \ - -DMSK_INSTALL_DOCS="/share/doc/packages/%{name}" +%if 0%{?gcc_ver} + -DCMAKE_CXX_COMPILER:STRING=g++-%{gcc_ver} \ +%endif + -DMSK_INSTALL_DOCS:PATH="/share/doc/packages/%{name}" \ +%{nil} %cmake_build ++++++ Molsketch-0.7.3-src.tar.gz -> Molsketch-0.8.0-src.tar.gz ++++++ ++++ 22336 lines of diff (skipped) ++++++ molsketch-include-numeric-header.patch ++++++ Index: Molsketch-0.8.0/libmolsketch/painting/paintableaggregate.cpp =================================================================== --- Molsketch-0.8.0.orig/libmolsketch/painting/paintableaggregate.cpp +++ Molsketch-0.8.0/libmolsketch/painting/paintableaggregate.cpp @@ -22,6 +22,7 @@ #include <QDebug> #include <QPainter> #include <algorithm> +#include <numeric> namespace Molsketch { Index: Molsketch-0.8.0/libmolsketch/CMakeLists.txt =================================================================== --- Molsketch-0.8.0.orig/libmolsketch/CMakeLists.txt +++ Molsketch-0.8.0/libmolsketch/CMakeLists.txt @@ -24,7 +24,7 @@ else(MSK_STATIC_LIB) add_library(molsketch_LIB SHARED ${libmolsketch_SRCS} ${libmolsketch_UIS_H} ${libmolsketch_QM}) endif(MSK_STATIC_LIB) set_target_properties(molsketch_LIB PROPERTIES OUTPUT_NAME "molsketch") -set_property(TARGET molsketch_LIB PROPERTY CXX_STANDARD 14) +set_property(TARGET molsketch_LIB PROPERTY CXX_STANDARD 17) target_link_libraries(molsketch_LIB ${QT_LIBRARIES}) # Install the executable and the library