Compare commits
10 Commits
992e2b54ff
...
7e020b5f27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e020b5f27 | ||
|
|
fa799654c9 | ||
|
|
e7c11bddf7 | ||
|
|
3dbbbc356b | ||
|
|
fbd4e0c299 | ||
|
|
e1d966a23b | ||
|
|
5536340764 | ||
|
|
656ffafcfe | ||
|
|
bdc2ea0e10 | ||
|
|
d580df0c3d |
71
README.en.md
71
README.en.md
@ -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
BIN
ukui-sidebar-3.0.1.tar.gz
Normal file
Binary file not shown.
88
ukui-sidebar.spec
Normal file
88
ukui-sidebar.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user