[arch-commits] Commit in deepin-file-manager/repos (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 8 12:42:13 UTC 2022


    Date: Thursday, September 8, 2022 @ 12:42:13
  Author: arojas
Revision: 1296794

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-file-manager/repos/community-staging-x86_64/
  deepin-file-manager/repos/community-staging-x86_64/PKGBUILD
    (from rev 1296793, deepin-file-manager/trunk/PKGBUILD)
  deepin-file-manager/repos/community-staging-x86_64/gcc12.patch
    (from rev 1296793, deepin-file-manager/trunk/gcc12.patch)

-------------+
 PKGBUILD    |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 gcc12.patch |   25 +++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

Copied: deepin-file-manager/repos/community-staging-x86_64/PKGBUILD (from rev 1296793, deepin-file-manager/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-09-08 12:42:13 UTC (rev 1296794)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-file-manager
+pkgver=5.6.4
+pkgrel=2
+epoch=1
+pkgdesc='Deepin File Manager'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-file-manager"
+license=('GPL3')
+options=('debug')
+# startdde: for com.deepin.SessionManager
+depends=('deepin-qt5integration' 'deepin-anything' 'disomaster' 'docparser' 'file' 'gio-qt'
+         'libmediainfo' 'lucene++' 'avfs' 'polkit-qt5' 'poppler' 'ffmpegthumbnailer' 'jemalloc'
+         'kcodecs' 'startdde' 'taglib' 'htmlcxx' 'libgsf' 'mimetic' 'boost-libs')
+makedepends=('boost' 'qt5-tools' 'deepin-dock' 'deepin-movie' 'deepin-gettext-tools')
+optdepends=('deepin-manual: for help menual'
+            'deepin-shortcut-viewer: for shortcut display'
+            'deepin-screensaver: for screensaver chooser'
+            'deepin-movie: for video preview'
+            'deepin-terminal: for opening in terminal'
+            'deepin-compressor: for compress/decompress')
+groups=('deepin')
+provides=('deepin-desktop')
+conflicts=('deepin-desktop')
+replaces=('deepin-desktop')
+source=("https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        $pkgname-fix-crash-426.patch::https://github.com/linuxdeepin/dde-file-manager/pull/426.patch
+        gcc12.patch)
+sha512sums=('e913e2689dfe6460239b19c0a59c2affed36f1ef2d4832e2eddb709b74aa939da970a040fd4dd874398a055fc945078373a7f763f5e78d391de4ea0380f09c8e'
+            'd27e606930349f906407cd3710894c8ed1080d0a0b9bcfedf01221b830530439b17c369f8c46897ab278b4c083f96ffba64bb024a0e177ccdd716fe5b82d6685'
+            '4e3a35742efd43ecfc70a9bfa7e41b80e73a9197f0afa922d300ac27d655286d6fe3c8891c8a13bf08fd1e0e0b0d6a03e63f7f8af18e00673ea51db549fd5f46')
+
+prepare() {
+  cd dde-file-manager-$pkgver
+  patch -p1 -i ../$pkgname-fix-crash-426.patch
+  patch -p1 -i ../gcc12.patch # Fix build with GCC 12
+  sed -e 's|systembusconf.path = /etc/dbus-1/system.d|systembusconf.path = /usr/share/dbus-1/system.d|' \
+      -e 's|systemd_service.path = /lib/systemd/system|systemd_service.path = /usr/lib/systemd/system|' \
+      -i src/dde-file-manager-daemon/dde-file-manager-daemon.pro
+}
+
+build() {
+  cd dde-file-manager-$pkgver
+  qmake-qt5 PREFIX=/usr filemanager.pro
+  make
+}
+
+package() {
+  cd dde-file-manager-$pkgver
+  make INSTALL_ROOT="$pkgdir" install -j1
+}

Copied: deepin-file-manager/repos/community-staging-x86_64/gcc12.patch (from rev 1296793, deepin-file-manager/trunk/gcc12.patch)
===================================================================
--- community-staging-x86_64/gcc12.patch	                        (rev 0)
+++ community-staging-x86_64/gcc12.patch	2022-09-08 12:42:13 UTC (rev 1296794)
@@ -0,0 +1,25 @@
+diff --git a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
+index 80c5c202c..3d6bc9988 100644
+--- a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
++++ b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
+@@ -29,6 +29,7 @@
+ #include <QComboBox>
+ #include <QHBoxLayout>
+ #include <QStackedLayout>
++#include <array>
+ 
+ #include "interfaces/dfileservices.h"
+ 
+diff --git a/src/dde-file-manager-lib/views/drenamebar.h b/src/dde-file-manager-lib/views/drenamebar.h
+index 45f3b094a..5ada4bcb8 100644
+--- a/src/dde-file-manager-lib/views/drenamebar.h
++++ b/src/dde-file-manager-lib/views/drenamebar.h
+@@ -29,7 +29,7 @@
+ #include <QList>
+ #include <QFrame>
+ #include <memory>
+-
++#include <array>
+ 
+ #include "shutil/filebatchprocess.h"
+ 



More information about the arch-commits mailing list