build: add debian build

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe 2023-08-29 18:37:31 +08:00 committed by Comix
parent f2d5b7b307
commit caa976b7af
4 changed files with 27 additions and 185 deletions

169
debian/changelog vendored
View File

@ -1,168 +1,5 @@
dde-application-manager (1.0.16) unstable; urgency=medium
dde-application-manager-reborn (0.1.0) unstable; urgency=medium
* fix: AM crash when undock, also failed to do so.
* Initial release.
-- tsic404 <liuheng@deepin.org> Mon, 15 May 2023 13:14:32 +0800
dde-application-manager (1.0.15) unstable; urgency=medium
* Optimize the illegal use of memory
-- tsic404 <liuheng@deepin.org> Fri, 12 May 2023 16:07:01 +0800
dde-application-manager (1.0.14) unstable; urgency=medium
* fix: no environment variable on wayland
* fix: get wrong prefix of desktop name
-- dengbo <dengbo@deepin.org> Thu, 11 May 2023 18:16:20 +0800
dde-application-manager (1.0.13) unstable; urgency=medium
* fix: early return in WindowIdentify::identifyWindowByPidEnv
* temporary circumvention of coredump when updateProcessInfo
-- tsic404 <liuheng@deepin.org> Thu, 11 May 2023 15:47:29 +0800
dde-application-manager (1.0.12) unstable; urgency=medium
* fix: 退出没有图标的应用AM崩溃
* fix GIO_LAUNCHED_DESKTOP_FILE_PID
* fix: set DEEPIN_WINE_SCALE on launch an application
* fix: 任务栏最近使用任务区域残留锯齿图标应用
* chore: don't initialize the default applications
* fix: don't use bamf on wayland session
* fix: 修改了process.start函数参数的问题
-- dengbo <dengbo@uniontech.com> Sun, 23 Apr 2023 17:57:05 +0800
dde-application-manager (1.0.11) unstable; urgency=medium
* fix: icon in launcher after uninstall linglong app
* fix: desktop file still in Desktop after uninstall
* fix: use XResQueryClientIds to get pid of xwindow
* fix: force windowidentify method order
* refact: return early in identifyWindowByPidEnv
* refact: use lambda in identifyWindowByPidEnv
* fix: use identifyWindowByPidEnv for linglong apps
* fix: set GIO_LAUNCHED_DESKTOP_FILE when launch app
* chore: log envs in launch
-- Deepin Packages Builder <packages@deepin.org> Mon, 17 Apr 2023 20:30:59 +0800
dde-application-manager (1.0.10) unstable; urgency=medium
* introduce new DesktopFile class
* correct Exec parsin
* fix unable to open multiple files
-- zsien <quezhiyong@uniontech.com> Wed, 12 Apr 2023 14:39:13 +0800
dde-application-manager (1.0.9) unstable; urgency=medium
* fix get a longer name then it actually is
* fix abnormal icon display in the dock
* set fullscreen launcher by default
* fix default application resets after relogin
* fix crash when get windowicon
* fix app proxy invalid
* fix invalid appid
-- zsien <quezhiyong@uniontech.com> Wed, 29 Mar 2023 13:14:37 +0800
dde-application-manager (1.0.8) unstable; urgency=medium
[ TagBuilder ]
* fix: 解决任务栏显示lock和dock最近应用的问题。(Bug: 183657)(Influence: 无。)
-- lvpeilong <lvpeilong@uniontech.com> Wed, 01 Feb 2023 10:36:45 +0800
dde-application-manager (1.0.7) unstable; urgency=medium
[ TagBuilder ]
* fix: 修复sh脚本部分情况下执行失败的问题(Bug: 181747)(Influence: RunCommandWithOptions接口执行脚本文件)
* fix: 修复launch情况下执行异常的问题(Bug: 181747)(Influence: launch类接口功能)
* fix: 修复默认程序有多个会冲突的问题(Bug: 182127)(Influence: 默认程序)
-- zhaoyingzhen <zhaoyingzhen@uniontech.com> Fri, 13 Jan 2023 11:31:27 +0800
dde-application-manager (1.0.6.1) unstable; urgency=medium
[ TagBuilder ]
* fix: 修复无法启动玲珑应用对应功能的问题(Bug: 177111)(Influence: 从任务栏触发截图录屏玲珑应用的全屏截图和延时截图的功能,判断是否可以正常使用)
* fix: 修复卸载wine应用桌面残留应用的问题(Bug: 180665)(Influence: 启动器-卸载wine应用时桌面不残留应用图标)
* fix: 修复默认程序设置失败的问题(Task: 235759)(Influence: 默认程序设置)
* fix: AM 适配打开参数问题(Bug: 182185, 182161, 182395, 182327, 182137)(Influence: 1. 双击桌面文件夹-打开文件夹功能正常;)
* chore: update changelog(Task: 235277)(Influence: null)
-- lvpeilong <lvpeilong@uniontech.com> Mon, 09 Jan 2023 17:41:28 +0800
dde-application-manager (1.0.5) unstable; urgency=medium
[ TagBuilder ]
* feat: 增加RunCommandWithOptions接口(Task: 220801)(Influence: 无)
* fix: 修复拼写错误(Task: 226119)(Influence: 拼写错误)
* chore: 删除重复文件(Influence: 无)
* fix: 修复打开部分应用失败的问题(Bug: 232525)(Influence: 启动器-应用列表中的所有应用都可以正常启动)
-- zhaoyingzhen <zhaoyingzhen@uniontech.com> Thu, 29 Dec 2022 19:17:36 +0800
dde-application-manager (1.0.4.2) unstable; urgency=medium
[ TagBuilder ]
* fix: 修复卸载应用程序崩溃问题(Bug: 165773)(Influence: 启动器-右键菜单-卸载应用,启动器可以正常进行操作)
* fix: 修复时尚模式下从任务栏打开图标显示重复的问题(Bug: 157249)(Influence: 进入任务栏时尚模式,在任务栏上打开一个已经驻留的应用,观察该应用图标是否显示重复)
* style: 修改成员变量命名(Task: 96831)(Influence: 无)
* fix: 修复控制中心发送应用到任务栏不显示的问题(Bug: 165891)(Influence: 从任务栏打开一个已经驻留的应用,对这个应用取消驻留,关闭应用,打开启动器,把这个应用发送到任务栏,观察任务栏是否有这个应用)
* feat: 启动器支持玲珑应用卸载功能实现(Task: 207481)(Influence: 启动器支持玲珑应用卸载)
* fix: AM 暴露出调起应用的接口(Task: 211667)(Influence: dbus接口暴露给启动器/任务栏等应用调用)
* fix: 修复任务栏从移除没有打开窗口的应用时任务栏崩溃的问题(Task: 213211)(Influence: 从任务栏移除没有打开子窗口的图标,观察任务栏是否重启)
* fix: 修复wayland下设置智能隐藏失败的问题(Bug: 154513)(Influence: 进入wayland环境任务栏设置智能隐藏窗口拖动到任务栏下方观察窗口是否隐藏窗口移出任务栏观察任务栏是否显示)
* fix: 修复任务栏部分应用图标显示异常(Bug: 147569)(Influence: 打开安全中心、企业微信、微信等应用,观察其在任务栏上的图标)
* fix: 修复wayland下无法通过点击任务栏图标最小化窗口的问题(Bug: 167011)(Influence: 进入wayland打开一个窗口从任务栏点击图标观察是否可以最小化)
* fix: 修复玲珑应用横幅提示没有翻译的问题(Bug: 171875)(Influence: 启动器-卸载玲珑应用横幅提示正常)
* fix: 修复新装应用没有排列在首位的问题(Bug: 150623)(Influence: 启动器-新装应用-在小窗口所有应用列表中排列在首位)
* fix: 修复任务栏应用强制退出后图标没有移除的问题(Bug: 172223)(Influence: 打开一个应用,鼠标右键-强制退出,观察应用图标是否在任务栏上)
* fix: 修复任务栏最近打开区域偶现锁屏图标(Bug: 171529)(Influence: 进入wayland任务栏时尚模式打开显示最新打开应用锁屏进入桌面观察任务栏最近打开区域是否存在锁屏图标)
* fix: 修复从启动器拖动应用到任务栏上面始终显示到任务栏最后面的问题(Task: 217779)(Influence: 将启动器中的图标拖动到任务栏上,观察该图标是否显示在任务栏合适的位置)
* fix: 修复设置开机自启动应用重启后失效问题(Bug: 172263, 172281)(Task: 215413)(Influence: 设置自启动后重启应用也会保持生效)
* fix: 修复设置开机自启动应用重启后失效问题(Bug: 172263)(Influence: 设置自启动后重启应用也会保持生效)
* fix: setAutostart接口优化(Task: 215413)(Influence: setAutostart接口功能正常)
* feat: 任务栏应用启动方式修改为startManager来启动(Task: 211667)(Influence: 从任务栏启动应用)
* fix: 修复开机后虚拟键盘自动启动的问题(Bug: 175031)(Influence: 虚拟键盘自动开机启动)
* chore: V23接口改造适配(Task: 207483)(Influence: 无)
* fix: 修复社区版任务栏的显示模式错误(Bug: 175723)(Influence: 安装社区版,观察任务栏启动是否为时尚模式)
* fix: 修复拼写错误(Task: 226119)(Influence: 拼写错误)
* fix: 增加DBus接口调用异常信息(Bug: 172281)(Influence: org.desktopspec.ApplicationManager服务中接口调用异常时有提示信息)
* feat: 社区差异化需求实现(Task: 225013)(Influence: 社区版桌面环境下-启动器第一次启动时,默认全屏模式)
-- zhaoyingzhen <zhaoyingzhen@uniontech.com> Tue, 13 Dec 2022 18:49:59 +0800
dde-application-manager (1.0.3) unstable; urgency=medium
* release 1.0.3
-- <lvpeilong@uniontech.com> Wed, 19 Oct 2022 11:49:45 +0800
dde-application-manager (1.0.2) unstable; urgency=medium
[ TagBuilder ]
* feat: AM 默认程序迁移(Task: 140029)(Influence: 默认程序)
* fix: 修复AM启动崩溃的问题(Task: 155485)(Influence: AM正常启动)
* chore: 修改静态检查报错(Task: 157871)(Influence: 修复gerrit static-vefified -1 报错)
* feat: 玲珑包后缀提供配置功能实现(Task: 152805)(Influence: 默认隐藏后缀,开启,玲珑应用则显示,否则,隐藏.)
* fix: 玲珑应用功能适配(Task: 152805)(Influence: 启动器-应用列表中可以获取到所有应用)
-- caixiangrong <caixiangrong@uniontech.com> Mon, 25 Jul 2022 13:13:29 +0800
dde-application-manager (1.0.1) unstable; urgency=medium
* dde-flow-sprint1
-- Tan Feng <tanfeng@uniontech.com> Tue, 21 Jun 2022 16:38:16 +0800
dde-application-manager (1.0.0-1) unstable; urgency=medium
* Initial release
-- <tanfeng@uniontech.com> Wed, 30 Mar 2022 11:49:45 +0800
-- He YuMing <heyuming@deepin.org> Tue, 29 Aug 2023 17:39:07 +0800

