[arch-commits] Commit in deepin-anything/repos/community-x86_64 (7 files)
Felix Yan
felixonmars at archlinux.org
Sat Feb 16 17:28:11 UTC 2019
Date: Saturday, February 16, 2019 @ 17:28:09
Author: felixonmars
Revision: 433554
archrelease: copy trunk to community-x86_64
Added:
deepin-anything/repos/community-x86_64/PKGBUILD
(from rev 433553, deepin-anything/trunk/PKGBUILD)
deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers
(from rev 433553, deepin-anything/trunk/deepin-anything-server.sysusers)
deepin-anything/repos/community-x86_64/linux-4.20.patch
(from rev 433553, deepin-anything/trunk/linux-4.20.patch)
Deleted:
deepin-anything/repos/community-x86_64/PKGBUILD
deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers
deepin-anything/repos/community-x86_64/fix-include.patch
deepin-anything/repos/community-x86_64/linux-4.20.patch
---------------------------------+
PKGBUILD | 105 ++++++++++++++++++--------------------
deepin-anything-server.sysusers | 4 -
fix-include.patch | 12 ----
linux-4.20.patch | 32 +++++------
4 files changed, 69 insertions(+), 84 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-16 17:27:46 UTC (rev 433553)
+++ PKGBUILD 2019-02-16 17:28:09 UTC (rev 433554)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=deepin-anything
-pkgname=(deepin-anything deepin-anything-dkms)
-pkgver=0.0.3
-_extramodules=extramodules-ARCH
-pkgrel=5
-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
- fix-include.patch
- linux-4.20.patch)
-sha512sums=('8a506ba57d6a2ac9c9089719d18013fbde6443cb4f63de79498269e728b7e8725b4e06e7029ae2d2242aaac955c63e56c680fdd18e3fb0d72e9953a9fc5e8402'
- '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
- '55498f8b14e1b233b4052d516b880f4c27797eede46481135dcf76808e9f00f4ac4fdd0e2e2d7d478d335fb12b7137ca1bef0745e1c8b4195e025b81eec94d21'
- 'dc3c85e9535cc589fdf56d265c4330519c92b5bcc406153e3162ba6ef5e799b702c394e1961132770f4f3ddd288dbbfe74a9d8056329e4585eb5a2094ffe0155')
-
-prepare() {
- cd deepin-anything-$pkgver
- patch -p1 -i ../fix-include.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 433553, deepin-anything/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-16 17:28:09 UTC (rev 433554)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=deepin-anything
+pkgname=(deepin-anything deepin-anything-dkms)
+pkgver=0.0.4
+_extramodules=extramodules-ARCH
+pkgrel=1
+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)
+sha512sums=('fcb7683ce3bef818ac06dd62f14b5624669f9c09b53c5f08e319b724f5408bc221154428a6436d9e2a68aa6444e966c494c8a7611dfed0c93b6b9e71a3da0f55'
+ '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
+ 'dc3c85e9535cc589fdf56d265c4330519c92b5bcc406153e3162ba6ef5e799b702c394e1961132770f4f3ddd288dbbfe74a9d8056329e4585eb5a2094ffe0155')
+
+prepare() {
+ cd deepin-anything-$pkgver
+ 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"
+}
Deleted: deepin-anything-server.sysusers
===================================================================
--- deepin-anything-server.sysusers 2019-02-16 17:27:46 UTC (rev 433553)
+++ deepin-anything-server.sysusers 2019-02-16 17:28:09 UTC (rev 433554)
@@ -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 433553, deepin-anything/trunk/deepin-anything-server.sysusers)
===================================================================
--- deepin-anything-server.sysusers (rev 0)
+++ deepin-anything-server.sysusers 2019-02-16 17:28:09 UTC (rev 433554)
@@ -0,0 +1,2 @@
+u deepin_anything_server - "Deepin Anything Server"
+g deepin_anything_server -
Deleted: fix-include.patch
===================================================================
--- fix-include.patch 2019-02-16 17:27:46 UTC (rev 433553)
+++ fix-include.patch 2019-02-16 17:28:09 UTC (rev 433554)
@@ -1,12 +0,0 @@
-diff --git a/library/src/walkdir.c b/library/src/walkdir.c
-index ffd78df..8319fc0 100644
---- a/library/src/walkdir.c
-+++ b/library/src/walkdir.c
-@@ -6,6 +6,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <dirent.h>
- #include <limits.h>
-
Deleted: linux-4.20.patch
===================================================================
--- linux-4.20.patch 2019-02-16 17:27:46 UTC (rev 433553)
+++ linux-4.20.patch 2019-02-16 17:28:09 UTC (rev 433554)
@@ -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,
Copied: deepin-anything/repos/community-x86_64/linux-4.20.patch (from rev 433553, deepin-anything/trunk/linux-4.20.patch)
===================================================================
--- linux-4.20.patch (rev 0)
+++ linux-4.20.patch 2019-02-16 17:28:09 UTC (rev 433554)
@@ -0,0 +1,16 @@
+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