[arch-commits] Commit in deepin-system-monitor/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 10:43:22 UTC 2020
Date: Sunday, November 15, 2020 @ 10:43:22
Author: felixonmars
Revision: 754384
archrelease: copy trunk to community-x86_64
Added:
deepin-system-monitor/repos/community-x86_64/PKGBUILD
(from rev 754383, deepin-system-monitor/trunk/PKGBUILD)
deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install
(from rev 754383, 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-11-15 10:43:05 UTC (rev 754383)
+++ PKGBUILD 2020-11-15 10:43:22 UTC (rev 754384)
@@ -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.8.0.2
-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=('09a36f220a4f02041e4f94b5eb4a81f575aa98b2e4b28ec6e4680204fa3a48742987f7ee91d24a614b021fbf6fb0aa25899a66b8fb1b3aa5555213edd7398b8c')
-
-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 754383, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-15 10:43:22 UTC (rev 754384)
@@ -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.8.0.3
+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=('4d5fae65efe3f1c2e81e3e62d2ade75cbd4373e79b43b88ecc690cdc16503977c5636ef905f502c8aa2cf5dfd7d514490fdcebc57261fbd8c2da842193a0370d')
+
+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-11-15 10:43:05 UTC (rev 754383)
+++ deepin-system-monitor.install 2020-11-15 10:43:22 UTC (rev 754384)
@@ -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 754383, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- deepin-system-monitor.install (rev 0)
+++ deepin-system-monitor.install 2020-11-15 10:43:22 UTC (rev 754384)
@@ -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