kiran-menu/kiran-menu.spec
luoqing 735e1fdc2a fix(tray):Put all tray icons in the panel and fix crash issues
- 将所有托盘图标都放到面板中,暂时不再放入托盘容器中
  修复托盘图标从托盘区域移除时,发生的崩溃问题

Related #12490,#14004
2023-09-01 16:08:11 +08:00

121 lines
4.0 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: kiran-menu
Version: 2.5.1
Release: 3
Summary: Applets for mate panel from Kiran Desktop
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-coredump-Fix-crash-when-clicking-on-the-power-op.patch
Patch0002: 0002-fix-tray-Place-all-tray-icons-in-the-panel-and-no-lo.patch
Patch0003: 0003-fix-tray-Fixed-a-crash-issue-that-occurred-when-the-.patch
BuildRequires: cmake > 3.0
BuildRequires: gcc-c++
BuildRequires: gtkmm30-devel
BuildRequires: json-glib-devel
BuildRequires: gettext
BuildRequires: libwnck3-devel
BuildRequires: kiran-cc-daemon-devel
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: json-glib-devel
BuildRequires: libXcomposite-devel
BuildRequires: mate-desktop-devel >= 1.22
BuildRequires: cairomm-devel
BuildRequires: kiran-log-gtk3-devel
BuildRequires: libdbusmenu-devel
BuildRequires: libxml2-devel
BuildRequires: fmt-devel
BuildRequires: kiran-panel
BuildRequires: kiran-panel-libs
BuildRequires: kiran-panel-devel
Requires: libwnck3
Requires: kiran-system-daemon
Requires: kiran-session-manager
Requires: glib2
Requires: gtk-update-icon-cache
Requires: mate-control-center
Requires: caja
Requires: yelp
%description
Redesigned start menu for Mate Desktop
%package -n kiran-applets
Summary: mate panel applets for Kiran Desktop
Requires: kiran-screensaver
Requires: mate-system-monitor
Requires: kiran-session-manager
Requires: mate-search-tool
Obsoletes: kiran-menu >= 2.0
%description -n kiran-applets
Redesigned panel applets for Mate Desktop
%prep
%autosetup -p1
%build
%if "%{ks_custom_name}" == "GC"
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DPOWER_DIALOG:BOOL=ON
%else
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
%endif
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files -n kiran-applets
%{_libexecdir}/kiran-panel/kiran-applet
%{_datadir}/dbus-1/services/org.kiran.panel.applet.KiranAppletFactory.service
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.startmenu.gschema.xml
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.taskbar.gschema.xml
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.workspace-switcher.gschema.xml
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.tray.gschema.xml
%{_datadir}/kiran-applet/com.kylinsec.Kiran.MenuCategory.xml
%{_datadir}/kiran-applet/kiran-applet.gresource
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-applet.mo
%{_datadir}/locale/bo_CN/LC_MESSAGES/kiran-applet.mo
%{_datadir}/locale/kk_KG/LC_MESSAGES/kiran-applet.mo
%{_datadir}/locale/kk_KZ/LC_MESSAGES/kiran-applet.mo
%{_datadir}/locale/mn_MN/LC_MESSAGES/kiran-applet.mo
%{_datadir}/locale/ug_CN/LC_MESSAGES/kiran-applet.mo
%{_datadir}/kiran-panel/applets/org.mate.panel.KiranApplet.mate-panel-applet
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/kiran-applet/menu-menu.ui.xml
%{_datadir}/kiran-applet/tasklist-menu.ui.xml
%{_datadir}/kiran-applet/workspace-switcher-menu.ui.xml
%{_includedir}/kiran-applet/tray-i.h
%{_libdir}/pkgconfig/kiran-applet.pc
%post -n kiran-applets
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || :
gtk-update-icon-cache -f /usr/share/icons/hicolor/
%changelog
* Fri Sep 01 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-3
- KYOS-F: Place all tray icons in the panel and no longer in the tray container for the time being (#12490)
- KYOS-F: Fixed a crash issue that occurred when the tray icon was removed from the tray area (#14004)
* Fri Jun 30 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.1-2
- KYOS-F: Fix crash when clicking on the power option button in vnc.
* Wed May 10 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 2.5.1-1
- KYOS-F: replace suspend/hibernate/shutdown api with SessionManager.
* Fri Apr 21 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-3
- KYOS-BHide UI after click on the power option
* Thu Apr 13 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-2
- KYOS-BEnable modal power option.
* Thu Mar 16 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.5.0-1
- KYOS-B: Add pinyin search method for application.(#67099)