Compare commits
10 Commits
eda3fc87bf
...
88d3e1298e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88d3e1298e | ||
|
|
736993d3b3 | ||
|
|
5139b19e62 | ||
|
|
d73acd5d54 | ||
|
|
a9a7617893 | ||
|
|
f9edddceda | ||
|
|
50c50d3d55 | ||
|
|
65592f694b | ||
|
|
7897da4d35 | ||
|
|
49baf3b80c |
@ -1,233 +0,0 @@
|
||||
diff -ur peony-extensions-3.0.1/peony-share/peony-share.pro peony-extensions-3.0.1~/peony-share/peony-share.pro
|
||||
--- peony-extensions-3.0.1/peony-share/peony-share.pro 2019-05-27 15:48:18.000000000 +0800
|
||||
+++ peony-extensions-3.0.1~/peony-share/peony-share.pro 2020-12-08 10:21:43.000000000 +0800
|
||||
@@ -22,8 +22,8 @@
|
||||
share-properties-page-plugin.h
|
||||
|
||||
TRANSLATIONS += translations/peony-share-extension_cs.ts \
|
||||
- translations/peony-admin-extension_tr.ts \
|
||||
- translations/peony-admin-extension_zh_CN.ts
|
||||
+ translations/peony-share-extension_tr.ts \
|
||||
+ translations/peony-share-extension_zh_CN.ts
|
||||
|
||||
RESOURCES += resources.qrc
|
||||
|
||||
diff -ur peony-extensions-3.0.1/peony-share/share-page.cpp peony-extensions-3.0.1~/peony-share/share-page.cpp
|
||||
--- peony-extensions-3.0.1/peony-share/share-page.cpp 2019-05-27 15:48:18.000000000 +0800
|
||||
+++ peony-extensions-3.0.1~/peony-share/share-page.cpp 2020-12-08 10:08:13.000000000 +0800
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <QTextEdit>
|
||||
|
||||
#include <QDebug>
|
||||
+#include <QMessageBox>
|
||||
|
||||
SharePage::SharePage(const QString &uri, QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
@@ -125,6 +126,9 @@
|
||||
add emblem info to peony-qt's tags(emblems) & cloumns extensions frameworks.
|
||||
before do it, i have to implement that frameworks first...
|
||||
*/
|
||||
+ } else {
|
||||
+ //when have errors like samba config has issue or other errors, m_share_info.isShared could be false and return a warning.
|
||||
+ QMessageBox::information(nullptr,tr("Error"),tr("Share failed. Please check samba config."));
|
||||
}
|
||||
} else {
|
||||
s->setVisible(false);
|
||||
diff -ur peony-extensions-3.0.1/peony-share/translations/peony-share-extension_cs.ts peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_cs.ts
|
||||
--- peony-extensions-3.0.1/peony-share/translations/peony-share-extension_cs.ts 2019-05-27 15:48:18.000000000 +0800
|
||||
+++ peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_cs.ts 2020-12-08 10:58:55.000000000 +0800
|
||||
@@ -11,12 +11,12 @@
|
||||
<context>
|
||||
<name>Peony::SharePropertiesPagePlugin</name>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="26"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="48"/>
|
||||
<source>Peony Qt Share Extension</source>
|
||||
<translation>Rozšíření do Peony Qt pro správu sdílení</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="27"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="49"/>
|
||||
<source>Allow user share folders</source>
|
||||
<translation>Umožnit uživateli sdílet složku</translation>
|
||||
</message>
|
||||
@@ -24,29 +24,39 @@
|
||||
<context>
|
||||
<name>SharePage</name>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="50"/>
|
||||
+ <location filename="../share-page.cpp" line="73"/>
|
||||
<source>Share folder</source>
|
||||
<translation>Sdílet složku</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="52"/>
|
||||
+ <location filename="../share-page.cpp" line="75"/>
|
||||
<source>Share:</source>
|
||||
<translation>Zdroj:</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="58"/>
|
||||
+ <location filename="../share-page.cpp" line="81"/>
|
||||
<source>Read Only</source>
|
||||
<translation>Pouze pro čtení</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="61"/>
|
||||
+ <location filename="../share-page.cpp" line="84"/>
|
||||
<source>Allow Anonymous</source>
|
||||
<translation>Umožnit anonymní</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="73"/>
|
||||
+ <location filename="../share-page.cpp" line="96"/>
|
||||
<source>Comment:</source>
|
||||
<translation>Komentář:</translation>
|
||||
</message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Error</source>
|
||||
+ <translation type="unfinished"></translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Share failed. Please check samba config.</source>
|
||||
+ <translation type="unfinished"></translation>
|
||||
+ </message>
|
||||
</context>
|
||||
</TS>
|
||||
diff -ur peony-extensions-3.0.1/peony-share/translations/peony-share-extension_tr.ts peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_tr.ts
|
||||
--- peony-extensions-3.0.1/peony-share/translations/peony-share-extension_tr.ts 2019-05-27 15:48:18.000000000 +0800
|
||||
+++ peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_tr.ts 2020-12-08 10:58:55.000000000 +0800
|
||||
@@ -11,12 +11,12 @@
|
||||
<context>
|
||||
<name>Peony::SharePropertiesPagePlugin</name>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="26"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="48"/>
|
||||
<source>Peony Qt Share Extension</source>
|
||||
<translation>Peony Qt Share Eklentisi</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="27"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="49"/>
|
||||
<source>Allow user share folders</source>
|
||||
<translation>Kullanıcı paylaşım klasörlerine izin ver</translation>
|
||||
</message>
|
||||
@@ -24,29 +24,39 @@
|
||||
<context>
|
||||
<name>SharePage</name>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="50"/>
|
||||
+ <location filename="../share-page.cpp" line="73"/>
|
||||
<source>Share folder</source>
|
||||
<translation>Klasör paylaş</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="52"/>
|
||||
+ <location filename="../share-page.cpp" line="75"/>
|
||||
<source>Share:</source>
|
||||
<translation>Paylaş:</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="58"/>
|
||||
+ <location filename="../share-page.cpp" line="81"/>
|
||||
<source>Read Only</source>
|
||||
<translation>Sadece Okunabilir</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="61"/>
|
||||
+ <location filename="../share-page.cpp" line="84"/>
|
||||
<source>Allow Anonymous</source>
|
||||
<translation>Herkese İzin Ver</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="73"/>
|
||||
+ <location filename="../share-page.cpp" line="96"/>
|
||||
<source>Comment:</source>
|
||||
<translation>Yorum yap:</translation>
|
||||
</message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Error</source>
|
||||
+ <translation type="unfinished"></translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Share failed. Please check samba config.</source>
|
||||
+ <translation type="unfinished"></translation>
|
||||
+ </message>
|
||||
</context>
|
||||
</TS>
|
||||
二进制文件 peony-extensions-3.0.1/peony-share/translations/peony-share-extension_zh_CN.qm 和 peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_zh_CN.qm 不同
|
||||
diff -ur peony-extensions-3.0.1/peony-share/translations/peony-share-extension_zh_CN.ts peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_zh_CN.ts
|
||||
--- peony-extensions-3.0.1/peony-share/translations/peony-share-extension_zh_CN.ts 2019-05-27 15:48:18.000000000 +0800
|
||||
+++ peony-extensions-3.0.1~/peony-share/translations/peony-share-extension_zh_CN.ts 2020-12-08 11:04:22.000000000 +0800
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
-<TS version="2.1" language="en_US">
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>NetUsershareHelper</name>
|
||||
<message>
|
||||
@@ -11,12 +11,12 @@
|
||||
<context>
|
||||
<name>Peony::SharePropertiesPagePlugin</name>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="26"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="48"/>
|
||||
<source>Peony Qt Share Extension</source>
|
||||
<translation>共享</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-properties-page-plugin.h" line="27"/>
|
||||
+ <location filename="../share-properties-page-plugin.h" line="49"/>
|
||||
<source>Allow user share folders</source>
|
||||
<translation>允许共享文件夹</translation>
|
||||
</message>
|
||||
@@ -24,29 +24,39 @@
|
||||
<context>
|
||||
<name>SharePage</name>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="50"/>
|
||||
+ <location filename="../share-page.cpp" line="73"/>
|
||||
<source>Share folder</source>
|
||||
<translation>共享文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="52"/>
|
||||
+ <location filename="../share-page.cpp" line="75"/>
|
||||
<source>Share:</source>
|
||||
<translation>共享:</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="58"/>
|
||||
+ <location filename="../share-page.cpp" line="81"/>
|
||||
<source>Read Only</source>
|
||||
<translation>只读</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="61"/>
|
||||
+ <location filename="../share-page.cpp" line="84"/>
|
||||
<source>Allow Anonymous</source>
|
||||
<translation>允许游客访问</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <location filename="../share-page.cpp" line="73"/>
|
||||
+ <location filename="../share-page.cpp" line="96"/>
|
||||
<source>Comment:</source>
|
||||
<translation>注释:</translation>
|
||||
</message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Error</source>
|
||||
+ <translation>错误</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../share-page.cpp" line="131"/>
|
||||
+ <source>Share failed. Please check samba config.</source>
|
||||
+ <translation>分享失败。请检查samba设置。</translation>
|
||||
+ </message>
|
||||
</context>
|
||||
</TS>
|
||||
28
0001-move-sambashare-to-usershares.patch
Normal file
28
0001-move-sambashare-to-usershares.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From e9870402136ad75706de96effc40745dc8ab0a41 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Tue, 6 Jun 2023 15:06:10 +0800
|
||||
Subject: [PATCH 1/2] move sambashare to usershares
|
||||
|
||||
---
|
||||
peony-share/peony-share.sh | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/peony-share/peony-share.sh b/peony-share/peony-share.sh
|
||||
index 431e747..1b181ed 100755
|
||||
--- a/peony-share/peony-share.sh
|
||||
+++ b/peony-share/peony-share.sh
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
if [ "$#" -ge 1 ];
|
||||
then
|
||||
- if [[ $(groups $1 | grep "sambashare") == "" ]];
|
||||
+ if [[ $(groups $1 | grep "usershares") == "" ]];
|
||||
then
|
||||
- usermod -a -G sambashare "$1"
|
||||
+ usermod -a -G usershares "$1"
|
||||
fi
|
||||
fi
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
||||
130
0002-add-share-information-of-peony-share.patch
Normal file
130
0002-add-share-information-of-peony-share.patch
Normal file
@ -0,0 +1,130 @@
|
||||
From 5b815653a800a278e8733d1d4edbfb89cb6e03b9 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Thu, 8 Jun 2023 09:34:56 +0800
|
||||
Subject: [PATCH] add share information of peony-share
|
||||
|
||||
---
|
||||
peony-share/SwitchButton/switchbutton.cpp | 17 +++++++++++++++++
|
||||
peony-share/peony-share.pro | 2 ++
|
||||
.../translations/peony-share-extension_cs.ts | 13 +++++++++++++
|
||||
.../translations/peony-share-extension_tr.ts | 13 +++++++++++++
|
||||
.../translations/peony-share-extension_zh_CN.ts | 13 +++++++++++++
|
||||
5 files changed, 58 insertions(+)
|
||||
|
||||
diff --git a/peony-share/SwitchButton/switchbutton.cpp b/peony-share/SwitchButton/switchbutton.cpp
|
||||
index d21970d..38bb00a 100644
|
||||
--- a/peony-share/SwitchButton/switchbutton.cpp
|
||||
+++ b/peony-share/SwitchButton/switchbutton.cpp
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "switchbutton.h"
|
||||
|
||||
#include <QDebug>
|
||||
+#include <QMessageBox>
|
||||
+#include <QProcess>
|
||||
#define THEME_QT_SCHEMA "org.ukui.style"
|
||||
#define THEME_GTK_SCHEMA "org.mate.interface"
|
||||
#define TIMER_INTERVAL 5 //每隔5ms动画移动一次
|
||||
@@ -204,6 +206,21 @@ void SwitchButton::mousePressEvent(QMouseEvent *){
|
||||
mEndX = 0;
|
||||
return ;
|
||||
}else{
|
||||
+ QProcess tempProcess;
|
||||
+ QString cmd = QString("groups");
|
||||
+ tempProcess.start(cmd);
|
||||
+ tempProcess.waitForFinished();
|
||||
+
|
||||
+ QString result = tempProcess.readAllStandardOutput().data();
|
||||
+ tempProcess.close();
|
||||
+ bool bFail = false;
|
||||
+ bFail= result.contains("usershares");
|
||||
+
|
||||
+ if(!bFail)
|
||||
+ {
|
||||
+ QMessageBox::information(this,tr("infomation"),tr("user no group usershares, please log off and try agagin"));
|
||||
+ return;
|
||||
+ }
|
||||
checked = !checked;
|
||||
Q_EMIT checkedChanged(checked);
|
||||
|
||||
diff --git a/peony-share/peony-share.pro b/peony-share/peony-share.pro
|
||||
index 9474deb..55f35a5 100644
|
||||
--- a/peony-share/peony-share.pro
|
||||
+++ b/peony-share/peony-share.pro
|
||||
@@ -27,6 +27,8 @@ TRANSLATIONS += translations/peony-share-extension_cs.ts \
|
||||
translations/peony-share-extension_tr.ts \
|
||||
translations/peony-share-extension_zh_CN.ts
|
||||
|
||||
+system("lrelease-qt5 translations/*.ts")
|
||||
+
|
||||
RESOURCES += resources.qrc
|
||||
|
||||
target.path = $$[QT_INSTALL_LIBS]/peony-extensions
|
||||
diff --git a/peony-share/translations/peony-share-extension_cs.ts b/peony-share/translations/peony-share-extension_cs.ts
|
||||
index a2c1812..f4c69c1 100644
|
||||
--- a/peony-share/translations/peony-share-extension_cs.ts
|
||||
+++ b/peony-share/translations/peony-share-extension_cs.ts
|
||||
@@ -74,4 +74,17 @@
|
||||
<translation>Komentář:</translation>
|
||||
</message>
|
||||
</context>
|
||||
+<context>
|
||||
+ <name>SwitchButton</name>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>infomation</source>
|
||||
+ <translation>Informace o připomenutí</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>user no group usershares, please log off and try agagin</source>
|
||||
+ <translation>Tento uživatel není ve skupině usershares a musí se odhlásit a zkusit sdílet znovu</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
</TS>
|
||||
diff --git a/peony-share/translations/peony-share-extension_tr.ts b/peony-share/translations/peony-share-extension_tr.ts
|
||||
index 0c9c652..de95916 100644
|
||||
--- a/peony-share/translations/peony-share-extension_tr.ts
|
||||
+++ b/peony-share/translations/peony-share-extension_tr.ts
|
||||
@@ -74,4 +74,17 @@
|
||||
<translation>Yorum yap:</translation>
|
||||
</message>
|
||||
</context>
|
||||
+<context>
|
||||
+ <name>SwitchButton</name>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>infomation</source>
|
||||
+ <translation>Hatırlatma Bilgisi</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>user no group usershares, please log off and try agagin</source>
|
||||
+ <translation>Bu kullanıcı usershares kullanıcı grubunda değil ve çıkıp tekrar paylaşmaya çalışmalı</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
</TS>
|
||||
diff --git a/peony-share/translations/peony-share-extension_zh_CN.ts b/peony-share/translations/peony-share-extension_zh_CN.ts
|
||||
index 2b52463..0f64c7c 100644
|
||||
--- a/peony-share/translations/peony-share-extension_zh_CN.ts
|
||||
+++ b/peony-share/translations/peony-share-extension_zh_CN.ts
|
||||
@@ -74,4 +74,17 @@
|
||||
<translation>注释:</translation>
|
||||
</message>
|
||||
</context>
|
||||
+<context>
|
||||
+ <name>SwitchButton</name>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>infomation</source>
|
||||
+ <translation>提示信息</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../SwitchButton/switchbutton.cpp" line="221"/>
|
||||
+ <source>user no group usershares, please log off and try agagin</source>
|
||||
+ <translation>此用户不在usershares用户组中,需要注销后重新尝试共享功能</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
</TS>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
Binary file not shown.
BIN
peony-extensions-3.10.0.tar.gz
Normal file
BIN
peony-extensions-3.10.0.tar.gz
Normal file
Binary file not shown.
@ -1,41 +1,113 @@
|
||||
%define debug_package %{nil}
|
||||
Name: peony-extensions
|
||||
Version: 3.0.1
|
||||
Version: 3.10.0
|
||||
Release: 5
|
||||
Summary: Peony qt extensions (common files)
|
||||
License: LGPL-3.0+
|
||||
Summary: adds extended functionality to the Peony file manager.
|
||||
License: GPLv3 and LGPLv3
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch01: 0001-move-sambashare-to-usershares.patch
|
||||
Patch02: 0002-add-share-information-of-peony-share.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconf
|
||||
BuildRequires: glib2-devel
|
||||
#BuildRequires: qt5-qmake
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qtchooser
|
||||
BuildRequires: libpeony-dev
|
||||
#BuildRequires: libpeony3
|
||||
BuildRequires: peony
|
||||
BuildRequires: poppler-qt5-devel
|
||||
BuildRequires: libpeony-dev
|
||||
BuildRequires: peony
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: libudisks2-devel
|
||||
BuildRequires: libnotify-devel
|
||||
BuildRequires: ukui-interface
|
||||
|
||||
Requires: samba-common-tools
|
||||
Requires: samba
|
||||
Requires: engrampa
|
||||
Requires: mate-terminal
|
||||
Requires: libpeony3
|
||||
Requires: qt5-qtimageformats
|
||||
Requires: polkit
|
||||
Requires: parchives, peony-open-terminal, peony-extension-computer-view, peony-set-wallpaper, peony-send-to-device
|
||||
Requires: samba-usershares
|
||||
Recommends: peony-share, peony-device-rename
|
||||
|
||||
patch0: 0001-fix-peony-share-failed-issue.patch
|
||||
|
||||
%description
|
||||
Peony is the official file manager for the UKUI desktop. This
|
||||
package adds extended functionality to the Peony file manager.
|
||||
Peony is the official file manager for the UKUI desktop. This
|
||||
package adds extended functionality to the Peony file manager.
|
||||
|
||||
|
||||
%package -n peony-share
|
||||
Summary: Allows one to quickly share a folder from the Peony file manager
|
||||
Requires: samba-common-tools samba
|
||||
|
||||
%description -n peony-share
|
||||
The Peony share extension allows you to quickly share a folder from the
|
||||
Peony file manager without requiring root access. It uses Samba, so your
|
||||
folders can be accessed by any operating system.
|
||||
|
||||
|
||||
%package -n parchives
|
||||
Summary: Peony qt plugin for file compress and uncompress
|
||||
Recommends: engrampa
|
||||
|
||||
%description -n parchives
|
||||
Parchives is an archive manager for the UKUI environment. You can use
|
||||
this plugin to compress or uncompress file or folder.
|
||||
.
|
||||
This package adds extended functionality to the Peony file manager.
|
||||
|
||||
|
||||
%package -n peony-open-terminal
|
||||
Summary: Peony plugin for opening terminals in arbitrary local paths
|
||||
Recommends: mate-terminal
|
||||
|
||||
%description -n peony-open-terminal
|
||||
peony-open-terminal is a proof-of-concept Peony extension
|
||||
which allows you to open a terminal in arbitrary local folders.
|
||||
|
||||
|
||||
%package -n peony-extension-computer-view
|
||||
Summary: Peony plugin for displaying computer:/// with more information
|
||||
|
||||
%description -n peony-extension-computer-view
|
||||
peony-extionsion-computer-view is a proof-of-concept Peony extension
|
||||
which allows user browsering computer:/// with more information, which
|
||||
not provided in icon view and list view.
|
||||
|
||||
|
||||
%package -n peony-set-wallpaper
|
||||
Summary: Peony plugin for right click a picture to set as wallpaper
|
||||
Requires: qt5-qtimageformats
|
||||
|
||||
%description -n peony-set-wallpaper
|
||||
In addition to set wallpaper in ukui-control-center, you can select a
|
||||
picture and right click to quickly set as wallpaper.
|
||||
|
||||
|
||||
%package -n peony-bluetooth
|
||||
Summary: Peony plugin for right click a file to send to other devices via Bluetooth
|
||||
Recommends: ukui-bluetooth
|
||||
|
||||
%description -n peony-bluetooth
|
||||
In addition to sending files in ukui-bluetooth, you can also choose one
|
||||
File, then right-click to quickly send the file.
|
||||
|
||||
|
||||
%package -n peony-send-to-device
|
||||
Summary: Peony plugin for right click a file to send to mobile devices
|
||||
|
||||
%description -n peony-send-to-device
|
||||
In addition to copy files to mobile device, you can also choose one
|
||||
File, then right-click to quickly send the file.
|
||||
|
||||
|
||||
%package -n peony-device-rename
|
||||
Summary: Peony plugin for select a block device and rename it. This package adds extended functionality to the Peony file manager.
|
||||
|
||||
%description -n peony-device-rename
|
||||
In this way, we can right click the device and quickly rename it, no need
|
||||
to rename it use other tools like gparted.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch01 -p1
|
||||
%patch02 -p1
|
||||
|
||||
%build
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
@ -55,15 +127,60 @@ popd
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
|
||||
%preun
|
||||
systemctl enable smb &> /dev/null ||:
|
||||
|
||||
%files
|
||||
%doc debian/copyright debian/changelog
|
||||
%{_libdir}/peony-extensions
|
||||
%{_prefix}/share/
|
||||
%doc debian/control debian/copyright
|
||||
%license COPYING
|
||||
|
||||
%files -n peony-share
|
||||
%{_libdir}/peony-extensions/libpeony-share.so
|
||||
%{_prefix}/share/polkit-1/actions
|
||||
%{_bindir}/peony-share.sh
|
||||
|
||||
%files -n parchives
|
||||
%{_libdir}/peony-extensions/libpeony-engrampa-menu-plugin.so
|
||||
|
||||
%files -n peony-open-terminal
|
||||
%{_libdir}/peony-extensions/libpeony-menu-plugin-mate-terminal.so
|
||||
|
||||
%files -n peony-extension-computer-view
|
||||
%{_libdir}/peony-extensions/libpeony-computer-view-plugin.so
|
||||
|
||||
%files -n peony-set-wallpaper
|
||||
%{_libdir}/peony-extensions/libpeony-set-wallpaper.so
|
||||
|
||||
%files -n peony-bluetooth
|
||||
%{_libdir}/peony-extensions/libpeony-bluetooth-plugin.so
|
||||
|
||||
%files -n peony-send-to-device
|
||||
%{_libdir}/peony-extensions/libpeony-send-to-device.so
|
||||
|
||||
%files -n peony-device-rename
|
||||
%{_libdir}/peony-extensions/libpeony-drive-rename.so
|
||||
|
||||
%changelog
|
||||
* Sat Jun 17 2023 huayadong <huayadong@kylinos.cn> - 3.10.0-5
|
||||
- remove Recommends: ukui-bluetooth
|
||||
|
||||
* Tue Jun 06 2023 peijiankang <peijiankang@kylinos.cn> - 3.10.0-4
|
||||
- fix share error of peony-extensions
|
||||
|
||||
* Wed Feb 08 2023 peijiankang <peijiankang@kylinos.cn> - 3.10.0-3
|
||||
- sync packaging format
|
||||
|
||||
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.10.0-2
|
||||
- Enable debuginfo for fix strip
|
||||
|
||||
* Mon Nov 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.10.0-1
|
||||
- update to upstream version 3.10.0
|
||||
|
||||
* Wed May 18 2022 tanyulong<tanyulong@kylinos.cn> - 3.2.4-2
|
||||
- Improve the project according to the requirements of compliance improvement
|
||||
|
||||
* Tue Feb 22 2022 tanyulong <tanyulong@kylinos.cn> - 3.2.4-1
|
||||
- update to upstream version 3.2.4
|
||||
|
||||
* Fri Feb 11 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-5
|
||||
- add QPainterPath header file
|
||||
|
||||
|
||||
4
peony-extensions.yaml
Normal file
4
peony-extensions.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: ukui/peony-extensions
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user