[arch-commits] Commit in deepin-anything/trunk (PKGBUILD linux-4.20.patch)

Felix Yan felixonmars at archlinux.org
Wed Mar 27 13:06:49 UTC 2019


    Date: Wednesday, March 27, 2019 @ 13:06:48
  Author: felixonmars
Revision: 444333

upgpkg: deepin-anything 0.0.5-1

Modified:
  deepin-anything/trunk/PKGBUILD
Deleted:
  deepin-anything/trunk/linux-4.20.patch

------------------+
 PKGBUILD         |   20 +++++++-------------
 linux-4.20.patch |   16 ----------------
 2 files changed, 7 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-27 13:03:24 UTC (rev 444332)
+++ PKGBUILD	2019-03-27 13:06:48 UTC (rev 444333)
@@ -2,28 +2,22 @@
 
 pkgbase=deepin-anything
 pkgname=(deepin-anything deepin-anything-dkms)
-pkgver=0.0.4
+pkgver=0.0.5
 _extramodules=extramodules-ARCH
-pkgrel=2
+pkgrel=1
 pkgdesc="Deepin Anything file search tool"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-anything"
 license=('GPL3')
-makedepends=('qt5-base')
+makedepends=('dtkcore' 'udisks2-qt5')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
-        deepin-anything-server.sysusers
-        linux-4.20.patch
-        "linux-5.patch::$url/commit/d3c353f11989a6221f9378b4ce7bf0608c0cd8e9.patch")
-sha512sums=('fcb7683ce3bef818ac06dd62f14b5624669f9c09b53c5f08e319b724f5408bc221154428a6436d9e2a68aa6444e966c494c8a7611dfed0c93b6b9e71a3da0f55'
-            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
-            'dc3c85e9535cc589fdf56d265c4330519c92b5bcc406153e3162ba6ef5e799b702c394e1961132770f4f3ddd288dbbfe74a9d8056329e4585eb5a2094ffe0155'
-            'dc4becdd7d4db6b8ffa7f5eb1eb68ea370e25ba0713b7203e18f5611cc127b0a5f101f49f9f71960439be7af783e0fede3599273772dda8135c47fc884f8b7e9')
+        deepin-anything-server.sysusers)
+sha512sums=('bda1de375d376a1f4f28c279c9f800e54640583203ce543a7464317b06666f74b629c0fa3ebd18eb3028fe4a738a1b3beb7fd880c597c60c1d1bf67df9998d46'
+            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85')
 
 prepare() {
   cd deepin-anything-$pkgver
-  patch -p1 -i ../linux-5.patch
-  patch -p1 -i ../linux-4.20.patch
-  sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/src/src.pro
+  sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/monitor/src/src.pro
 }
 
 build() {

Deleted: linux-4.20.patch
===================================================================
--- linux-4.20.patch	2019-03-27 13:03:24 UTC (rev 444332)
+++ linux-4.20.patch	2019-03-27 13:06:48 UTC (rev 444333)
@@ -1,16 +0,0 @@
-diff --git a/kernelmod/vfs_change.c b/kernelmod/vfs_change.c
-index 0d6d360..d09e439 100644
---- a/kernelmod/vfs_change.c
-+++ b/kernelmod/vfs_change.c
-@@ -115,7 +115,11 @@ static ssize_t copy_vfs_changes(struct timeval *last, char* buf, size_t size)
- 
- 		time_t shifted_secs = vc->ts.tv_sec + hour_shift*3600;
- 		struct tm ts;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 20, 0)
- 		time_to_tm(shifted_secs, 0, &ts);
-+#else
-+		time64_to_tm(shifted_secs, 0, &ts);
-+#endif
- 		char temp[MIN_LINE_SIZE];
- 		snprintf(temp, sizeof(temp), "%04ld-%02d-%02d %02d:%02d:%02d.%03ld %s ",
- 			1900+ts.tm_year, 1+ts.tm_mon, ts.tm_mday, ts.tm_hour, ts.tm_min, ts.tm_sec, vc->ts.tv_usec/1000, 


More information about the arch-commits mailing list