Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
7e020b5f27 !5 update to version 3.0.0-1+1103
From: @dou33
Reviewed-by: @handsome_feng
Signed-off-by: @handsome_feng
2020-11-12 10:44:27 +08:00
dou33
fa799654c9 update to version 3.0.0-1+1103 2020-11-12 10:40:36 +08:00
dou33
e7c11bddf7 !4 update to version 3.0.1
Merge pull request !4 from dou33/master
2020-11-03 15:36:17 +08:00
dou33
3dbbbc356b update to version 3.0.1 2020-11-03 14:21:41 +08:00
openeuler-ci-bot
fbd4e0c299 !3 update source
Merge pull request !3 from yangzhao_kl/update_source
2020-07-24 17:31:42 +08:00
yangzhao_kl
e1d966a23b update_source 2020-07-24 15:07:22 +08:00
openeuler-ci-bot
5536340764 !2 Init package
Merge pull request !2 from dou33/add_package
2020-07-09 13:47:08 +08:00
dou33
656ffafcfe Init package 2020-07-09 10:39:59 +08:00
openeuler-ci-bot
bdc2ea0e10 !1 update readme.en.md
Merge pull request !1 from dou33/master
2020-07-08 17:33:54 +08:00
dou33
d580df0c3d update README.en.md. 2020-06-19 14:32:17 +08:00
3 changed files with 128 additions and 31 deletions

View File

@ -1,36 +1,45 @@
# ukui-sidebar
The sidebar mainly consists of two parts: notification center and cutting board. It starts from the start-up and is placed in the tray bar in the form of a tray. After clicking, it can pop up dynamically from the right side of the screen.
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
+ The notification center can display the pop-up messages sent by each application to mate notification teamon in a list form. Unimportant information can be stored in the storage box for viewing. At the same time, it can call the control panel directly.
#### Gitee Feature
+ The main function of the clipboard is to save the latest cutting information, and display it under the sidebar in the form of a list. At the same time, it can also put the previous cutting information at the top, so that it can be pasted directly. In addition, it can record the cut text information as well as the URL.
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
The ukui-sidebar is a shortcut tool on the right side of the screen for UKUI.
# How to test notification-center
`notify-send -a wechat -i "/home/ccn/heart.png" Summary Body`
# How to report bugs
Bugs should be reported to the UKUI bug tracking system:
https://github.com/ukui/ukui-sidebar/issues
You will need to create an account for yourself.
Please read the HACKING file for information on where to send changes or
bugfixes for this package.
# How to build
## Preparation
You can build pre-depends with such command:
`sudo apt install libglib2.0-dev qtbase5-dev libqt5svg5-dev qttools5-dev-tools`
Note: build-depends references the paragraph in debian/control.
## Build from source and test
> git clone https://github.com/ukui/ukui-sidebar
> cd ukui-sidebar && mkdir build && cd build
> qmake .. && make
> sudo make install
Note: If you want to run ukui-sidebar, you need to make some changes in the code after build.
+ Find `libnotification_plugin.so` in your build path like `/home/XX/ukui-sidebar/build/src/plugins/notification_plugins`. Then set this path as pluginDir in file widget.cpp fuction `bool Widget::loadNotificationPlugin()`.
+ Find `libclipboardPlugin.so` in your build path like `/home/XX/ukui-sidebar/build/src/plugins/sidebar_pushbutton_plugins`. Then set this path as pluginDir in file pluginmanage.cpp fuction `PluginManager::PluginManager(QObject *parent) : QObject(parent)`.

BIN
ukui-sidebar-3.0.1.tar.gz Normal file

Binary file not shown.

88
ukui-sidebar.spec Normal file
View File

@ -0,0 +1,88 @@
%define debug_package %{nil}
Name: ukui-sidebar
Version: 3.0.1
Release: 1
Summary: parallels toolbox for UKUI
License: GPL-3+
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
BuildRequires: glib2-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qttools-devel
BuildRequires: gsettings-qt-devel
BuildRequires: dconf-devel
BuildRequires: libX11-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: libXtst-devel
Requires: glib2-devel
Requires: qt5-qtbase-devel
Requires: qt5-qtsvg-devel
Requires: qt5-qtmultimedia-devel
Requires: qt5-qttools-devel
Requires: gsettings-qt-devel
Requires: dconf-devel
#patch0: fix-plugin-icon.patch
%description
The ukui-sidebar is mainly used in the desktop operating system.
It pops up from the right side of the desktop in the form of a tray,
displaying some application notification messages and some cutting
storage information.
%prep
%setup -q
#%%patch0 -p1
%build
mkdir build && cd build
qmake-qt5 ..
make
%install
rm -rf $RPM_BUILD_ROOT
cd %{_builddir}/%{name}-%{version}/build
make INSTALL_ROOT=%{buildroot} install
%clean
rm -rf $RPM_BUILD_ROOT
%postun
set -e
home="/home/"
db_file="/.config/ukui/Clock_database.db"
feedback="/.config/ukui/url.conf"
for file in $(ls /home)
do
db_file_path=${home}${file}${db_file}
feedback_path=${home}${file}${feedback}
if [ -f "$db_file_path" ]; then
rm "$db_file_path"
fi
if [ -f "$feedback_path" ]; then
rm "$feedback_path"
fi
done
%files
%doc debian/copyright debian/changelog
%{_sysconfdir}/xdg/autostart/ukui-sidebar.desktop
%{_bindir}/*
%{_libdir}/ukui-sidebar
%{_datadir}/ukui-sidebar*
%{_datadir}/applications/*
%{_datadir}/ukui-clock/
%changelog
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.1-1
- update to upstream version 3.0.0-1+1103
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.1.2-1
- Init package for openEuler