update deepin-desktop-base package
This commit is contained in:
parent
c2c3b6ebde
commit
36d4c2a9a5
82
0001-add-loongarch64-support-for-deepin-desktop-base.patch
Normal file
82
0001-add-loongarch64-support-for-deepin-desktop-base.patch
Normal file
@ -0,0 +1,82 @@
|
||||
From 1c7fc17a178121b4e960a0eddc58be994da12ff5 Mon Sep 17 00:00:00 2001
|
||||
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||||
Date: Wed, 31 May 2023 03:46:37 +0000
|
||||
Subject: [PATCH] add loongarch64 support for deepin-desktop-base
|
||||
|
||||
---
|
||||
Makefile | 5 +++++
|
||||
files/desktop-version-loongarch-server.in | 9 +++++++++
|
||||
files/os-license-loongarch | 11 +++++++++++
|
||||
files/os-version-loongarch | 10 ++++++++++
|
||||
4 files changed, 35 insertions(+)
|
||||
create mode 100644 files/desktop-version-loongarch-server.in
|
||||
create mode 100644 files/os-license-loongarch
|
||||
create mode 100644 files/os-version-loongarch
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1a3e7ca..3f703d1 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -48,6 +48,11 @@ build:
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-arm-server.in > files/desktop-version-server
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-arm > files/os-license
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-arm > files/os-version
|
||||
+ else ifeq (${ARCH_BUILD}, loongarch64)
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-loongarch-server.in > files/desktop-version
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-loongarch-server.in > files/desktop-version-server
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-loongarch > files/os-license
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-loongarch > files/os-version
|
||||
endif
|
||||
sed -e "s|@@VERSION@@|20|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/lsb-release.in > files/lsb-release
|
||||
|
||||
diff --git a/files/desktop-version-loongarch-server.in b/files/desktop-version-loongarch-server.in
|
||||
new file mode 100644
|
||||
index 0000000..e66b575
|
||||
--- /dev/null
|
||||
+++ b/files/desktop-version-loongarch-server.in
|
||||
@@ -0,0 +1,9 @@
|
||||
+[Release]
|
||||
+Version=@@VERSION@@
|
||||
+Type=Server
|
||||
+Type[zh_CN]=服务器版
|
||||
+Edition=Y2020E0002
|
||||
+Copyright=Y2020CR002
|
||||
+[Addition]
|
||||
+Milestone=@@RELEASE@@
|
||||
+Buildid=build1
|
||||
diff --git a/files/os-license-loongarch b/files/os-license-loongarch
|
||||
new file mode 100644
|
||||
index 0000000..5dbdae2
|
||||
--- /dev/null
|
||||
+++ b/files/os-license-loongarch
|
||||
@@ -0,0 +1,11 @@
|
||||
+[UOS-System]
|
||||
+product_id=AJACAA
|
||||
+product_name=服务器
|
||||
+instruction_type=LOONGARCH64
|
||||
+version=20
|
||||
+minor_version=1020
|
||||
+build_id=102
|
||||
+system_cn=e
|
||||
+system_en=e
|
||||
+name_version=v2
|
||||
+server_sum=
|
||||
diff --git a/files/os-version-loongarch b/files/os-version-loongarch
|
||||
new file mode 100644
|
||||
index 0000000..b6f49cb
|
||||
--- /dev/null
|
||||
+++ b/files/os-version-loongarch
|
||||
@@ -0,0 +1,10 @@
|
||||
+[Version]
|
||||
+SystemName=UnionTech OS Server
|
||||
+SystemName[zh_CN]=统信服务器操作系统
|
||||
+ProductType=Server
|
||||
+ProductType[zh_CN]=服务器
|
||||
+EditionName=e
|
||||
+EditionName[zh_CN]=e
|
||||
+MajorVersion=20
|
||||
+MinorVersion=1020
|
||||
+OsBuild=12034.102
|
||||
--
|
||||
2.33.0
|
||||
|
||||
106
1000-add-riscv64-support.patch
Normal file
106
1000-add-riscv64-support.patch
Normal file
@ -0,0 +1,106 @@
|
||||
From 9a2f64700106bfa3c54c780cdbc2bcab39eaddc2 Mon Sep 17 00:00:00 2001
|
||||
From: misaka00251 <liuxin@iscas.ac.cn>
|
||||
Date: Fri, 18 Aug 2023 15:13:05 +0800
|
||||
Subject: [PATCH] Add riscv64 support
|
||||
|
||||
---
|
||||
Makefile | 6 +++++-
|
||||
files/desktop-version-riscv64-server.in | 9 +++++++++
|
||||
files/desktop-version-riscv64.in | 9 +++++++++
|
||||
files/os-license-riscv64 | 10 ++++++++++
|
||||
files/os-version-riscv64 | 10 ++++++++++
|
||||
5 files changed, 43 insertions(+), 1 deletion(-)
|
||||
create mode 100644 files/desktop-version-riscv64-server.in
|
||||
create mode 100644 files/desktop-version-riscv64.in
|
||||
create mode 100644 files/os-license-riscv64
|
||||
create mode 100644 files/os-version-riscv64
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 3f703d1..03e2908 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -53,6 +53,11 @@ build:
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-loongarch-server.in > files/desktop-version-server
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-loongarch > files/os-license
|
||||
sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-loongarch > files/os-version
|
||||
+ else ifeq (${ARCH_BUILD}, riscv64)
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-riscv64.in > files/desktop-version
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-riscv64-server.in > files/desktop-version-server
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-riscv64 > files/os-license
|
||||
+ sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-riscv64 > files/os-version
|
||||
endif
|
||||
sed -e "s|@@VERSION@@|20|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/lsb-release.in > files/lsb-release
|
||||
|
||||
@@ -66,7 +71,6 @@ install:
|
||||
install -Dm644 files/i18n_dependent.json ${DESTDIR}/usr/share/i18n/i18n_dependent.json
|
||||
install -Dm644 files/language_info.json ${DESTDIR}/usr/share/i18n/language_info.json
|
||||
install -Dm644 files/desktop-version ${DESTDIR}/usr/lib/deepin/desktop-version
|
||||
- install -Dm644 files/os-license ${DESTDIR}/var/uos/os-license
|
||||
install -Dm644 files/os-version ${DESTDIR}/etc/os-version
|
||||
install -Dm644 files/lsb-release ${DESTDIR}/etc/lsb-release
|
||||
install -Dm644 files/appstore.json ${DESTDIR}/etc/appstore.json
|
||||
diff --git a/files/desktop-version-riscv64-server.in b/files/desktop-version-riscv64-server.in
|
||||
new file mode 100644
|
||||
index 0000000..e66b575
|
||||
--- /dev/null
|
||||
+++ b/files/desktop-version-riscv64-server.in
|
||||
@@ -0,0 +1,9 @@
|
||||
+[Release]
|
||||
+Version=@@VERSION@@
|
||||
+Type=Server
|
||||
+Type[zh_CN]=服务器版
|
||||
+Edition=Y2020E0002
|
||||
+Copyright=Y2020CR002
|
||||
+[Addition]
|
||||
+Milestone=@@RELEASE@@
|
||||
+Buildid=build1
|
||||
diff --git a/files/desktop-version-riscv64.in b/files/desktop-version-riscv64.in
|
||||
new file mode 100644
|
||||
index 0000000..be95de2
|
||||
--- /dev/null
|
||||
+++ b/files/desktop-version-riscv64.in
|
||||
@@ -0,0 +1,9 @@
|
||||
+[Release]
|
||||
+Version=@@VERSION@@
|
||||
+Type=Desktop
|
||||
+Type[zh_CN]=社区版
|
||||
+Edition=Y2020E0001
|
||||
+Copyright=Y2020CR001
|
||||
+[Addition]
|
||||
+Milestone=@@RELEASE@@
|
||||
+Buildid=build1
|
||||
diff --git a/files/os-license-riscv64 b/files/os-license-riscv64
|
||||
new file mode 100644
|
||||
index 0000000..f972246
|
||||
--- /dev/null
|
||||
+++ b/files/os-license-riscv64
|
||||
@@ -0,0 +1,10 @@
|
||||
+[UOS-System]
|
||||
+product_id=AAAZAA
|
||||
+product_name=桌面
|
||||
+instruction_type=RISCV64
|
||||
+version=20
|
||||
+minor_version=1030
|
||||
+build_id=103
|
||||
+system_cn=专业版
|
||||
+system_en=Professional
|
||||
+server_sum=ffffffffffffffffffffffffffffffff
|
||||
diff --git a/files/os-version-riscv64 b/files/os-version-riscv64
|
||||
new file mode 100644
|
||||
index 0000000..9566c1d
|
||||
--- /dev/null
|
||||
+++ b/files/os-version-riscv64
|
||||
@@ -0,0 +1,10 @@
|
||||
+[Version]
|
||||
+SystemName=deepin
|
||||
+SystemName[zh_CN]=深度操作系统
|
||||
+ProductType=Desktop
|
||||
+ProductType[zh_CN]=桌面
|
||||
+EditionName=Community
|
||||
+EditionName[zh_CN]=社区版
|
||||
+MajorVersion=20
|
||||
+MinorVersion=1030
|
||||
+OsBuild=11014.103
|
||||
--
|
||||
2.39.2 (Apple Git-143)
|
||||
|
||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# deepin-desktop-base
|
||||
|
||||
#### Description
|
||||
deepin desktop base
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### 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)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# deepin-desktop-base
|
||||
|
||||
#### 介绍
|
||||
deepin desktop base
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
@ -2,13 +2,17 @@
|
||||
|
||||
Name: deepin-desktop-base
|
||||
Version: 2022.01.27
|
||||
Release: 3
|
||||
Release: 5
|
||||
Summary: Base files for Deepin Desktop
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/deepin-desktop-base
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: 0001-compliance-modification-of-regional-and-textual-titl.patch
|
||||
Patch1: 0001-fix-logo.patch
|
||||
Patch2: 0001-add-loongarch64-support-for-deepin-desktop-base.patch
|
||||
%ifarch riscv64
|
||||
Patch3: 1000-add-riscv64-support.patch
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -75,6 +79,12 @@ ln -sfv %{_datadir}/deepin/desktop-version-server %{buildroot}%{_sysconfdir}/dee
|
||||
%exclude %{_sysconfdir}/os-version
|
||||
|
||||
%changelog
|
||||
* Fri Aug 18 2023 misaka00251 <liuxin@iscas.ac.cn> - 2022.01.27-5
|
||||
- Add riscv64 support
|
||||
|
||||
* Fri Jun 9 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2022.01.27-4
|
||||
- fix build error for loongarch64
|
||||
|
||||
* Fri Jun 09 2023 lee <liweiganga@uniontech.com> - 2022.01.27-3
|
||||
- fix logo
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user