kiran-menu/kiran-menu.spec
yuanxing be890007c7 update version to 2.2.0+alpha6-1
- 更新代码到2.2.0+alpha6-1版本
2020-11-20 14:09:45 +08:00

194 lines
8.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.2.0+alpha6
Release: 1%{?dist}
Summary: Applets for mate panel from Kiran Desktop
License: GPLv2+
Source0: %{name}-%{version}.tar.gz
Source1: logo.svg
Source2: workspace-switcher.svg
Patch1: kiran-menu_change-filemanager-in-taskbar-fixed-apps.patch
BuildRequires: cmake > 3.0
BuildRequires: gcc-c++
BuildRequires: gtkmm30-devel
BuildRequires: mate-panel-devel >= 1.22
BuildRequires: gettext
BuildRequires: libwnck3-devel
BuildRequires: accountsservice-devel
BuildRequires: libX11-devel
BuildRequires: libXcomposite-devel
BuildRequires: mate-desktop-devel >= 1.22
BuildRequires: cairomm-devel
Requires: libwnck3
Requires: mate-screensaver
Requires: accountsservice
Requires: mate-session-manager >= 1.22
Requires: glib2
Requires: gtk-update-icon-cache
Requires: mate-control-center
Requires: caja
Requires: yelp
Requires: mate-system-monitor
%description
Redesigned start menu for Mate Desktop
%package -n kiran-applets
Summary: mate panel applets for Kiran Desktop
Obsoletes: kiran-menu >= 2.0
%description -n kiran-applets
Redesigned panel applets for Mate Desktop
%prep
%autosetup -p1
cp %SOURCE1 %{_builddir}/%{name}-%{version}/images/ -f
cp %SOURCE2 %{_builddir}/%{name}-%{version}/images/ -f
cp %SOURCE2 %{_builddir}/%{name}-%{version}/icons/ -f
%build
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files -n kiran-applets
%{_libexecdir}/mate-panel/kiran-applet
%{_datadir}/dbus-1/services/org.mate.panel.applet.KiranAppletFactory.service
%{_datadir}/glib-2.0/schemas/com.unikylin.Kiran.StartMenu.gschema.xml
%{_datadir}/glib-2.0/schemas/com.unikylin.Kiran.StartMenu.profile.gschema.xml
%{_datadir}/glib-2.0/schemas/com.unikylin.Kiran.TaskBar.gschema.xml
%{_datadir}/kiran-applet/com.unikylin.Kiran.MenuCategory.xml
%{_datadir}/kiran-applet/kiran-applet.gresource
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-applet.mo
%{_datadir}/mate-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
%post -n kiran-applets
glib-compile-schemas /usr/share/glib-2.0/schemas/
gtk-update-icon-cache -f /usr/share/icons/hicolor/
%changelog
* 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