I found your problem:
The name of the command changed to lconvert6.
Again, you should make sure the package builds successfully in a clean chroot. Consult your AUR helper for guidance on how to do this.
| Git Clone URL: | https://aur.archlinux.org/openlp-git.git (read-only, click to copy) |
|---|---|
| Package Base: | openlp-git |
| Description: | Church presentation and lyrics projection software. |
| Upstream URL: | https://openlp.org/ |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | openlp |
| Provides: | openlp |
| Submitter: | thelinuxguy |
| Maintainer: | putte64 |
| Last Packager: | putte64 |
| Votes: | 2 |
| Popularity: | 0.000000 |
| First Submitted: | 2019-11-27 21:34 (UTC) |
| Last Updated: | 2026-05-16 06:28 (UTC) |
I found your problem:
The name of the command changed to lconvert6.
Again, you should make sure the package builds successfully in a clean chroot. Consult your AUR helper for guidance on how to do this.
@putte64 Yes, but I shouldn't need to. You need to put all lconvert invocations in the build() function, unless qt6-tools is meant to be a direct runtime dependency of this package.
For example:
build() {
# ...
local tsrcdir="resources/i18n"
local tdestdir="i18n"
for file in "$tsrcdir"/*.ts; do
lconvert -i "$file" -o "$tdestdir/$(basename "$file" .ts).qm"
done
}
package() {
# ...
# Install translations
local tsrcdir="i18n"
local tdestdir="$pkgdir/usr/share/$_pkgbase/i18n"
install -d "$tdestdir"
install -D "${tsrcdir}/*.qm" "$tdestdir"
}
In general, you should make sure your package actually builds in a clean chroot.
@fanninpm Can you check if you have qt6-tools installed? lconvert should be a part of that package.
~/.cache/pikaur/build/openlp-git/PKGBUILD: line 98: lconvert: command not found
Lot's of changes in the last commit, hopefully for the better. New versioning, new build system and clean up dependencies according to latest master. OpenLP is bulding and running on my Hyprland install, but some tweaks and windowrules is required.
@matj1 Thank you for your feedback. Your AUR-helper should now download the latest version of PKGBUILD (as you found out and did by yourself). The PKGBUILD will then always get the latest git version available, even if it looks like its not updated. But it will not warn you of new versions available unfortunately. (As far as I know, that's the nature of GIT repos)
This website says that openlp-git was last updated on 2023-07-20. It didn't update on my system, so it crashed every time, but I explicitly reinstalled it, I got a new version (3.1.0), and it works now.
I don't know where the problem is. There obviously is a new version, but AUR does not know that there is a new version, so it doesn't update openlp-git.
openlp-git allows you to use python 3.12. Works in my test install, might not be good for production.
Update: Dependency python-sqlalchemy has been added
There's a important and easy bug to be fixed in the PKGBUILD script.
In line 54: tdestdir="$pkgdir/usr/share/$pkgname/i18n"
$pkgname is pointing to "openlp-git", but for translations to work, it must be replaced with "openlp". (not $pkgname ofcourse, but the path)
Edit: This should be fixed now
Pinned Comments