Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6e3d2d549c
!41 sync by openEuler-22.03-LTS-SP3
From: @ut-layne-yang 
Reviewed-by: @xzyangha 
Signed-off-by: @xzyangha
2024-06-19 06:48:46 +00:00
liuzhilin
cd5c3a000a update dde-file-manager package 2024-06-19 09:44:41 +08:00
openeuler-ci-bot
d21a8ed8c2
!28 [sync] PR-27: update to 5.2.63
From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-05-08 05:21:06 +00:00
liweiganga
0110888e28 update: update to 5.2.63
(cherry picked from commit 0d9b920dd9aa46bf75ecb4107c7710a3e947ef9a)
2023-05-08 09:11:41 +08:00
openeuler-ci-bot
8380cfa026
!25 fix aarch64 build error
From: @leeffo 
Reviewed-by: @yeqinglong01 
Signed-off-by: @yeqinglong01
2022-11-11 09:23:04 +00:00
liweiganga
0d7096eccc add BR:pcre-devel 2022-11-11 16:43:19 +08:00
openeuler-ci-bot
3c7a10972a
!24 update to upstream 5.2.39
From: @xzyangha 
Reviewed-by: @yeqinglong01 
Signed-off-by: @yeqinglong01
2022-11-03 02:11:19 +00:00
yangxianzhao
ec3e8d65ef update to upstream 5.2.39 2022-10-27 13:44:22 +08:00
openeuler-ci-bot
c293a27104
!18 [sync] PR-7: update readme
From: @openeuler-sync-bot 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
2022-08-04 03:47:09 +00:00
wangpeng
771dcb10ca update readme
(cherry picked from commit 74ad78d674e73d9f5f18fef97ccf34fec0dea1d3)
2022-08-04 10:39:30 +08:00
13 changed files with 276 additions and 45 deletions

View File

@ -0,0 +1,26 @@
From fca58228ea9d31e01dd6e24bee944cebf7df9622 Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Wed, 2 Aug 2023 14:13:35 +0800
Subject: [PATCH] hide authorized watermask
---
src/dde-desktop/view/watermaskframe.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/dde-desktop/view/watermaskframe.cpp b/src/dde-desktop/view/watermaskframe.cpp
index e36d97b..2d0e72a 100644
--- a/src/dde-desktop/view/watermaskframe.cpp
+++ b/src/dde-desktop/view/watermaskframe.cpp
@@ -98,7 +98,8 @@ void WaterMaskFrame::stateChanged(int state, int prop)
return;
}
- bool showSate = showLicenseState();
+ //bool showSate = showLicenseState();
+ bool showSate = 0;
bool cn = usingCn();
qInfo() << "reply ActiveState is" << state << prop << "show" << showSate
<< "cn" << cn << this;
--
2.20.1

View File

@ -0,0 +1,37 @@
From 340b1be4850c8316ee858f597bcb729363f142b7 Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Thu, 3 Aug 2023 10:15:30 +0800
Subject: [PATCH] fix undefined std::array
---
.../dialogs/private/ddesktoprenamedialog_p.h | 1 +
src/dde-file-manager-lib/views/drenamebar.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
index 80c5c20..f018762 100644
--- a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
+++ b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
@@ -23,6 +23,7 @@
#ifndef DDESKTOPRENAMEDIALOG_P_H
#define DDESKTOPRENAMEDIALOG_P_H
+#include <array>
#include <QString>
#include <QLineEdit>
#include <QLabel>
diff --git a/src/dde-file-manager-lib/views/drenamebar.h b/src/dde-file-manager-lib/views/drenamebar.h
index 45f3b09..b59fa8f 100644
--- a/src/dde-file-manager-lib/views/drenamebar.h
+++ b/src/dde-file-manager-lib/views/drenamebar.h
@@ -26,6 +26,7 @@
#define DRENAMEBAR_H
+#include <array>
#include <QList>
#include <QFrame>
#include <memory>
--
2.20.1

View File

