[arch-commits] Commit in deepin-draw/repos (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Mar 5 11:54:28 UTC 2022
Date: Saturday, March 5, 2022 @ 11:54:27
Author: arojas
Revision: 1142175
archrelease: copy trunk to community-testing-x86_64
Added:
deepin-draw/repos/community-testing-x86_64/
deepin-draw/repos/community-testing-x86_64/PKGBUILD
(from rev 1142174, deepin-draw/trunk/PKGBUILD)
deepin-draw/repos/community-testing-x86_64/deepin-draw-missing-includes.patch
(from rev 1142174, deepin-draw/trunk/deepin-draw-missing-includes.patch)
deepin-draw/repos/community-testing-x86_64/fix-build.patch
(from rev 1142174, deepin-draw/trunk/fix-build.patch)
------------------------------------+
PKGBUILD | 38 +++++++++++++++++++++++++++
deepin-draw-missing-includes.patch | 49 +++++++++++++++++++++++++++++++++++
fix-build.patch | 13 +++++++++
3 files changed, 100 insertions(+)
Copied: deepin-draw/repos/community-testing-x86_64/PKGBUILD (from rev 1142174, deepin-draw/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-03-05 11:54:27 UTC (rev 1142175)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-draw
+pkgver=5.8.0.22
+pkgrel=2
+pkgdesc="A lightweight drawing tool for Linux Deepin"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-draw"
+license=('GPL3')
+depends=('deepin-picker' 'deepin-qt5integration' 'freeimage' 'libexif' 'qt5-imageformats')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz"
+ deepin-draw-missing-includes.patch
+ fix-build.patch)
+sha512sums=('a63007d344edd8f094e73693d1d10618116139783eed3a2aaf0e43ddc32e26616b95bdcc0c6c59213e9c750289a739f67b34c8acdacf2cfa4d759fbaf795097a'
+ '82016ef6a077d6887d52ff8e3f6fb6d3d2b10880cbeef76a54efa62551a62a7cbd38fb4a1a14fa5808039ab3ae1ad7c82275469386289fa42b5048c4d4eaeec7'
+ 'adc318a87cf0ce5aa597a7ad7680cadd6b6a9178b39eed7d3fb2ca9d0ddbfc68635bb252a0f9f8848d2b8e0e08e8ce102bb23df7015c051a20e0b210fc9d7f59')
+
+prepare() {
+ cd deepin-draw-$pkgver
+ patch -p1 -i ../deepin-draw-missing-includes.patch # Fix missing includes
+ sed -i '/include <DGraphicsView>/i #include <QFileDevice>' frame/cgraphicsview.h
+ sed -i '/include <QPainter>/a #include <QMouseEvent>' widgets/ciconbutton.cpp
+ patch -p1 -i ../fix-build.patch
+}
+
+build() {
+ cd deepin-draw-$pkgver
+
+ qmake-qt5
+ make
+}
+
+package() {
+ cd deepin-draw-$pkgver
+ make INSTALL_ROOT="$pkgdir" install -j1
+}
Copied: deepin-draw/repos/community-testing-x86_64/deepin-draw-missing-includes.patch (from rev 1142174, deepin-draw/trunk/deepin-draw-missing-includes.patch)
===================================================================
--- community-testing-x86_64/deepin-draw-missing-includes.patch (rev 0)
+++ community-testing-x86_64/deepin-draw-missing-includes.patch 2022-03-05 11:54:27 UTC (rev 1142175)
@@ -0,0 +1,49 @@
+diff --git a/widgets/ccheckbutton.h b/widgets/ccheckbutton.h
+index c219285..0273c59 100644
+--- a/widgets/ccheckbutton.h
++++ b/widgets/ccheckbutton.h
+@@ -21,6 +21,7 @@
+
+ #include <QMap>
+ #include <DToolButton>
++#include <DWidget>
+
+ DWIDGET_USE_NAMESPACE
+
+diff --git a/widgets/cclickbutton.h b/widgets/cclickbutton.h
+index 7da95b4..d1f0eed 100644
+--- a/widgets/cclickbutton.h
++++ b/widgets/cclickbutton.h
+@@ -20,6 +20,7 @@
+ #define CCLICKBUTTON_H
+
+ #include <DToolButton>
++#include <DWidget>
+
+ DWIDGET_USE_NAMESPACE
+
+diff --git a/frame/linewidget.h b/frame/linewidget.h
+index a8e28091..c9897e5b 100644
+--- a/frame/linewidget.h
++++ b/frame/linewidget.h
+@@ -21,7 +21,7 @@
+
+ #include <DWidget>
+ #include <DLabel>
+-
++#include <DComboBox>
+ #include "drawshape/globaldefine.h"
+
+ class CSideWidthWidget;
+diff --git a/widgets/csidewidthwidget.h b/widgets/csidewidthwidget.h
+index f3027762..71cc94f1 100644
+--- a/widgets/csidewidthwidget.h
++++ b/widgets/csidewidthwidget.h
+@@ -25,6 +25,7 @@
+ #include <DFrame>
+ #include <QHBoxLayout>
+ #include <DWidget>
++#include <DComboBox>
+
+ DWIDGET_USE_NAMESPACE
+
Copied: deepin-draw/repos/community-testing-x86_64/fix-build.patch (from rev 1142174, deepin-draw/trunk/fix-build.patch)
===================================================================
--- community-testing-x86_64/fix-build.patch (rev 0)
+++ community-testing-x86_64/fix-build.patch 2022-03-05 11:54:27 UTC (rev 1142175)
@@ -0,0 +1,13 @@
+diff --git a/frame/textwidget.cpp b/frame/textwidget.cpp
+index 02ada9f8..932a3b04 100644
+--- a/frame/textwidget.cpp
++++ b/frame/textwidget.cpp
+@@ -63,7 +63,7 @@ void TextWidget::initUI()
+ m_fontFamilyLabel->setFont(ft);
+ m_fontComBox = new CFontComboBox(this);
+ m_fontComBox->setFont(ft);
+- m_fontComBox->setFontFilters(DFontComboBox::AllFonts);
++ m_fontComBox->setFontFilters(QFontComboBox::AllFonts);
+
+ m_fontComBox->setFixedSize(QSize(240, 36));
+ m_fontComBox->setCurrentIndex(0);
More information about the arch-commits
mailing list