Package Details: albert 0.23.0-3

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: 28
Popularity: 1.40
First Submitted: 2021-03-08 21:29 (UTC)
Last Updated: 2024-03-14 15:23 (UTC)

Dependencies (21)

Required by (0)

Sources (1)

Latest Comments

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

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.

manuelschneid3r commented on 2023-08-17 12:56 (UTC) (edited on 2023-08-17 12:56 (UTC) by manuelschneid3r)

I know its not necessarily arch spirit, but i'd recommend to make the qml dependencies required. For the sake of user experience. Its just about 3mb disk space. Most users wont care, those that would use rofi/dmenu anyway.