Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crow-translate for openSUSE:Factory checked in at 2021-12-26 13:30:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crow-translate (Old) and /work/SRC/openSUSE:Factory/.crow-translate.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crow-translate" Sun Dec 26 13:30:22 2021 rev:6 rq:942492 version:2.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/crow-translate/crow-translate.changes 2020-09-03 01:17:03.544534646 +0200 +++ /work/SRC/openSUSE:Factory/.crow-translate.new.2520/crow-translate.changes 2021-12-26 13:30:31.998960514 +0100 @@ -1,0 +2,22 @@ +Sat Dec 25 23:19:11 UTC 2021 - Martin Hauke <[email protected]> + +- Remove superfluous _service file +- Add patch: + * fetchcontent.patch (handle bundled dependencies) + +------------------------------------------------------------------- +Fri Dec 24 16:03:03 UTC 2021 - ???????????? ???????????? <[email protected]> + +- Update to version 2.9.1 + * Fix actions versions + * Bump version to 2.9.1 + * Add LibreTranslate and Lingva to popup window + * Skip app executable for release upload + * Specify only major action versions + * Update Italian localization from Crowdin + * Update Finnish localization from Crowdin + * Update Finnish localization from Crowdin + * Update Hungarian localization from Crowdin + * Update Turkish localization from Crowdin + +------------------------------------------------------------------- Old: ---- _service crow-translate-2.5.1.tar.xz New: ---- Fluent-icon-theme-2021-08-15.tar.gz QHotkey-1.4.2.tar.gz QOnlineTranslator-1.5.2.tar.gz QTaskbarControl-2.0.2.tar.gz SingleApplication-3.2.0.tar.gz circle-flags-2.3.0.tar.gz crow-translate-2.9.1.tar.gz fetchcontent.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crow-translate.spec ++++++ --- /var/tmp/diff_new_pack.0KUklG/_old 2021-12-26 13:30:33.578961613 +0100 +++ /var/tmp/diff_new_pack.0KUklG/_new 2021-12-26 13:30:33.586961619 +0100 @@ -1,7 +1,7 @@ # # spec file for package crow-translate # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2019, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -17,61 +17,110 @@ # +%define _qonlinetranslator_version 1.5.2 +%define _qhotkey_version 1.4.2 +%define _qtaskbarcontrol_version 2.0.2 +%define _singleapplication_version 3.2.0 +%define _circle_flags_version 2.3.0 +%define _fluent_icon_theme_version 2021-08-15 +%define _name io.crow_translate.CrowTranslate Name: crow-translate -Version: 2.5.1 +Version: 2.9.1 Release: 0 Summary: A Qt GUI for Google, Yandex and Bing translators -# QOnlineTranslator is licensed under GPL-3.0 -# QHotkey is licensed under BSD-3-Clause -# QTaskbarControl is licensed under BSD-3-Clause -# SingleApplication is icensed under MIT License: GPL-3.0-only Group: Productivity/Networking/Web/Frontends URL: https://crow-translate.github.io/ -#Git-Clone: https://github.com/crow-translate/crow-translate.git -Source: %{name}-%{version}.tar.xz +Source0: https://codeload.github.com/%{name}/%{name}/tar.gz/refs/tags/%{version}#/%{name}-%{version}.tar.gz +# SECTION 3rd-party sources +# QOnlineTranslator is licensed under GPL-3.0 +Source1: https://codeload.github.com/%{name}/QOnlineTranslator/tar.gz/refs/tags/%{_qonlinetranslator_version}#/QOnlineTranslator-%{_qonlinetranslator_version}.tar.gz +# QHotkey is licensed under BSD-3-Clause +Source2: https://codeload.github.com/Skycoder42/QHotkey/tar.gz/refs/tags/%{_qhotkey_version}#/QHotkey-%{_qhotkey_version}.tar.gz +# QTaskbarControl is licensed under BSD-3-Clause +Source3: https://codeload.github.com/Skycoder42/QTaskbarControl/tar.gz/refs/tags/%{_qtaskbarcontrol_version}#/QTaskbarControl-%{_qtaskbarcontrol_version}.tar.gz +# SingleApplication is licensed under MIT +Source4: https://codeload.github.com/itay-grudev/SingleApplication/tar.gz/refs/tags/v%{_singleapplication_version}#/SingleApplication-%{_singleapplication_version}.tar.gz +# circle-flags is licensed under MIT +Source5: https://codeload.github.com/HatScripts/circle-flags/tar.gz/refs/tags/v%{_circle_flags_version}#/circle-flags-%{_circle_flags_version}.tar.gz +# Fluent-icon-theme is licensed under GPL-3.0 +Source6: https://codeload.github.com/vinceliuice/Fluent-icon-theme/tar.gz/refs/tags/%{_fluent_icon_theme_version}#/Fluent-icon-theme-%{_fluent_icon_theme_version}.tar.gz Patch0: Fix-install-path.patch +Patch1: fetchcontent.patch +BuildRequires: cmake >= 3.16.0 BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: libqt5-linguist-devel -BuildRequires: libqt5-qtbase-devel -BuildRequires: libqt5-qtmultimedia-devel -BuildRequires: libqt5-qtx11extras-devel +BuildRequires: pkgconfig BuildRequires: update-desktop-files -Recommends: gstreamer-plugins-good +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: pkgconfig(Qt5Concurrent) +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(lept) +BuildRequires: pkgconfig(libwebp) +BuildRequires: pkgconfig(tesseract) >= 4.0 +BuildRequires: pkgconfig(xcb) +Requires: gstreamer-plugins-good +# SECTION 3rd-party BuildRequires +BuildRequires: pkgconfig(Qt5Core) +#uildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Multimedia) +BuildRequires: pkgconfig(Qt5Network) +#uildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(x11) +# /SECTION +Provides: bundled(qonlinetranslator) = %{_qonlinetranslator_version} +Provides: bundled(qhotkey) = %{_qhotkey_version} +Provides: bundled(qtaskbarcontrol) = %{_qtaskbarcontrol_version} +Provides: bundled(singleapplication) = %{_singleapplication_version} %description A simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing written with Qt5. +%lang_package + %prep -%setup -q +%setup -q -a1 -a2 -a3 -a4 -a5 -a6 %patch0 -p1 +sed -i '/GIT_TAG/d' cmake/ExternalLibraries.cmake +%patch1 -p1 +mkdir -p src/qonlinetranslator/ src/third-party/qhotkey/ src/third-party/qtaskbarcontrol/ \ +src/third-party/singleapplication/ src/circle-flags src/Fluent-icon-theme +mv QOnlineTranslator-%{_qonlinetranslator_version}/* src/qonlinetranslator/ +mv QHotkey-%{_qhotkey_version}/* src/third-party/qhotkey/ +mv QTaskbarControl-%{_qtaskbarcontrol_version}/* src/third-party/qtaskbarcontrol/ +mv SingleApplication-%{_singleapplication_version}/* src/third-party/singleapplication/ +mv circle-flags-%{_circle_flags_version}/* src/circle-flags/ +mv Fluent-icon-theme-%{_fluent_icon_theme_version}/* src/Fluent-icon-theme/ %build %cmake \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_STATIC_LIBS=ON -%make_jobs + -DBUILD_SHARED_LIBS=OFF +%cmake_build %install %cmake_install -mv %{buildroot}/%{_datadir}/applications/io.crow_translate.CrowTranslate.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop -%suse_update_desktop_file -i %{name} Office Dictionary Network +%suse_update_desktop_file -r %{_name} Office Dictionary # remove icons with unusual sizes -rm -rf %{buildroot}%{_datadir}/icons/hicolor/150x150 -rm -rf %{buildroot}%{_datadir}/icons/hicolor/310x310 -rm -rf %{buildroot}%{_datadir}/icons/hicolor/44x44 +rm -rf %{buildroot}%{_datadir}/icons/hicolor/{310x310,150x150,44x44} + +%find_lang %{name} --with-qt %files %license COPYING %doc README.md -%{_bindir}/crow -%dir %{_datadir}/crow-translate -%dir %{_datadir}/crow-translate/crow-translate -%{_datadir}/crow-translate/crow-translate/translations -%{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/*/*/* +%{_bindir}/%{name} +%{_datadir}/applications/%{_name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.??g +%{_datadir}/icons/hicolor/*/status/%{name}-tray-*.??g + +%files lang -f %{name}.lang +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/%{name} +%dir %{_datadir}/%{name}/%{name}/translations %changelog ++++++ Fix-install-path.patch ++++++ --- /var/tmp/diff_new_pack.0KUklG/_old 2021-12-26 13:30:33.606961633 +0100 +++ /var/tmp/diff_new_pack.0KUklG/_new 2021-12-26 13:30:33.610961636 +0100 @@ -1,14 +1,27 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c566eb9..6e15284 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -5,7 +5,7 @@ project(crow-translate VERSION 2.4.1 LANGUAGES CXX) - set(CMAKE_PROJECT_HOMEPAGE_URL crow-translate.github.io) - set(CMAKE_PROJECT_DESCRIPTION "A simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing") +diff -Nuar crow-translate-2.9.1.orig/CMakeLists.txt crow-translate-2.9.1/CMakeLists.txt +--- crow-translate-2.9.1.orig/CMakeLists.txt 2021-10-22 10:32:56.000000000 +0300 ++++ crow-translate-2.9.1/CMakeLists.txt 2021-12-24 18:24:42.001612532 +0300 +@@ -7,8 +7,8 @@ + LANGUAGES CXX + ) -set(APPLICATION_NAME "Crow Translate") +-set(EXECUTABLE_NAME crow) +set(APPLICATION_NAME "crow-translate") ++set(EXECUTABLE_NAME crow-translate) if(UNIX) set(DESKTOP_FILE io.crow_translate.CrowTranslate.desktop) endif() +diff -Nuar crow-translate-2.9.1.orig/data/io.crow_translate.CrowTranslate.desktop crow-translate-2.9.1/data/io.crow_translate.CrowTranslate.desktop +--- crow-translate-2.9.1.orig/data/io.crow_translate.CrowTranslate.desktop 2021-10-22 10:32:56.000000000 +0300 ++++ crow-translate-2.9.1/data/io.crow_translate.CrowTranslate.desktop 2021-12-24 18:25:04.121855522 +0300 +@@ -10,7 +10,7 @@ + Keywords=google;yandex;text-to-speech; + Keywords[ru]=google;yandex;?????????? ?? ????????; + Keywords[fi]=google;yandex;tekstist?? puheeksi; +-Exec=crow ++Exec=crow-translate + Icon=crow-translate + Terminal=false + StartupNotify=false ++++++ fetchcontent.patch ++++++ --- a/cmake/ExternalLibraries.cmake 2021-10-04 00:33:51.992380168 +0300 +++ b/cmake/ExternalLibraries.cmake 2021-10-04 00:36:16.441915429 +0300 @@ -2,28 +2,28 @@ set(QAPPLICATION_CLASS QApplication) FetchContent_Declare(SingleApplication - GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/singleapplication ) FetchContent_Declare(QTaskbarControl - GIT_REPOSITORY https://github.com/Skycoder42/QTaskbarControl + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/qtaskbarcontrol ) option(QHOTKEY_INSTALL OFF) FetchContent_Declare(QHotkey - GIT_REPOSITORY https://github.com/Skycoder42/QHotkey + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/qhotkey ) FetchContent_Declare(QOnlineTranslator - GIT_REPOSITORY https://github.com/crow-translate/QOnlineTranslator + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/qonlinetranslator ) FetchContent_Declare(CircleFlags - GIT_REPOSITORY https://github.com/HatScripts/circle-flags + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/circle-flags ) FetchContent_Declare(FluentIconTheme - GIT_REPOSITORY https://github.com/vinceliuice/Fluent-icon-theme + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/Fluent-icon-theme ) FetchContent_MakeAvailable(SingleApplication QTaskbarControl QHotkey QOnlineTranslator CircleFlags FluentIconTheme)
