代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/ukui-themes 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 962d4e1c6462e0be889379ff887d516657f20f5a Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Wed, 11 Jan 2023 15:40:46 +0800
Subject: [PATCH] modify ukui-themes compile error
---
meson.build | 19 ++++++++++---------
themes/meson.build | 10 +++++-----
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/meson.build b/meson.build
index 1c5681bc..b6838c94 100644
--- a/meson.build
+++ b/meson.build
@@ -4,7 +4,7 @@ project(
)
install_subdir(
'themes/ukui-dark/gtk-2.0',
- install_dir: '/usr/share/themes/ukui-black',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-black'),
)
@@ -16,39 +16,39 @@ install_subdir(
install_subdir(
'themes/ukui-dark/gtk-3.0',
- install_dir: '/usr/share/themes/ukui-black',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-black'),
)
install_subdir(
'themes/ukui-light/gtk-2.0',
- install_dir: '/usr/share/themes/ukui',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui'),
)
install_subdir(
'themes/ukui-light/gtk-3.0',
- install_dir: '/usr/share/themes/ukui',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui'),
)
install_subdir(
'themes/ukui-light/gtk-2.0',
- install_dir: '/usr/share/themes/ukui-white',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-white'),
)
install_subdir(
'themes/ukui-light/gtk-3.0',
- install_dir: '/usr/share/themes/ukui-white',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-white'),
)
install_data(
'ukui-custom.xml',
- install_dir : '/usr/share/mime/packages/',
+ install_dir: join_paths(get_option('datadir'),'mime/packages'),
)
install_data(
'debian/25_ubuntukylin-theme.gschema.override',
- install_dir : '/usr/share/glib-2.0/schemas/',
+ install_dir: join_paths(get_option('datadir'),'glib-2.0/schemas/'),
)
install_subdir(
@@ -58,11 +58,12 @@ install_subdir(
install_subdir(
'blue-crystal',
- install_dir: '/usr/share/icons',
+ install_dir: join_paths(get_option('datadir'),'icons'),
)
install_subdir(
'dark-sense',
install_dir: '/usr/share/icons',
+ install_dir: join_paths(get_option('datadir'),'icons'),
)
subdir('themes')
diff --git a/themes/meson.build b/themes/meson.build
index 52c8322a..0d531f4b 100644
--- a/themes/meson.build
+++ b/themes/meson.build
@@ -1,27 +1,27 @@
install_data(
'ukui/index.theme.in',
rename : 'index.theme',
- install_dir : '/usr/share/themes/ukui',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui'),
)
install_data(
'ukui-black/index.theme.in',
rename : 'index.theme',
- install_dir : '/usr/share/themes/ukui-black',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-black'),
)
install_data(
'ukui-white/index.theme.in',
rename : 'index.theme',
- install_dir : '/usr/share/themes/ukui-white',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-white'),
)
install_data(
'ukui-dark/index.theme.in',
rename : 'index.theme',
- install_dir : '/usr/share/themes/ukui-dark',
+ install_dir: join_paths(get_option('datadir'),'themes/dark'),
)
install_data(
'ukui-light/index.theme.in',
rename : 'index.theme',
- install_dir : '/usr/share/themes/ukui-light',
+ install_dir: join_paths(get_option('datadir'),'themes/ukui-light'),
)
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。