2020-07-14 09:44:51 +08:00
|
|
|
Name: dde-session-ui
|
2023-07-31 10:14:22 +08:00
|
|
|
Version: 5.5.39
|
2022-07-18 15:49:34 +08:00
|
|
|
Release: 1
|
2020-07-14 09:44:51 +08:00
|
|
|
Summary: Deepin desktop-environment - Session UI module
|
|
|
|
|
License: GPLv3
|
2021-07-08 17:09:18 +08:00
|
|
|
URL: https://github.com/linuxdeepin/%{name}
|
2023-07-31 10:14:22 +08:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2022-07-18 15:49:34 +08:00
|
|
|
Source1: vendor.tar.gz
|
|
|
|
|
|
2023-07-31 10:14:22 +08:00
|
|
|
Patch0: 0001-fix.patch
|
|
|
|
|
#Patch1: 0001-Fix-wm-chooser-error-in-openeuler.patch
|
2020-07-14 09:44:51 +08:00
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: deepin-gettext-tools
|
|
|
|
|
BuildRequires: pkgconfig(dtkwidget) >= 5.1
|
|
|
|
|
BuildRequires: pkgconfig(dframeworkdbus)
|
|
|
|
|
BuildRequires: pkgconfig(gsettings-qt)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
|
|
|
|
BuildRequires: pkgconfig(xcb-ewmh)
|
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2021-07-08 17:09:18 +08:00
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
|
BuildRequires: qt5-devel
|
2020-07-14 09:44:51 +08:00
|
|
|
BuildRequires: dtkcore-devel >= 5.1
|
|
|
|
|
BuildRequires: dde-dock-devel
|
2023-07-31 10:14:22 +08:00
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: gtest-devel
|
2020-07-14 09:44:51 +08:00
|
|
|
Requires: dde-daemon
|
|
|
|
|
Requires: startdde
|
|
|
|
|
|
|
|
|
|
Requires: lightdm
|
|
|
|
|
Requires(post): sed
|
|
|
|
|
Provides: lightdm-deepin-greeter = %{version}-%{release}
|
|
|
|
|
Provides: lightdm-greeter = 1.2
|
|
|
|
|
Provides: deepin-notifications = %{version}-%{release}
|
|
|
|
|
Obsoletes: deepin-notifications < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This project include those sub-project:
|
|
|
|
|
|
|
|
|
|
- dde-shutdown: User interface of shutdown.
|
|
|
|
|
- dde-lock: User interface of lock screen.
|
|
|
|
|
- dde-lockservice: The back-end service of locking screen.
|
|
|
|
|
- lightdm-deepin-greeter: The user interface when you login in.
|
|
|
|
|
- dde-switchtogreeter: The tools to switch the user to login in.
|
|
|
|
|
- dde-lowpower: The user interface of reminding low power.
|
|
|
|
|
- dde-osd: User interface of on-screen display.
|
|
|
|
|
- dde-hotzone: User interface of setting hot zone.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-07-18 15:49:34 +08:00
|
|
|
%autosetup -p1
|
2020-07-14 09:44:51 +08:00
|
|
|
sed -i 's|default_background.jpg|default.png|' widgets/fullscreenbackground.cpp
|
2023-07-31 10:14:22 +08:00
|
|
|
sed -i 's|lib/deepin-daemon|libexec/deepin-daemon|' \
|
|
|
|
|
dde-osd/files/com.deepin.dde.Notification.service \
|
|
|
|
|
dde-osd/files/com.deepin.dde.freedesktop.Notification.service \
|
|
|
|
|
dde-osd/files/com.deepin.dde.osd.service \
|
|
|
|
|
dde-osd/files/dde-osd.desktop \
|
2020-07-14 09:44:51 +08:00
|
|
|
dde-welcome/com.deepin.dde.welcome.service \
|
|
|
|
|
dde-warning-dialog/com.deepin.dde.WarningDialog.service \
|
2023-07-31 10:14:22 +08:00
|
|
|
CMakeLists.txt
|
|
|
|
|
sed -i 's|lib/dde-dock|%{_libdir}/dde-dock|' CMakeLists.txt
|
2020-07-14 09:44:51 +08:00
|
|
|
|
2022-07-18 15:49:34 +08:00
|
|
|
tar -xf %{SOURCE1}
|
|
|
|
|
|
2020-07-14 09:44:51 +08:00
|
|
|
%build
|
2022-07-18 15:49:34 +08:00
|
|
|
export GOPATH=%{_builddir}/%{name}-%{version}/vendor:$GOPATH
|
2020-07-14 09:44:51 +08:00
|
|
|
export PATH=%{_qt5_bindir}:$PATH
|
2023-07-31 10:14:22 +08:00
|
|
|
mkdir build && cd build
|
|
|
|
|
%cmake ..
|
2020-07-14 09:44:51 +08:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
2023-07-31 10:14:22 +08:00
|
|
|
cd build
|
2020-07-14 09:44:51 +08:00
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
sed -i "s|#greeter-session.*|greeter-session=lightdm-deepin-greeter|g" /etc/lightdm/lightdm.conf
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/dde-*
|
|
|
|
|
%{_bindir}/dmemory-warning-dialog
|
|
|
|
|
%{_libexecdir}/deepin-daemon/*
|
|
|
|
|
%{_datadir}/%{name}/
|
2023-07-31 10:14:22 +08:00
|
|
|
%{_datadir}/icons/hicolor/scalable/devices/computer.svg
|
2020-07-14 09:44:51 +08:00
|
|
|
%{_datadir}/dbus-1/services/*.service
|
2021-07-08 17:09:18 +08:00
|
|
|
%{_libdir}/dde-dock/plugins/libnotifications.so
|
|
|
|
|
%{_prefix}/share/glib-2.0/schemas/com.deepin.dde.dock.module.notifications.gschema.xml
|
2023-07-31 10:14:22 +08:00
|
|
|
%{_datadir}/applications/dde-*
|
2020-07-14 09:44:51 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-07-31 10:14:22 +08:00
|
|
|
* Mon Jul 31 2023 leeffo <liweiganga@uniontech.com> - 5.5.39-1
|
|
|
|
|
- upgrade to version 5.5.39
|
|
|
|
|
|
2023-04-06 10:16:46 +08:00
|
|
|
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 5.4.35.2-1
|
|
|
|
|
- update: update to 5.4.35.2
|
|
|
|
|
|
2022-07-18 15:49:34 +08:00
|
|
|
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.4.24.2-1
|
|
|
|
|
- Update to 5.4.24.2
|
|
|
|
|
|
2022-06-08 16:58:28 +08:00
|
|
|
* Thu Sep 23 2021 weidong <weidong@uniontech.com> - 5.3.0.11-2
|
2021-09-23 21:36:35 +08:00
|
|
|
- Fix wm-chooser error in openeuler
|
|
|
|
|
|
2021-07-08 17:09:18 +08:00
|
|
|
* Tue Jul 20 2021 weidong <weidong@uniontech.com> - 5.3.0.11-1
|
|
|
|
|
- Update 5.3.0.11
|
|
|
|
|
|
2020-08-18 12:08:44 +08:00
|
|
|
* Tue Aug 18 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.0.11-3
|
|
|
|
|
- remove golang devel
|
|
|
|
|
|
2020-07-30 15:49:30 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.1.0.11-2
|
|
|
|
|
- Package init
|