18
debian/control vendored
View File

@ -1,17 +1,17 @@
Source: dde-application-manager
Section: devel
Source: dde-application-manager-reborn
Section: utils
Priority: optional
Maintainer: Chen Linxuan <chenlinxuan@uniontech.com>
Build-Depends:
cmake,
libsystemd-dev,
qt6-base-dev,
Maintainer: He YuMing <heyuming@deepin.org>
Build-Depends: debhelper-compat ( =12), cmake,
libgtest-dev,
pkg-config
libsystemd-dev,
pkg-config,
qt6-base-dev,
Standards-Version: 4.1.3
Homepage: https://github.com/linuxdeepin/dde-application-manager
Package: dde-application-manager-reborn
Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
${shlibs:Depends},

18
debian/copyright vendored
View File

@ -1,21 +1,21 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dde-application-manager
Upstream-Name: dde-application-manager-reborn
Files: *
Copyright: 2015 Deepin Technology Co., Ltd.
License: GPL-3+
Copyright: 2023 Deepin Technology Co., Ltd.
License: LGPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
On Debian systems, the complete text of the GNU Lesser General
Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".

7
debian/rules vendored
View File

@ -1,6 +1,11 @@
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export QT_SELECT = qt6
export DEB_CXXFLAGS_MAINT_APPEND = -O3
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DDDE_DEBUG_MODE=OFF -DBUILD_TESTING=ON