After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 528099 - xml2po modes should be installed to /usr/lib/python-x.y/site-packages
xml2po modes should be installed to /usr/lib/python-x.y/site-packages
Status: RESOLVED FIXED
Product: gnome-doc-utils
Classification: Deprecated
Component: xml2po
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Danilo Segan
Danilo Segan
Depends on:
Blocks:
 
 
Reported: 2008-04-14 20:00 UTC by Arun Raghavan
Modified: 2019-03-25 23:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
patch to install xml2po modes to /usr/lib/python-x.y/site-packages (1.73 KB, patch)
2008-04-14 20:02 UTC, Arun Raghavan
committed Details | Review
gnome-doc-utils-0.16.0-fhs.patch (3.01 KB, patch)
2009-03-21 15:24 UTC, Pacho Ramos
none Details | Review
gnome-doc-utils-0.17.1-fhs.patch (3.02 KB, patch)
2009-06-25 14:37 UTC, Mikel Olasagasti
none Details | Review

Description Arun Raghavan 2008-04-14 20:00:21 UTC
Please describe the problem:
xml2po modes are currently installed to /usr/share/...

This makes byte-compiling of the python files cause and FHS [1] violation. The files should go to /usr/lib/python-x.y/site-packages

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Arun Raghavan 2008-04-14 20:02:22 UTC
Created attachment 109260 [details] [review]
patch to install xml2po modes to /usr/lib/python-x.y/site-packages

Just to clarify, the *.py{o|c} files created for byte-compiling these files will not cause an FHS violation if they are in /usr/lib.
Comment 2 Gilles Dartiguelongue 2008-05-24 13:06:19 UTC
note that once this patch is in, you can probably remove the custom loading of submodules in xml2po itself.
Comment 3 Rémi Cardona 2008-07-21 13:12:04 UTC
Ping? Any news on this patch?

Thanks
Comment 4 Pacho Ramos 2009-03-21 15:24:23 UTC
Created attachment 131084 [details] [review]
gnome-doc-utils-0.16.0-fhs.patch

Updated patch from gnome gentoo overlay
Comment 5 Mikel Olasagasti 2009-06-25 14:37:27 UTC
Created attachment 137370 [details] [review]
gnome-doc-utils-0.17.1-fhs.patch
Comment 6 Mikel Olasagasti 2009-06-25 14:38:07 UTC
Comment on attachment 137370 [details] [review]
gnome-doc-utils-0.17.1-fhs.patch

Updated patch from gnome gentoo overlay
Comment 7 Claude Paroz 2009-06-26 21:16:58 UTC
commit af6c6108760a9fc0b5d8102fe0d7363c081c13de
Author: Arun Raghavan <ford_prefect@gentoo.org>
Date:   Fri Jun 26 23:10:26 2009 +0200

    [xml2po] Install modes in /usr/lib/python2.x/ to respect FHS (Bug #528099)