Skip to content

Commit 4966741

Browse files
authored
chore: optimize packaging (#1225)
* Declare Breaks against dde-clipboard (<< 1:6.0.14) dde-shell 1.99.3 dropped dock-clipboarditem dde-clipboard 6.0.14 added dock-clipboard-plugin c3e7601 linuxdeepin/dde-clipboard@8f21399 Reorg: dde-shell and dde-clipboard existed; move some files from dde-shell to dde-clipboard * dde-shell should not be Multi-Arch: same * d/control: Update B-D relationship from > to >= (The short version restrictions < and > actually mean <= and >= (and not << or >>, as one might expect). * Update debhelper-compat to 13, Standards-Version to 4.6.2 * wrap-and-sort -bastk * Sort debian/dde-shell.install * fix d/changelog * Drop ENABLE_DEEPIN_NMQT, no longer rely on lsb_release Log:
1 parent c067829 commit 4966741

5 files changed

Lines changed: 98 additions & 85 deletions

File tree

debian/changelog

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@ dde-shell (1.99.39) unstable; urgency=medium
110110
* feat: add activeWindow D-Bus interface
111111
* chore: tweak role{group,combine}model
112112

113-
-- Wang Zichong <wangzichong@deepin.org> Thu, 12 Jun 2025 19:12:00 +0800
113+
-- Wang Zichong <wangzichong@deepin.org> Thu, 12 Jun 2025 19:12:00 +0800
114114

115115
dde-shell (1.99.38) unstable; urgency=medium
116116

117-
* fix: The tray window panel automatically opens
117+
* fix: The tray window panel automatically opens
118118
* fix: just use one Dbus interface.
119-
* fix: update tanslation with Lock dock.
120-
* feat: Lock the height of dock.
119+
* fix: update tanslation with Lock dock.
120+
* feat: Lock the height of dock.
121121

122-
-- Wu Jiangyu <wujiangyu@uniontech.com> Thu, 05 Jun 2025 16:35:14 +0800
122+
-- Wu Jiangyu <wujiangyu@uniontech.com> Thu, 05 Jun 2025 16:35:14 +0800
123123

124124
dde-shell (1.99.37) unstable; urgency=medium
125125

@@ -145,12 +145,12 @@ dde-shell (1.99.36) unstable; urgency=medium
145145

146146
dde-shell (1.99.35) unstable; urgency=medium
147147

148-
* chore: drop no longer existed translation resource
149-
* chore: update copywriting of dock modes
150-
* feat: Add animation for position switching to dock
148+
* chore: drop no longer existed translation resource
149+
* chore: update copywriting of dock modes
150+
* feat: Add animation for position switching to dock
151151
* Update translations from Transifex
152152

153-
-- Wu Jiangyu <wujiangyu@uniontech.com> Tue, 13 May 2025 17:20:000 +0800
153+
-- Wu Jiangyu <wujiangyu@uniontech.com> Tue, 13 May 2025 17:20:00 +0800
154154

155155
dde-shell (1.99.34) unstable; urgency=medium
156156

@@ -262,7 +262,7 @@ dde-shell (1.99.22) UNRELEASED; urgency=medium
262262
* fix: The dock automatically hides
263263
* fix: item size not updated when taskbar item count was changed (Bug: 289225)
264264
* i18n: Updates for project Deepin Desktop Environment
265-
265+
266266
-- Wang Zichong <wangzichong@deepin.org> Fri, 21 Feb 2025 13:42:00 +0800
267267

268268
dde-shell (1.99.21) UNRELEASED; urgency=medium
@@ -600,7 +600,7 @@ dde-shell (0.0.21) unstable; urgency=medium
600600

601601
* fix: app tray icon size not same as plugin
602602

603-
-- tsic404 <tsic@tsic-v23> Tue, 14 May 2024 14:44:31 +0800
603+
-- tsic404 <liuheng@deepin.org> Tue, 14 May 2024 14:44:31 +0800
604604

605605
dde-shell (0.0.20) unstable; urgency=medium
606606

@@ -946,7 +946,7 @@ dde-shell (0.0.2) unstable; urgency=medium
946946
* fix: missing systemd package
947947
* fix: missing labs package
948948
* feat: Add new UI about notification
949-
949+
950950
-- YeShanShan <yeshanshan@deepin.org> Fri, 15 Dec 2023 09:20:22 +0800
951951

952952
dde-shell (0.0.1) unstable; urgency=medium

debian/control

Lines changed: 61 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,93 @@ Section: DDE
33
Priority: optional
44
Maintainer: Deepin Packages Builder <packages@deepin.com>
55
Build-Depends:
6-
debhelper-compat ( =12),
6+
debhelper-compat (= 13),
77
cmake,
8-
systemd,
9-
qt6-base-dev,
10-
qt6-declarative-dev,
11-
qt6-base-dev-tools,
12-
qt6-tools-dev,
13-
qt6-wayland ( >=6.8.0-0deepin6),
14-
qt6-wayland-dev ( >=6.8.0-0deepin6),
15-
qt6-wayland-dev-tools,
16-
qt6-wayland-private-dev,
17-
wayland-protocols,
18-
treeland-protocols,
19-
libdtk6gui-dev,
8+
dde-application-manager-api (>= 1.2.23),
9+
dde-tray-loader-dev (>= 1.99.14),
10+
extra-cmake-modules,
2011
libdtk6core-bin,
2112
libdtk6core-dev,
13+
libdtk6declarative,
14+
libdtk6gui-dev,
2215
libdtk6widget-dev,
2316
libdtkcommon-dev,
17+
libgtest-dev,
2418
libicu-dev,
19+
libqt6svg6,
2520
libxcb-ewmh-dev,
21+
libxcb-icccm4-dev,
2622
libxcb-res0-dev,
2723
libxcb-util-dev,
28-
libxcb-icccm4-dev,
2924
libxcb1-dev,
3025
libxtst-dev,
31-
libgtest-dev,
32-
extra-cmake-modules,
33-
libqt6svg6,
34-
libdtk6declarative, qml6-module-qtquick-controls2-styles-chameleon, qt6-declarative-private-dev,
3526
libyaml-cpp-dev,
36-
qt6-l10n-tools, qt6-svg-dev, dde-tray-loader-dev (> 1.99.14),
37-
dde-application-manager-api (> 1.2.23)
38-
Standards-Version: 3.9.8
27+
qml6-module-qtquick-controls2-styles-chameleon,
28+
qt6-base-dev,
29+
qt6-base-dev-tools,
30+
qt6-declarative-dev,
31+
qt6-declarative-private-dev,
32+
qt6-l10n-tools,
33+
qt6-svg-dev,
34+
qt6-tools-dev,
35+
qt6-wayland (>= 6.8.0-0deepin6),
36+
qt6-wayland-dev (>= 6.8.0-0deepin6),
37+
qt6-wayland-dev-tools,
38+
qt6-wayland-private-dev,
39+
systemd,
40+
treeland-protocols,
41+
wayland-protocols,
42+
Standards-Version: 4.6.2
3943
Homepage: https://github.com/linuxdeepin/dde-shell
4044

4145
Package: libdde-shell
4246
Architecture: any
43-
Depends: ${shlibs:Depends}, ${misc:Depends}
47+
Depends:
48+
${misc:Depends},
49+
${shlibs:Depends},
4450
Multi-Arch: same
4551
Description: DDE Shell library
4652
DDE Shell is a plugin system that integrates plugins developed based on this plugin system into DDE.
4753

48-
Package: libdde-shell-dev
49-
Architecture: any
50-
Depends: ${misc:Depends}, libdde-shell( =${binary:Version}),
51-
qt6-base-dev, libdtk6core-dev, qt6-tools-dev, qt6-declarative-dev
52-
Description: DDE Shell devel library
53-
DDE Shell is a plugin system that integrates plugins developed based on this plugin system into DDE.
54-
5554
Package: dde-shell
5655
Architecture: any
57-
Depends: ${shlibs:Depends}, ${misc:Depends}, libdde-shell( =${binary:Version}),
58-
libqt6svg6, qml6-module-qt-labs-platform,
59-
libqt6sql6-sqlite,
60-
qt6-wayland ( >=6.8),
61-
qml6-module-qtquick-layouts, qml6-module-qtquick-window,
62-
libdtk6declarative, qml6-module-qtquick-controls2-styles-chameleon,
63-
qml6-module-qtquick-layouts, qml6-module-qtquick-window,
64-
qml6-module-qt-labs-platform, qml6-module-qt-labs-qmlmodels,
65-
dde-tray-loader (> 1.99.8)
66-
Multi-Arch: same
56+
Depends:
57+
dde-tray-loader (>= 1.99.8),
58+
libdde-shell (= ${binary:Version}),
59+
libdtk6declarative,
60+
libqt6sql6-sqlite,
61+
libqt6svg6,
62+
qml6-module-qt-labs-platform,
63+
qml6-module-qt-labs-qmlmodels,
64+
qml6-module-qtquick-controls2-styles-chameleon,
65+
qml6-module-qtquick-layouts,
66+
qml6-module-qtquick-window,
67+
qt6-wayland (>= 6.8),
68+
${misc:Depends},
69+
${shlibs:Depends},
70+
Breaks:
71+
dde-clipboard (<< 1:6.0.14),
6772
Description: An wrapper for developed based on dde-shell plugin system
6873

6974
Package: dde-shell-example
7075
Architecture: any
71-
Depends: ${shlibs:Depends}, ${misc:Depends}, libdde-shell( =${binary:Version}),
72-
qml6-module-qt-labs-platform
76+
Depends:
77+
libdde-shell (= ${binary:Version}),
78+
qml6-module-qt-labs-platform,
79+
${misc:Depends},
80+
${shlibs:Depends},
7381
Multi-Arch: same
7482
Description: DDE Shell example
7583
This package contains some plugins based on dde-shell plugin system.
84+
85+
Package: libdde-shell-dev
86+
Architecture: any
87+
Depends:
88+
libdde-shell (= ${binary:Version}),
89+
libdtk6core-dev,
90+
qt6-base-dev,
91+
qt6-declarative-dev,
92+
qt6-tools-dev,
93+
${misc:Depends},
94+
Description: DDE Shell devel library
95+
DDE Shell is a plugin system that integrates plugins developed based on this plugin system into DDE.

debian/dde-shell.install

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
usr/bin/*
2-
/usr/lib/systemd/*/dde-shell*.service
3-
/usr/lib/systemd/*/dde-shell-plugin*.service
4-
usr/lib/*/dde-shell/org.deepin.ds.osd*
5-
usr/share/dde-shell/org.deepin.ds.osd*/
2+
usr/lib/*/dde-shell/org.deepin.ds.dde-am*
3+
usr/lib/*/dde-shell/org.deepin.ds.dde-appearance*
4+
usr/lib/*/dde-shell/org.deepin.ds.dde-apps*
5+
usr/lib/*/dde-shell/org.deepin.ds.dde-shutdown*
66
usr/lib/*/dde-shell/org.deepin.ds.dock*
7-
usr/share/dde-shell/org.deepin.ds.dock*/
8-
usr/lib/*/qt6/qml/org/deepin/ds/dock/*
97
usr/lib/*/dde-shell/org.deepin.ds.notification*
10-
usr/share/dde-shell/org.deepin.ds.notification*/
11-
usr/lib/*/dde-shell/org.deepin.ds.dde-appearance*
12-
usr/share/dde-shell/org.deepin.ds.dde-appearance*/
13-
usr/lib/*/dde-shell/org.deepin.ds.dde-am*
8+
usr/lib/*/dde-shell/org.deepin.ds.notificationcenter*
9+
usr/lib/*/dde-shell/org.deepin.ds.osd*
10+
usr/lib/*/libds-notification-shared.so.*
11+
usr/lib/*/qt6/qml/org/deepin/ds/dock/*
12+
usr/lib/*/qt6/qml/org/deepin/ds/notification/*
13+
usr/lib/*/qt6/qml/org/deepin/ds/notificationcenter/*
14+
usr/lib/systemd/*/dde-shell*.service
15+
usr/lib/systemd/*/dde-shell-plugin*.service
16+
usr/share/dde-dock/icons/dcc-setting/*.dci
17+
usr/share/dde-shell/*/translations
1418
usr/share/dde-shell/org.deepin.ds.dde-am*/
15-
usr/lib/*/dde-shell/org.deepin.ds.dde-apps*
19+
usr/share/dde-shell/org.deepin.ds.dde-appearance*/
1620
usr/share/dde-shell/org.deepin.ds.dde-apps*/
17-
usr/lib/*/dde-shell/org.deepin.ds.dde-shutdown*
1821
usr/share/dde-shell/org.deepin.ds.dde-shutdown*/
19-
usr/share/dsg/configs/org.deepin.ds.dock/
22+
usr/share/dde-shell/org.deepin.ds.dock*/
23+
usr/share/dde-shell/org.deepin.ds.notification*/
24+
usr/share/dde-shell/org.deepin.ds.notificationcenter*/
25+
usr/share/dde-shell/org.deepin.ds.osd*/
2026
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.dde.shell.json
21-
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.tray.json
22-
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.json
23-
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.taskmanager.json
2427
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.dde.shell.notification.json
2528
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dde-apps.json
26-
usr/share/dde-shell/*/translations
27-
usr/share/dde-dock/icons/dcc-setting/*.dci
28-
usr/lib/*/qt6/qml/org/deepin/ds/notification/*
29-
usr/lib/*/qt6/qml/org/deepin/ds/notificationcenter/*
30-
usr/lib/*/dde-shell/org.deepin.ds.notificationcenter*
31-
usr/share/dde-shell/org.deepin.ds.notificationcenter*/
32-
usr/lib/*/libds-notification-shared.so.*
29+
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.json
30+
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.taskmanager.json
31+
usr/share/dsg/configs/org.deepin.dde.shell/org.deepin.ds.dock.tray.json
32+
usr/share/dsg/configs/org.deepin.ds.dock/

debian/libdde-shell-dev.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
usr/lib/*/lib*.so
21
usr/include
32
usr/lib/*/cmake/*/*.cmake
3+
usr/lib/*/lib*.so

debian/rules

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall
88
export DEB_CXXFLAGS_MAINT_APPEND = -Wall
99
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-E
1010

11-
DISTRO = $(shell lsb_release -is)
12-
ifeq ($(DISTRO),Deepin)
13-
ENABLE_DEEPIN_NMQT=ON
14-
else
15-
ENABLE_DEEPIN_NMQT=OFF
16-
endif
17-
1811
VERSION = $(DEB_VERSION_UPSTREAM)
1912
PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')
2013
# Fix: invalid digit "8" in octal constant. e.g. u008 ==> 008 ==> 8
@@ -24,4 +17,4 @@ BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-
2417
dh $@
2518

2619
override_dh_auto_configure:
27-
dh_auto_configure -- -DDS_VERSION=${PACK_VER} -DENABLE_DEEPIN_NMQT=${ENABLE_DEEPIN_NMQT}
20+
dh_auto_configure -- -DDS_VERSION=${PACK_VER}

0 commit comments

Comments
 (0)