How to compile and run gnome-battery-bench

Welcome to my GSoC blog!

I’m a bit lazy about writing blogs, but you know, it is important to document main steps you have done on project, to help the community on tons of things like, for example, how to get up and running a project without a headache – if you are a newbie. On this short blog entry I will show you the set of commands you have to run on a fresh Fedora 32 (x86_64) install to get gnome-battery-bench working:

git clone https://gitlab.gnome.org/GNOME/gnome-battery-bench
cd gnome-battery-bench
sudo dnf install make automake gcc gcc-c++ kernel-devel
sudo dnf install libevdev-devel
sudo dnf install glib2-devel
sudo dnf install polkit-devel
sudo dnf install gtk3-devel
sudo dnf install libgudev-devel
sudo dnf install json-glib-devel
sudo dnf install gnome-common
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
make -j5
sudo make install
gnome-battery-bench

Next steps I have to document are setting up my working environment, because I have a laptop that I need to run the project, but I want to use three displays I have at home, connected to a desktop PC. So, I want to connect to that computer (a Macbook Pro late 2013) remotely, to use that three screen without use more cables.

I hope you enjoy the journey like me!

Thank you for reading!