cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.
GNU General Public License v3.0
465
stars
32
forks
source link
Add translated Chinese manual page #60
Closed
supdrewin closed 3 years ago
Add myself to the list
``` patch diff --git a/data/man/cpupower-gui.1 b/data/man/cpupower-gui.1 index 79f61be..d975f82 100644 --- a/data/man/cpupower-gui.1 +++ b/data/man/cpupower-gui.1 @@ -60,7 +60,7 @@ cpupower(1), cpupower-set(1), cpupower-info(1), cpupower-idle(1), cpupower-frequ .SH AUTHORS Evangelos RigasAdd translated manual page, this patch is too long to show
``` patch diff --git a/data/man/cpupower-gui.zh_CN.1 b/data/man/cpupower-gui.zh_CN.1 new file mode 100644 index 0000000..bbc0e1c --- /dev/null +++ b/data/man/cpupower-gui.zh_CN.1 @@ -0,0 +1,66 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" (C) Copyright 2019 Evangelos RigasInstall added manual page
``` patch diff --git a/data/meson.build b/data/meson.build index d51790d..a2be472 100644 --- a/data/meson.build +++ b/data/meson.build @@ -69,6 +69,7 @@ install_data('scaling-governors.conf', install_dir: pkgdatadir) # Manual install_man('man/cpupower-gui.1') +install_man('man/cpupower-gui.zh_CN.1', locale: 'zh_CN') subdir('services') subdir('polkit') ```Required by install_man() with 'locale' keyword
``` patch diff --git a/meson.build b/meson.build index 8fd595e..d1e4f57 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('cpupower-gui', version: '1.0.0', - meson_version: '>= 0.50.0', + meson_version: '>= 0.58.0', default_options: ['warning_level=2', 'systemddir=/usr/lib/systemd', 'pkla=false', ```Hibernate deprecated warning for the changed meson version
``` patch diff --git a/cpupower_gui/meson.build b/cpupower_gui/meson.build index 0607200..188850c 100644 --- a/cpupower_gui/meson.build +++ b/cpupower_gui/meson.build @@ -3,7 +3,7 @@ gnome = import('gnome') python = import('python') conf = configuration_data() -conf.set('PYTHON', python.find_installation('python3').path()) +conf.set('PYTHON', python.find_installation('python3').full_path()) conf.set('VERSION', meson.project_version()) conf.set('localedir', join_paths(prefix, get_option('localedir'))) conf.set('pkgdatadir', pkgdatadir) ```