Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57171 - [simplescreenrecorder] missing translation files
Attached to Project:
Community Packages
Opened by Andrew Shark (ashark) - Saturday, 20 January 2018, 10:12 GMT
Last edited by Kyle Keen (keenerd) - Tuesday, 30 January 2018, 12:42 GMT
Opened by Andrew Shark (ashark) - Saturday, 20 January 2018, 10:12 GMT
Last edited by Kyle Keen (keenerd) - Tuesday, 30 January 2018, 12:42 GMT
|
Detailssimplescreenrecorder package version 0.3.9-1 do not contain qm files in
/usr/share/simplescreenrecorder/translations/ So application appears only in english interface. In version 0.3.8-1 these files were in place. I have rebuild package by myself and there was that subdirectory with qm files. So it is not upstream problem. I think possible reason could be that cmake did not find an lrelease binary while building. Here is checking for lrelease: https://github.com/MaartenBaert/ssr/commit/699dd22e6d2fc9f3a89baf26672e6ed230a69f7f#diff-a804866f29638f002e9f5a60d1d0cf98R2 pkgfile lrelease returned qt4 and qt5-tools. I have both, but in your .BUILDINFO qt5-tools package is absent. So this may be the reason. Additional info: * package version 0.3.9-1 |
This task depends upon
Closed by Kyle Keen (keenerd)
Tuesday, 30 January 2018, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: simplescreenrecorder 0.3.9-2
Tuesday, 30 January 2018, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: simplescreenrecorder 0.3.9-2
$ pacman -Ql qt4 | grep lrelease
qt4 /usr/bin/lrelease-qt4 (symlink to /usr/lib/qt4/bin/lrelease)
qt4 /usr/lib/qt4/bin/lrelease
$ pacman -Ql qt5-tools | grep lrelease
qt5-tools /usr/bin/lrelease
qt5-tools /usr/bin/lrelease-qt5 (symlink to /usr/bin/lrelease)
So in src/translations/CMakeLists.txt I suggest to change line 3 in upstream.
find_program(LRELEASE lrelease)
There is already WITH_QT5 option exist in a project, so we can do something like this:
if(WITH_QT5)
find_program(LRELEASE lrelease-qt5)
else()
find_program(LRELEASE lrelease-qt4)
endif()
or
if(WITH_QT5)
find_program(LRELEASE lrelease /usr/bin/)
else()
find_program(LRELEASE lrelease /usr/lib/qt4/bin/)
endif()
Also I wanted to mention that in CMakeCache.txt there is already line
QT_LRELEASE_EXECUTABLE:FILEPATH=/usr/lib/qt4/bin/lrelease
so maybe we need use this instead?
lrelease's name may be inconsistent across linux distros, so it may be very difficult to find an universal solution.
What about patch in aur?