Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
c42164892a !7 [sync] PR-5: remove unuse files
From: @openeuler-sync-bot
Reviewed-by: @zhang__3125
Signed-off-by: @zhang__3125
2021-12-03 10:30:43 +00:00
cherry530
2501cd6a71 remove unuse files
(cherry picked from commit f52c288a29f2972db6ee956c688642f1cc312cfc)
2021-12-03 18:03:37 +08:00
openeuler-ci-bot
a9e3b95fd6 !6 [sync] PR-4: Package init
From: @openeuler-sync-bot
Reviewed-by: @zhang__3125
Signed-off-by: @zhang__3125
2021-12-03 09:51:59 +00:00
cherry530
28c7ddf877 Package init
(cherry picked from commit 6c04f184df8de477d8cc04f105820b93e70359ba)
2021-12-03 17:18:53 +08:00
openeuler-ci-bot
56e7ffad1a !3 upgrade to 1.2.5 for xfce 4.16
From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-06-25 07:08:11 +00:00
zhang__3125
28593db142 upgrade to 1.2.5 for xfce 4.16 2021-06-25 15:03:45 +08:00
openeuler-ci-bot
60e036dbde !2 20201127 add yaml file
From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2020-11-30 17:12:38 +08:00
张琳
ae86ad0203 update xfce4-cpufreq-plugin.yaml. 2020-11-30 17:04:45 +08:00
zhang__3125
be95f6c3e3 20201127 add yaml file 2020-11-27 12:57:18 +08:00
openeuler-ci-bot
ef8c0cfea7 !1 Init package
Merge pull request !1 from 陈棋德/master
2020-07-31 20:12:05 +08:00
dillon chen
0ef4fef9fb Init package 2020-07-14 18:28:03 +08:00
4 changed files with 81 additions and 0 deletions

View 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

Binary file not shown.

55
xfce4-cpufreq-plugin.spec Normal file
View File

@ -0,0 +1,55 @@
%global _hardened_build 1
Name: xfce4-cpufreq-plugin
Version: 1.2.1
Release: 1
Summary: CPU frequency scaling plugin for the Xfce4 panel
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
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)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel
BuildRequires: xfce4-panel-devel
BuildRequires: intltool
Requires: xfce4-panel
%description
This plugin shows in the Xfce Panel the following information:
current CPU frequency
current used governor
In a separate dialog it provides you following information:
all available CPU frequencies
all available governors
used driver for the CPU
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
%find_lang %{name}
find %{buildroot} -name \*.la -exec rm {} \;
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS README
%license COPYING
%{_libdir}/xfce4/panel/plugins/libcpufreq.so
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
%changelog
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.1-1
- Init package

View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin.git
tag_prefix: "xfce4-cpufreq-plugin-"
seperator: "."