Skip to main content
Topic: How to Install liri-git-meta on Artix? (Read 327 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to Install liri-git-meta on Artix?

i try to install liri-meta-git from aur and get the following error:

Code: [Select]
Fehler: can't build liri-git-meta-0.9.0-6, deps not satisfied: liri-power-manager-git  liri-session-git  liri-shell-git  liri-text-git
Fehler: kann Pakete nicht bauen: liri-shell-git-v0.9.0.r617.gb1cfe9c9-1  liri-session-git-r110.f26b173-1  liri-power-manager-git-r176.82662ac-1  liri-text-git-r324.404d021-1  liri-git-meta-0.9.0-6

liri-text-git was build successfully after changing "_gitroot="git://github.com/lirios/text.git" to "_gitroot="git+https://github.com/lirios/text.git" in PKGBUILD.

liri-power-manager-git depends on liri-session-git, which depends on liri-shell-git.

when building liri-shell-git i got this error-message:

Code: [Select]
 CMake Error at /usr/share/LiriCMakeShared/modules/LiriBuild.cmake:189 (target_link_libraries):
  Target "LiriShellHelper" links to:

    PkgConfig::Libsystemd

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  src/helper/CMakeLists.txt:48 (liri_extend_target)
...

the same message for Target "LiriShellLockscreen"

in the README i found the possibility to add "-DFEATURE_enable_systemd:BOOL=OFF" to cmake command to disable systemd support.
so i cloned the aur-package and edited the PKGBUILD:

Code: [Select]
...
build() {
cd build
cmake ../${_gitname} \
-DCMAKE_BUILD_TYPE=Release \
-DFEATURE_enable_systemd:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
...

now makepkg gives the following output:
Code: [Select]
...
-- The following features have been disabled:

 * Coverage, Code coverage (gcc only)
 * Liri::DevelopmentBuild, Build Liri Shell for development
 * Liri::Systemd, Enable systemd support
 * Shell::QtQuickCompiler, Build with QtQuick compiler
 ...
systemd is disabled but i get the same error as before.
 what can i do?
 

Re: How to Install liri-git-meta on Artix?

Reply #1
Have you seen this ?
shell build not honoring 'FEATURE_enable_systemd:BOOL=OFF

It's closed as fixed but maybe there's been a regression ?
Looking at the commit might give you a clue of where to look to fix it yourself or failing that you could create a new issue.

 

Re: How to Install liri-git-meta on Artix?

Reply #2
i edited my first post,  i added an important line from the compiler output:

Code: [Select]
-- The following features have been disabled:

 * Coverage, Code coverage (gcc only)
 * Liri::DevelopmentBuild, Build Liri Shell for development
 * Liri::Systemd, Enable systemd support
 * Shell::QtQuickCompiler, Build with QtQuick compiler

So systemd is disabled, but i still get the error.

@gripped: I saw this issue. The actually downloaded code contains the code from the commit. I'll create a new issue. Thanks for your help.