Skip to content

Commit 2ab364d

Browse files
sync: from linuxdeepin/dde-session-shell
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#48
1 parent aaf276b commit 2ab364d

File tree

13 files changed

+101
-84
lines changed

13 files changed

+101
-84
lines changed

.reuse/dep5

Lines changed: 0 additions & 73 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
66
set(CMAKE_INSTALL_PREFIX /usr)
77
endif ()
88

9+
add_definitions(-DCMAKE_INSTALL_FULL_LIBDIR=\"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\")
10+
911
set(CMAKE_CXX_STANDARD 17)
1012
set(CMAKE_INCLUDE_CURRENT_DIR ON)
1113
set(CMAKE_AUTOMOC ON)

REUSE.toml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
version = 1
2+
SPDX-PackageName = "dde-session-shell"
3+
SPDX-PackageSupplier = "UnionTech Software Technology Co., Ltd."
4+
SPDX-PackageDownloadLocation = "https://github.com/linuxdeepin/dde-session-shell"
5+
6+
[[annotations]]
7+
path = ["README.md", "README.zh_CN.md"]
8+
precedence = "aggregate"
9+
SPDX-FileCopyrightText = "None"
10+
SPDX-License-Identifier = "CC-BY-4.0"
11+
12+
[[annotations]]
13+
path = ["cmake/**.in", "cmake/**.cmake"]
14+
precedence = "aggregate"
15+
SPDX-FileCopyrightText = "None"
16+
SPDX-License-Identifier = "CC0-1.0"
17+
18+
[[annotations]]
19+
path = "src/global_util/dbus/**"
20+
precedence = "aggregate"
21+
SPDX-FileCopyrightText = "The Qt Company Ltd."
22+
SPDX-License-Identifier = "CC0-1.0"
23+
24+
[[annotations]]
25+
path = ["**.pro", "**.qrc", "**CMakeLists.txt", "**.cmake", "qt-theme.ini", "files/**", "scripts/**", "src/lightdm-deepin-greeter/deepin-greeter", ".project", ".syncexclude"]
26+
precedence = "aggregate"
27+
SPDX-FileCopyrightText = "None"
28+
SPDX-License-Identifier = "CC0-1.0"
29+
30+
[[annotations]]
31+
path = "docs/**"
32+
precedence = "aggregate"
33+
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
34+
SPDX-License-Identifier = "GPL-3.0-or-later"
35+
36+
[[annotations]]
37+
path = ["src/widgets/img/**", "misc/images/**", "src/session-widgets/img/**", "plugins/examples/login-plugins/login-udcp/images/**"]
38+
precedence = "aggregate"
39+
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
40+
SPDX-License-Identifier = "GPL-3.0-or-later"
41+
42+
[[annotations]]
43+
path = ["translations/**", "plugins/login-gesture/translations/**", ".tx/**"]
44+
precedence = "aggregate"
45+
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
46+
SPDX-License-Identifier = "GPL-3.0-or-later"
47+
48+
[[annotations]]
49+
path = ["lupdate.sh", "tests/test-recoverage.sh", "translate_generation.sh"]
50+
precedence = "aggregate"
51+
SPDX-FileCopyrightText = "None"
52+
SPDX-License-Identifier = "CC0-1.0"
53+
54+
[[annotations]]
55+
path = ".gitignore"
56+
precedence = "aggregate"
57+
SPDX-FileCopyrightText = "None"
58+
SPDX-License-Identifier = "CC0-1.0"
59+
60+
[[annotations]]
61+
path = [".github/**", ".gitlab-ci.yml", ".obs/**"]
62+
precedence = "aggregate"
63+
SPDX-FileCopyrightText = "None"
64+
SPDX-License-Identifier = "CC0-1.0"
65+
66+
[[annotations]]
67+
path = ["xml/**.xml", "**.json", "**.conf"]
68+
precedence = "aggregate"
69+
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
70+
SPDX-License-Identifier = "GPL-3.0-or-later"
71+
72+
[[annotations]]
73+
path = "src/widgets/skin/**.qss"
74+
precedence = "aggregate"
75+
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
76+
SPDX-License-Identifier = "GPL-3.0-or-later"
77+
78+
[[annotations]]
79+
path = ["debian/**", "rpm/**", "archlinux/**"]
80+
precedence = "aggregate"
81+
SPDX-FileCopyrightText = "None"
82+
SPDX-License-Identifier = "CC0-1.0"
83+
84+
[[annotations]]
85+
path = "toolGenerate/**/**"
86+
precedence = "aggregate"
87+
SPDX-FileCopyrightText = "None"
88+
SPDX-License-Identifier = "CC0-1.0"

plugins/assist_login/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ aux_source_directory(. SRCS)
2020
add_library(${LIB_NAME} SHARED ${SRCS})
2121

2222
add_subdirectory(interface)
23-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
23+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/assist_login/interface/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ link_libraries(
2828

2929
# 安装/user/lib
3030
install(FILES include/assist_login_interface.h DESTINATION /usr/include/dde-session-shell)
31-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
31+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/examples/login-plugins/login-basic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE
8181
set(CMAKE_INSTALL_PREFIX "/usr")
8282

8383
# 设置执行 make install 时哪个目标应该被 install 到哪个位置
84-
install(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
84+
install(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/examples/login-plugins/login-complex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ aux_source_directory(. SRCS)
1212

1313
add_library(${LIB_NAME} SHARED ${SRCS})
1414

15-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
15+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/examples/login-plugins/login-fullManaged/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ aux_source_directory(. SRCS)
1212

1313
add_library(${LIB_NAME} SHARED ${SRCS})
1414

15-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
15+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/examples/login-plugins/login-udcp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ aux_source_directory(. SRCS)
1212

1313
add_library(${LIB_NAME} SHARED ${SRCS} login-plugin.qrc)
1414

15-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
15+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

plugins/examples/tray-plugins/network/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ aux_source_directory(. SRCS)
1212

1313
add_library(${LIB_NAME} SHARED ${SRCS})
1414

15-
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION lib/dde-session-shell/modules)
15+
install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/dde-session-shell/modules)

0 commit comments

Comments
 (0)