Compare commits
No commits in common. "ed79d2c12514abda62559d4f8de6cafa8e4be113" and "381cd1bae18841589b420884eb4e50b468939c1c" have entirely different histories.
ed79d2c125
...
381cd1bae1
@ -1,22 +0,0 @@
|
|||||||
From 821b79c7043e225d6dc0be756c352c5f1683b94c Mon Sep 17 00:00:00 2001
|
|
||||||
From: misaka00251 <liuxin@iscas.ac.cn>
|
|
||||||
Date: Thu, 11 Apr 2024 16:47:01 +0800
|
|
||||||
Subject: [PATCH] Init riscv64 support
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/app/src/fixboot/bootdoctor.cpp b/app/src/fixboot/bootdoctor.cpp
|
|
||||||
index d2e3fe8..67bc0a3 100644
|
|
||||||
--- a/app/src/fixboot/bootdoctor.cpp
|
|
||||||
+++ b/app/src/fixboot/bootdoctor.cpp
|
|
||||||
@@ -103,6 +103,8 @@ bool BootDoctor::fix(const QString &partDevice)
|
|
||||||
"ppc64"
|
|
||||||
#elif defined(HOST_ARCH_ppc64le)
|
|
||||||
"ppc64le"
|
|
||||||
+ #elif defined(HOST_ARCH_riscv64)
|
|
||||||
+ "riscv64"
|
|
||||||
#else
|
|
||||||
"unknow"
|
|
||||||
#endif
|
|
||||||
--
|
|
||||||
2.44.0
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,50 +1,28 @@
|
|||||||
Name: deepin-clone
|
Name: deepin-clone
|
||||||
Version: 5.0.11
|
Version: 5.0.3
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Disk and partition backup/restore tool
|
Summary: Disk and partition backup/restore tool
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/linuxdeepin/deepin-clone
|
URL: https://github.com/linuxdeepin/deepin-clone
|
||||||
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
%ifarch riscv64
|
BuildRequires: gcc-c++ desktop-file-utils qt5-linguist qt5-qtbase-private-devel
|
||||||
Patch1000: Init-riscv64-support.patch
|
BuildRequires: dtkwidget2-devel dtkcore2-devel deepin-gettext-tools dtkcore2 dtkwidget2
|
||||||
%endif
|
BuildRequires: pkgconfig(polkit-qt5-1) pkgconfig(Qt5Core) pkgconfig(Qt5Concurrent) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: qt5-linguist
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
|
||||||
BuildRequires: dtkwidget-devel
|
|
||||||
BuildRequires: dtkcore-devel
|
|
||||||
BuildRequires: dtkgui-devel
|
|
||||||
BuildRequires: deepin-gettext-tools
|
|
||||||
|
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme partclone
|
||||||
Requires: partclone
|
ExclusiveArch: x86_64 %{ix86} aarch64
|
||||||
Requires: jfsutils
|
|
||||||
Requires: ntfs-3g
|
|
||||||
Requires: xfsprogs
|
|
||||||
ExclusiveArch: x86_64 %{ix86} aarch64 riscv64
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
sed -i 's|sbin|bin|' CMakeLists.txt
|
sed -i 's|/usr/sbin|/usr/bin|' app/{%{name}-app.pro,%{name}-ionice,%{name}-pkexec,com.deepin.pkexec.%{name}.policy.tmp}
|
||||||
sed -i 's|Version=0.1|Version=%{version}|' app/%{name}.desktop
|
|
||||||
#sed -i 's|/usr/sbin|/usr/bin|' app/{%{name}-app.pro,%{name}-ionice,%{name}-pkexec,com.deepin.pkexec.%{name}.policy.tmp}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
export CFLAGS="%{optflags} -Wno-error=format-security"
|
%qmake_qt5 PREFIX=%{_prefix}
|
||||||
export CXXFLAGS="%{optflags} -Wno-error=format-security"
|
|
||||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
||||||
-DDISABLE_DFM_PLUGIN=YES \
|
|
||||||
.
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -58,23 +36,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
|||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
||||||
%{_datadir}/mime/packages/%{name}.xml
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
%{_datadir}/polkit-1/actions//com.deepin.pkexec.%{name}.policy
|
%{_polkit_qt_policydir}/com.deepin.pkexec.%{name}.policy
|
||||||
#%{_libdir}/dde-file-manager/plugins/controllers/libdfm-plugin-dim-file.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon May 27 2024 misaka00251 <liuxin@iscas.ac.cn> - 5.0.11-3
|
|
||||||
- Init riscv64 support
|
|
||||||
|
|
||||||
* Tue Aug 22 2023 leeffo <liweiganga@uniontech.com> - 5.0.11-2
|
|
||||||
- fix compile error
|
|
||||||
|
|
||||||
* Thu Jun 01 2023 leeffo <liweiganga@uniontech.com> - 5.0.11-1
|
|
||||||
- update to 5.0.11
|
|
||||||
|
|
||||||
* Thu Feb 10 2022 liweigang <liweiganga@uniontech.com> - 5.0.3-2
|
|
||||||
- fix build error
|
|
||||||
|
|
||||||
* Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.3-1
|
* Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.3-1
|
||||||
- Initial build
|
- Initial build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user