## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond check 1 %global debug_package %{nil} # https://github.com/linuxdeepin/dde-daemon %global goipath github.com/linuxdeepin/dde-daemon Version: 6.0.43 %global tag %{version} %gometa -L Name: deepin-daemon Release: %autorelease Summary: Daemon handling the DDE session settings License: GPL-3.0-or-later URL: %{gourl} Source0: %{gosource} # upstream default mono font set to 'Noto Mono', which is not yet available in # Fedora. We change to 'Noto Sans Mono' Source1: fontconfig.json Source2: deepin-daemon.sysusers Patch0: https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-daemon/-/raw/main/deepin-daemon-fix-vanilla-libinput.patch # accord with ddcutil ExcludeArch: s390x BuildRequires: python3 BuildRequires: deepin-gettext-tools BuildRequires: fontpackages-devel BuildRequires: librsvg2-tools BuildRequires: pam-devel BuildRequires: glib2-devel BuildRequires: gtk3-devel BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel BuildRequires: gdk-pixbuf2-xlib-devel BuildRequires: libnl3-devel BuildRequires: libgudev-devel BuildRequires: libinput-devel BuildRequires: librsvg2-devel BuildRequires: libXcursor-devel BuildRequires: pkgconfig(sqlite3) BuildRequires: python3-gobject BuildRequires: NetworkManager-libnm-devel BuildRequires: pkgconfig(ddcutil) # for test BuildRequires: deepin-desktop-base BuildRequires: deepin-desktop-schemas BuildRequires: gcc-c++ Requires: bamf-daemon Requires: bluez-obexd Requires: gnome-keyring Requires: deepin-desktop-base Requires: deepin-desktop-schemas Requires: deepin-session-ui Requires: deepin-polkit-agent Requires: rfkill Requires: gvfs Requires: iw Requires: lightdm Requires: xsettingsd Recommends: lshw Recommends: iso-codes Recommends: imwheel Recommends: %{_bindir}/xmodmap Recommends: mobile-broadband-provider-info Recommends: google-noto-mono-fonts Recommends: google-noto-sans-fonts Recommends: google-noto-sans-mono-fonts %description Daemon handling the DDE session settings %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires sed -i 's|${DESTDIR}/lib/udev|${DESTDIR}$(PREFIX)/lib/udev|' Makefile sed -i 's|${DESTDIR}/lib/systemd|${DESTDIR}$(PREFIX)/lib/systemd|' Makefile sed -i 's|/etc/modules-load.d|/usr/lib/modules-load.d|g' Makefile sed -i 's|lib/NetworkManager|libexec|' network/utils_test.go sed -i 's|/etc/os-version|/etc/uos-version|' keybinding/shortcuts/shortcut_manager.go sed -i "s|/usr/share/dde/zoneinfo/zone1970.tab|$(pwd)/misc/zoneinfo/zone1970.tab|" \ timedate1/zoneinfo/zone.go # Fix grub.cfg path sed -i 's|boot/grub|boot/grub2|' grub2/{grub2,grub_params}.go # Replace reference of google-chrome to chromium-browser sed -i 's/google-chrome/chromium-browser/g' misc/dde-daemon/mime/data.json %build export GOPATH="$(pwd)/gopath:%{gopath}" export %{gomodulesmode} %make_build -C network/nm_generator gen-nm-code # build different golang binaries with different build-id make prepare for cmd in bin/* ; do if ! [ -f $cmd/main.c ]; then %gobuild -o out/bin/$(basename $cmd) github.com/linuxdeepin/dde-daemon/$cmd fi done BUILDID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" %make_build GO_BUILD_FLAGS=-trimpath GOBUILD="go build -compiler gc -ldflags \"-B $BUILDID\"" %install BUILDID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" export GOPATH="$(pwd)/build:%{gopath}" export %{gomodulesmode} %make_install GOBUILD="go build -compiler gc -ldflags \"-B $BUILDID\"" # Install sysusers.d configuration install -Dm644 %{SOURCE2} %{buildroot}%{_sysusersdir}/deepin-daemon.conf # fix systemd/logind config install -d %{buildroot}%{_prefix}/lib/systemd/logind.conf.d/ cat > %{buildroot}%{_prefix}/lib/systemd/logind.conf.d/10-deepin-daemon.conf < - 6.0.43-1 - 6.0.43 * Mon Jul 29 2024 Miroslav Suchý - 5.14.44-10 - convert GPLv3 license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 5.14.44-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Feb 11 2024 Maxwell G - 5.14.44-8 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 5.14.44-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 5.14.44-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 19 2023 Robin Lee - 5.14.44-5 - BR revised * Wed Jul 19 2023 Fedora Release Engineering - 5.14.44-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 5.14.44-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 05 2022 Robin Lee - 5.14.44-2 - Backport some patches to fix log spamming * Sun Aug 21 2022 Robin Lee - 5.14.44-1 - New release 5.14.44 * Thu Jul 21 2022 Fedora Release Engineering - 5.13.49-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 5.13.49-7 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 5.13.49-6 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Jun 17 2022 Robert-André Mauchin - 5.13.49-5 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Tue Mar 22 2022 Robin Lee - 5.13.49-4 - Drop a false requirement of redshift * Tue Mar 22 2022 Robin Lee - 5.13.49-3 - Recommends xmodmap * Thu Jan 20 2022 Fedora Release Engineering - 5.13.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 06 2021 Robin Lee - 5.13.49-1 - New release 5.13.49 * Sat Jul 31 2021 Robin Lee - 5.12.52-3 - Fix FTBFS since build-id duplication * Wed Jul 21 2021 Fedora Release Engineering - 5.12.52-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 07 2021 Robin Lee - 5.12.52-2 - Add missed requirements * Thu Mar 11 2021 Robin Lee - 5.12.52-1 - feat(network): GetActiveConnectionInfo adds the SpecificObject property (zsien) - feat: activeConnection adds the SpecificPath property (zsien) - chore(timedate): 修改zone测试用例 (lichangze) - chore(audio): 修改pulseaudio的错误拼写 (lichangze) - fix(grub2): 更新grub配置时没有语言环境变量 (electricface) - fix(power): 修复待机时电量变化,唤醒后低电量屏保不更新的问题 (xiejiabo) - fix(launcher): 搜索支持多音字 (xiejiabo) - fix(portal): 根据PORTAL_ENABLE环境变量判断当前是否启动portal认证 (chenyunxiong) - fix(bluetooth): 修复蓝牙连接导致session-daemon崩溃的问题 (lichangze) - fix(network): 修复连接无线网络时候不弹出正在连接弹窗的问题 (lichangze) - fix(accounts): 新增身份认证失败对应的翻译。 (聂成) - fix(accounts): 修复认证弹框时,点取消和输入错误密码时,产生的错误信息一致,需要区分。 (聂成) - fix(network): 修复每次注销或重启无线网卡状态从“已断开”变成“已禁用”问题 (lichangze) - fix(audio): 修复不同端口音量增强开关状态会互相影响的问题 (lichangze) - fix(network): reboot系统之后,未插网线的网口,网卡状态从“已断开”变成“已禁用”问题 (Li Tao) - fix(network): 修复NetworkManager实际状态与保存的配置信息不符导致的状态问题。 (chenyunxiong) - fix(accounts): 导出root用户的DBus服务,供其他应用调用 (chenyunxiong) - fix(launcher): 修复拼音简拼搜索精确度问题 (xiejiabo) - fix: 修复从桌面打开应用时,新装应用标记不消失的问题 (lichangze) - fix: 标准用户显示在授权列表中 (Zhang Qipeng) - chore(coverage): test coverage statistics (hubenchang0515) - fix(display): Clear tty print data (wubowen) - feat(launcher): 依产品要求,去除对generic name的搜索 (xiejiabo) - fix(inputdevices): 修复只有触摸板时默认双击间隔时间太短问题 (luokai) - chore(appearance): 更新翻译文件 (lichangze) - chore(plymouth): 恢复同步设置plymouth的接口 (lichangze) - feat(appearance): 完成修改屏幕缩放比例后通知显示的修改 (lichangze) - feat: 蓝牙传输文件横幅停留时间改为15s (yangyuyin) - fix(appearance): 修复版本升级后壁纸库出现代码路径 (weizhixiang) - fix: 系统无待机功能 (BigShuaiGe) - fix(audio): 输入音量显示不正常 (chengbo) - fix(network): 笔记本开盖待机唤醒后网络连接多次 (chengbo) - fix(bluetooth): 修复蓝牙设备被忽略后重新回到我的设备列表的问题 (weizhixiang) - feat(launcher): 搜索优化新需求 (xiejiabo) - fix(accounts): 初始化保存的多任务视图当前所在工作区 (weizhixiang) - fix: 声卡没切换成功时,无法获取相应sink信息 (BigShuaiGe) - fix: 设置壁纸后,壁纸预览展示的壁纸顺序不正确 (BigShuaiGe) - fix(keybinding): use new module to display TouchpadToggle (hubenchang0515) - fix: register fullscreen will not emit motion signal (longqi) - fix(keyevent): add module keyevent (hubenchang0515) - fix: ScalePlymouth timeout (longqi) - feat: add signal CursorShowAgain for XEventMonitor (longqi) - fix(network): WiFi strength not being refreshed (zsien) - fix: Disable grub-related functions on Fedora (Robin Lee) - fix(network): 修复开关VPN按钮和重启时,VPN的回连不上的问题 (chenyunxiong) - fix(appearance): 修复添加工作区后登录桌面过程中背景图片显示错误的问题 (weizhixiang) - chore(power_manager): 给 canSuspend 补充一个待办 (electricface) - fix(power_manager): 判断能否待机的条件 (electricface) - fix: include sysuser config file for Fedora (Robin Lee) - fix: 多声道输出端口启用按钮关闭后切换其他端口,再次切回多声道失败 (BigShuaiGe) - chore: debian 目录增加 abi.json 文件 (wubowen) - fix: 控制中心声音模块启用按钮关闭后再打开,无音效输出 (BigShuaiGe) - fix(bluetooth): 修复蓝牙其他设备列表静置三分钟后,点击允许蓝牙设备可被发现开关,设备列表会消失的问题 (weizhixiang) - fix(Audio): 切换新用户发现声音输入设备端口显示为空 (chengbo) - feat: 社区版订制需求,保存窗口圆角值 (chengbo) - fix(dde-greeter-setter): use xsettingsd to config scale (hubenchang0515) - feat(grub2): 配合grub的名称修改过滤条件 (hubenchang0515) - feat: remove pam module (zsien) * Tue Jan 26 2021 Fedora Release Engineering - 5.11.0.36-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 03 2020 Robin Lee - 5.11.0.36-3 - run dde-pixmix under xvfb-run * Tue Dec 01 2020 Robin Lee - 5.11.0.36-2 - Recommends lshw - Fix path for deepin-api * Tue Nov 10 2020 Robin Lee - 5.11.0.36-1 - new upstream release: 5.11.0.36 * Sat Aug 01 2020 Fedora Release Engineering - 5.0.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 5.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 10 2019 Robin Lee - 5.0.0-1 - Release 5.0.0 - Disable grub-related functions * Wed Jul 24 2019 Fedora Release Engineering - 3.23.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Mar 21 2019 Robin Lee - 3.23.0-2 - Replace reference of google-chrome to chromium-browser * Tue Feb 26 2019 Robin Lee - 3.23.0-1 - Update to 3.23.0 - default-settings update to 2019.1.30 - Disable parallel building by now * Thu Jan 31 2019 mosquito - 3.22.0-1 - Update to 3.22.0 * Thu Jan 31 2019 Fedora Release Engineering - 3.14.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Björn Esser - 3.14.0-2 - Rebuilt for libcrypt.so.2 (#1666033) * Wed Dec 12 2018 mosquito - 3.14.0-1 - Update to 3.14.0 * Thu Nov 29 2018 mosquito - 3.9.0-1 - Update to 3.9.0 * Wed Nov 21 2018 mosquito - 3.7.0-3 - acpid is unavailable in ppc64le * Wed Nov 21 2018 mosquito - 3.7.0-2 - Build test for ppc64le and aarch64 * Fri Nov 9 2018 mosquito - 3.7.0-1 - Update to 3.7.0 * Sat Aug 25 2018 mosquito - 3.2.20-1 - Update to 3.2.20 * Thu Jul 12 2018 Fedora Release Engineering - 3.2.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 19 2018 mosquito - 3.2.9-2 - Nothing providers grub2 in s390x and armv7hl. * Fri Feb 16 2018 mosquito - 3.2.9-1 - Update to 3.2.9 * Wed Feb 07 2018 Fedora Release Engineering - 3.2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 20 2018 Björn Esser - 3.2.8-2 - Rebuilt for switch to libxcrypt * Fri Dec 22 2017 mosquito - 3.2.8-1 - Update to 3.2.8 * Mon Nov 27 2017 mosquito - 3.2.7-1 - Update to 3.2.7 * Fri Oct 27 2017 mosquito - 3.2.2-1 - Update to 3.2.2 * Sat Oct 14 2017 mosquito - 3.2.0-1 - Update to 3.2.0 * Wed Aug 30 2017 mosquito - 3.1.19-2 - Add fontconfig settings * Sat Aug 26 2017 mosquito - 3.1.19-1 - Update to 3.1.19 * Mon Aug 21 2017 mosquito - 3.1.18-1 - Update to 3.1.18 * Wed Aug 2 2017 mosquito - 3.1.17-1 - Update to 3.1.17 * Tue Aug 1 2017 mosquito - 3.1.16.1-1 - Update to 3.1.16.1 * Thu Jul 20 2017 mosquito - 3.1.14-1.git0f8418a - Update to 3.1.14 * Fri Jul 14 2017 mosquito - 3.1.13-1.git03541ad - Update to 3.1.13 * Fri May 19 2017 mosquito - 3.1.9-1.git82313d2 - Update to 3.1.9 * Sun Feb 26 2017 mosquito - 3.1.3-1.git87df955 - Update to 3.1.3 * Fri Jan 20 2017 mosquito - 3.0.25.2-1.gitcfbe9c8 - Update to 3.0.25.2 * Tue Jan 17 2017 mosquito - 3.0.25.1-1.gitde04735 - Update to 3.0.25.1 * Sun Dec 18 2016 Jaroslav Stepanek 3.0.24-2 - Changed GOLANG dependencies * Sun Dec 18 2016 Jaroslav Stepanek 3.0.24-1 - Upgrade to version 3.0.24 * Mon Oct 31 2016 Jaroslav Stepanek 3.0.23-1 - Upgrade to version 3.0.23 * Sun Sep 25 2016 Jaroslav Stepanek 3.0.22-1 - Initial package build ## END: Generated by rpmautospec