Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package deepin-calendar for openSUSE:Factory 
checked in at 2021-02-18 20:40:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-calendar (Old)
 and      /work/SRC/openSUSE:Factory/.deepin-calendar.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deepin-calendar"

Thu Feb 18 20:40:23 2021 rev:2 rq:869910 version:5.8.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/deepin-calendar/deepin-calendar.changes  
2019-06-12 13:08:03.205139337 +0200
+++ 
/work/SRC/openSUSE:Factory/.deepin-calendar.new.28504/deepin-calendar.changes   
    2021-02-18 20:52:36.027450068 +0100
@@ -1,0 +2,6 @@
+Thu Feb  4 13:05:31 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 5.8.0.8
+  * The new ui design. 
+
+-------------------------------------------------------------------

Old:
----
  dde-calendar-1.2.6.tar.gz

New:
----
  dde-calendar-5.8.0.8.tar.gz

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

Other differences:
------------------
++++++ deepin-calendar.spec ++++++
--- /var/tmp/diff_new_pack.spjqjy/_old  2021-02-18 20:52:36.531450541 +0100
+++ /var/tmp/diff_new_pack.spjqjy/_new  2021-02-18 20:52:36.535450545 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package deepin-calendar
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,38 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define _name dde-calendar
 
 Name:           deepin-calendar
-Version:        1.2.6
+Version:        5.8.0.8
 Release:        0
 Summary:        A calendar application for Deepin Desktop
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
+Group:          Productivity/Office/Organizers
 URL:            https://github.com/linuxdeepin/dde-calendar
 Source0:        
https://github.com/linuxdeepin/dde-calendar/archive/%{version}/%{_name}-%{version}.tar.gz
-Group:          Productivity/Office/Organizers
-BuildRequires:  fdupes
 BuildRequires:  deepin-gettext-tools
-BuildRequires:  hicolor-icon-theme
-BuildRequires:  update-desktop-files
 BuildRequires:  desktop-file-utils
+BuildRequires:  fdupes
+BuildRequires:  gtest
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  libqt5-linguist
+BuildRequires:  update-desktop-files
+BuildRequires:  cmake(Qt5LinguistTools)
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Multimedia)
+BuildRequires:  pkgconfig(Qt5Sql)
+BuildRequires:  pkgconfig(Qt5Svg)
 BuildRequires:  pkgconfig(Qt5Widgets)
+BuildRequires:  pkgconfig(Qt5X11Extras)
+BuildRequires:  pkgconfig(dframeworkdbus)
+BuildRequires:  pkgconfig(dtkgui)
 BuildRequires:  pkgconfig(dtkwidget)
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -46,27 +55,57 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
-sed -i 's/lrelease/lrelease-qt5/g' translate_generation.sh
+# %patch0 -p1
+sed -i 's/lrelease)/lrelease-qt5)/g' CMakeLists.txt
+sed -i 's/lupdate)/lupdate-qt5)/g' CMakeLists.txt
+sed -i '/<QQueue>/a #include <QMouseEvent>' 
calendar-client/src/widget/dayWidget/daymonthview.cpp \
+calendar-client/src/widget/weekWidget/weekheadview.cpp
+sed -i '/<QStylePainter>/a #include <QMouseEvent>' 
calendar-client/src/widget/schedulesearchview.cpp
+sed -i '/include <QJsonObject>/a #include <QMouseEvent>' 
calendar-client/src/view/draginfographicsview.cpp
+sed -i '/include <QPainter>/a #include <QMouseEvent>' 
schedule-plugin/src/widget/itemwidget.h \
+       schedule-plugin/src/widget/modifyscheduleitem.h
+
+# Not included in https://github.com/linuxdeepin/dde-calendar/pull/30 yet
+sed -i '/include <QPainter>/a #include <QPainterPath>' 
calendar-client/src/widget/schedulesearchview.cpp \
+       calendar-client/src/widget/dayWidget/daymonthview.cpp \
+       calendar-client/src/widget/weekWidget/weekheadview.cpp \
+       calendar-client/src/customWidget/customframe.cpp \
+       calendar-client/src/widget/yearWidget/yearview.cpp \
+       schedule-plugin/src/widget/modifyscheduleitem.h \
+       schedule-plugin/src/widget/itemwidget.h
+sed -i '/include <QMessageBox>/a #include <QWheelEvent>' 
calendar-client/src/widget/yearWidget/yearwindow.cpp
+sed -i 's/1.2.2/%{version}/g' calendar-client/CMakeLists.txt
+sed -i 's/Exec=dde-calendar/Exec=env QT_QPA_PLATFORMTHEME=deepin 
dde-calendar/g' \
+calendar-client/assets/dde-calendar.desktop
 
 %build
-%qmake5 PREFIX=%{_prefix}
-make %{?_smp_mflags}
+%cmake
+%make_build
 
 %install
-%qmake5_install
+%cmake_install
+
+install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
+install -m0644 calendar-client/assets/resources/icon/%{_name}.svg \
+%{buildroot}%{_datadir}/icons/hicolor/scalable/apps
 
 %fdupes %{buildroot}
 %suse_update_desktop_file -r %{_name} QT Office Calendar Core
 
 %files
 %defattr(-,root,root,-)
-%doc README.md LICENSE CHANGELOG.md
+%doc README.md
+%license LICENSE
 %{_bindir}/%{_name}
+%{_prefix}/lib/deepin-aiassistant
 %{_datadir}/applications/%{_name}.desktop
+%{_sysconfdir}/xdg/autostart/%{_name}-service.desktop
+%dir %{_prefix}/lib/deepin-daemon
+%{_prefix}/lib/deepin-daemon/dde-calendar-service
+%{_datadir}/dbus-1/services/*.service
 %dir %{_datadir}/icons/hicolor/scalable
 %dir %{_datadir}/icons/hicolor/scalable/apps
 %{_datadir}/icons/hicolor/scalable/apps/%{_name}.svg
-%{_datadir}/dbus-1/services/com.deepin.Calendar.service
 
 %files lang
 %defattr(-,root,root,-)

++++++ dde-calendar-1.2.6.tar.gz -> dde-calendar-5.8.0.8.tar.gz ++++++
++++ 122532 lines of diff (skipped)

Reply via email to