@ -1,24 +1,74 @@
# dde-file-manager
#### Description
dde file manager
## Description
dde-file-manager is a powerful, easy-to-use file management tool. It follows the classic functions and layouts of traditional file managers, and on this basis simplifies user operations and adds many special functions. The clear navigation bar, intelligently recognized search box, diverse views and sorting make it easy for you to manage, classic and beyond, just to give you a better experience!
#### Software Architecture
## Software Architecture
Software architecture description
#### Installation
## Installation
1. xxxx
2. xxxx
3. xxxx
```shell
dnf install dde-file-manager
```
#### Instructions
## Instructions
1. xxxx
2. xxxx
3. xxxx
### Run dde-file-manager
#### Contribution
1. Click the launcher icon on the dock to enter the launcher interface.
2. Scroll the mouse wheel up or down to browse or search for the dde-file-manager icon , and click Run.
3. By right-clicking the dde-file-manager icon, you can:
- Click **Send to Desktop** to create a shortcut on the desktop.
- Click **Send to dock** to pin the app to the dock.
- Click **Add to startup** to add the application to the startup items to automatically run the application when the computer is turned on.
> TIP: You can also use the shortcut **Super + E** to launch the dde-file-manager.
### Close the dde-file-manager
- In the dde-file-manager interface, click X to exit the dde-file-manager.
- Right-click the dde-file-manager icon on the taskbar and select **Close All** to exit the dde-file-manager.
- On the dde-file-manager interface, click the menu bar and select Exit to exit the dde-file-manager.
### View shortcut keys
In the dde-file-manager interface, use the shortcut keys **Ctrl + Shift + /** to open the shortcut key preview interface. Skilled use of shortcut keys will greatly improve your operational efficiency.
![image-hot_key_en](./image/hot_key_en.png)
## Basic Skills
The dde-file-manager has basic file management functions, and it is very simple to create, copy, rename, and delete files (folders).
### Create a new file
#### New document
1. In a blank area of the file manager, right-click.
2. Select **New Document**.
3. Select the type of new file from the drop-down menu.
4. Enter a name for the new file.
![image-newdo_en](./image/newdo_en.png)
#### New folder
1. In a blank area of the file manager, right-click.
2. Select **New Folder**.
3. Enter a name for the new folder.
### Rename file
1. In the file manager interface, right-click the file.
2. Select **Rename**.
3. Enter the file name and press **Enter** or click in the blank area of the interface.
![image-rename_en](./image/rename_en.png)
> Tip: Check "Hide file extension when rename" in **Settings**, it can be more convenient to modify the file name
## Contribution
1. Fork the repository
2. Create Feat_xxx branch
@ -26,7 +76,7 @@ Software architecture description
4. Create Pull Request
#### Gitee Feature
## 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)

View File

@ -1,25 +1,75 @@
# dde-file-manager
#### 介绍
dde file manager
## 介绍
文件管理器是一款功能强大、简单易用的文件管理工具。它沿用了传统文件管理器的经典功能和布局,并在此基础上简化了用户操作,增加了很多特色功能。一目了然的导航栏、智能识别的搜索框、多样化的视图及排序让您管理起来得心应手,经典和超越,只为给您更好的体验!
#### 软件架构
## 软件架构
软件架构说明
#### 安装教程
## 安装教程
1. xxxx
2. xxxx
3. xxxx
```shell
dnf install dde-file-manager
```
#### 使用说明
## 使用说明
1. xxxx
2. xxxx
3. xxxx
### 运行文件管理器
#### 参与贡献
1. 单击任务栏上的启动器图标,进入启动器界面。
2. 上下滚动鼠标滚轮浏览或通过搜索,找到文件管理器图标 ,单击运行。
3. 右键单击文件管理器图标,您可以:
- 单击 **发送到桌面**,在桌面创建快捷方式。
- 单击 **发送到任务栏**,将应用程序固定到任务栏。
- 单击 **开机自动启动**,将应用程序添加到开机启动项,在电脑开机时自动运行该应用。
> 窍门:您也可以使用快捷键 **Super + E** 启动文件管理器。
### 关闭文件管理器
- 在文件管理器界面,单击 X退出文件管理器。
- 在任务栏右键单击文件管理器图标,选择 **关闭所有** ,退出文件管理器。
- 在文件管理器界面,单击菜单栏,选择退出,退出文件管理器。
### 查看快捷键
在文件管理器界面,使用快捷键 **Ctrl + Shift + /** 打开快捷键预览界面。熟练地使用快捷键,将大大提升您的操作效率。
![image-hot_key](./image/hot_key.png)
## 基本功能
文件管理器具备基本的文件管理功能,对文件(夹)进行新建、复制、重命名、删除等操作都非常简单。
### 新建文件
#### 新建文档
1. 在文件管理器空白区域,单击鼠标右键。
2. 选择 **新建文档**
3. 在下拉菜单中选择新建文件的类型。
4. 输入新建文件的名称。
![image-newdo](./image/newdo.png)
#### 新建文件夹
1. 在文件管理器空白区域,单击鼠标右键。
2. 选择 **新建文件夹**
3. 输入新建文件夹的名称。
### 重命名文件
1. 在文件管理器界面,右键单击文件。
2. 选择 **重命名**
3. 输入文件名称,按 **Enter** 键或者单击界面空白区域。
![image-rename](./image/rename.png)
> 窍门:在 **设置** 中勾选“重命名时隐藏文件扩展名”,能更方便地修改文件名称
## 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
@ -27,7 +77,7 @@ dde file manager
4. 新建 Pull Request
#### 码云特技
## 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)

Binary file not shown.

View File

@ -1,10 +1,14 @@
%define specrelease 1
Name: dde-file-manager
Version: 5.2.0.56
Release: 1
Version: 5.7.8.1
Release: %{specrelease}
Summary: Deepin File Manager
License: GPLv3
URL: https://github.com/linuxdeepin/dde-file-manager
Source0: %{name}-%{version}.tar.gz
Source0: %{name}_%{version}.orig.tar.xz
Patch0: 0001-hide-authorized-watermask.patch
Patch1: 0002-fix-undefined-std-array.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
@ -12,9 +16,8 @@ BuildRequires: deepin-gettext-tools
BuildRequires: dde-dock-devel
BuildRequires: file-devel
BuildRequires: pkgconfig(atk)
BuildRequires: dtkcore-devel
BuildRequires: dtkgui-devel
BuildRequires: dtkwidget-devel
BuildRequires: pkgconfig(dtkwidget) >= 5.1
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gsettings-qt)
@ -32,10 +35,12 @@ BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
BuildRequires: pkgconfig(taglib)
#BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: qt5-linguist
BuildRequires: jemalloc-devel
#BuildRequires: udisks2-qt5
BuildRequires: udisks2-qt5-devel
BuildRequires: disomaster-devel
BuildRequires: libgio-qt libgio-qt-devel
@ -43,11 +48,31 @@ BuildRequires: openssl-devel
BuildRequires: libqtxdg-devel
BuildRequires: libmediainfo-devel
BuildRequires: kf5-kcodecs-devel
BuildRequires: lucene++-devel
BuildRequires: htmlcxx-devel
BuildRequires: libgsf-devel
BuildRequires: mimetic-devel
BuildRequires: boost-devel
BuildRequires: deepin-anything-devel
BuildRequires: deepin-anything-server
BuildRequires: pcre-devel
BuildRequires: docparser-devel
BuildRequires: cryptsetup-devel
# run command by QProcess
#Requires: deepin-shortcut-viewer
Requires: deepin-terminal
Requires: dde-desktop
#Requires: file-roller
Requires: jemalloc
Requires: libglvnd-glx
Requires: libdde-file-manager
Requires: deepin-anything-dkms
Requires: deepin-anything-server
#Requires: gvfs-client
#Requires: samba
#Requires: xdg-user-dirs
#Requires: gstreamer-plugins-good
Recommends: deepin-manual
%description
@ -71,6 +96,8 @@ Requires: libzen
Requires: udisks2-qt5
Requires: taglib
Requires: libgio-qt
Requires: deepin-anything-libs
%description -n libdde-file-manager
DDE File Manager library.
@ -93,17 +120,21 @@ Requires: dde-session-ui
Deepin desktop environment - desktop module.
%prep
%autosetup -c -n %{name}-%{version}
%setup -q
%patch0 -p1
%patch1 -p1
# fix file permissions
find -type f -perm 775 -exec chmod 644 {} \;
sed -i '/deepin-daemon/s|lib|libexec|' dde-zone/mainwindow.h
sed -i 's|lib/gvfs|libexec|' %{name}-lib/gvfs/networkmanager.cpp
sed -i 's|/lib/dde-dock/plugins|/lib64/dde-dock/plugins|' dde-dock-plugins/disk-mount/disk-mount.pro
#sed -i '/target.path/s|lib|%{_lib}|' src/dde-dock-plugins/disk-mount/disk-mount.pro
sed -i '/deepin-daemon/s|lib|libexec|' src/dde-zone/mainwindow.h
sed -i 's|lib/gvfs|libexec|' src/%{name}-lib/gvfs/networkmanager.cpp
#sed -i 's|%{_datadir}|%{_libdir}|' dde-sharefiles/appbase.pri
sed -i 's|/lib/dde-dock/plugins|/lib64/dde-dock/plugins|' src/dde-dock-plugins/disk-mount/disk-mount.pro
%build
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 PREFIX=%{_prefix} QMAKE_CFLAGS_ISYSTEM= CONFIG+="DISABLE_FFMPEG DISABLE_ANYTHING"
%qmake_qt5 PREFIX=%{_prefix} QMAKE_CFLAGS_ISYSTEM= CONFIG+="DISABLE_FFMPEG" DEFINES+="VERSION=%{version}" filemanager.pro
%make_build
%install
@ -124,24 +155,37 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dde-home.desktop ||:
%{_bindir}/%{name}
%{_bindir}/%{name}-daemon
%{_bindir}/%{name}-pkexec
%ifnarch x86_64
%{_bindir}/*.sh
%{_sysconfdir}/xdg/autostart/dde-file-manager-autostart.desktop
%endif
%{_bindir}/dde-property-dialog
/lib/systemd/system/dde-filemanager-daemon.service
%{_bindir}/dde-select-dialog-wayland
%{_bindir}/dde-select-dialog-x11
/usr/lib/systemd/system/dde-filemanager-daemon.service
%{_datadir}/applications/dde-open.desktop
%{_datadir}/applications/%{name}.desktop
%{_datadir}/dbus-1/interfaces/com.deepin.filemanager.filedialog.xml
%{_datadir}/dbus-1/interfaces/com.deepin.filemanager.filedialogmanager.xml
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog.service
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog_wayland.service
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog_x11.service
%{_datadir}/dbus-1/services/org.freedesktop.FileManager.service
%{_datadir}/dbus-1/system-services/com.deepin.filemanager.daemon.service
%{_datadir}/polkit-1/actions/com.deepin.filemanager.daemon.policy
%{_datadir}/polkit-1/actions/com.deepin.pkexec.dde-file-manager.policy
%{_datadir}/deepin-manual/manual-assets/application/dde-file-manager
%{_datadir}/applications/context-menus/.readme
%{_libdir}/%{name}/plugins/extensions/.readme
%{_datadir}/%{name}/extensions/appEntry/.readme
%files -n libdde-file-manager
%{_libdir}/dde-file-manager/plugins/previews/libdde-image-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-music-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-pdf-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-text-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/extensions/libdde-eetrust-emblem-plugin.so
%{_libdir}/libdde-file-manager.so.1.8.2
%{_datadir}/dde-file-manager/mimetypeassociations/mimetypeassociations.json
%{_datadir}/dde-file-manager/mimetypes/archive.mimetype
@ -164,22 +208,25 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dde-home.desktop ||:
%{_datadir}/icons/hicolor/scalable/apps/dde-file-manager.svg
%{_libdir}/libdde-file-manager.so.1
%{_libdir}/libdde-file-manager.so.1.8
%{_libdir}/libdfm-extension.so.1
%{_libdir}/libdfm-extension.so.1.8
%{_libdir}/libdfm-extension.so.1.8.2
%ifarch x86_64
%{_libdir}/deepin-anything-server-lib/plugins/handlers/libdde-anythingmonitor.so
%endif
%files -n dde-disk-mount-plugin
%{_libdir}/dde-dock/plugins/system-trays/libdde-disk-mount-plugin.so
%{_datadir}/dde-disk-mount-plugin/translations
%{_datadir}/glib-2.0/schemas/com.deepin.dde.dock.module.disk-mount.gschema.xml
%files devel
%{_includedir}/%{name}/*.h
%{_includedir}/%{name}/gvfs/
%{_includedir}/%{name}/%{name}-plugins/
%{_includedir}/%{name}/private/
%{_includedir}/%{name}/
%{_includedir}/dfm-extension/
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/dfm-extension.pc
%{_libdir}/lib%{name}.so
%{_libdir}/libdfm-extension.so
%files -n dde-desktop
%{_bindir}/dde-desktop
@ -191,6 +238,27 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dde-home.desktop ||:
%{_datadir}/dbus-1/services/com.deepin.dde.desktop.service
%changelog
* Tue Aug 15 2023 leeffo <liweiganga@uniontech.com> - 5.7.8.1-1
- upgrade to version 5.7.8.1
* Wed Mar 29 2023 liweiganga <liweiganga@uniontech.com> - 5.2.63-1
- update: update to 5.2.63
* Fri Nov 11 2022 liweiganga <liweiganga@uniontech.com> - 5.2.39-5
- add BR pcre-devel
* Fri Aug 05 2022 liweiganga <liweiganga@uniontech.com> - 5.2.39-4
- delete authorized watermask
* Tue Aug 02 2022 liweiganga <liweiganga@uniontech.com> - 5.2.39-3
- add requires
* Tue Jul 26 2022 liweiganga <liweiganga@uniontech.com> - 5.2.39-2
- modify cryfs Requires to Recommends
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.2.39-1
- update version to 5.2.39
* Thu Jul 08 2021 weidong <weidong@uniontech.com> - 5.2.0.56-10
- Update 5.2.0.56.

Binary file not shown.

BIN
image/hot_key.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
image/hot_key_en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
image/newdo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
image/newdo_en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
image/rename.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
image/rename_en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB