[arch-commits] Commit in deepin-anything/repos/community-x86_64 (5 files)

Felix Yan felixonmars at archlinux.org
Thu May 9 06:25:56 UTC 2019


    Date: Thursday, May 9, 2019 @ 06:25:56
  Author: felixonmars
Revision: 463897

archrelease: copy trunk to community-x86_64

Added:
  deepin-anything/repos/community-x86_64/PKGBUILD
    (from rev 463896, deepin-anything/trunk/PKGBUILD)
  deepin-anything/repos/community-x86_64/deepin-anything-server.sysusers
    (from rev 463896, 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/kernel-5.1.patch

---------------------------------+
 PKGBUILD                        |   99 ++++++++++++++++++--------------------
 deepin-anything-server.sysusers |    4 -
 kernel-5.1.patch                |   13 ----
 3 files changed, 50 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-09 06:25:43 UTC (rev 463896)
+++ PKGBUILD	2019-05-09 06:25:56 UTC (rev 463897)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=deepin-anything
-pkgname=(deepin-anything deepin-anything-dkms)
-pkgver=0.0.7
-_extramodules=extramodules-ARCH
-pkgrel=2
-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
-        kernel-5.1.patch)
-sha512sums=('b0951ada69a12123337d276e2cdfdd3f3c7ca3f41ac8688f0e4758b732bbe5635b34e9064dd778fb3cf9e7829e20dfa9b59135db5b19a107f194e71071662924'
-            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
-            'b23a7ad54866e04bb86ba401b144ea73725451852e8fb1ab54059a4c685203e9bbd16205b558191f0f33caa8c22a6066077a2068a346ff16f007ae7c5e31ccc7')
-
-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
-  patch -p1 -i ../kernel-5.1.patch
-}
-
-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"
-}

Copied: deepin-anything/repos/community-x86_64/PKGBUILD (from rev 463896, deepin-anything/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-09 06:25:56 UTC (rev 463897)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=deepin-anything
+pkgname=(deepin-anything deepin-anything-dkms)
+pkgver=0.0.8
+_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=('362cb94124daae214bf477179ff19177501938b8fb7972bbc208486cd24c7712e13f0ebe2d47df4583fe2d0735734282ee8461c57323b2dd3b8d2827b2b180b6'
+            '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-05-09 06:25:43 UTC (rev 463896)
+++ deepin-anything-server.sysusers	2019-05-09 06:25:56 UTC (rev 463897)
@@ -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 463896, deepin-anything/trunk/deepin-anything-server.sysusers)
===================================================================
--- deepin-anything-server.sysusers	                        (rev 0)
+++ deepin-anything-server.sysusers	2019-05-09 06:25:56 UTC (rev 463897)
@@ -0,0 +1,2 @@
+u deepin_anything_server - "Deepin Anything Server"
+g deepin_anything_server -

Deleted: kernel-5.1.patch
===================================================================
--- kernel-5.1.patch	2019-05-09 06:25:43 UTC (rev 463896)
+++ kernel-5.1.patch	2019-05-09 06:25:56 UTC (rev 463897)
@@ -1,13 +0,0 @@
-diff --git a/kernelmod/vfs_utils.c b/kernelmod/vfs_utils.c
-index d166f18..2549e10 100644
---- a/kernelmod/vfs_utils.c
-+++ b/kernelmod/vfs_utils.c
-@@ -24,7 +24,7 @@ char* __init read_file_content(const char* filename, int *real_size)
- 		return 0;
- 	}
- 	mm_segment_t old_fs = get_fs();
--	set_fs(get_ds());
-+	set_fs(KERNEL_DS);
- 
- 	// i_size_read is useless here because procfs does not have i_size
- 	// loff_t size = i_size_read(file_inode(filp));



More information about the arch-commits mailing list