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 2022-11-17 17:24:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crow-translate (Old)
 and      /work/SRC/openSUSE:Factory/.crow-translate.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crow-translate"

Thu Nov 17 17:24:30 2022 rev:7 rq:1035892 version:2.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/crow-translate/crow-translate.changes    
2021-12-26 13:30:31.998960514 +0100
+++ /work/SRC/openSUSE:Factory/.crow-translate.new.1597/crow-translate.changes  
2022-11-17 17:24:36.845100223 +0100
@@ -1,0 +2,18 @@
+Wed Sep 14 16:21:33 UTC 2022 - Андрей Алыпов 
<and.novem...@opensuse.org>
+
+- Update to version 2.10.0
+- Remove:
+  * 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
+  * fetchcontent.patch
+  * Fix-install-path.patch
+- Add patch:
+  * third-party-library-static.patch
+  * cmakelists-txt.patch
+  * desktop-file.patch
+
+-------------------------------------------------------------------

Old:
----
  Fix-install-path.patch
  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

New:
----
  cmakelists-txt.patch
  crow-translate-2.10.0-source.tar.gz
  desktop-file.patch
  third-party-library-static.patch

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

Other differences:
------------------
++++++ crow-translate.spec ++++++
--- /var/tmp/diff_new_pack.fEjC4M/_old  2022-11-17 17:24:37.545103926 +0100
+++ /var/tmp/diff_new_pack.fEjC4M/_new  2022-11-17 17:24:37.553103969 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package crow-translate
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2019, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,65 +17,40 @@
 #
 
 
-%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.9.1
+Version:        2.10.0
 Release:        0
 Summary:        A Qt GUI for Google, Yandex and Bing translators
 License:        GPL-3.0-only
 Group:          Productivity/Networking/Web/Frontends
 URL:            https://crow-translate.github.io/
-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
+Source0:        
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}-source.tar.gz
+Patch0:         third-party-library-static.patch
+Patch1:         cmakelists-txt.patch
+Patch2:         desktop-file.patch
 BuildRequires:  cmake >= 3.16.0
 BuildRequires:  extra-cmake-modules
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
+BuildRequires:  cmake(KF5Wayland)
 BuildRequires:  cmake(Qt5LinguistTools)
 BuildRequires:  pkgconfig(Qt5Concurrent)
+BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
+BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Multimedia)
+BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Widgets)
+BuildRequires:  pkgconfig(Qt5X11Extras)
 BuildRequires:  pkgconfig(lept)
 BuildRequires:  pkgconfig(libwebp)
 BuildRequires:  pkgconfig(tesseract) >= 4.0
+BuildRequires:  pkgconfig(x11)
 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
@@ -84,29 +59,15 @@
 %lang_package
 
 %prep
-%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/
+%autosetup -p1
 
 %build
-%cmake \
-    -DBUILD_SHARED_LIBS=OFF
+%cmake
 %cmake_build
 
 %install
 %cmake_install
 %suse_update_desktop_file -r %{_name} Office Dictionary
-# remove icons with unusual sizes
-rm -rf %{buildroot}%{_datadir}/icons/hicolor/{310x310,150x150,44x44}
 
 %find_lang %{name} --with-qt
 
@@ -117,6 +78,7 @@
 %{_datadir}/applications/%{_name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.??g
 %{_datadir}/icons/hicolor/*/status/%{name}-tray-*.??g
+%{_datadir}/metainfo/%{_name}.metainfo.xml
 
 %files lang -f %{name}.lang
 %dir %{_datadir}/%{name}

++++++ cmakelists-txt.patch ++++++
--- a/CMakeLists.txt    2022-08-23 19:55:00.617670378 +0300
+++ b/CMakeLists.txt    2022-08-23 19:56:23.654533634 +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)
     set(METAINFO_FILE io.crow_translate.CrowTranslate.metainfo.xml)
@@ -93,13 +93,10 @@
 
 set(APP_ICONS
     data/icons/app/128-apps-crow-translate.png
-    data/icons/app/150-apps-crow-translate.png
     data/icons/app/16-apps-crow-translate.png
     data/icons/app/22-apps-crow-translate.png
     data/icons/app/256-apps-crow-translate.png
-    data/icons/app/310-apps-crow-translate.png
     data/icons/app/32-apps-crow-translate.png
-    data/icons/app/44-apps-crow-translate.png
     data/icons/app/48-apps-crow-translate.png
     data/icons/app/512-apps-crow-translate.png
     data/icons/app/64-apps-crow-translate.png

++++++ desktop-file.patch ++++++
--- a/data/io.crow_translate.CrowTranslate.desktop      2022-08-23 
19:59:07.120233016 +0300
+++ b/data/io.crow_translate.CrowTranslate.desktop      2022-08-23 
20:00:15.148940247 +0300
@@ -10,12 +10,13 @@
 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
 Type=Application
 Categories=Office;Network;Qt;
+X-LXQt-Need-Tray=true
 StartupWMClass=crow
 X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot
 X-Purism-FormFactor=Workstation;Mobile;

++++++ third-party-library-static.patch ++++++
diff -Nuar a/src/third-party/qhotkey/CMakeLists.txt 
b/src/third-party/qhotkey/CMakeLists.txt
--- a/src/third-party/qhotkey/CMakeLists.txt    2022-06-18 15:28:48.571243258 
+0300
+++ b/src/third-party/qhotkey/CMakeLists.txt    2022-06-18 15:29:44.679871444 
+0300
@@ -37,7 +37,7 @@
     set(SRC_FILES ${SRC_FILES} QHotkey/qhotkey_x11.cpp)
 endif()
 
-add_library(qhotkey ${SRC_FILES} ${MOC_HEADERS})
+add_library(qhotkey STATIC ${SRC_FILES} ${MOC_HEADERS})
 add_library(QHotkey::QHotkey ALIAS qhotkey)
 target_link_libraries(qhotkey ${LIBS})
 
diff -Nuar a/src/third-party/qtaskbarcontrol/CMakeLists.txt 
b/src/third-party/qtaskbarcontrol/CMakeLists.txt
--- a/src/third-party/qtaskbarcontrol/CMakeLists.txt    2022-06-18 
15:29:03.579411291 +0300
+++ b/src/third-party/qtaskbarcontrol/CMakeLists.txt    2022-06-18 
15:29:32.147731138 +0300
@@ -4,7 +4,7 @@
 
 set(CMAKE_AUTOMOC ON)
 
-add_library(${PROJECT_NAME}
+add_library(${PROJECT_NAME} STATIC
     qtaskbarcontrol.cpp
     qtaskbarcontrol_p.cpp
 )

Reply via email to