Compare commits
10 Commits
381cd1bae1
...
ed79d2c125
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed79d2c125 | ||
|
|
9c5be0f375 | ||
|
|
5d61f01483 | ||
|
|
f1f840de24 | ||
|
|
8cd3bd129f | ||
|
|
88aaaad230 | ||
|
|
8ee1fe2b4b | ||
|
|
fe88d6e967 | ||
|
|
17fb21fe1e | ||
|
|
eaa3cb7800 |
22
Init-riscv64-support.patch
Normal file
22
Init-riscv64-support.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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,28 +1,50 @@
|
|||||||
Name: deepin-clone
|
Name: deepin-clone
|
||||||
Version: 5.0.3
|
Version: 5.0.11
|
||||||
Release: 1
|
Release: 3
|
||||||
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
|
||||||
|
|
||||||
BuildRequires: gcc-c++ desktop-file-utils qt5-linguist qt5-qtbase-private-devel
|
%ifarch riscv64
|
||||||
BuildRequires: dtkwidget2-devel dtkcore2-devel deepin-gettext-tools dtkcore2 dtkwidget2
|
Patch1000: Init-riscv64-support.patch
|
||||||
BuildRequires: pkgconfig(polkit-qt5-1) pkgconfig(Qt5Core) pkgconfig(Qt5Concurrent) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
|
%endif
|
||||||
|
|
||||||
|
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 partclone
|
Requires: hicolor-icon-theme
|
||||||
ExclusiveArch: x86_64 %{ix86} aarch64
|
Requires: partclone
|
||||||
|
Requires: jfsutils
|
||||||
|
Requires: ntfs-3g
|
||||||
|
Requires: xfsprogs
|
||||||
|
ExclusiveArch: x86_64 %{ix86} aarch64 riscv64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
sed -i 's|/usr/sbin|/usr/bin|' app/{%{name}-app.pro,%{name}-ionice,%{name}-pkexec,com.deepin.pkexec.%{name}.policy.tmp}
|
sed -i 's|sbin|bin|' CMakeLists.txt
|
||||||
|
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
|
||||||
%qmake_qt5 PREFIX=%{_prefix}
|
export CFLAGS="%{optflags} -Wno-error=format-security"
|
||||||
|
export CXXFLAGS="%{optflags} -Wno-error=format-security"
|
||||||
|
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
|
-DDISABLE_DFM_PLUGIN=YES \
|
||||||
|
.
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -36,11 +58,23 @@ 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
|
||||||
%{_polkit_qt_policydir}/com.deepin.pkexec.%{name}.policy
|
%{_datadir}/polkit-1/actions//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