Bug 17514

Summary: Wrong entry in XDG_DATA_DIRS on Plasma5
Product: Mageia Reporter: Rémi Verschelde <rverschelde>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000, jyri2000, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 17523    

Description Rémi Verschelde 2016-01-17 13:09:22 CET
On cauldron, running "echo $XDG_DATA_DIRS", I get:

  /usr//usr/share:/usr/share:/usr/local/share

The first entry is wrong, I guess it does something like %{_prefix}%{_datadir}, we should probably fix that.

Reproducible: 

Steps to Reproduce:
Rémi Verschelde 2016-01-17 13:09:34 CET

Assignee: bugsquad => pkg-bugs

Comment 1 Florian Hubold 2016-01-17 16:32:55 CET
(In reply to Rémi Verschelde from comment #0)
> On cauldron, running "echo $XDG_DATA_DIRS", I get:

Using what desktop? As this will always differs (even if it should not differ :/)

Using LXQt, I get:

/home/user/.local/share:/usr/local/share:/usr/share

which is what it should look like according to http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

CC: (none) => doktor5000

Comment 2 Rémi Verschelde 2016-01-17 16:49:18 CET
Good point. This is with Plasma 5 after an upgrade from Mageia 5 KDE4.

CC: (none) => mageia

Rémi Verschelde 2016-01-19 09:38:28 CET

Blocks: (none) => 17523
Summary: Wrong entry in XDG_DATA_DIRS => Wrong entry in XDG_DATA_DIRS on Plasma5

Comment 3 Nicolas Lécureuil 2016-05-05 12:15:42 CEST
is it still valid ?
Comment 4 Jüri Ivask 2016-05-05 12:40:25 CEST
Yes

$ echo $XDG_DATA_DIRS
/usr//usr/share:/usr/share:/usr/local/share

Yesterday's network minimal install with X and thereafter urpmi --no-recommends task-plasma5-minimal

CC: (none) => jyri2000

Comment 5 Nicolas Lécureuil 2016-07-17 15:06:26 CEST
can you test new plasma-workspace please ?
Comment 6 Rémi Verschelde 2016-07-19 08:21:07 CEST
The bug is fixed, though there is still an unnecessary duplicate:

$ echo $XDG_DATA_DIRS
/usr/share:/usr/share:/usr/local/share
Comment 7 Nicolas Lécureuil 2016-07-22 20:55:17 CEST
please test next plasma-workspace, it should fix the issue?
Comment 8 Nicolas Lécureuil 2016-07-22 22:22:17 CEST
Fixed in new plasma-workspace

Status: NEW => RESOLVED
Resolution: (none) => FIXED