update version to 2.2.0+alpha6-1

- 更新代码到2.2.0+alpha6-1版本
This commit is contained in:
yuanxing 2020-11-20 14:09:45 +08:00
parent 24e0ad8cc7
commit be890007c7
5 changed files with 290 additions and 0 deletions

Binary file not shown.

193
kiran-menu.spec Normal file
View File

@ -0,0 +1,193 @@
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

View File

@ -0,0 +1,13 @@
diff --git a/data/com.unikylin.Kiran.TaskBar.gschema.xml.in b/data/com.unikylin.Kiran.TaskBar.gschema.xml.in
index 32b125a..0c5ac45 100644
--- a/data/com.unikylin.Kiran.TaskBar.gschema.xml.in
+++ b/data/com.unikylin.Kiran.TaskBar.gschema.xml.in
@@ -2,7 +2,7 @@
<schemalist>
<schema id="com.unikylin.kiran.taskbar" path="/com/unikylin/kiran/taskbar/">
<key name="fixed-apps" type="as">
- <default>['caja-browser.desktop', 'firefox.desktop', 'mate-terminal.desktop', 'org.gnome.Software.desktop']</default>
+ <default>['caja.desktop', 'firefox.desktop', 'mate-terminal.desktop', 'org.gnome.Software.desktop']</default>
</key>
</schema>
</schemalist>

32
logo.svg Normal file
View File

@ -0,0 +1,32 @@
<svg id="start" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 60 60">
<defs>
<style>
.cls-1 {
fill: url(#linear-gradient);
}
.cls-2 {
fill: #8d92f2;
}
.cls-2, .cls-3 {
fill-rule: evenodd;
}
.cls-3 {
fill: url(#linear-gradient-2);
}
</style>
<linearGradient id="linear-gradient" x1="30" y1="60" x2="30" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#7178ef"/>
<stop offset="1" stop-color="#6bd6fd"/>
</linearGradient>
<linearGradient id="linear-gradient-2" x1="30" y1="45" x2="30" y2="13" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#d7f2ff"/>
<stop offset="1" stop-color="#feffff"/>
</linearGradient>
</defs>
<rect id="矩形_1074_拷贝" data-name="矩形 1074 拷贝" class="cls-1" width="60" height="60" rx="20" ry="20"/>
<path id="矩形_1074_拷贝_3" data-name="矩形 1074 拷贝 3" class="cls-2" d="M40,60H20A20,20,0,0,1,0,40V38A20,20,0,0,0,20,58H40A20,20,0,0,0,60,38v2A20,20,0,0,1,40,60Z"/>
<path id="形状_1" data-name="形状 1" class="cls-3" d="M24.339,23.917c5.077-1.392,23.3-8.84,22.67,7.448,0,0-1.669-8.979-11.822-5.429s-15.647,5.916-16.9,1.392c0,0-4.1.209-4.729-3.341s7.163-5.012,7.163-5.012,0.481-5.569,7.264-5.986,12.277,6.752,12.277,6.752a14.048,14.048,0,0,0-13-2.158C19.889,20.158,19.263,25.309,24.339,23.917Zm0.473,8.148c10.153-3.55,15.647-5.916,16.9-1.392,0,0,4.1-.209,4.729,3.341s-7.163,5.012-7.163,5.012-0.48,5.569-7.264,5.986S19.736,38.26,19.736,38.26a14.048,14.048,0,0,0,13,2.158c7.371-2.575,8-7.726,2.921-6.334s-23.3,8.84-22.67-7.448C12.99,26.636,14.659,35.615,24.812,32.065Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

52
workspace-switcher.svg Normal file
View File

@ -0,0 +1,52 @@
<svg id="多任务预览icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
<metadata><?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""/>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?></metadata>
<defs>
<style>
.cls-1 {
fill: url(#linear-gradient);
}
.cls-2 {
fill: #9be2e6;
}
.cls-3 {
fill: #fff;
}
</style>
<linearGradient id="linear-gradient" x1="12" y1="24" x2="12" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#24a7a3"/>
<stop offset="1" stop-color="#63d5b1"/>
</linearGradient>
</defs>
<rect id="矩形_1" data-name="矩形 1" class="cls-1" width="24" height="24" rx="6" ry="6"/>
<rect id="矩形_2_拷贝_2" data-name="矩形 2 拷贝 2" class="cls-2" x="8" y="6" width="12" height="8"/>
<rect id="矩形_2_拷贝_3" data-name="矩形 2 拷贝 3" class="cls-3" x="4" y="10" width="12" height="8"/>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB