[arch-commits] Commit in deepin-editor/repos/community-x86_64 (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Jun 11 20:52:56 UTC 2022


    Date: Saturday, June 11, 2022 @ 20:52:55
  Author: felixonmars
Revision: 1234931

archrelease: copy trunk to community-x86_64

Added:
  deepin-editor/repos/community-x86_64/PKGBUILD
    (from rev 1234930, deepin-editor/trunk/PKGBUILD)
  deepin-editor/repos/community-x86_64/fix-include.patch
    (from rev 1234930, deepin-editor/trunk/fix-include.patch)
Deleted:
  deepin-editor/repos/community-x86_64/PKGBUILD

-------------------+
 PKGBUILD          |   68 ++++++++++++++++++++++++++++------------------------
 fix-include.patch |   36 +++++++++++++++++++++++++++
 2 files changed, 73 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-11 20:52:41 UTC (rev 1234930)
+++ PKGBUILD	2022-06-11 20:52:55 UTC (rev 1234931)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-editor
-pkgver=5.10.14
-pkgrel=1
-pkgdesc='Simple editor for Deepin'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-editor"
-license=('GPL3')
-depends=('deepin-qt5integration' 'enca' 'kcodecs' 'polkit-qt5' 'syntax-highlighting' 'libchardet' 'uchardet')
-makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-editor/archive/$pkgver.tar.gz")
-sha512sums=('42a32366fe18e0d56aecbc0f004ffae843e6d741345c44f83b910407cdebea5892147a8113361da13cb9fe41f2d3351dd0ec643a34721368d0915ad2e044f4ec')
-
-build(){
-  cd deepin-editor-$pkgver
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
-  ninja
-}
-
-check() {
-  cd deepin-editor-$pkgver
-  # As of 5.10.14: test hangs
-  # ninja test
-}
-
-package() {
-  cd deepin-editor-$pkgver
-  DESTDIR="$pkgdir" ninja install
-}

Copied: deepin-editor/repos/community-x86_64/PKGBUILD (from rev 1234930, deepin-editor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-11 20:52:55 UTC (rev 1234931)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-editor
+pkgver=5.10.18
+pkgrel=1
+pkgdesc='Simple editor for Deepin'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-editor"
+license=('GPL3')
+depends=('deepin-qt5integration' 'enca' 'kcodecs' 'polkit-qt5' 'syntax-highlighting' 'libchardet' 'uchardet')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-editor/archive/$pkgver.tar.gz"
+        fix-include.patch)
+sha512sums=('17e661e7314e24ef778fdc40e1562e2ec91cb7c776c7e34e745c654d86d9a31091270dfd3cb5cec59e04bdd761070bc59f9f9ca9760747e96acf027480755ef1'
+            '95809c705ab47c5c670a32605b815742225929db49cf0a62ff2cf82c1ff6ffeb190731fbee2a8e7002457fe072efc9fff741309655b7bfeeb3d06d240aa66750')
+
+prepare() {
+  cd deepin-editor-$pkgver
+  patch -p1 -i ../fix-include.patch
+}
+
+build() {
+  cd deepin-editor-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+  ninja
+}
+
+check() {
+  cd deepin-editor-$pkgver
+  ninja test || echo "Tests failed"
+}
+
+package() {
+  cd deepin-editor-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Copied: deepin-editor/repos/community-x86_64/fix-include.patch (from rev 1234930, deepin-editor/trunk/fix-include.patch)
===================================================================
--- fix-include.patch	                        (rev 0)
+++ fix-include.patch	2022-06-11 20:52:55 UTC (rev 1234931)
@@ -0,0 +1,36 @@
+diff --git a/src/editor/dtextedit.cpp b/src/editor/dtextedit.cpp
+index 473a557d..da322f69 100644
+--- a/src/editor/dtextedit.cpp
++++ b/src/editor/dtextedit.cpp
+@@ -33,9 +33,9 @@
+ #include "insertblockbytextcommond.h"
+ 
+ 
+-#include <KF5/KSyntaxHighlighting/definition.h>
+-#include <KF5/KSyntaxHighlighting/syntaxhighlighter.h>
+-#include <KF5/KSyntaxHighlighting/theme.h>
++#include <KSyntaxHighlighting/definition.h>
++#include <KSyntaxHighlighting/syntaxhighlighter.h>
++#include <KSyntaxHighlighting/theme.h>
+ 
+ #include <QAbstractTextDocumentLayout>
+ #include <QTextDocumentFragment>
+diff --git a/src/editor/showflodcodewidget.h b/src/editor/showflodcodewidget.h
+index def67adc..5d2e5b7b 100644
+--- a/src/editor/showflodcodewidget.h
++++ b/src/editor/showflodcodewidget.h
+@@ -23,10 +23,10 @@
+ #include <DFrame>
+ #include <DPlainTextEdit>
+ #include <DApplicationHelper>
+-#include <KF5/KSyntaxHighlighting/repository.h>
+-#include <KF5/KSyntaxHighlighting/definition.h>
+-#include <KF5/KSyntaxHighlighting/syntaxhighlighter.h>
+-#include <KF5/KSyntaxHighlighting/theme.h>
++#include <KSyntaxHighlighting/repository.h>
++#include <KSyntaxHighlighting/definition.h>
++#include <KSyntaxHighlighting/syntaxhighlighter.h>
++#include <KSyntaxHighlighting/theme.h>
+ 
+ DWIDGET_USE_NAMESPACE
+ 



More information about the arch-commits mailing list