Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574472 - lxqt-base/lxqt-common-0.10.0 (actually several lxqt packages) installs unusable .desktop files with grep 2.23
Summary: lxqt-base/lxqt-common-0.10.0 (actually several lxqt packages) installs unusab...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 19:28 UTC by sven.a.jonsson
Modified: 2018-08-18 00:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Bad desktop file (lxqt-desktop.desktop.bad,2.35 KB, application/x-desktop)
2016-02-11 19:28 UTC, sven.a.jonsson
Details
Good desktop file (lxqt-desktop.desktop.good,874 bytes, application/x-desktop)
2016-02-11 19:30 UTC, sven.a.jonsson
Details
cave info (cave.info,6.11 KB, application/x-info)
2016-02-11 19:31 UTC, sven.a.jonsson
Details
Patch from upstream (0001-liblxqt-adapt-to-new-grep.patch,7.49 KB, patch)
2016-02-14 11:13 UTC, sven.a.jonsson
Details | Diff
Copy of the patch for pcmanfm-qt (0002-pcmanfm-qt-adapt-to-new-grep.patch,3.02 KB, patch)
2016-02-14 11:14 UTC, sven.a.jonsson
Details | Diff
Copy of the patch for obconf-qt (0003-obconf-qt-adapt-to-new-grep.patch,3.02 KB, patch)
2016-02-14 11:14 UTC, sven.a.jonsson
Details | Diff
Copy of the patch for lximage-qt (0004-lximage-qt-adapt-to-new-grep.patch,2.99 KB, patch)
2016-02-14 11:15 UTC, sven.a.jonsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sven.a.jonsson 2016-02-11 19:28:55 UTC
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.
Comment 1 sven.a.jonsson 2016-02-11 19:30:40 UTC
Created attachment 425262 [details]
Good desktop file
Comment 2 sven.a.jonsson 2016-02-11 19:31:54 UTC
Created attachment 425264 [details]
cave info
Comment 3 sven.a.jonsson 2016-02-12 06:15:45 UTC
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"
Comment 4 sven.a.jonsson 2016-02-14 11:12:01 UTC
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.
Comment 5 sven.a.jonsson 2016-02-14 11:13:17 UTC
Created attachment 425456 [details, diff]
Patch from upstream
Comment 6 sven.a.jonsson 2016-02-14 11:14:14 UTC
Created attachment 425458 [details, diff]
Copy of the patch for pcmanfm-qt
Comment 7 sven.a.jonsson 2016-02-14 11:14:57 UTC
Created attachment 425460 [details, diff]
Copy of the patch for obconf-qt
Comment 8 sven.a.jonsson 2016-02-14 11:15:46 UTC
Created attachment 425462 [details, diff]
Copy of the patch for lximage-qt
Comment 9 sven.a.jonsson 2016-09-24 15:40:21 UTC
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
Comment 10 Chiitoo gentoo-dev 2018-08-18 00:03:06 UTC
Looks like this is fixed with 0.13.0, if not earlier.

Thanks for the report!