!6 [sync] PR-4: Package init
From: @openeuler-sync-bot Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
a9e3b95fd6
22
xfce4-cpufreq-plugin-1.2.1-gcc10-common.patch
Normal file
22
xfce4-cpufreq-plugin-1.2.1-gcc10-common.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.c
|
||||||
|
+++ xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.c
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
#include "xfce4-cpufreq-linux.h"
|
||||||
|
#endif /* __linux__ */
|
||||||
|
|
||||||
|
-
|
||||||
|
+CpuFreqPlugin *cpuFreq;
|
||||||
|
|
||||||
|
void
|
||||||
|
cpufreq_label_set_font (void)
|
||||||
|
--- xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.h
|
||||||
|
+++ xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.h
|
||||||
|
@@ -93,7 +93,7 @@
|
||||||
|
gint timeoutHandle;
|
||||||
|
} CpuFreqPlugin;
|
||||||
|
|
||||||
|
-CpuFreqPlugin *cpuFreq;
|
||||||
|
+extern CpuFreqPlugin *cpuFreq;
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
BIN
xfce4-cpufreq-plugin-1.2.1.tar.bz2
Normal file
BIN
xfce4-cpufreq-plugin-1.2.1.tar.bz2
Normal file
Binary file not shown.
@ -1,20 +1,20 @@
|
|||||||
%global minorversion 1.2
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
Name: xfce4-cpufreq-plugin
|
Name: xfce4-cpufreq-plugin
|
||||||
Version: 1.2.5
|
Version: 1.2.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: CPU frequency scaling plugin for the Xfce4 panel
|
Summary: CPU frequency scaling plugin for the Xfce4 panel
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
#Group: Development/Libraries
|
||||||
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
|
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
|
||||||
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
|
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.2/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: xfce4-cpufreq-plugin-1.2.1-gcc10-common.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libxfce4ui-devel
|
BuildRequires: libxfce4ui-devel
|
||||||
BuildRequires: xfce4-panel-devel
|
BuildRequires: xfce4-panel-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
|
||||||
Requires: xfce4-panel
|
Requires: xfce4-panel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -28,7 +28,7 @@ In a separate dialog it provides you following information:
|
|||||||
used driver for the CPU
|
used driver for the CPU
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -51,8 +51,5 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
|||||||
%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
|
%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.5-1
|
|
||||||
- Update to 1.2.5
|
|
||||||
|
|
||||||
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.1-1
|
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user