diff --git a/deepin-qml-widgets.spec b/deepin-qml-widgets.spec index 63a166f0aab1385fc89ca039a72cb6ddd95bae84..cb4eead665b1a0420e083dfcb0b8060ffbf8024e 100644 --- a/deepin-qml-widgets.spec +++ b/deepin-qml-widgets.spec @@ -1,12 +1,13 @@ Name: deepin-qml-widgets Version: 2.3.6 -Release: 1 +Release: 2 Summary: Deepin QML widgets License: GPLv3 URL: https://github.com/linuxdeepin/deepin-qml-widgets Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: modify-QPainterPath-error.patch -BuildRequires: dtkwidget2-devel dtkcore2-devel deepin-gettext-tools libXdamage-devel +BuildRequires: dtkwidget2-devel dtkcore2-devel deepin-gettext-tools libXdamage-devel qt5-qtbase-private-devel BuildRequires: pkgconfig(gdk-pixbuf-2.0) pkgconfig(gtk+-2.0) pkgconfig(glib-2.0) pkgconfig(gio-2.0) pkgconfig(pango) pkgconfig(x11) pkgconfig(xcb) pkgconfig(xcb-damage) pkgconfig(Qt5X11Extras) pkgconfig(atk) BuildRequires: pkgconfig(xcomposite) pkgconfig(Qt5Core) pkgconfig(Qt5DBus) pkgconfig(Qt5Gui) pkgconfig(Qt5Network) pkgconfig(Qt5OpenGL) pkgconfig(Qt5Qml) pkgconfig(Qt5WebKit) pkgconfig(Qt5Widgets) Requires: qt5-qtgraphicaleffects%{?_isa} qt5-qtquickcontrols%{?_isa} @@ -16,6 +17,7 @@ Extends QML by providing widgets that is used by Deepin applications. %prep %setup -q +%patch0 -p1 %build deepin-generate-mo locale/locale_config.ini @@ -40,5 +42,8 @@ cp -r locale/mo/* %{buildroot}%{_datadir}/locale/ %{_datadir}/dbus-1/services/com.deepin.dialog.service %changelog +* Tue Feb 08 2022 liweiganga= - 2.3.6-2 +- fix build error + * Thu Sep 10 2020 chenbo pan - 2.3.6-1 - Initial build diff --git a/modify-QPainterPath-error.patch b/modify-QPainterPath-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..9a6d7639143ca0ceaf36db3be4ebed63faf55705 --- /dev/null +++ b/modify-QPainterPath-error.patch @@ -0,0 +1,11 @@ +diff --color -Naur a/widgets/plugins/dsinglelinetip.h b/widgets/plugins/dsinglelinetip.h +--- a/widgets/plugins/dsinglelinetip.h 2022-02-08 13:59:37.950486469 +0800 ++++ b/widgets/plugins/dsinglelinetip.h 2022-02-08 14:00:17.942595624 +0800 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + #include + #include +