kiran-menu/kiran-menu.spec
wangxiaoqing 055dda94cf Fix the icon location error when system resolution change
Signed-off-by: wangxiaoqing <wangxiaoqing@kylinsec.com.cn>
2022-08-30 11:30:34 +08:00

381 lines
17 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.3.0
Release: 9
Summary: Applets for mate panel from Kiran Desktop
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
Patch1000: 0001-fix-menu-Fix-the-switch-user-error-by-xdmcp-logging.patch
Patch1001: 0001-fix-menu-Fix-the-problem-that-some-apps-are-show-rep.patch
Patch1002: 0002-fix-tray-Fix-the-problem-that-fcitx-doesn-t-show-in-.patch
Patch1003: 0001-fix-menu-fix-the-grab-problem-when-popup-menu-on-sea.patch
Patch1004: 0001-fix-connect-Fix-some-possible-crash-problems-caused-.patch
Patch1005: 0002-fix-coredump-Fix-the-coredump-problem-caused-by-null.patch
Patch1006: 0001-fix-coredump-Fix-the-coredump-problem-caused-by-Rece.patch
Patch1007: 0002-feature-gitlab-Add-.gitlab-ci.yml.patch
Patch1008: 0001-fix-tray-Fix-the-icon-location-error-when-system-res.patch
BuildRequires: cmake > 3.0
BuildRequires: gcc-c++
BuildRequires: gtkmm30-devel
BuildRequires: gettext
BuildRequires: libwnck3-devel
BuildRequires: kiran-cc-daemon-devel
BuildRequires: libX11-devel
BuildRequires: libxcb-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
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
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}/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
* Tue Aug 30 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.3.0-9
- KYOS-B: Fix the icon location error when system resolution change.
* Thu Aug 25 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-8
- KYOS-B: Fix the coredump problem caused by RecentFilesListBox::load
* Wed Aug 24 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-7
- KYOS-F: Add mate-search-tool to requires list
* Tue Aug 09 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-6
- KYOS-B: Fix the coredump problem caused by nullpointer to UserIcon.
- KYOS-B: Fix some possible crash problems caused by sigc::slot.
* Tue Aug 02 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-5
- KYOS-B: fix the grab problem when popup menu on search entry or drag menu app icon.
* Thu Jul 28 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-4
- KYOS-B: Fix the problem that fcitx doesn't show in tray area.(#I5HT13)
- KYOS-B: Fix the problem that some apps are show repeatly in start menu.(#I5HT8G)
* Tue Jul 19 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-3
- KYOS-B: Fix the switch user error by xdmcp logging.(#57865)
* Tue Jul 19 2022 yuanxing <yaunxing@kylinsec.com.cn> - 2.3.0-2
- KYOS-F: Do not output the alarm information to the screen
* Fri Jul 08 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.3.0-1
- KYOS-F: Update to version 2.3 and adapt new control panel.
* Wed Mar 09 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.2.6-7
- KYOS-F: Add fcitx to bottom panel.
* Wed Mar 02 2022 tangjie02 <tangjie02@kylinos.com.cn> - 2.2.6-6
- KYOS-F: Hide the search file tool on start menu.
* Wed Jan 12 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.6-5.kb2
- rebuild for KY3.4-5-KiranUI-2.2
* Thu Dec 30 2021 kpkg <kpkg@kylinos.com.cn> - 2.2.6-5.kb1
- rebuild for KY3.4-MATE-modules-dev
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 2.2.6-5
- Upgrade version number for easy upgrade
* Tue Dec 28 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.6-4.kb2
- rebuild for KY3.4-4-KiranUI-2.2
* Tue Dec 28 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.6-4.kb1
- rebuild for KY3.4-4-KiranUI-2.2
* Sat Dec 18 2021 wxq <wangxiaoqing@kylinos.com.cn> 2.2.6-4.ky3
- KYOS-B: Fix the get all cb func error when icon object free.
- KYOS-B: Cancel keyboard grab because it cause shortcut invalid.
* Tue Dec 07 2021 wxq <wangxiaoqing@kylinos.com.cn> 2.2.6-3.ky3
- KYOS-B: Fix the scrollbar color error in light gtk theme.
- KYOS-B: Modify the scroll bar css and distance.
* Fri Nov 19 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.6-2.ky3
- KYOS-B: not draw the icon hover status when popup menu.(#46026)
- KYOS-B: set the x11 icon colors property.(#46026)
* Fri Nov 19 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.6-1.ky3
- KYOS-F: Compatible KiranNew and KiranNew-dark theme.
- KYOS-F: Compatible kiran-screensaver.
- KYOS-B: The style of kiran-applets is changed with gtk theme.
* Fri Oct 29 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.5-6.ky3
- KYOS-B: Fix the zlog_ex.h dependency error.
* Mon Oct 25 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.5-5.ky3
- KYOS-F: Rebuild for KiranUI-2.1-OE
* Sat Oct 23 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.5-4.ky3
- KYOS-B: Revert: draw the background and the round window.
* Fri Oct 22 2021 yuanxing <yuanxing@kylinos.com.cn> 2.2.5-3.ky3
- KYOS-F: add create new workspace translation.(#45212)
- KYOS-B: Fix the coredump when press power button on start menu.
* Fri Oct 15 2021 xiewenhao <xiewenhao@kylinos.com.cn> 2.2.5-1.ky3.kb3
- KYOS-B: add cmake parameter #43502
* Sat Oct 09 2021 xiewenhao <xiewenhao@kylinos.com.cn> 2.2.5-1.ky3.kb2
- KYBD: rebuild for KiranUI-2.1-OE
* Sun Sep 26 2021 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.2.5-1.ky3.kb1
- KYOS-F: draw the background and the round window.(#39692)
- KYOS-B: delete the gtk image set from pixbuf with scale function.(#39692)
- KYOS-B: realse the gsettings object when kiran tray finalize.(#44222)
* Fri Sep 17 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.5-1.ky3
- Modify the license to Mulan PSL.
* Wed Aug 25 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.4-1.ky3
- KYOS-F: Compatible kiran-panel.
* Wed Aug 04 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-6.ky3
- KYOS-B: Localization the tips name over tasklist application. (#42107)
* Tue Jul 20 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-5.ky3
- KYOS-B: Check whether system can shutdown when show power buttons.(#39572 #40713)
* Fri Jul 16 2021 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.2.3-4.ky3.kb1
- KYOS-B: add the About menu translator.(#39692)
* Wed Jul 14 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-4.ky3
- KYOS-F: Add LICENSE file and copyright information in source file header.
- KYOS-F: Check whether system can shutdown or reboot when show power buttons. (#39572 #40713)
* Thu Jul 01 2021 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.2.3-3.ky3.kb1
- KYOS-B: Not let panel applet to get key focus when mouse enter.(#39561)
* Tue Jun 22 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-3.ky3
- KYOS-F: Add new command(kiran-cpanel-account) for launching account manager.
* Sat Jun 19 2021 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.2.3-2.ky3.kb1
- KYOS-B: let the kiran flameshot app status icon defaut in the panel.(#40001)
* Thu Jun 10 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-2.ky3
- KYOS-B: Fix the error that variable default-page in gsettings doesn't work.
- KYOS-F: rename gsettings name according to specification.
* Wed Jun 09 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-1.ky3.kb1
- KYOS-B: Delete the override-redirect property for menu window. (#39773)
* Thu Jun 03 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.3-1.ky3
- KYOS-F: Set default fixed applications which contain gnome-software, firfox, mate-terminal and caja on taskbar.
* Thu May 27 2021 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.2.2-1.ky3
- KYOS-F: Add tray applet.
* Mon Mar 29 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.1+beta1-2.ky3
- KYOS-F: Improve tranlations. (#36439)
- KYOS-B: Fix paging button visible when no apps opened. (#36444)
- KYOS-B: Fix disabled paging buttons style.
- KYOS-B: Grab keyboard for menu window after pop menu closed. (#36474)
* Thu Mar 25 2021 yuanxing <yuanxing@kylinos.com.cn> 2.2.1+beta1-1.ky3.kb1
- KYOS-F: [icons]change the icons of logo and workspace-switcher (#36338)
* Fri Mar 19 2021 tangjie02 <tangjie02@kylinos.com.cn> 2.2.1+beta1-1.ky3
- KYOS-F: new upstream source 2.2.1
* Thu Dec 24 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+beta1-1.ky3
- KYOS-F: [workspace] Fix user can use Alt+Tab to switch to other windows when switch window popup
- KYOS-F: Add support to write log messages to files
- KYOS-F: [workspace] Fix window thumbnails scaled too large
- KYOS-F: [workspace] Fix applet window size not update when screen size changed
- KYOS-F: [menu] Fix menu window hide delay when clicked app item
- KYOS-F: [workspace] Fix window thumbnails show only parts when screen size changed
- KYOS-F: [tasklist] Fix app button size not update when panel size changed
- KYOS-F: [menu, workspace] Fix applet button size not update when panel size changed
- KYOS-F: Update copyright in about dialogs of applets
- KYOS-F: [workspace] Fix windows thumbnails not reloaded when screen size changed in some cases
* Fri Nov 27 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha7-1.ky3
- KYOS-F: Use first window icon for app buttons that has no icon
- KYOS-F: deferred to check and toggle previewer
- KYOS-F: Fix crash for fixed apps that has no icon
- KYOS-F: Prohibit adding fake apps into favorites or fixed apps list
- KYOS-F: Fix crash when previewer window popup after applications reloaded
- KYOS-F: Fix application launched multiple times when press enter on items in search results
- KYOS-F: Fix menu window not hide when pressing ESC after popup from Super key
- KYOS-F: Fix menu window not hide when activate app from tasklist applet
- KYOS-F: Fix app button state not changed when windows count changed but not zero
- KYOS-F: Fix flatpak window matching application failure
- KYOS-F: Merge fake app by window wm_class property
* Wed Oct 28 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha6-1.ky3
- KYOS-F: Add about menuitem for applet context menus
- KYOS-F: Fix active app button not visible when start tasklist applet
- KYOS-F: Fix duplicated active app buttons when change active window the first time
- KYOS-F: Fix previewer window not hide when window thumbnail context menu closed
* Fri Oct 23 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha5-1.ky3
- KYOS-F: Scale app buttons before do paging when applet size is not sufficent
- KYOS-F: Change window minimize animation direction to app button
- KYOS-F: Add support for application startup notification
- KYOS-FFix window thumbnail not aligned center on HiDPI monitors
- KYOS-F: New algorithm for window thumbnail arrangement
* Wed Oct 14 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha4-1.ky3
- KYOS-F: Draw more indicators for apps that has more than one windows opened
- KYOS-F: Fix window thumbnail not in center position
- KYOS-F: Add support to scroll app buttons when applet space is not enough
- KYOS-F: Fix menu window not hide when click on window thumbnails
- KYOS-F: Fix crash when try to activate window that is minimized
- KYOS-F: Dont move previewer when context menu is opened for window thumbnails
- KYOS-F: Auto scroll to ensure the active app button is viewable
* Wed Oct 14 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha3-2.ky3
- KYOS-F: New icon for workspace switcher applet
- KYOS-F: Change filemanager launcher from caja-browser to caja in taskbar fixed apps
* Tue Sep 29 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha3-1.ky3
- KYOS-F: Fix tooltip and previewer both appear for apps fixed on taskbar (#30218)
- KYOS-F: Add task monitor launcher in sidebar for startmenu
- KYOS-F: Fix thumbnail missing when drag window thumbnail to it's workspace (#30265)
- KYOS-F: New icons for applets
* Fri Sep 25 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha2-1.ky3
- KYOS-F: Fix menu category file path error
* Thu Sep 24 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.2.0+alpha1-1.ky3
- KYBD: New upstream 2.2.0
* Fri Sep 18 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta7-1.ky3
- KYOS-F: Adjust power menu items according to mate desktop settings (#29094)
* Wed Sep 16 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta6-1.ky3
- KYOS-F: Auto switch to compact mode when screen is too small (#29837 #29270)
* Thu Aug 20 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta5-1.ky3
- KYOS-F: Activate the first app in results list when press enter key during search
- KYOS-F: Just do search when key pressed
- KYOS-F: Popup menu window when press super key
- KYOS-F: Add support to drag application items
- KYOS-B: Fix menu window not hide when new installed apps launched
* Mon Aug 03 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta4-2.ky3
- KYOS-P: Use old classic logo icon for start menu
* Mon Jul 27 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta4-1.ky3
- KYOS-P: Use new button icon for start menu
- KYOS-P: Use new lock icon
* Fri Jul 24 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta3-1.ky3
- KYOS-F: Fix panel button no display sometimes (#27933)
- KYOS-F: Load applications when idle
* Wed Jul 22 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta2-1.ky3
- KYOS-F: Hide apps that has 'X-KIRAN-NoDisplay' key in .desktop file (#28100)
* Wed Jul 22 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~beta1-1.ky3
- KYOS-F: Use Gtk::make_managed() api to replace Gtk::manage
- KYOS-F: Fix memory leak when remove widgets from parent
- KYOS-F: Use std::weak_ptr to store application object for application list
- KYOS-F: Wrap add app to desktop function as member instead of lambda
- KYOS-F: Fix build error on gtkmm30 < 3.24
* Fri Jul 10 2020 longcheng <longcheng@kylinos.com.cn> 2.1.0~alpha2-2.ky3.kb1
- KYOS-R: remove support for armv7hl
* Fri Jul 03 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~alpha2-2.ky3
- KYOS-F: Use expand mode as default display mode
* Tue Jun 30 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~alpha2-1.ky3
- KYOS-F: Fix ui styles on different gtk themes
- KYOS-F: Fix user avatar file not display when not set
- KYOS-F: Use the same font family for all widgets
- KYOS-F: Fix menu window always at monitor corner
- KYOS-F: Fix new installed apps not visible
- KYOS-F: Hide categories that has no apps
- KYOS-F: Make "New Installed" category focusable
- KYOS-F: Fix invalid loop when loadding applications list
- KYOS-F: Fix cransh when launch flatpak app
- KYOS-F: Add translations for search results page
- KYOS-F: Hide frequent apps box when no frequent apps available
- KYOS-F: Run mate-time-admin program when click date label
- KYOS-F: Use builtin icon for start menu button
- KYOS-F: Fix icon size too small for apps that has no icon set when scaled
- KYOS-F: Fix new installed apps list not change when new apps changed
- KYOS-F: Add support of display mode for menu window
- KYOS-F: Remove system-monitor and help launcher from sidebar
- KYOS-F: Fix scroll position not right when jump to category
* Mon Jun 22 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.1.0~alpha1-1.ky3
- KYOS-F: Rewrite with GTKMM
* Thu May 28 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.0.1~alpha4-1.ky3
- KYOS-F: if app is flatpak, then launch directly app from Exec field and ignore DBusActivatable field in .desktop file
- KYOS-F: Fix crash with SIGSEGV signal when kill mate-panel
- KYOS-F: Auto resize menu window if its minimum size exceeds the screen size
- KYOS-F: Hide categories that has no apps
- KYOS-F: Fix crash when loading applications
- KYOS-F: Send all log data to syslog
* Tue May 19 2020 songchuanfei <songchuanfei@kylinos.com.cn> 2.0.1~alpha3-1.ky3
- Initial source