Compare commits
10 Commits
620ee802bf
...
3e7aa8d2f9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e7aa8d2f9 | ||
|
|
633701a804 | ||
|
|
6d0e1852c4 | ||
|
|
e7e5bef952 | ||
|
|
99af0c01dc | ||
|
|
9beb4a587f | ||
|
|
c5db12c3a0 | ||
|
|
49c2f68876 | ||
|
|
7e790b9b90 | ||
|
|
c65501d163 |
49
0001-change-compile-option.patch
Normal file
49
0001-change-compile-option.patch
Normal file
@ -0,0 +1,49 @@
|
||||
From b85d3426641d53d14e47ca353aaf8ee0b212fa1b Mon Sep 17 00:00:00 2001
|
||||
From: leeffo <liweiganga@uniontech.com>
|
||||
Date: Fri, 28 Jul 2023 16:25:32 +0800
|
||||
Subject: [PATCH] change compile option
|
||||
|
||||
---
|
||||
cli/Makefile | 2 +-
|
||||
kernelmod/Makefile | 2 +-
|
||||
library/Makefile | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/cli/Makefile b/cli/Makefile
|
||||
index 3aaa54e..66b8cee 100644
|
||||
--- a/cli/Makefile
|
||||
+++ b/cli/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-CFLAGS := -std=gnu99 -Wall -I../library/inc -I../library/inc/index -I../kernelmod -Iinc
|
||||
+CFLAGS := -g -std=gnu99 -Wall -I../library/inc -I../library/inc/index -I../kernelmod -Iinc
|
||||
LDFLAG := -lpthread -lanything
|
||||
|
||||
all: release debug
|
||||
diff --git a/kernelmod/Makefile b/kernelmod/Makefile
|
||||
index ae4fd62..dc39a01 100644
|
||||
--- a/kernelmod/Makefile
|
||||
+++ b/kernelmod/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
obj-m += vfs_monitor.o
|
||||
vfs_monitor-objs := vfs_utils.o arg_extractor.o vfs_change.o vfs_kretprobes.o
|
||||
-ccflags-y := -std=gnu99 -Wno-declaration-after-statement -O3
|
||||
+ccflags-y := -g -std=gnu99 -Wno-declaration-after-statement -O3
|
||||
cwd := $(shell pwd)
|
||||
|
||||
kdir := /lib/modules/$(shell uname -r)/build
|
||||
diff --git a/library/Makefile b/library/Makefile
|
||||
index 78b63fd..5c2adf3 100644
|
||||
--- a/library/Makefile
|
||||
+++ b/library/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
CC := gcc
|
||||
GLIB_INCL := $(shell pkg-config --cflags glib-2.0)
|
||||
GLIB_LIB := $(shell pkg-config --libs glib-2.0)
|
||||
-CFLAGS := -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden
|
||||
+CFLAGS := -g -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden
|
||||
LDFLAG := -lpthread -lpcre ${GLIB_LIB}
|
||||
|
||||
all: release debug
|
||||
--
|
||||
2.20.1
|
||||
|
||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# deepin-anything
|
||||
|
||||
#### Description
|
||||
deepin anything
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# deepin-anything
|
||||
|
||||
#### 介绍
|
||||
deepin anything
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
Binary file not shown.
BIN
deepin-anything-5.0.19.tar.gz
Normal file
BIN
deepin-anything-5.0.19.tar.gz
Normal file
Binary file not shown.
@ -1,18 +1,19 @@
|
||||
%bcond_with check
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
%global debug_package %{nil}
|
||||
%global common_description %{expand: Something like everything, but nothing is really like anything...}
|
||||
%global dname dkms
|
||||
%global lname libs
|
||||
%global sname server
|
||||
|
||||
Name: deepin-anything
|
||||
Version: 5.0.1
|
||||
Version: 5.0.19
|
||||
Release: 1
|
||||
Summary: Something like everything, but nothing is really like anything...
|
||||
License: GPLv3
|
||||
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-anything/
|
||||
Source0: %{name}-%{version}.orig.tar.xz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0001-change-compile-option.patch
|
||||
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: dtkcore-devel
|
||||
@ -20,6 +21,8 @@ BuildRequires: udisks2-qt5
|
||||
BuildRequires: udisks2-qt5-devel
|
||||
BuildRequires: libmount
|
||||
BuildRequires: libmount-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: glib2-devel
|
||||
|
||||
|
||||
%description
|
||||
@ -38,8 +41,15 @@ Summary: %{summary}
|
||||
Summary: %{summary}
|
||||
%description -n %{name}-%{sname}
|
||||
|
||||
%package -n %{name}-devel
|
||||
Summary: Development package for %name
|
||||
|
||||
%description devel
|
||||
This package provides header files and libraries for %name.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
sed -i 's|lib/|lib64/|g' Makefile
|
||||
|
||||
%build
|
||||
@ -50,36 +60,57 @@ export PATH=$PATH:%{_libdir}/qt5/bin
|
||||
%make_install
|
||||
mkdir -p %{?buildroot}/usr/lib/modules-load.d/
|
||||
mkdir -p %{buildroot}/usr/lib/systemd/system/
|
||||
#mv %{?buildroot}%{_libdir}/modules-load.d/anything.conf %{?buildroot}/usr/lib/modules-load.d/
|
||||
install -Dm644 server/tool/deepin-anything-tool.service %{buildroot}/usr/lib/systemd/system/
|
||||
install -Dm644 server/monitor/deepin-anything-monitor.service %{buildroot}/usr/lib/systemd/system/
|
||||
|
||||
%files -n %{name}-%{dname}
|
||||
%exclude /usr/lib/modules-load.d/anything.conf
|
||||
%exclude /usr/lib64/modules-load.d/anything.conf
|
||||
%exclude /lib/systemd/system/deepin-anything-monitor.service
|
||||
%exclude /lib/systemd/system/deepin-anything-tool.service
|
||||
%exclude /usr/lib/sysusers.d/deepin-anything-monitor.conf
|
||||
%{_usrsrc}/deepin-anything-0.0/*
|
||||
|
||||
%files -n %{name}-%{lname}
|
||||
%{_libdir}/libanything.so
|
||||
%{_libdir}/libanything.so.1
|
||||
%{_libdir}/libanything.so.1.0
|
||||
%{_libdir}/libanything.so.1.0.0
|
||||
%{_libdir}/libanything.so.*
|
||||
|
||||
%files -n %{name}-%{sname}
|
||||
%{_bindir}/deepin-anything-monitor
|
||||
%{_bindir}/deepin-anything-tool
|
||||
%{_bindir}/deepin-anything-tool-ionice
|
||||
%{_libdir}/libdeepin-anything-server-lib.so
|
||||
%{_libdir}/libdeepin-anything-server-lib.so.0
|
||||
%{_libdir}/libdeepin-anything-server-lib.so.0.0
|
||||
%{_libdir}/libdeepin-anything-server-lib.so.0.0.1
|
||||
%{_libdir}/libdeepin-anything-server-lib.so.*
|
||||
%{_libdir}/deepin-anything-server-lib/plugins/handlers/README.txt
|
||||
%{_libdir}/deepin-anything-server-lib/plugins/handlers/libupdate-lft.so
|
||||
%{_datadir}/dbus-1/interfaces/com.deepin.anything.xml
|
||||
%{_datadir}/dbus-1/system-services/com.deepin.anything.service
|
||||
%{_sysconfdir}/dbus-1/system.d/com.deepin.anything.conf
|
||||
/usr/lib/systemd/system/deepin-anything-monitor.service
|
||||
%exclude /usr/lib/systemd/system/deepin-anything-monitor.service
|
||||
/usr/lib/systemd/system/deepin-anything-tool.service
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libanything.so
|
||||
%{_libdir}/libdeepin-anything-server-lib.so
|
||||
%dir %{_includedir}/%{name}*/
|
||||
%dir %{_includedir}/%name/index/
|
||||
%{_includedir}/%{name}*/*.h
|
||||
%{_includedir}/%name/index/*.h
|
||||
%{_libdir}/pkgconfig/deepin-anything-server-lib.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jun 19 lvgenggeng <lvgenggeng@uniontech.com> - 5.0.19-1
|
||||
- upgrade to version 5.0.19
|
||||
|
||||
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 5.0.15-1
|
||||
- update: update to 5.0.15
|
||||
|
||||
* Mon Mar 13 2023 liweiganga <liweiganga@uniontech.com> - 5.0.9-2
|
||||
- enable debuginfo
|
||||
|
||||
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.0.9-1
|
||||
- update to 5.0.9
|
||||
|
||||
* Tue Jun 08 2021 weidong <weidong@uniontech.com> - 5.0.1-2
|
||||
- openEuler kernel don't support vfs,so delete deepin-anything-monitor.service
|
||||
|
||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.1-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user