Compare commits
12 Commits
6926f146a5
...
6c747920c1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c747920c1 | ||
|
|
59b8cd5c04 | ||
|
|
a816348162 | ||
|
|
588c8a8630 | ||
|
|
b9c5962aa7 | ||
|
|
25d1577935 | ||
|
|
3082ce87e7 | ||
|
|
be2fb214c8 | ||
|
|
3b1eac7c05 | ||
|
|
339ec6e375 | ||
|
|
a193962591 | ||
|
|
ae976350aa |
28
0001-del-some-config.patch
Normal file
28
0001-del-some-config.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From b6255811dc5537396e8d35c533267d16bf505002 Mon Sep 17 00:00:00 2001
|
||||
From: root <root@localhost.localdomain>
|
||||
Date: Tue, 18 Jan 2022 18:30:11 +0800
|
||||
Subject: [PATCH] del some config
|
||||
|
||||
---
|
||||
udev.rules.d/99-deepin.rules | 9 ---------
|
||||
1 file changed, 9 deletions(-)
|
||||
|
||||
diff --git a/udev.rules.d/99-deepin.rules b/udev.rules.d/99-deepin.rules
|
||||
index 13ecd4a..8bf002b 100644
|
||||
--- a/udev.rules.d/99-deepin.rules
|
||||
+++ b/udev.rules.d/99-deepin.rules
|
||||
@@ -1,11 +1,2 @@
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/iosched/slice_idle}="0"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/iosched/low_latency}="0"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/iosched/quantum}="32"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/iosched/slice_sync}="400"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/nr_requests}="4096"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/read_ahead_kb}="4096"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/iosched/back_seek_penalty}="16"
|
||||
-ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/max_sectors_kb}="%s{queue/max_hw_sectors_kb}"
|
||||
# Disable Wlan power save
|
||||
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*" RUN+="/sbin/iw dev %k set power_save off"
|
||||
--
|
||||
2.27.0
|
||||
|
||||
35
0002-feat-GB_SS_GB18030_Extended.patch
Normal file
35
0002-feat-GB_SS_GB18030_Extended.patch
Normal file
@ -0,0 +1,35 @@
|
||||
From 213d5c949bb45c1f309120231eda78dc0944bfbe Mon Sep 17 00:00:00 2001
|
||||
From: Lv Peilong <lvpeilong@uniontech.com>
|
||||
Date: Mon, 20 Mar 2023 13:53:17 +0800
|
||||
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E4=B8=AD=E6=96=87?=
|
||||
=?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=8B=E9=BB=98=E8=AE=A4=E5=AD=97=E4=BD=93?=
|
||||
=?UTF-8?q?=E4=B8=BAGB=5FSS=5FGB18030=5FExtended?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
修改中文环境下默认字体为GB_SS_GB18030_Extended
|
||||
|
||||
Log: 修改中文环境下默认字体为GB_SS_GB18030_Extended
|
||||
Task: https://pms.uniontech.com/task-view-251979.html
|
||||
Influence: 镜像默认字体功能
|
||||
Change-Id: If736f4beb0ab0e68cd1ac8e33dc5afd4e3f664de
|
||||
---
|
||||
usr.share.d/deepin-default-settings/fontconfig.json | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/usr.share.d/deepin-default-settings/fontconfig.json b/usr.share.d/deepin-default-settings/fontconfig.json
|
||||
index 42748c9..141e983 100644
|
||||
--- a/usr.share.d/deepin-default-settings/fontconfig.json
|
||||
+++ b/usr.share.d/deepin-default-settings/fontconfig.json
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"zh_CN":{
|
||||
- "Standard":"Noto Sans CJK SC",
|
||||
+ "Standard":"GB_SS_GB18030_Extended",
|
||||
"Mono":"Noto Mono"
|
||||
},
|
||||
"zh_TW":{
|
||||
--
|
||||
2.20.1
|
||||
|
||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# deepin-default-settings
|
||||
|
||||
#### Description
|
||||
This library is designed to be exception-free and avoid Qt application developer do direct access to glib/glibmm
|
||||
|
||||
#### 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-default-settings
|
||||
|
||||
#### 介绍
|
||||
This library is designed to be exception-free and avoid Qt application developer do direct access to glib/glibmm
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
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/)
|
||||
BIN
deepin-default-settings-2021.12.16.tar.gz
Normal file
BIN
deepin-default-settings-2021.12.16.tar.gz
Normal file
Binary file not shown.
@ -1,10 +1,13 @@
|
||||
Name: deepin-default-settings
|
||||
Version: 2020.10.26
|
||||
Release: 2
|
||||
Version: 2021.12.16
|
||||
Release: 1
|
||||
Summary: default settings for deepin destkop environment
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/default-settings
|
||||
Source0: %{name}_%{version}+euler.orig.tar.xz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0001-del-some-config.patch
|
||||
Patch1: 0002-feat-GB_SS_GB18030_Extended.patch
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: dde-desktop
|
||||
@ -20,7 +23,7 @@ Summary: default settings for deepin destkop environment
|
||||
This package includes files to override cups default page and fcitx icon.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}+euler
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -31,9 +34,12 @@ This package includes files to override cups default page and fcitx icon.
|
||||
mkdir -p %{buildroot}/usr/share/deepin-default-settings/cups-filters/
|
||||
mkdir -p %{buildroot}/usr/share/deepin-default-settings/google-chrome/
|
||||
mkdir -p %{buildroot}/usr/share/deepin-default-settings/fcitx/
|
||||
mkdir -p %{buildroot}/etc/
|
||||
|
||||
install -Dm644 tuning/cups-filters/*.pdf %{buildroot}/usr/share/deepin-default-settings/cups-filters/
|
||||
install -Dm644 tuning/google-chrome/*.tar %{buildroot}/usr/share/deepin-default-settings/google-chrome/
|
||||
install -Dm644 tuning/fcitx/*.png %{buildroot}/usr/share/deepin-default-settings/fcitx/
|
||||
cp -r skel %{buildroot}/etc/
|
||||
|
||||
install -d %{buildroot}%{_sysconfdir}/skel/{Desktop,Documents,Downloads,Pictures/Wallpapers,Music,Videos,.Public,.Templates}
|
||||
install -d %{buildroot}%{_sysconfdir}/skel/.local/share/Trash
|
||||
@ -54,7 +60,9 @@ if [ ! -f /root/Desktop/dde-computer.desktop ] && [ ! -f /root/Desktop/dde-trash
|
||||
install -m644 /etc/skel/Music/bensound-sunny.mp3 /root//Music/ || true
|
||||
fi
|
||||
|
||||
for i in $(getent passwd | grep -v nologin | grep -v halt | grep -v shutdown | grep -v sync); do
|
||||
declare -a passwd_array
|
||||
mapfile -t passwd_array <<<"$(getent passwd | grep -v nologin | grep -v halt | grep -v shutdown | grep -v sync)"
|
||||
for i in "${passwd_array[@]}"; do
|
||||
userid=$(echo "$i" | awk -F ':' '{print $3}')
|
||||
groupid=$(echo "$i" | awk -F ':' '{print $4}')
|
||||
userhome=$(echo "$i" | awk -F ':' '{print $6}')
|
||||
@ -66,6 +74,7 @@ for i in $(getent passwd | grep -v nologin | grep -v halt | grep -v shutdown | g
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
%post -n deepin-default-settings-tuning
|
||||
|
||||
for i in 16 22 24 32 48 128 ;do
|
||||
@ -105,6 +114,7 @@ fi
|
||||
%{_sysconfdir}/skel/Music/bensound-sunny.mp3
|
||||
%{_sysconfdir}/sudoers.d/01_always_set_sudoers_home
|
||||
/lib/udev/rules.d/99-deepin.rules
|
||||
%{_libexecdir}/dde-first-run
|
||||
%{_bindir}/dde-first-run
|
||||
#服务器不需要桌面版调优参数
|
||||
%exclude %{_sysctldir}/deepin.conf
|
||||
@ -121,6 +131,15 @@ fi
|
||||
%{_datadir}/deepin-default-settings/fcitx/*.png
|
||||
|
||||
%changelog
|
||||
* Fri Jul 28 2023 leeffo <liweiganga@uniontech.com> - 2021.12.16-1
|
||||
- upgrade to version 2021.12.16
|
||||
|
||||
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 2021.11.11-1
|
||||
- update: update to 2021.11.11
|
||||
|
||||
* Thu Jul 21 2022 wangqia <wangqia@uniontech.com> - 2020.10.26-3
|
||||
- Optimize post script
|
||||
|
||||
* Tue Mar 08 2022 liweiganga <liweiganga@uniontech.com> - 2020.10.26-2
|
||||
- fix install warning
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user