GNOME Bugzilla – Bug 528099
xml2po modes should be installed to /usr/lib/python-x.y/site-packages
Last modified: 2019-03-25 23:13:24 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:
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.
note that once this patch is in, you can probably remove the custom loading of submodules in xml2po itself.
Ping? Any news on this patch? Thanks
Created attachment 131084 [details] [review] gnome-doc-utils-0.16.0-fhs.patch Updated patch from gnome gentoo overlay
Created attachment 137370 [details] [review] gnome-doc-utils-0.17.1-fhs.patch
Comment on attachment 137370 [details] [review] gnome-doc-utils-0.17.1-fhs.patch Updated patch from gnome gentoo overlay
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)