albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.25k stars 304 forks source link

[calculator_qalculate] Needs rebuild on Arch #1380

Closed kescherCode closed 7 months ago

kescherCode commented 7 months ago

Package source

Official package (Albert Arch repo)

App report

Albert version: 0.23.0
           Build date: Mar  3 2024 08:27:47
           Qt version: 6.6.2
            Build ABI: x86_64-little_endian-lp64
   Build architecture: x86_64
     CPU architecture: x86_64
          Kernel type: linux
       Kernel version: 6.8.1-zen1-1-zen
                   OS: Arch Linux
              OS type: arch
           OS version: unknown
        Platform name: wayland
           Style name: qt6ct-style
     Available styles: qt5ct-style, qt6ct-style, Breeze, Oxygen, Windows, Fusion
           Icon theme: breeze-dark
                 Font: Cantarell,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular
             Language: English
               Locale: en_US
      Binary location: /usr/bin/albert
          Working dir: /home/kescher
            Arguments: albert
                $LANG: en_US.UTF-8
$QT_QPA_PLATFORMTHEME: qt6ct
                $PATH: /home/kescher/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
               $SHELL: /bin/bash
    $XDG_SESSION_TYPE: wayland
 $XDG_CURRENT_DESKTOP: Hyprland
     $DESKTOP_SESSION: 
 $XDG_SESSION_DESKTOP: Hyprland

Current Behavior

Plugin fails to load:

Cannot load library /usr/lib/albert/libcalculator_qalculate.so: (libqalculate.so.22: cannot open shared object file: No such file or directory)

$ ls /usr/lib/libqalculate.so* /usr/lib/libqalculate.so /usr/lib/libqalculate.so.23 /usr/lib/libqalculate.so.23.0.0

Expected Behavior

Plugin should load successfully

Anything else?

No response

ManuelSchneid3r commented 7 months ago

That's how arch and the aur works. On dependency updates you have to rebuild.

kescherCode commented 7 months ago

The plugin is distributed via an official repo of this project. Hence, a rebuild is needed there.

ManuelSchneid3r commented 7 months ago

Ty. I thought obs handles updates. Well I triggered a rebuild. However the filename did not change. Does updating it work? Does it update at all.

kescherCode commented 7 months ago

Technically, I'm sure I could just purge pacman's package cache and reinstall. However, bumping the pkgrel would probably be better overall.

ManuelSchneid3r commented 7 months ago

Sure. I don't know how to automate it though.

kescherCode commented 7 months ago

Either way, yes, removing albert packages from /var/cache/pacman/pkg/albert* and reinstalling albert works.

kescherCode commented 5 months ago

Hey, can you be notified somewhere if the OBS repo needs a rebuild? Currently, the Python plugins are not working on Arch because the package is built for Python 3.11, whereas Arch currently uses Python 3.12.

kescherCode commented 5 months ago

And GitHub issues aren't exactly suited for this kind of request.

ManuelSchneid3r commented 5 months ago

OBS does not support this afailk. This is out of my hands. You could also use the AUR package. Imho the only sophisiticated solution is to put it into the official repository. Please vote it on aur try to convice TUs to package it.