[arch-commits] Commit in dtkwidget/repos (3 files)

Antonio Rojas arojas at archlinux.org
Tue May 26 18:53:30 UTC 2020


    Date: Tuesday, May 26, 2020 @ 18:53:29
  Author: arojas
Revision: 635155

archrelease: copy trunk to community-staging-x86_64

Added:
  dtkwidget/repos/community-staging-x86_64/
  dtkwidget/repos/community-staging-x86_64/PKGBUILD
    (from rev 635154, dtkwidget/trunk/PKGBUILD)
  dtkwidget/repos/community-staging-x86_64/dtkwidget-qt5.15.patch
    (from rev 635154, dtkwidget/trunk/dtkwidget-qt5.15.patch)

------------------------+
 PKGBUILD               |   35 +++++++
 dtkwidget-qt5.15.patch |  219 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 254 insertions(+)

Copied: dtkwidget/repos/community-staging-x86_64/PKGBUILD (from rev 635154, dtkwidget/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-26 18:53:29 UTC (rev 635155)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=dtkwidget
+pkgver=5.2.0
+pkgrel=2
+pkgdesc='Deepin graphical user interface library'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkwidget"
+license=('LGPL3')
+depends=('deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 'librsvg' 'qt5-multimedia' 'qt5-svg'
+         'qt5-x11extras' 'startup-notification')
+makedepends=('qt5-tools')
+replaces=('deepin-tool-kit')
+conflicts=('deepin-tool-kit<0.3.4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz"
+         dtkwidget-qt5.15.patch)
+sha512sums=('39f10a697f6aaf9ef2a5d8c41fd4e33b88d856fb62927334341fd3b3729e60bb0047faadf1f880bc014f465334c7ad3ddf9763c10ec6476f2ae8ec2cfe34050a'
+            'df6ad678c1dc198516692ff230bfda59a9e31146edcac03be7e5f7b05d67c038435ce544216edec7449cf1971a68275dd4d8a897333a9dc723f16403895c419a')
+
+prepare() {
+  patch -d dtkwidget-$pkgver -p1 -i ../dtkwidget-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+  cd dtkwidget-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dtkwidget-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: dtkwidget/repos/community-staging-x86_64/dtkwidget-qt5.15.patch (from rev 635154, dtkwidget/trunk/dtkwidget-qt5.15.patch)
===================================================================
--- community-staging-x86_64/dtkwidget-qt5.15.patch	                        (rev 0)
+++ community-staging-x86_64/dtkwidget-qt5.15.patch	2020-05-26 18:53:29 UTC (rev 635155)
@@ -0,0 +1,219 @@
+diff --git a/examples/dwidget-examples/collections/graphicseffecttab.cpp b/examples/dwidget-examples/collections/graphicseffecttab.cpp
+index 2497f47..22483bf 100644
+--- a/examples/dwidget-examples/collections/graphicseffecttab.cpp
++++ b/examples/dwidget-examples/collections/graphicseffecttab.cpp
+@@ -21,6 +21,7 @@
+ 
+ #include <QLabel>
+ #include <QDebug>
++#include <QPainterPath>
+ DWIDGET_USE_NAMESPACE
+ 
+ GraphicsEffectTab::GraphicsEffectTab(QWidget *parent) : QWidget(parent)
+diff --git a/examples/dwidget-examples/collections/multilistitem.cpp b/examples/dwidget-examples/collections/multilistitem.cpp
+index 6c55abf..0cdda21 100644
+--- a/examples/dwidget-examples/collections/multilistitem.cpp
++++ b/examples/dwidget-examples/collections/multilistitem.cpp
+@@ -17,6 +17,7 @@
+ 
+ #include "multilistitem.h"
+ #include <QColor>
++#include <QPainterPath>
+ 
+ DWIDGET_USE_NAMESPACE
+ 
+diff --git a/examples/dwidget-examples/collections/singlelistitem.cpp b/examples/dwidget-examples/collections/singlelistitem.cpp
+index 9e1cb15..27f77df 100644
+--- a/examples/dwidget-examples/collections/singlelistitem.cpp
++++ b/examples/dwidget-examples/collections/singlelistitem.cpp
+@@ -17,6 +17,7 @@
+ 
+ #include "singlelistitem.h"
+ #include <QColor>
++#include <QPainterPath>
+ 
+ DWIDGET_USE_NAMESPACE
+ 
+diff --git a/src/widgets/dclipeffectwidget.cpp b/src/widgets/dclipeffectwidget.cpp
+index b9e9190..79011e2 100644
+--- a/src/widgets/dclipeffectwidget.cpp
++++ b/src/widgets/dclipeffectwidget.cpp
+@@ -22,6 +22,7 @@
+ #include <QBackingStore>
+ #include <QPainter>
+ #include <QPaintEvent>
++#include <QPainterPath>
+ #include <QDebug>
+ 
+ #include <qpa/qplatformbackingstore.h>
+diff --git a/src/widgets/dclipeffectwidget.h b/src/widgets/dclipeffectwidget.h
+index f845ba5..71d1432 100644
+--- a/src/widgets/dclipeffectwidget.h
++++ b/src/widgets/dclipeffectwidget.h
+@@ -22,6 +22,7 @@
+ #include "dobject.h"
+ 
+ #include <QWidget>
++#include <QPainterPath>
+ 
+ DWIDGET_BEGIN_NAMESPACE
+ 
+diff --git a/src/widgets/dcrumbedit.cpp b/src/widgets/dcrumbedit.cpp
+index 31dfc8e..44a0224 100644
+--- a/src/widgets/dcrumbedit.cpp
++++ b/src/widgets/dcrumbedit.cpp
+@@ -24,6 +24,7 @@
+ 
+ #include <QAbstractTextDocumentLayout>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QTextBlock>
+ #include <QStyleOptionFrame>
+ #include <QMouseEvent>
+diff --git a/src/widgets/ddialog.h b/src/widgets/ddialog.h
+index 9a706b9..04f6bcd 100644
+--- a/src/widgets/ddialog.h
++++ b/src/widgets/ddialog.h
+@@ -94,8 +94,8 @@ public Q_SLOTS:
+     bool setDefaultButton(int index);
+     bool setDefaultButton(const QString &str);
+     void setDefaultButton(QAbstractButton *button);
+-    void addContent(QWidget *widget, Qt::Alignment alignment = 0);
+-    void insertContent(int index, QWidget *widget, Qt::Alignment alignment = 0);
++    void addContent(QWidget *widget, Qt::Alignment alignment = {});
++    void insertContent(int index, QWidget *widget, Qt::Alignment alignment = {});
+     void removeContent(QWidget *widget, bool isDelete = true);
+     void clearContents(bool isDelete = true);
+     void setSpacing(int spacing);
+diff --git a/src/widgets/dgraphicsclipeffect.cpp b/src/widgets/dgraphicsclipeffect.cpp
+index 1624784..81b5487 100644
+--- a/src/widgets/dgraphicsclipeffect.cpp
++++ b/src/widgets/dgraphicsclipeffect.cpp
+@@ -19,6 +19,7 @@
+ #include <DObjectPrivate>
+ 
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QDebug>
+ 
+ DWIDGET_BEGIN_NAMESPACE
+diff --git a/src/widgets/dgraphicsclipeffect.h b/src/widgets/dgraphicsclipeffect.h
+index 8ee8944..cd65749 100644
+--- a/src/widgets/dgraphicsclipeffect.h
++++ b/src/widgets/dgraphicsclipeffect.h
+@@ -22,6 +22,7 @@
+ #include "dobject.h"
+ 
+ #include <QGraphicsEffect>
++#include <QPainterPath>
+ 
+ DWIDGET_BEGIN_NAMESPACE
+ 
+diff --git a/src/widgets/dmainwindow.h b/src/widgets/dmainwindow.h
+index daaa620..4fa20f3 100644
+--- a/src/widgets/dmainwindow.h
++++ b/src/widgets/dmainwindow.h
+@@ -23,6 +23,7 @@
+ #include <DObject>
+ 
+ #include <QMainWindow>
++#include <QPainterPath>
+ 
+ DWIDGET_BEGIN_NAMESPACE
+ 
+diff --git a/src/widgets/dsegmentedcontrol.cpp b/src/widgets/dsegmentedcontrol.cpp
+index b39fe0b..6bd38ef 100644
+--- a/src/widgets/dsegmentedcontrol.cpp
++++ b/src/widgets/dsegmentedcontrol.cpp
+@@ -18,6 +18,7 @@
+ #include <QDebug>
+ #include <QPainter>
+ #include <QPaintEvent>
++#include <QPainterPath>
+ #include <QApplication>
+ 
+ #include "dsegmentedcontrol.h"
+diff --git a/src/widgets/dsimplelistview.cpp b/src/widgets/dsimplelistview.cpp
+index 01d5ff7..872b84d 100644
+--- a/src/widgets/dsimplelistview.cpp
++++ b/src/widgets/dsimplelistview.cpp
+@@ -31,6 +31,7 @@
+ #include <QWheelEvent>
+ #include <QtMath>
+ #include <QPointer>
++#include <QPainterPath>
+ 
+ #include "dhidpihelper.h"
+ 
+diff --git a/src/widgets/dspinner.cpp b/src/widgets/dspinner.cpp
+index 50acddc..b6d6e7e 100644
+--- a/src/widgets/dspinner.cpp
++++ b/src/widgets/dspinner.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <QtMath>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QTimer>
+ #include <QEvent>
+ 
+diff --git a/src/widgets/dstyle.cpp b/src/widgets/dstyle.cpp
+index 039467d..c76cce2 100644
+--- a/src/widgets/dstyle.cpp
++++ b/src/widgets/dstyle.cpp
+@@ -29,6 +29,7 @@
+ #include <QPixmapCache>
+ #include <QGuiApplication>
+ #include <QAbstractItemView>
++#include <QPainterPath>
+ 
+ #include <qmath.h>
+ #include <private/qfixed_p.h>
+diff --git a/src/widgets/dvideowidget.cpp b/src/widgets/dvideowidget.cpp
+index f0a0d71..53e0973 100644
+--- a/src/widgets/dvideowidget.cpp
++++ b/src/widgets/dvideowidget.cpp
+@@ -24,6 +24,7 @@
+ #include <QMediaPlayer>
+ #include <QMediaPlaylist>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QPointer>
+ 
+ DWIDGET_BEGIN_NAMESPACE
+diff --git a/src/widgets/dwaterprogress.cpp b/src/widgets/dwaterprogress.cpp
+index 79e0228..8c537f1 100644
+--- a/src/widgets/dwaterprogress.cpp
++++ b/src/widgets/dwaterprogress.cpp
+@@ -20,6 +20,7 @@
+ #include <QtMath>
+ #include <QTimer>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QGraphicsDropShadowEffect>
+ #include <QEvent>
+ #include <QIcon>
+diff --git a/src/widgets/private/dblureffectwidget_p.h b/src/widgets/private/dblureffectwidget_p.h
+index ecb8377..d3822d8 100644
+--- a/src/widgets/private/dblureffectwidget_p.h
++++ b/src/widgets/private/dblureffectwidget_p.h
+@@ -18,6 +18,7 @@
+ #ifndef DBLUREFFECTWIDGET_P_H
+ #define DBLUREFFECTWIDGET_P_H
+ 
++#include <QPainterPath>
+ #include <DObjectPrivate>
+ #include "dblureffectwidget.h"
+ 
+diff --git a/src/widgets/private/settings/shortcutedit.cpp b/src/widgets/private/settings/shortcutedit.cpp
+index d0d6d45..c502c4c 100644
+--- a/src/widgets/private/settings/shortcutedit.cpp
++++ b/src/widgets/private/settings/shortcutedit.cpp
+@@ -19,6 +19,7 @@
+ 
+ #include <QDebug>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QKeySequence>
+ #include <QKeyEvent>
+ 


More information about the arch-commits mailing list