[arch-commits] Commit in deepin-anything/repos/community-x86_64 (5 files)
Felix Yan
felixonmars at archlinux.org
Wed Mar 27 13:10:01 UTC 2019
Date: Wednesday, March 27, 2019 @ 13:10:00
Author: felixonmars
Revision: 444335
archrelease: copy trunk to community-x86_64
Added:
deepin-anything/repos/community-x86_64/PKGBUILD
(from rev 444334, deepin-anything/trunk/PKGBUILD)
deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers
(from rev 444334, deepin-anything/trunk/deepin-anything-server.sysusers)
Deleted:
deepin-anything/repos/community-x86_64/PKGBUILD
deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers
deepin-anything/repos/community-x86_64/linux-4.20.patch
---------------------------------+
PKGBUILD | 102 +++++++++++++++++---------------------
deepin-anything-server.sysusers | 4 -
linux-4.20.patch | 16 -----
3 files changed, 50 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-27 13:09:41 UTC (rev 444334)
+++ PKGBUILD 2019-03-27 13:10:00 UTC (rev 444335)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=deepin-anything
-pkgname=(deepin-anything deepin-anything-dkms)
-pkgver=0.0.4
-_extramodules=extramodules-ARCH
-pkgrel=2
-pkgdesc="Deepin Anything file search tool"
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-anything"
-license=('GPL3')
-makedepends=('qt5-base')
-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')
-
-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
-}
-
-build() {
- cd deepin-anything-$pkgver
- make VERSION=$pkgver
-}
-
-package_deepin-anything-dkms() {
- depends=('dkms')
- provides=('DEEPIN-ANYTHING-MODULE')
- conflicts=('DEEPIN-ANYTHING-MODULE')
-
- cd deepin-anything-$pkgver
- install -dm 755 "$pkgdir"/usr/src
- cp -r kernelmod "$pkgdir"/usr/src/deepin-anything-$pkgver
- install -m644 debian/deepin-anything-dkms.dkms "$pkgdir"/usr/src/deepin-anything-$pkgver/dkms.conf
-}
-
-package_deepin-anything() {
- depends=('DEEPIN-ANYTHING-MODULE' 'qt5-base')
- groups=('deepin')
-
- cd deepin-anything-$pkgver
- make VERSION=$pkgver DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/src
-
- install -Dm644 ../deepin-anything-server.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-anything-server.conf"
-}
Copied: deepin-anything/repos/community-x86_64/PKGBUILD (from rev 444334, deepin-anything/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-27 13:10:00 UTC (rev 444335)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=deepin-anything
+pkgname=(deepin-anything deepin-anything-dkms)
+pkgver=0.0.5
+_extramodules=extramodules-ARCH
+pkgrel=1
+pkgdesc="Deepin Anything file search tool"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-anything"
+license=('GPL3')
+makedepends=('dtkcore' 'udisks2-qt5')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
+ deepin-anything-server.sysusers)
+sha512sums=('bda1de375d376a1f4f28c279c9f800e54640583203ce543a7464317b06666f74b629c0fa3ebd18eb3028fe4a738a1b3beb7fd880c597c60c1d1bf67df9998d46'
+ '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85')
+
+prepare() {
+ cd deepin-anything-$pkgver
+ sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/monitor/src/src.pro server/tool/tool.pro
+}
+
+build() {
+ cd deepin-anything-$pkgver
+ make VERSION=$pkgver
+}
+
+package_deepin-anything-dkms() {
+ depends=('dkms')
+ provides=('DEEPIN-ANYTHING-MODULE')
+ conflicts=('DEEPIN-ANYTHING-MODULE')
+
+ cd deepin-anything-$pkgver
+ install -dm 755 "$pkgdir"/usr/src
+ cp -r kernelmod "$pkgdir"/usr/src/deepin-anything-$pkgver
+ install -m644 debian/deepin-anything-dkms.dkms "$pkgdir"/usr/src/deepin-anything-$pkgver/dkms.conf
+}
+
+package_deepin-anything() {
+ depends=('DEEPIN-ANYTHING-MODULE' 'dtkcore' 'udisks2-qt5')
+ groups=('deepin')
+
+ cd deepin-anything-$pkgver
+ make VERSION=$pkgver DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/src
+
+ install -Dm644 ../deepin-anything-server.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-anything-server.conf"
+}
Deleted: deepin-anything-server.sysusers
===================================================================
--- deepin-anything-server.sysusers 2019-03-27 13:09:41 UTC (rev 444334)
+++ deepin-anything-server.sysusers 2019-03-27 13:10:00 UTC (rev 444335)
@@ -1,2 +0,0 @@
-u deepin_anything_server - "Deepin Anything Server"
-g deepin_anything_server -
Copied: deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers (from rev 444334, deepin-anything/trunk/deepin-anything-server.sysusers)
===================================================================
--- deepin-anything-server.sysusers (rev 0)
+++ deepin-anything-server.sysusers 2019-03-27 13:10:00 UTC (rev 444335)
@@ -0,0 +1,2 @@
+u deepin_anything_server - "Deepin Anything Server"
+g deepin_anything_server -
Deleted: linux-4.20.patch
===================================================================
--- linux-4.20.patch 2019-03-27 13:09:41 UTC (rev 444334)
+++ linux-4.20.patch 2019-03-27 13:10:00 UTC (rev 444335)
@@ -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