Package Details: albert 0.26.7-1

Git Clone URL: https://aur.archlinux.org/albert.git (read-only, click to copy)
Package Base: albert
Description: A sophisticated standalone keyboard launcher
Upstream URL: https://github.com/albertlauncher
Licenses: custom
Submitter: arcanis
Maintainer: arcanis
Last Packager: arcanis
Votes: 34
Popularity: 1.78
First Submitted: 2021-03-08 21:29 (UTC)
Last Updated: 2024-11-08 08:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

peetwastaken commented on 2023-10-08 13:42 (UTC) (edited on 2023-10-08 13:43 (UTC) by peetwastaken)

For some reason, this does not install the python plugins anymore, at least on my machine. It seems like in src/build/plugins/python/cmake_install.cmake (generated file obviously), there is this install instruction:

file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/albert/python/plugins" TYPE DIRECTORY FILES "<redacted-yay-cache-path>/yay/albert/src/albert/plugins/python/plugins/" REGEX "/\\..*" EXCLUDE REGEX "/\\_\\_pycache\\_\\_$" EXCLUDE)

The exlude regex /\\..* seems to match out all files in the directory. Its pretty confusing because this is generated by cmake and it works with the same regex when building directly from git with the build instructions (https://albertlauncher.github.io/installing/)

Case_Of commented on 2023-10-06 17:25 (UTC)

@nipsky @TechXero 0.22.9 was known to be broken

nipsky commented on 2023-10-02 15:16 (UTC) (edited on 2023-10-02 15:16 (UTC) by nipsky)

I’m running into issues trying to build this on a freshly set-up machine:


[ 65%] Building CXX object plugins/python/CMakeFiles/python.dir/src/pypluginloader.cpp.o
In file included from /usr/include/qt6/QtCore/QLoggingCategory:1,
                 from /home/andre/.cache/pikaur/build/albert/src/albert/include/albert/logging.h:4,
                 from /home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/trampolineclasses.h:11,
                 from /home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/embeddedmodule.h:5,
                 from /home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp:3:
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp: In lambda function:
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp:226:81: error: no match for call to ‘(std::unique_ptr<QLoggingCategory>) ()’
  226 |         py::setattr(module_,"debug", py::cpp_function([this](const QString &s){ qCDebug(*logging_category) << s; }));
      |                                                                                 ^
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp: In lambda function:
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp:227:80: error: no match for call to ‘(std::unique_ptr<QLoggingCategory>) ()’
  227 |         py::setattr(module_,"info", py::cpp_function([this](const QString &s){ qCInfo(*logging_category) << s; }));
      |                                                                                ^
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp: In lambda function:
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp:228:83: error: no match for call to ‘(std::unique_ptr<QLoggingCategory>) ()’
  228 |         py::setattr(module_,"warning", py::cpp_function([this](const QString &s){ qCWarning(*logging_category) << s; }));
      |                                                                                   ^
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp: In lambda function:
/home/andre/.cache/pikaur/build/albert/src/albert/plugins/python/src/pypluginloader.cpp:229:84: error: no match for call to ‘(std::unique_ptr<QLoggingCategory>) ()’
  229 |         py::setattr(module_,"critical", py::cpp_function([this](const QString &s){ qCCritical(*logging_category) << s; }));
      |                                                                                    ^
make[2]: *** [plugins/python/CMakeFiles/python.dir/build.make:111: plugins/python/CMakeFiles/python.dir/src/pypluginloader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1063: plugins/python/CMakeFiles/python.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

TechXero commented on 2023-10-02 12:51 (UTC)

Error building

make[1]: *** [CMakeFiles/Makefile2:1063: plugins/python/CMakeFiles/python.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 77%] Building CXX object plugins/system/CMakeFiles/system.dir/src/plugin.cpp.o
[ 78%] Linking CXX shared module ../../lib/libsnippets.so
[ 80%] Built target snippets
[ 81%] Building CXX object plugins/system/CMakeFiles/system.dir/system_autogen/EWIEGA46WW/qrc_system.cpp.o
[ 82%] Linking CXX shared module ../../lib/libssh.so
[ 82%] Built target ssh
[ 82%] Linking CXX shared module ../../lib/libsystem.so
[ 82%] Built target system
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

manuelschneid3r commented on 2023-09-23 18:22 (UTC)

Another way to package it would be to have a split package. Like albert-minimal and albert-full (which has all the plugins with dependencies). Or albert and recommended packages for these plugins having mandatory dependencies.

markboston commented on 2023-09-23 17:37 (UTC)

why is it on my system pacman can install this package?

uffe commented on 2023-08-18 11:26 (UTC)

FYI:

I've succesfully built albert-0.22.3-1 - I had to install required package qt6-declarative...

But it will not start - it complained about some QML stull missing - for albert-0.22.3-1 to start I had to install the whole [qt6] group of packages

arcanis commented on 2023-08-18 10:52 (UTC)

Otherwise it might build but will do so with errors..

that's not correct, package built in clear chroot without any warning or errors (for that part qml has been mentioned as makedeps)

Nevertheless, based on reviews, I changed qml to hard deps (at least it makes sense, because qml is default frontend).

TechXero commented on 2023-08-17 18:18 (UTC) (edited on 2023-08-17 18:19 (UTC) by TechXero)

Well as @manuelscneid3r said I have successfully built it and ran it without issues, just need to add the following as hard dependencies pybind11 qt6-declarative qt6-5compat qt6-shadertools

Otherwise it might build but will do so with errors..

Thanks guys everything is fine now. I modified PKGBUILD to have them as hard dependencies instead of makedeps...

manuelschneid3r commented on 2023-08-17 13:00 (UTC)

Note that you dont have to depend on the bunch of python dependencies. If pip is installed dependecies are pulled into albert dirs. Some may even break because they depend on particular versions of the packages. to be fair the only until now is gtrans, which broke recently anyway on my system, but this gives plugin devs some more freedom.