Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package molsketch for openSUSE:Factory checked in at 2022-01-31 22:57:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/molsketch (Old) and /work/SRC/openSUSE:Factory/.molsketch.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "molsketch" Mon Jan 31 22:57:08 2022 rev:6 rq:950034 version:0.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/molsketch/molsketch.changes 2021-03-30 20:58:53.180618142 +0200 +++ /work/SRC/openSUSE:Factory/.molsketch.new.1898/molsketch.changes 2022-01-31 22:57:48.737383469 +0100 @@ -1,0 +2,25 @@ +Sat Jan 29 23:05:28 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com> + +- Add molsketch-cmake-qt5-add-translation.patch: Use + qt5_add_translation instead of qt_add_translation with cmake. + +------------------------------------------------------------------- +Wed Jun 9 00:50:21 UTC 2021 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 0.7.2: + * Update location of OpenBabel adapter when updating Molsketch. + * Minor fixes in translations build (cmake). +- Changes from version 0.7.1: + * Copy and cut actions also copy SVG image. + * Fixed compilation with Qt 5 versions before Qt 5.14. + * Fixed inclusion of translations for library part for qmake + build. + * Fixed inclusion of all translations for cmake build. + * Fixed crashes/errors during copy/cut/paste and when opening + files. + * Removed support for Qt 4; filenames changed. +- Drop fix-compilation.patch: fixed upstream. +- New BuildRequires: cmake(Qt5LinguistTools). +- Adapt to upstream file name changes. + +------------------------------------------------------------------- Old: ---- Molsketch-0.7.0-src.tar.gz fix-compilation.patch New: ---- Molsketch-0.7.2-src.tar.gz molsketch-cmake-qt5-add-translation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ molsketch.spec ++++++ --- /var/tmp/diff_new_pack.fF1x64/_old 2022-01-31 22:57:49.313379591 +0100 +++ /var/tmp/diff_new_pack.fF1x64/_new 2022-01-31 22:57:49.317379564 +0100 @@ -1,7 +1,7 @@ # # spec file for package molsketch # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,17 @@ %define srcname Molsketch %define sover 1 -%define soname -qt5-%{sover} -%define binname %{name}-qt5 +%define soname %{sover} Name: molsketch -Version: 0.7.0 +Version: 0.7.2 Release: 0 Summary: 2D molecular structures editor License: GPL-2.0-or-later Group: Productivity/Scientific/Chemistry URL: https://molsketch.sourceforge.net Source0: https://downloads.sourceforge.net/molsketch/Molsketch-%{version}-src.tar.gz -# PATCH-FIX-UPSTREAM https://sourceforge.net/p/molsketch/bugs/40/ -Patch0: fix-compilation.patch +# 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 BuildRequires: cmake BuildRequires: dos2unix BuildRequires: fdupes @@ -41,6 +40,7 @@ BuildRequires: rsvg-view %endif BuildRequires: update-desktop-files +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) @@ -93,10 +93,6 @@ %install %cmake_install -# Fix program not finding its shared libraries. -mv %{buildroot}%{_libdir}/%{name}/libmolsketch-qt5.so %{buildroot}%{_libdir}/libmolsketch-qt5.so -mv %{buildroot}%{_libdir}/%{name}/libobabeliface-qt5.so %{buildroot}%{_libdir}/libobabeliface-qt5.so - for sz in 24 32 48 64 128 256 512 do rsvg-convert -o %{name}-${sz}.png -w ${sz} molsketch/images/molsketch.svg @@ -104,20 +100,19 @@ install -m0644 %{name}-${sz}.png %{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps/%{name}.png done -%suse_update_desktop_file -c %{name} %{name} "2D molecular structures editor" %{binname} %{name} Education Chemistry +%suse_update_desktop_file -c %{name} %{name} "2D molecular structures editor" %{name} Education Chemistry %fdupes -s %{buildroot}%{_datadir} %files %license COPYING %doc CHANGELOG -%{_bindir}/%{binname} -%{_libdir}/*.so +%{_bindir}/%{name} +%{_libdir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/molsketch.* %{_datadir}/pixmaps/molsketch.xpm %{_datadir}/icons/hicolor/scalable/mimetypes/*.svg -%dir %{_datadir}/metainfo %{_datadir}/metainfo/net.sourceforge.molsketch.appdata.xml %{_datadir}/mime/packages/molsketch.xml ++++++ Molsketch-0.7.0-src.tar.gz -> Molsketch-0.7.2-src.tar.gz ++++++ ++++ 5307 lines of diff (skipped) ++++++ molsketch-cmake-qt5-add-translation.patch ++++++ Index: Molsketch-0.7.2/generateTranslations.cmake =================================================================== --- Molsketch-0.7.2.orig/generateTranslations.cmake +++ Molsketch-0.7.2/generateTranslations.cmake @@ -4,7 +4,7 @@ function(addTranslationResources _resour file(GLOB_RECURSE translationFiles *.ts) set_source_files_properties(${translationFiles} PROPERTIES OUTPUT_LOCATION ${qmDir}) - qt_add_translation(qmFileList ${translationFiles}) + qt5_add_translation(qmFileList ${translationFiles}) set(qmResourcesFile "${qmDir}/${resourceFileName}.qrc") file(WRITE ${qmResourcesFile} "<!DOCTYPE RCC><RCC version=\"1.0\">\n <qresource prefix=\"i18n\">\n")