Bug 17514 - Wrong entry in XDG_DATA_DIRS on Plasma5
Summary: Wrong entry in XDG_DATA_DIRS on Plasma5
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2016-01-17 13:09 CET by Rémi Verschelde
Modified: 2016-07-22 22:22 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.