Bug 75640 - where-am-i demo installed in /usr/share
Summary: where-am-i demo installed in /usr/share
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 12:59 UTC by Laurent Bigonville
Modified: 2014-03-01 19:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bigonville 2014-03-01 12:59:49 UTC
Hi,

It seems that the where-am-i demo is installed in /usr/share which is incorrect as /usr/share should only contains architecture independent files[0].

It should probably be moved to /usr/lib/geoclue-2.0/demos

[0] http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
Comment 1 Zeeshan Ali 2014-03-01 14:00:06 UTC
(In reply to comment #0)
> Hi,
> 
> It seems that the where-am-i demo is installed in /usr/share which is
> incorrect as /usr/share should only contains architecture independent
> files[0].

True.

> It should probably be moved to /usr/lib/geoclue-2.0/demos

Well according to this, that would be a wrong place too:

http://www.gnu.org/prep/standards/html_node/Directory-Variables.html

"The directory for object files and libraries of object code. Do not install executables here, they probably ought to go in $(libexecdir) instead."

but libexecdir is meant for executables that are only meant to be run by other apps and not users directly.

I just don't want to put it in /usr/bin as they should not be visible to anyone but people who want to use the demos and look for them.
Comment 2 Bastien Nocera 2014-03-01 14:03:58 UTC
$(libexecdir) is fine for this, this is where we put gnome-settings-daemon debug programs. Debian will automatically put that in /usr/lib/$(packagename).
Comment 3 Zeeshan Ali 2014-03-01 19:57:05 UTC
(In reply to comment #2)
> $(libexecdir) is fine for this, this is where we put gnome-settings-daemon
> debug programs. Debian will automatically put that in
> /usr/lib/$(packagename).

OK then, I made it so now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.