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

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


    Date: Thursday, May 9, 2019 @ 06:56:49
  Author: felixonmars
Revision: 463939

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD
    (from rev 463938, deepin-anything-arch/trunk/PKGBUILD)
Deleted:
  deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD
  deepin-anything-arch/repos/community-staging-x86_64/kernel-5.1.patch

------------------+
 PKGBUILD         |   62 +++++++++++++++++++++++------------------------------
 kernel-5.1.patch |   13 -----------
 2 files changed, 28 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-09 06:56:39 UTC (rev 463938)
+++ PKGBUILD	2019-05-09 06:56:49 UTC (rev 463939)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-anything-arch
-pkgver=0.0.7
-_extramodules=extramodules-ARCH
-pkgrel=8
-pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-anything"
-license=('GPL3')
-depends=('linux')
-makedepends=('linux-headers')
-provides=('DEEPIN-ANYTHING-MODULE')
-replaces=('deepin-anything-module')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
-        kernel-5.1.patch)
-sha512sums=('b0951ada69a12123337d276e2cdfdd3f3c7ca3f41ac8688f0e4758b732bbe5635b34e9064dd778fb3cf9e7829e20dfa9b59135db5b19a107f194e71071662924'
-            'b23a7ad54866e04bb86ba401b144ea73725451852e8fb1ab54059a4c685203e9bbd16205b558191f0f33caa8c22a6066077a2068a346ff16f007ae7c5e31ccc7')
-
-prepare() {
-  patch -d deepin-anything-$pkgver -p1 -i ../kernel-5.1.patch
-}
-
-build() {
-  cd deepin-anything-$pkgver
-  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-  make -C kernelmod kdir=/usr/lib/modules/$_kernver/build
-}
-
-package() {
-  cd deepin-anything-$pkgver/kernelmod
-  install -Dm644 vfs_monitor.ko "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
-  gzip "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
-}

Copied: deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD (from rev 463938, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-09 06:56:49 UTC (rev 463939)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=0.0.8
+_extramodules=extramodules-ARCH
+pkgrel=2
+pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-anything"
+license=('GPL3')
+depends=('linux')
+makedepends=('linux-headers')
+provides=('DEEPIN-ANYTHING-MODULE')
+replaces=('deepin-anything-module')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz")
+sha512sums=('362cb94124daae214bf477179ff19177501938b8fb7972bbc208486cd24c7712e13f0ebe2d47df4583fe2d0735734282ee8461c57323b2dd3b8d2827b2b180b6')
+
+build() {
+  cd deepin-anything-$pkgver
+  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+  make -C kernelmod kdir=/usr/lib/modules/$_kernver/build
+}
+
+package() {
+  cd deepin-anything-$pkgver/kernelmod
+  install -Dm644 vfs_monitor.ko "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
+  gzip "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
+}

Deleted: kernel-5.1.patch
===================================================================
--- kernel-5.1.patch	2019-05-09 06:56:39 UTC (rev 463938)
+++ kernel-5.1.patch	2019-05-09 06:56:49 UTC (rev 463939)
@@ -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