[arch-commits] Commit in deepin-system-monitor/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Sep 10 12:52:21 UTC 2020
Date: Thursday, September 10, 2020 @ 12:52:21
Author: felixonmars
Revision: 701733
archrelease: copy trunk to community-x86_64
Added:
deepin-system-monitor/repos/community-x86_64/PKGBUILD
(from rev 701732, deepin-system-monitor/trunk/PKGBUILD)
deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install
(from rev 701732, deepin-system-monitor/trunk/deepin-system-monitor.install)
Deleted:
deepin-system-monitor/repos/community-x86_64/PKGBUILD
deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install
-------------------------------+
PKGBUILD | 90 ++++++++++++++++++++--------------------
deepin-system-monitor.install | 14 +++---
2 files changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-10 12:51:59 UTC (rev 701732)
+++ PKGBUILD 2020-09-10 12:52:21 UTC (rev 701733)
@@ -1,45 +0,0 @@
-# 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-system-monitor
-pkgver=5.6.22
-pkgrel=1
-pkgdesc='A more user-friendly system monitor'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-system-monitor"
-license=('GPL3')
-depends=('deepin-qt5integration' 'dtkwm' 'procps-ng' 'libcap')
-makedepends=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
-groups=('deepin')
-install=deepin-system-monitor.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz")
-sha512sums=('decfa9ba717a54366277b77a1a6deeeb4fb5dd1a2ba205e6a02e4725ce5625d1505527555d2c12c5c98ca7711b639615be5fdeba89754d328acfb595f20a9599')
-
-prepare() {
- cd deepin-system-monitor-$pkgver
-# Upstream likes to refactor code while ignoring pull requests
- sed -i '20i#include <QMap>\n#include <QHash>\n#include <QPainterPath>' src/compact_memory_monitor.cpp
- sed -i '1i#include <QPainterPath>' src/memory_monitor.cpp src/compact_network_monitor.h \
- src/network_monitor.h src/utils.cpp \
- src/gui/system_service_page_widget.cpp \
- src/gui/process_page_widget.cpp \
- src/gui/base_header_view.cpp src/disk_monitor.h \
- src/cpu_monitor.h src/compact_disk_monitor.h \
- src/compact_cpu_monitor.cpp
-# Workaround build failure with GCC 10
- sed -e 's|print_err|print_err_system|g' -i src/process/system_stat.cpp
- sed -e 's|print_err|print_err_process|g' -i src/process/process_stat.cpp
- sed -e 's|print_err|print_err_desktop|g' -i src/process/desktop_entry_stat.cpp
-}
-
-build() {
- cd deepin-system-monitor-$pkgver
- cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
- ninja
-}
-
-package() {
- cd deepin-system-monitor-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-system-monitor/repos/community-x86_64/PKGBUILD (from rev 701732, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-10 12:52:21 UTC (rev 701733)
@@ -0,0 +1,45 @@
+# 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-system-monitor
+pkgver=5.6.22
+pkgrel=2
+pkgdesc='A more user-friendly system monitor'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-system-monitor"
+license=('GPL3')
+depends=('deepin-qt5integration' 'dtkwm' 'procps-ng' 'libcap')
+makedepends=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
+groups=('deepin')
+install=deepin-system-monitor.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz")
+sha512sums=('decfa9ba717a54366277b77a1a6deeeb4fb5dd1a2ba205e6a02e4725ce5625d1505527555d2c12c5c98ca7711b639615be5fdeba89754d328acfb595f20a9599')
+
+prepare() {
+ cd deepin-system-monitor-$pkgver
+# Upstream likes to refactor code while ignoring pull requests
+ sed -i '20i#include <QMap>\n#include <QHash>\n#include <QPainterPath>' src/compact_memory_monitor.cpp
+ sed -i '1i#include <QPainterPath>' src/memory_monitor.cpp src/compact_network_monitor.h \
+ src/network_monitor.h src/utils.cpp \
+ src/gui/system_service_page_widget.cpp \
+ src/gui/process_page_widget.cpp \
+ src/gui/base_header_view.cpp src/disk_monitor.h \
+ src/cpu_monitor.h src/compact_disk_monitor.h \
+ src/compact_cpu_monitor.cpp
+# Workaround build failure with GCC 10
+ sed -e 's|print_err|print_err_system|g' -i src/process/system_stat.cpp
+ sed -e 's|print_err|print_err_process|g' -i src/process/process_stat.cpp
+ sed -e 's|print_err|print_err_desktop|g' -i src/process/desktop_entry_stat.cpp
+}
+
+build() {
+ cd deepin-system-monitor-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
+}
+
+package() {
+ cd deepin-system-monitor-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
Deleted: deepin-system-monitor.install
===================================================================
--- deepin-system-monitor.install 2020-09-10 12:51:59 UTC (rev 701732)
+++ deepin-system-monitor.install 2020-09-10 12:52:21 UTC (rev 701733)
@@ -1,7 +0,0 @@
-post_install() {
- setcap cap_kill,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep usr/bin/deepin-system-monitor
-}
-
-post_upgrade() {
- post_install
-}
Copied: deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install (from rev 701732, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- deepin-system-monitor.install (rev 0)
+++ deepin-system-monitor.install 2020-09-10 12:52:21 UTC (rev 701733)
@@ -0,0 +1,7 @@
+post_install() {
+ setcap cap_kill,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep usr/bin/deepin-system-monitor
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list