How do I install Luwx/Lightly in Manjaro / Arch Linux?

Hi there,
10 hours of using Manjaro KDE Plasma after ten plus years of Kubuntu.

I’m trying to install Lightly application style from fork https://github.com/boehs.

It was working alright in Kubuntu 23.04 with Plasma 5.27.

I used install instructions for Arch Linux. From original Luwx/Lightly (which has not worked properly in Kubuntu since Plasma 5.24 - The titlebar of Dolphin is not transparent) with chaotic-aur. And manual install instructions from boehs’s fork:

Dependencies:

sudo pacman -S cmake extra-cmake-modules kdecoration qt5-declarative qt5-x11extras

and install:

git clone --single-branch --depth=1 https://github.com/boehs/Lightly.git
cd Lightly && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
make
sudo make install

However,
manual installing gives following errors:

MustaJoutsen% cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

How to solve this OR is there a fork that works with Manjaro?


Moderator edit: Formatting

Welcome to the forum! :wave:

It sounds like you are missing dependencies to build the project. Make sure you have base-devel installed which is required for using the AUR (Arch User Repository) as well.

In the future, please format your post properly. I’ve done it for you this time. See [HowTo] Post command output and file content as formatted text

Are you telling us how to solve it? :thinking: . See [HowTo] How do I ask a question?

After first difficulties it was as easy as in Kubuntu.
Only finding the right package required some Googling.

(1) Installing base-devel with Manjaro Package Manager.

(2) Installing dependencies

sudo pacman -S breeze-icons frameworkintegration hicolor-icon-theme kdecoration kwayland cmake extra-cmake-modules git kcmutils
kdecoration qt5-declarative qt5-x11extras

(3) Just cloning the package with

git clone https://aur.archlinux.org/packages/lightly-git

which copies the Lightly package to (in my case to Home Directory - and which I moved to a directory where I save programs)

(4) Installing the package (inside the Lightly directory) with

makepkg -si

OR

makepkg -sric
(to clear orphan unneeded packages - recommended by @cscs - Didn’t test it myself)

and that’s it.

Just a note that this will sync and install, which is good.
But you can can also include some flags for cleaning the build directory, and removing unneeeded build packages (only required for the build, not for the package dependency).

makepkg -sric

Having omitted them in the first case, you may now have ‘orphans’;

pacman -Qdt

pacman/Tips and tricks - ArchWiki

Thank You for the Tip!

P.S. The commands are Sooo different to Kubuntu…
P.S.P.S. I’m making KDE Plasma Lightly Colour Schemes https://www.pling.com/u/plingsaarinen
and I will use this as an instruction in my themes for Manjaro and Arch users.

Another tip then :wink:

https://wiki.archlinux.org/title/Pacman/Rosetta

(though of course manjaro offers pamac)

While trying to attach images or http-links the UI sends an error message. Is this normal?

Please see: [HowTo] Post screenshots and links

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.