sponsiak
Posts: 18
Joined: Sat Aug 26, 2017 9:27 pm

[Solved]Can't install applet Budgie pixel saver

Mon Sep 25, 2017 8:47 pm

Hello everybody,

I'm pretty sure i'm doing something wrong but can't install mentioned applet (Github Link). I did install meson and all of dependecies. The way i tray to install it:

1. Downloaded zip file from the github and extracted it (Downloads folder)
2. Started Terminal in its location
3.

Code: Select all

mkdir build && cd build
and it worked
4.

Code: Select all

meson --prefix /usr --buildtype=plain ..
error with the following output:

Code: Select all

pele@pele-msi-gl72 ~/Downloads/budgie-pixel-saver-applet-master/build $ meson --prefix /usr --buildtype=plain ..
The Meson build system
Version: 0.40.1
Source dir: /home/pele/Downloads/budgie-pixel-saver-applet-master
Build dir: /home/pele/Downloads/budgie-pixel-saver-applet-master/build
Build type: native build
Project name: budgie-pixel-saver-applet

Meson encountered an error in file meson.build, line 1, column 0:
Compiler cc can not compile programs.
Any idea what am i doing wrong ?
Last edited by sponsiak on Tue Sep 26, 2017 7:33 pm, edited 1 time in total.

User avatar
kyrios
Posts: 2065
Joined: Thu Sep 22, 2016 4:20 pm

Re: Can't install applet Budgie pixel saver

Mon Sep 25, 2017 9:28 pm

sponsiak wrote:
Mon Sep 25, 2017 8:47 pm
Hello everybody,

I'm pretty sure i'm doing something wrong but can't install mentioned applet (Github Link). I did install meson and all of dependecies. The way i tray to install it:

1. Downloaded zip file from the github and extracted it (Downloads folder)
2. Started Terminal in its location
3.

Code: Select all

mkdir build && cd build
and it worked
4.

Code: Select all

meson --prefix /usr --buildtype=plain ..
error with the following output:

Code: Select all

pele@pele-msi-gl72 ~/Downloads/budgie-pixel-saver-applet-master/build $ meson --prefix /usr --buildtype=plain ..
The Meson build system
Version: 0.40.1
Source dir: /home/pele/Downloads/budgie-pixel-saver-applet-master
Build dir: /home/pele/Downloads/budgie-pixel-saver-applet-master/build
Build type: native build
Project name: budgie-pixel-saver-applet

Meson encountered an error in file meson.build, line 1, column 0:
Compiler cc can not compile programs.
Any idea what am i doing wrong ?

Did you install the system devel ?

Code: Select all

sudo eopkg install -c system.devel

sponsiak
Posts: 18
Joined: Sat Aug 26, 2017 9:27 pm

Re: Can't install applet Budgie pixel saver

Mon Sep 25, 2017 11:26 pm

Thank you so much, it helped but another error in the input.

Code: Select all

Meson encountered an error in file meson.build, line 37, column 0:
Native dependency 'budgie-1.0' not found
Edit:

Ok, i went through it, but again..

Code: Select all

sudo ninja install
Generates this output

Code: Select all

pele@pele-msi-gl72 ~/Downloads/budgie-pixel-saver-applet-master/build $ sudo ninja install
[0/1] Installing files.
Installing src/BudgiePixelSaverApplet.plugin to /usr/lib64/budgie-desktop/plugins/budgie-pixel-saver-applet/BudgiePixelSaverApplet.plugin
Installing src/libbudgiepixelsaverapplet.so to /usr/lib64/budgie-desktop/plugins/budgie-pixel-saver-applet/libbudgiepixelsaverapplet.so
Installing /home/pele/Downloads/budgie-pixel-saver-applet-master/src/net.milgar.budgie-pixel-saver.gschema.xml to /usr/share/glib-2.0/schemas
Running custom install script '/usr/bin/env python3 /home/pele/Downloads/budgie-pixel-saver-applet-master/meson_post_install.py'
Compiling gsettings schemas...
warning: Schema 'org.freedesktop.ibus' has path '/desktop/ibus/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general' has path '/desktop/ibus/general/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general.hotkey' has path '/desktop/ibus/general/hotkey/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.panel' has path '/desktop/ibus/panel/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.panel.emoji' has path '/desktop/ibus/panel/emoji/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.cache' has path '/desktop/gnome/crypto/cache/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.pgp' has path '/desktop/gnome/crypto/pgp/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse' has path '/apps/seahorse/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse.manager' has path '/apps/seahorse/listing/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.locale' has path '/system/locale/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
pele@pele-msi-gl72 ~/Downloads/budgie-pixel-saver-applet-master/build $ 
Afterwards (the installation should be completed) There's no Pixel saver in applet menu, so it seems that the output above is incorrect.
Any idea this time ?

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Can't install applet Budgie pixel saver

Tue Sep 26, 2017 6:50 am

Worked ok for me:

Code: Select all

git clone https://github.com/ilgarmehmetali/budgie-pixel-saver-applet.git
cd budgie-pixel-saver-applet/
mkdir build && cd build
sudo eopkg it -c system.devel vala libgtk-3-devel libpeas-devel budgie-desktop-devel libwnck-devel
meson --prefix /usr --buildtype=plain ..
ninja
sudo ninja install
budgie-panel --replace &

sponsiak
Posts: 18
Joined: Sat Aug 26, 2017 9:27 pm

Re: Can't install applet Budgie pixel saver

Tue Sep 26, 2017 9:13 am

Everything works for now :) Thank you so much guys ;)

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Can't install applet Budgie pixel saver

Tue Sep 26, 2017 1:20 pm

Excellent! Please mark your original post as [SOLVED] so that others can find it when searching for similar issues, thanks.

Return to “Development”