vagnum08 / cpupower-gui

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
430 stars 31 forks source link

Broken build meson #77

Closed Vertecedoc4545 closed 2 years ago

Vertecedoc4545 commented 2 years ago

Describe the bug Meson cant configure To Reproduce Steps to reproduce the behaviour: download the last releases tar gz tarbal extract it install build dependencies (fedora or arch) run meson build --prefix /usr -Dsystemddir=/usr/lib/systemd/ -Dpkla=true -Duse_libexec=true see the error data/meson.build:14:0: ERROR: Function does not take positional arguments. Expected behaviour expect to pase the meson config Setup (please complete the following information):

Additional context data/meson.build:14-*

desktop_file = i18n.merge_file( 'desktop', input: configure_file( input: files('org.rnd2.cpupower_gui.desktop.in.in'), output: 'org.rnd2.cpupower_gui.desktop.in', configuration: desktop_conf ), output: 'org.rnd2.cpupower_gui.desktop', type: 'desktop', po_dir: '../po', install: true, install_dir: join_paths(get_option('datadir'), 'applications') )

eli-schwartz commented 2 years ago

This was already reported in #75 and fixed in 97f8ac02fe33e412b59d3f3968c16a217753e74b.

vagnum08 commented 2 years ago

You must delete the line after desktop_file = i18n... that says 'desktop',.

Otherwise you can install the git version that has the fix or wait a bit for the new version that includes the fix.