diff --git a/0001-fix-peony-share-failed-issue.patch b/0001-fix-peony-share-failed-issue.patch deleted file mode 100644 index 69a868c934dbdba7037e3fb770bafee454df84b2..0000000000000000000000000000000000000000 --- a/0001-fix-peony-share-failed-issue.patch +++ /dev/null @@ -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 - - #include -+#include - - 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 @@ - - Peony::SharePropertiesPagePlugin - -- -+ - Peony Qt Share Extension - Rozšíření do Peony Qt pro správu sdílení - - -- -+ - Allow user share folders - Umožnit uživateli sdílet složku - -@@ -24,29 +24,39 @@ - - SharePage - -- -+ - Share folder - Sdílet složku - - -- -+ - Share: - Zdroj: - - -- -+ - Read Only - Pouze pro čtení - - -- -+ - Allow Anonymous - Umožnit anonymní - - -- -+ - Comment: - Komentář: - -+ -+ -+ Error -+ -+ -+ -+ -+ Share failed. Please check samba config. -+ -+ - - -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 @@ - - Peony::SharePropertiesPagePlugin - -- -+ - Peony Qt Share Extension - Peony Qt Share Eklentisi - - -- -+ - Allow user share folders - Kullanıcı paylaşım klasörlerine izin ver - -@@ -24,29 +24,39 @@ - - SharePage - -- -+ - Share folder - Klasör paylaş - - -- -+ - Share: - Paylaş: - - -- -+ - Read Only - Sadece Okunabilir - - -- -+ - Allow Anonymous - Herkese İzin Ver - - -- -+ - Comment: - Yorum yap: - -+ -+ -+ Error -+ -+ -+ -+ -+ Share failed. Please check samba config. -+ -+ - - -二进制文件 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 @@ - - -- -+ - - NetUsershareHelper - -@@ -11,12 +11,12 @@ - - Peony::SharePropertiesPagePlugin - -- -+ - Peony Qt Share Extension - 共享 - - -- -+ - Allow user share folders - 允许共享文件夹 - -@@ -24,29 +24,39 @@ - - SharePage - -- -+ - Share folder - 共享文件夹 - - -- -+ - Share: - 共享: - - -- -+ - Read Only - 只读 - - -- -+ - Allow Anonymous - 允许游客访问 - - -- -+ - Comment: - 注释: - -+ -+ -+ Error -+ 错误 -+ -+ -+ -+ Share failed. Please check samba config. -+ 分享失败。请检查samba设置。 -+ - - diff --git a/peony-extensions-3.0.1.tar.gz b/peony-extensions-3.0.1.tar.gz deleted file mode 100644 index 1af35e1729fde6e03982cb7b1613741ffab193e1..0000000000000000000000000000000000000000 Binary files a/peony-extensions-3.0.1.tar.gz and /dev/null differ diff --git a/peony-extensions-3.2.4.tar.gz b/peony-extensions-3.2.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5c9e77ee63236e172064a3229312bd402f559517 Binary files /dev/null and b/peony-extensions-3.2.4.tar.gz differ diff --git a/peony-extensions.spec b/peony-extensions.spec index 109d556a14cac926bf9bd3160a0317dedb5d9c06..0178e2ab383ce5ccc777fecc27374fc179e349ac 100644 --- a/peony-extensions.spec +++ b/peony-extensions.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: peony-extensions -Version: 3.0.1 -Release: 4 +Version: 3.2.4 +Release: 1 Summary: Peony qt extensions (common files) License: LGPL-3.0+ URL: http://www.ukui.org @@ -18,6 +18,9 @@ BuildRequires: libpeony-dev BuildRequires: peony BuildRequires: poppler-qt5-devel BuildRequires: gsettings-qt-devel +BuildRequires: libudisks2-devel +BuildRequires: libnotify-devel +BuildRequires: kf5-kwayland kf5-kwayland-devel Requires: samba-common-tools Requires: samba @@ -27,7 +30,6 @@ Requires: libpeony3 Requires: qt5-qtimageformats Requires: polkit -patch0: 0001-fix-peony-share-failed-issue.patch %description Peony is the official file manager for the UKUI desktop. This @@ -35,7 +37,7 @@ patch0: 0001-fix-peony-share-failed-issue.patch %prep %setup -q -%patch0 -p1 +#%patch0 -p1 %build export PATH=%{_qt5_bindir}:$PATH @@ -59,11 +61,18 @@ rm -rf $RPM_BUILD_ROOT %preun %files -%doc debian/copyright debian/changelog +#%doc debian/copyright debian/changelog %{_libdir}/peony-extensions %{_prefix}/share/ +#%{_bindir}/peony-share.sh %changelog +* Tue Feb 22 2022 tanyulong - 3.2.4-1 +- update to upstream version 3.2.4 + +* Fri Feb 11 2022 tanyulong - 3.0.1-5 +- add QPainterPath header file + * Tue Dec 15 2020 douyan - 3.0.1-4 - remove post script