Compare commits
No commits in common. "6b6ae8923b55030c3832d3456cebcac65445135a" and "27d67cf808230bf825fab340820635ede055283e" have entirely different histories.
6b6ae8923b
...
27d67cf808
36
README.en.md
Normal file
36
README.en.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# libxfce4ui
|
||||||
|
|
||||||
|
#### Description
|
||||||
|
Commonly used Xfce widgets
|
||||||
|
|
||||||
|
#### 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
|
||||||
|
|
||||||
|
|
||||||
|
#### Gitee Feature
|
||||||
|
|
||||||
|
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/)
|
||||||
37
README.md
Normal file
37
README.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# libxfce4ui
|
||||||
|
|
||||||
|
#### 介绍
|
||||||
|
Commonly used Xfce widgets
|
||||||
|
|
||||||
|
#### 软件架构
|
||||||
|
软件架构说明
|
||||||
|
|
||||||
|
|
||||||
|
#### 安装教程
|
||||||
|
|
||||||
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
|
#### 使用说明
|
||||||
|
|
||||||
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
|
#### 参与贡献
|
||||||
|
|
||||||
|
1. Fork 本仓库
|
||||||
|
2. 新建 Feat_xxx 分支
|
||||||
|
3. 提交代码
|
||||||
|
4. 新建 Pull Request
|
||||||
|
|
||||||
|
|
||||||
|
#### 码云特技
|
||||||
|
|
||||||
|
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||||
|
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||||
|
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||||
|
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||||
|
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||||
|
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||||
28
libxfce4ui-4.14-keyboard-shortcuts.patch
Normal file
28
libxfce4ui-4.14-keyboard-shortcuts.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
--- libxfce4kbd-private/xfce4-keyboard-shortcuts.xml.orig 2019-05-17 20:47:46.177418982 -0400
|
||||||
|
+++ libxfce4kbd-private/xfce4-keyboard-shortcuts.xml 2019-05-17 21:02:11.273407207 -0400
|
||||||
|
@@ -12,12 +12,25 @@
|
||||||
|
</property>
|
||||||
|
<property name="<Primary><Alt>Delete" type="string" value="xflock4"/>
|
||||||
|
<property name="<Primary><Alt>l" type="string" value="xflock4"/>
|
||||||
|
+ <property name="<Control><Alt>Escape" type="string" value="xkill"/>
|
||||||
|
<property name="<Primary><Alt>t" type="string" value="exo-open --launch TerminalEmulator"/>
|
||||||
|
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
|
||||||
|
<property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/>
|
||||||
|
<property name="<Primary>Escape" type="string" value="xfdesktop --menu"/>
|
||||||
|
+ <property name="XF86LogOff" type="string" value="xfce4-session-logout"/>
|
||||||
|
+ <property name="Print" type="string" value="xfce4-screenshooter -f"/>
|
||||||
|
+ <property name="<Alt>Print" type="string" value="xfce4-screenshooter -w"/>
|
||||||
|
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
|
||||||
|
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
|
||||||
|
+ <property name="XF86Calendar" type="string" value="orage"/>
|
||||||
|
+ <property name="XF86Memo" type="string" value="xfce4-notes"/>
|
||||||
|
+ <property name="XF86Terminal" type="string" value="xfce4-terminal"/>
|
||||||
|
+ <property name="XF86Explorer" type="string" value="Thunar"/>
|
||||||
|
+ <property name="XF86AudioMedia" type="string" value="pragha"/>
|
||||||
|
+ <property name="XF86AudioPlay" type="string" value="pragha --pause"/>
|
||||||
|
+ <property name="XF86AudioPrev" type="string" value="pragha --prev"/>
|
||||||
|
+ <property name="XF86AudioNext" type="string" value="pragha --next"/>
|
||||||
|
+ <property name="XF86Calculator" type="string" value="galculator"/>
|
||||||
|
<property name="Print" type="string" value="xfce4-screenshooter"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
BIN
libxfce4ui-4.14.1.tar.bz2
Normal file
BIN
libxfce4ui-4.14.1.tar.bz2
Normal file
Binary file not shown.
Binary file not shown.
@ -1,19 +1,21 @@
|
|||||||
%global xfceversion 4.18
|
%global xfceversion 4.14
|
||||||
%global namespc Libxfce4ui
|
|
||||||
|
|
||||||
Name: libxfce4ui
|
Name: libxfce4ui
|
||||||
Version: 4.18.0
|
Version: 4.14.1
|
||||||
Release: 1
|
Release: 1%{?dist}
|
||||||
Summary: Commonly used Xfce widgets
|
Summary: Commonly used Xfce widgets
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
#Group: Development/Libraries
|
||||||
URL: http://xfce.org/
|
URL: http://xfce.org/
|
||||||
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
|
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
|
||||||
|
# add more keyboard shortcuts to make multimedia keyboards work out of the box
|
||||||
|
# Terminal changed to xfce4-terminal in the patch
|
||||||
|
Patch10: libxfce4ui-%{xfceversion}-keyboard-shortcuts.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.24.0
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.24.0
|
||||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.20.0
|
BuildRequires: pkgconfig(gtk+-2.0) >= 2.20.0
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: pkgconfig(libxfce4util-1.0) >= %{xfceversion}
|
BuildRequires: pkgconfig(libxfce4util-1.0) >= %{xfceversion}
|
||||||
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
|
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
|
||||||
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.4
|
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.4
|
||||||
@ -22,26 +24,14 @@ BuildRequires: desktop-file-utils
|
|||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: glade-devel
|
BuildRequires: glade-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: libSM-devel
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: libgtop2-devel
|
|
||||||
|
|
||||||
Obsoletes: libxfcegui4 < 4.10.0-9
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libxfce4ui is used to share commonly used Xfce widgets among the Xfce applications.
|
Libxfce4ui is used to share commonly used Xfce widgets among the Xfce applications.
|
||||||
|
|
||||||
|
|
||||||
%package -n xfce4-about
|
|
||||||
Summary: Xfce 4 'About' dialog
|
|
||||||
|
|
||||||
%description -n xfce4-about
|
|
||||||
This package contains the 'About Xfce' dialog with info on the desktop
|
|
||||||
environment, it's contributors, and it's licensing.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -49,15 +39,13 @@ Requires: gtk2-devel
|
|||||||
Requires: libxfce4util-devel
|
Requires: libxfce4util-devel
|
||||||
Requires: glade-devel
|
Requires: glade-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Obsoletes: libxfcegui4-devel < 4.10.0-9
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
developing applications that use %{name}.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch10
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -73,38 +61,25 @@ export LD_LIBRARY_PATH="`pwd`/libxfce4ui/.libs"
|
|||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
# fix permissions for installed libraries
|
# fix permissions for installed libraries
|
||||||
chmod 755 %{buildroot}%{_libdir}/*.so
|
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/*.so
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
# Move xfce4-about to the 'Documentation' category
|
|
||||||
desktop-file-install \
|
|
||||||
--delete-original \
|
|
||||||
--remove-category=X-Xfce-Toplevel \
|
|
||||||
--add-category=Documentation \
|
|
||||||
--add-category=System \
|
|
||||||
--dir=%{buildroot}%{_datadir}/applications \
|
|
||||||
%{buildroot}%{_datadir}/applications/xfce4-about.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS THANKS
|
%doc AUTHORS NEWS README THANKS
|
||||||
%config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
%config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/girepository-1.0/%{namespc}-2.0.typelib
|
%{_libdir}/girepository-1.0/%{name}-2.0.typelib
|
||||||
%{_datadir}/gir-1.0/%{namespc}-2.0.gir
|
%{_bindir}/xfce4-about
|
||||||
|
%{_datadir}/gir-1.0/%{name}-2.0.gir
|
||||||
%{_datadir}/vala/vapi/%{name}-2.deps
|
%{_datadir}/vala/vapi/%{name}-2.deps
|
||||||
%{_datadir}/vala/vapi/%{name}-2.vapi
|
%{_datadir}/vala/vapi/%{name}-2.vapi
|
||||||
|
|
||||||
%files -n xfce4-about
|
|
||||||
%{_bindir}/xfce4-about
|
|
||||||
%{_datadir}/applications/xfce4-about.desktop
|
%{_datadir}/applications/xfce4-about.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/*xfce*
|
%{_datadir}/icons/hicolor/48x48/apps/xfce4-logo.png
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc TODO
|
%doc TODO
|
||||||
@ -117,11 +92,5 @@ desktop-file-install \
|
|||||||
%{_datadir}/glade/pixmaps/hicolor/*/actions/*
|
%{_datadir}/glade/pixmaps/hicolor/*/actions/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.18.0-1
|
|
||||||
- Update to 4.18.0
|
|
||||||
|
|
||||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
|
|
||||||
- Update to 4.16.0
|
|
||||||
|
|
||||||
* Wed Jul 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.1-1
|
* Wed Jul 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: git
|
|
||||||
src_repo: https://gitlab.xfce.org/xfce/libxfce4ui.git
|
|
||||||
tag_prefix: "libxfce4ui-"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user