Summary: | lxqt-base/lxqt-common-0.10.0 (actually several lxqt packages) installs unusable .desktop files with grep 2.23 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sven.a.jonsson |
Component: | Current packages | Assignee: | LxQt maintainers <lxqt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lxqt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Bad desktop file
Good desktop file cave info Patch from upstream Copy of the patch for pcmanfm-qt Copy of the patch for obconf-qt Copy of the patch for lximage-qt |
Created attachment 425262 [details]
Good desktop file
Created attachment 425264 [details]
cave info
After further investigation: locate -r desktop$|xargs grep "Binary file" 2>/dev/null I found several packages having the same problem: lxqt-base/lxqt-panel-0.10.0 x11-misc/pcmanfm-qt.0.10.0 x11-misc/obconf-qt-0.9.0_p20150729 lxqt-base/lxqt-session-0.10.0 lxqt-base/lxqt-config-0.10.0 lxqt-base/lxqt-powermanagement-0.10.0 lxqt-base/lxqt-notificationd-0.10.0 lxqt-base/lxqt-globalkeys-0.10.0 lxqt-base/lxqt-admin-0.10.0 lxqt-base/lxqt-about-0.10.0 I modified the title to indicate that. All installed correct desktop files when built with grep 2.22 As I beleive this is an upstream issue, I have registered an issue "https://github.com/lxde/lxqt/issues/957" Attaching patches that fixes the issue for me. The liblxqt patch contains a patch from upstream + necessary revbumps, The other patches contains my copy of the fix for packages that contains copies of the modified file. Created attachment 425456 [details, diff]
Patch from upstream
Created attachment 425458 [details, diff]
Copy of the patch for pcmanfm-qt
Created attachment 425460 [details, diff]
Copy of the patch for obconf-qt
Created attachment 425462 [details, diff]
Copy of the patch for lximage-qt
As the initiator of this bug, I don't mind if it is closed. Setting LANG=C in bashrc is IMHO an acceptable workaround, and 0.10 is soon replaced by 0.11 Looks like this is fixed with 0.13.0, if not earlier. Thanks for the report! |
Created attachment 425260 [details] Bad desktop file When grep 2.23 is installed, installing lxqt-common creates unusable desktop files, see attached sample from /etc/xdg/autostart/lxqt-desktop.desktop When grep 2.22 is installed, the desktop files look fine, see attached copy of a correct version.