Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
fbbd4d2c0d
!17 sync by openEuler-22.03-LTS-SP3
From: @ut-layne-yang 
Reviewed-by: @xzyangha 
Signed-off-by: @xzyangha
2024-06-19 06:51:26 +00:00
liuzhilin
f3021cabe7 update deepin-icon-theme package 2024-06-19 10:43:54 +08:00
openeuler-ci-bot
0012cfa905
!9 [sync] PR-8: 【轻量级 PR】:fix install Conflict
From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-06-13 08:15:41 +00:00
leeffo
350461d8f6 fix install Conflict
Signed-off-by: leeffo <liweiganga@uniontech.com>
(cherry picked from commit 1243b1b44e31a10e27183f862504ed8f40a1a42e)
2023-06-13 15:25:07 +08:00
openeuler-ci-bot
0c97aeaa40
!7 [sync] PR-6: update to 2021.11.18
From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-05-08 03:06:57 +00:00
liweiganga
9388270ae0 update: update to 2021.11.18
(cherry picked from commit 9365e95bfacd86dafef84ae6d4ee5709f1be6847)
2023-05-08 10:41:35 +08:00
openeuler-ci-bot
d26fa39f37
!5 update to upstream 2021.04.20
From: @xzyangha 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2022-10-28 02:27:40 +00:00
yangxianzhao
03f6ba6a51 update to upstream 2021.04.20 2022-10-25 10:29:15 +08:00
openeuler-ci-bot
4445385648 !2 add yaml and fix spec
Merge pull request !2 from panchenbo/master
2020-07-30 17:14:34 +08:00
panchenbo
cd0cd1a84c add yaml and fix spec 2020-07-30 16:04:48 +08:00
openeuler-ci-bot
5026f78726 !1 package init
Merge pull request !1 from panchenbo/master
2020-07-15 09:31:51 +08:00
5 changed files with 56 additions and 116 deletions

View File

@ -1,36 +0,0 @@
# deepin-icon-theme
#### Description
deepin icon theme
#### 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/)

View File

@ -1,37 +0,0 @@
# deepin-icon-theme
#### 介绍
deepin icon theme
#### 软件架构
软件架构说明
#### 安装教程
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/)

View File

@ -1,79 +1,88 @@
%global themes bloom bloom-dark bloom-classic bloom-classic-dark Sea
%global start_logo start-here
Name: deepin-icon-theme
Version: 2020.06.28
Version: 2022.07.14
Release: 1
Summary: Icons for the Deepin Desktop Environment
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-icon-theme
Source0: %{name}-%{version}.orig.tar.xz
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gtk-update-icon-cache
BuildRequires: xorg-x11-apps
Requires: papirus-icon-theme
Conflicts: deepin-cursor-theme
Conflicts: sea-icon-theme
%description
%{summary}.
%package -n sea-icon-theme
Summary: Deepin Sea Icons
Conflicts: deepin-icon-theme < 15.12.65
%description -n sea-icon-theme
Deepin Sea Icons
This package is DeepinIconTheme Sea
%prep
%setup -q -n %{name}-%{version}
%autosetup -p1 -n %{name}-%{version}
# no such theme
sed -i '/bloom-v20/d' Makefile
%build
make
%make_build
%install
sed -i -E '/bloom-v20/d' Makefile
mkdir -p %{buildroot}/usr/share/icons/bloom-classic
cp -r bloom-classic/* %{buildroot}/usr/share/icons/bloom-classic
mkdir -p %{buildroot}/usr/share/icons/bloom-classic-dark
cp -r bloom-classic-dark/* %{buildroot}/usr/share/icons/bloom-classic-dark
mkdir -p %{buildroot}/usr/share/icons/Sea
cp -r Sea/* %{buildroot}/usr/share/icons/Sea/
%{__make} install-icons DESTDIR=%{?buildroot} INSTALL="%{__install} -p" PREFIX=%{_prefix}
%{__make} install-cursors DESTDIR=%{?buildroot} INSTALL="%{__install} -p" PREFIX=%{_prefix}
%{__make} hicolor-links
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
cp -a ./Sea ./bloom-classic ./bloom-classic-dark ./usr/share/icons/hicolor %{buildroot}%{_datadir}/icons
for theme in %{themes}; do
for dir in %{buildroot}%{_datadir}/icons/$theme/places/*; do
size=$(basename $dir)
if [ -f %{_datadir}/icons/hicolor/${size}x${size}/places/%{start_logo}.png ]; then
ln -sf ../../../hicolor/${size}x${size}/places/%{start_logo}.png $dir
elif [ -f %{_datadir}/icons/hicolor/${size}/places/%{start_logo}.svg ]; then
ln -sf ../../../hicolor/${size}/places/%{start_logo}.svg $dir
fi
done
touch %{buildroot}%{_datadir}/icons/$theme/icon-theme.cache
done
%post
touch --no-create %{_datadir}/icons/deepin &>/dev/null || :
touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null || :
touch --no-create %{_datadir}/icons/Sea &>/dev/null || :
for theme in %{themes}; do
touch --no-create %{_datadir}/icons/$theme &>/dev/null || :
done
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/deepin &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || :
touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || :
touch --no-create %{_datadir}/icons/Sea &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || :
for theme in %{themes}; do
touch --no-create %{_datadir}/icons/$theme &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || :
done
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || :
for theme in %{themes}; do
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || :
done
%files
%license LICENSE
%{_datadir}/icons/hicolor/*/status/*.svg
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/icons/bloom-dark/
%{_datadir}/icons/bloom/
%{_datadir}/icons/bloom-classic/
%{_datadir}/icons/bloom-classic-dark/
%{_datadir}/icons/bloom-dark
%files -n sea-icon-theme
%license LICENSE
%{_datadir}/icons/Sea/
%{_datadir}/icons/Vintage/
%ghost %{_datadir}/icons/*/icon-theme.cache
%changelog
* Thu Jun 11 2020 uoser <uoser@uniontech.com> - 2020.05.25
- Update to 2020.05.25
* Wed Jul 26 2023 leeffo <liweiganga@uniontech.com> - 2022.07.14-1
- upgrade to version
* Tue Jun 13 2023 liweigang <liweiganga@uniontech.com> - 2021.11.18-2
- fix install Conflict
* Fri Mar 31 2023 liweiganga <liweiganga@uniontech.com> - 2021.11.18-1
- update: update to 2021.11.18
* Tue Jul 19 2022 konglidong <konglidong@uniontech.com> - 2021.04.20-1
- Update to 2021.04.20
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 2020.06.28-1
- Package init

4
deepin-icon-theme.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: linuxdeepin/deepin-icon-theme
tag_prefix: ^v
seperator: .